31#include "ar9001/ar9160.ini"
69 .totalSizeDesired = { -55, -55, -55, -55, -62 },
70 .coarseHigh = { -14, -14, -14, -14, -12 },
71 .coarseLow = { -64, -64, -64, -64, -70 },
72 .firpwr = { -78, -78, -78, -78, -80 },
73 .maxSpurImmunityLevel = 7,
74 .cycPwrThr1 = { 2, 4, 6, 8, 10, 12, 14, 16 },
76 .firstep = { 0, 4, 8 },
96 if (IEEE80211_IS_CHAN_HALF(chan))
98 else if (IEEE80211_IS_CHAN_QUARTER(chan))
101 if (IEEE80211_IS_CHAN_5GHZ(chan))
130 __func__, sc, (
void*) st, (
void*) sh);
136 "%s: cannot allocate memory for state block\n", __func__);
171 "%s: ID 0x%x VERSION 0x%x TYPE 0x%x REVISION 0x%x\n",
238 "%s: 5G Radio Chip Rev 0x%02X is not supported by "
239 "this driver\n", __func__,
263 "%s: error getting mac address from EEPROM\n", __func__);
340 return "Atheros 9160";
@ HAL_ANI_NOISE_IMMUNITY_LEVEL
#define ATHEROS_VENDOR_ID
HAL_STATUS ath_hal_v14EepromAttach(struct ath_hal *ah)
#define HAL_INI_INIT(_ia, _data, _cols)
#define ath_hal_eepromGet(_ah, _param, _val)
void * ath_hal_malloc(size_t)
#define HALDEBUG(_ah, __m,...)
bus_space_tag_t HAL_BUS_TAG
#define OS_REG_WRITE(_ah, _reg, _val)
bus_space_handle_t HAL_BUS_HANDLE
#define OS_REG_READ(_ah, _reg)
HAL_BOOL ar2133RfAttach(struct ath_hal *ah, HAL_STATUS *status)
HAL_BOOL ar5212ChipTest(struct ath_hal *ah)
#define AR_RADIO_SREV_MAJOR
void ar5416InitState(struct ath_hal_5416 *, uint16_t devid, HAL_SOFTC sc, HAL_BUS_TAG st, HAL_BUS_HANDLE sh, HAL_STATUS *status)
HAL_BOOL ar5416ChipReset(struct ath_hal *ah, const struct ieee80211_channel *, HAL_RESET_TYPE)
void ar5416Detach(struct ath_hal *ah)
HAL_BOOL ar5416SetPowerMode(struct ath_hal *ah, HAL_POWER_MODE mode, int setChip)
void ar5416AttachPCIE(struct ath_hal *ah)
HAL_BOOL ar5416FillCapabilityInfo(struct ath_hal *ah)
void ar5416AniAttach(struct ath_hal *, const struct ar5212AniParams *, const struct ar5212AniParams *, HAL_BOOL ena)
HAL_BOOL ar5416SetResetReg(struct ath_hal *, uint32_t type)
uint32_t ar5416GetRadioRev(struct ath_hal *ah)
void ar5416InitNfHistBuff(struct ar5212NfCalHist *h)
void ar5416AdcDcCalCollect(struct ath_hal *ah)
void ar5416AdcDcCalibration(struct ath_hal *ah, uint8_t numChains)
void ar5416AdcGainCalibration(struct ath_hal *ah, uint8_t numChains)
void ar5416AdcGainCalCollect(struct ath_hal *ah)
void ar5416IQCalCollect(struct ath_hal *ah)
#define PER_MIN_LOG_COUNT
void ar5416IQCalibration(struct ath_hal *ah, uint8_t numChains)
#define RTC_PLL_SETTLE_DELAY
#define AR_PHY_CCA_MIN_GOOD_VAL_5416_5GHZ
#define AR_PHY_CCA_MAX_GOOD_VAL_5416_5GHZ
#define AR_PHY_CCA_NOM_VAL_5416_5GHZ
#define AR_PHY_CCA_MIN_GOOD_VAL_5416_2GHZ
#define AR_PHY_CCA_MAX_GOOD_VAL_5416_2GHZ
#define AR_PHY_CCA_NOM_VAL_5416_2GHZ
#define AR_RTC_SOWL_PLL_CLKSEL
#define AR_RAD5133_SREV_MAJOR
#define AR_SREV_SOWL_11(_ah)
#define AR_RTC_SOWL_PLL_DIV
#define AR_RAD2133_SREV_MAJOR
#define AR_XSREV_TYPE_HOST_MODE
#define AR_RTC_SOWL_PLL_REFDIV
#define AR_RTC_SLEEP_DERIVED_CLK
#define AR_RTC_PLL_CONTROL
#define AR_XSREV_REVISION
static const HAL_PERCAL_DATA ar9160_adc_dc_cal
static const HAL_PERCAL_DATA ar9160_iq_cal
static HAL_BOOL ar9160FillCapabilityInfo(struct ath_hal *ah)
static void ar9160AniSetup(struct ath_hal *ah)
static const char * ar9160Probe(uint16_t vendorid, uint16_t devid)
static const HAL_PERCAL_DATA ar9160_adc_init_dc_cal
static struct ath_hal * ar9160Attach(uint16_t devid, HAL_SOFTC sc, HAL_BUS_TAG st, HAL_BUS_HANDLE sh, uint16_t *eepromdata, HAL_OPS_CONFIG *ah_config, HAL_STATUS *status)
static const HAL_PERCAL_DATA ar9160_adc_gain_cal
static void ar9160InitPLL(struct ath_hal *ah, const struct ieee80211_channel *chan)
AH_CHIP(AR9160, ar9160Probe, ar9160Attach)
uint32_t halMbssidAggrSupport
uint32_t hal4AddrAggrSupport
uint32_t halAutoSleepSupport
uint32_t halRifsTxSupport
uint32_t halUseCombinedRadarRssi
uint32_t halExtChanDfsSupport
uint32_t halRifsRxSupport
int maxNoiseImmunityLevel
HAL_INI_ARRAY ah_ini_common
uint8_t ah_macaddr[IEEE80211_ADDR_LEN]
struct ath_hal_private ah_priv
HAL_INI_ARRAY ah_ini_modes
struct ath_hal_5212 ah_5212
uint16_t ah_analog5GhzRev