diff options
author | adrian <adrian@FreeBSD.org> | 2012-12-04 00:01:42 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2012-12-04 00:01:42 +0000 |
commit | 787563d5c4ea947c4206f9db7eebc575f0086e40 (patch) | |
tree | 3c8ccef50bdf91fc90fa7610958010457cfd1c0b | |
parent | 250f2734e66a28b0e4a99f94d107d275cc79615c (diff) | |
download | FreeBSD-src-787563d5c4ea947c4206f9db7eebc575f0086e40.zip FreeBSD-src-787563d5c4ea947c4206f9db7eebc575f0086e40.tar.gz |
Override the BT coex parameter function for the AR9285.
-rw-r--r-- | sys/dev/ath/ath_hal/ar9002/ar9285_attach.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c b/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c index 97e6823a..863fcd9 100644 --- a/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c +++ b/sys/dev/ath/ath_hal/ar9002/ar9285_attach.c @@ -148,15 +148,16 @@ ar9285Attach(uint16_t devid, HAL_SOFTC sc, ah->ah_eepromdata = eepromdata; } - /* XXX override with 9285 specific state */ - /* override 5416 methods for our needs */ + /* override with 9285 specific state */ AH5416(ah)->ah_initPLL = ar9280InitPLL; + AH5416(ah)->ah_btCoexSetDiversity = ar5416BTCoexAntennaDiversity; ah->ah_setAntennaSwitch = ar9285SetAntennaSwitch; ah->ah_configPCIE = ar9285ConfigPCIE; ah->ah_disablePCIE = ar9285DisablePCIE; ah->ah_setTxPower = ar9285SetTransmitPower; ah->ah_setBoardValues = ar9285SetBoardValues; + ah->ah_btcoexSetParameter = ar9285BTCoexSetParameter; AH5416(ah)->ah_cal.iqCalData.calData = &ar9280_iq_cal; AH5416(ah)->ah_cal.adcGainCalData.calData = &ar9280_adc_gain_cal; |