diff options
author | adrian <adrian@FreeBSD.org> | 2013-06-13 02:20:45 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2013-06-13 02:20:45 +0000 |
commit | 918329563d85be92edb7d156ec02b993e5789b29 (patch) | |
tree | b41e58f7035b011784ba6c2d7030c218c511c291 | |
parent | cd5e4bd5ebb981ad1d5bb3ce8f1681c8ae635955 (diff) | |
download | FreeBSD-src-918329563d85be92edb7d156ec02b993e5789b29.zip FreeBSD-src-918329563d85be92edb7d156ec02b993e5789b29.tar.gz |
Set the FreeBSD capability bit to indicate that LNA diversity is enabled.
This is true for the AR9485 and AR933x SoC.
-rw-r--r-- | sys/contrib/dev/ath/ath_hal/ar9300/ar9300_attach.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_attach.c b/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_attach.c index b83faef..478417c 100644 --- a/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_attach.c +++ b/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_attach.c @@ -2916,6 +2916,13 @@ ar9300_fill_capability_info(struct ath_hal *ah) } #endif /* ATH_ANT_DIV_COMB */ + /* + * FreeBSD: enable LNA mixing if the chip is Hornet or Poseidon. + */ + if (AR_SREV_HORNET(ah) || AR_SREV_POSEIDON_11_OR_LATER(ah)) { + p_cap->halRxUsingLnaMixing = AH_TRUE; + } + #if ATH_WOW_OFFLOAD if (AR_SREV_JUPITER_20_OR_LATER(ah) || AR_SREV_APHRODITE(ah)) { |