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)) {
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to