Lines Matching defs:ath_hal_private

349 struct ath_hal_private {  struct
350 struct ath_hal h; /* public area */
353 HAL_BOOL (*ah_getChannelEdges)(struct ath_hal*,
356 u_int (*ah_getWirelessModes)(struct ath_hal*);
357 HAL_BOOL (*ah_eepromRead)(struct ath_hal *, u_int off,
359 HAL_BOOL (*ah_eepromWrite)(struct ath_hal *, u_int off,
361 HAL_BOOL (*ah_getChipPowerLimits)(struct ath_hal *,
363 int16_t (*ah_getNfAdjust)(struct ath_hal *,
365 void (*ah_getNoiseFloor)(struct ath_hal *,
368 void *ah_eeprom; /* opaque EEPROM state */
369 uint16_t ah_eeversion; /* EEPROM version */
370 void (*ah_eepromDetach)(struct ath_hal *);
371 HAL_STATUS (*ah_eepromGet)(struct ath_hal *, int, void *);
372 HAL_STATUS (*ah_eepromSet)(struct ath_hal *, int, int);
373 uint16_t (*ah_getSpurChan)(struct ath_hal *, int, HAL_BOOL);
374 HAL_BOOL (*ah_eepromDiag)(struct ath_hal *, int request,
381 uint16_t ah_devid; /* PCI device ID */
382 uint16_t ah_subvendorid; /* PCI subvendor ID */
383 uint32_t ah_macVersion; /* MAC version id */
384 uint16_t ah_macRev; /* MAC revision */
385 uint16_t ah_phyRev; /* PHY revision */
386 uint16_t ah_analog5GhzRev; /* 2GHz radio revision */
387 uint16_t ah_analog2GhzRev; /* 5GHz radio revision */
388 uint32_t ah_flags; /* misc flags */
389 uint8_t ah_ispcie; /* PCIE, special treatment */
390 uint8_t ah_devType; /* card type - CB, PCI, PCIe */
392 HAL_OPMODE ah_opmode; /* operating mode from reset */
393 const struct ieee80211_channel *ah_curchan;/* operating channel */
394 HAL_CAPABILITIES ah_caps; /* device capabilities */
395 uint32_t ah_diagreg; /* user-specified AR_DIAG_SW */
396 int16_t ah_powerLimit; /* tx power cap */
397 uint16_t ah_maxPowerLevel; /* calculated max tx power */
398 u_int ah_tpScale; /* tx power scale factor */
399 u_int16_t ah_extraTxPow; /* low rates extra-txpower */
400 uint32_t ah_11nCompat; /* 11n compat controls */
405 HAL_REG_DOMAIN ah_currentRD; /* EEPROM regulatory domain */
406 HAL_REG_DOMAIN ah_currentRDext; /* EEPROM extended regdomain flags */
407 HAL_DFS_DOMAIN ah_dfsDomain; /* current DFS domain */
408 HAL_CHANNEL_INTERNAL ah_channels[AH_MAXCHAN]; /* private chan state */
409 u_int ah_nchan; /* valid items in ah_channels */
410 const struct regDomain *ah_rd2GHz; /* reg state for 2G band */
434 #define AH_PRIVATE(_ah) ((struct ath_hal_private *)(_ah)) argument