svn commit: r277303 - head/sys/contrib/dev/ath/ath_hal/ar9300

Adrian Chadd adrian at FreeBSD.org
Sat Jan 17 17:31:48 UTC 2015


Author: adrian
Date: Sat Jan 17 17:31:47 2015
New Revision: 277303
URL: https://svnweb.freebsd.org/changeset/base/277303

Log:
  Skip the OFDM weak signal threshold detection programming for
  AR9462/AR9565.
  
  This and some upcoming changes to the HAL for these chips should
  address some of the signal sensitivity reported by users.
  
  Tested:
  
  * AR9462 (WB222), STA mode
  
  Obtained from:	Linux ath9k

Modified:
  head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_ani.c

Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_ani.c
==============================================================================
--- head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_ani.c	Sat Jan 17 16:36:39 2015	(r277302)
+++ head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_ani.c	Sat Jan 17 17:31:47 2015	(r277303)
@@ -484,6 +484,9 @@ ar9300_ani_control(struct ath_hal *ah, H
              */
             is_on = param ? 1 : 0;
 
+            if (AR_SREV_JUPITER(ah) || AR_SREV_APHRODITE(ah))
+                goto skip_ws_det;
+
             /*
              * make register setting for default (weak sig detect ON)
              * come from INI file
@@ -528,6 +531,7 @@ ar9300_ani_control(struct ath_hal *ah, H
                 m1_thresh_ext);
             OS_REG_RMW_FIELD(ah, AR_PHY_SFCORR_EXT, AR_PHY_SFCORR_EXT_M2_THRESH,
                 m2_thresh_ext);
+skip_ws_det:
             if (is_on) {
                 OS_REG_SET_BIT(ah, AR_PHY_SFCORR_LOW,
                     AR_PHY_SFCORR_LOW_USE_SELF_CORR_LOW);


More information about the svn-src-all mailing list