Date: Thu, 13 Jun 2013 02:20:45 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r251676 - head/sys/contrib/dev/ath/ath_hal/ar9300 Message-ID: <201306130220.r5D2KjDl052153@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Thu Jun 13 02:20:45 2013 New Revision: 251676 URL: http://svnweb.freebsd.org/changeset/base/251676 Log: Set the FreeBSD capability bit to indicate that LNA diversity is enabled. This is true for the AR9485 and AR933x SoC. Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_attach.c Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_attach.c ============================================================================== --- head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_attach.c Thu Jun 13 02:19:53 2013 (r251675) +++ head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_attach.c Thu Jun 13 02:20:45 2013 (r251676) @@ -2916,6 +2916,13 @@ ar9300_fill_capability_info(struct ath_h } #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)) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306130220.r5D2KjDl052153>