Changeset 42443


Ignore:
Timestamp:
2014-09-08T18:45:30+02:00 (3 years ago)
Author:
nbd
Message:

ath9k: add some ani related stability / performance fixes

Signed-off-by: Felix Fietkau <nbd@…>

Location:
trunk/package/kernel/mac80211/patches
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/mac80211/patches/300-pending_work.patch

    r41827 r42443  
     1commit 0fecedddd4a0945873db1bd230ec6a168b3cc4fe 
     2Author: Felix Fietkau <nbd@openwrt.org> 
     3Date:   Mon Sep 8 18:35:08 2014 +0200 
     4 
     5    ath9k_hw: reduce ANI spur immunity setting on HT40 extension channel 
     6     
     7    The cycpwr_thr1 value needs to be lower on the extension channel than on 
     8    the control channel, similar to how the register settings are programmed 
     9    in the initvals. 
     10     
     11    Also drop the unnecessary check for HT40 - this register can always be 
     12    written. This patch has been reported to improve HT40 stability and 
     13    throughput in some environments. 
     14     
     15    Signed-off-by: Felix Fietkau <nbd@openwrt.org> 
     16 
     17commit 30d7434ccb853b96de698a040888fa4dacd0cc19 
     18Author: Felix Fietkau <nbd@openwrt.org> 
     19Date:   Mon Sep 8 18:31:26 2014 +0200 
     20 
     21    Revert "ath9k_hw: reduce ANI firstep range for older chips" 
     22     
     23    This reverts commit 09efc56345be4146ab9fc87a55c837ed5d6ea1ab 
     24     
     25    I've received reports that this change is decreasing throughput in some 
     26    rare conditions on an AR9280 based device 
     27     
     28    Cc: stable@vger.kernel.org 
     29    Signed-off-by: Felix Fietkau <nbd@openwrt.org> 
     30 
    131commit 15ed54948f508ad1baad79c30050e2d29a21696d 
    232Author: Felix Fietkau <nbd@openwrt.org> 
     
    31103140                if (!compat) 
    31113141                        compat = &sdata->vif.bss_conf.chandef; 
     3142--- a/drivers/net/wireless/ath/ath9k/ar5008_phy.c 
     3143+++ b/drivers/net/wireless/ath/ath9k/ar5008_phy.c 
     3144@@ -1004,9 +1004,11 @@ static bool ar5008_hw_ani_control_new(st 
     3145        case ATH9K_ANI_FIRSTEP_LEVEL:{ 
     3146                u32 level = param; 
     3147  
     3148-               value = level; 
     3149+               value = level * 2; 
     3150                REG_RMW_FIELD(ah, AR_PHY_FIND_SIG, 
     3151                              AR_PHY_FIND_SIG_FIRSTEP, value); 
     3152+               REG_RMW_FIELD(ah, AR_PHY_FIND_SIG_LOW, 
     3153+                             AR_PHY_FIND_SIG_FIRSTEP_LOW, value); 
     3154  
     3155                if (level != aniState->firstepLevel) { 
     3156                        ath_dbg(common, ANI, 
     3157@@ -1040,9 +1042,8 @@ static bool ar5008_hw_ani_control_new(st 
     3158                REG_RMW_FIELD(ah, AR_PHY_TIMING5, 
     3159                              AR_PHY_TIMING5_CYCPWR_THR1, value); 
     3160  
     3161-               if (IS_CHAN_HT40(ah->curchan)) 
     3162-                       REG_RMW_FIELD(ah, AR_PHY_EXT_CCA, 
     3163-                                     AR_PHY_EXT_TIMING5_CYCPWR_THR1, value); 
     3164+               REG_RMW_FIELD(ah, AR_PHY_EXT_CCA, 
     3165+                                 AR_PHY_EXT_TIMING5_CYCPWR_THR1, value - 1); 
     3166  
     3167                if (level != aniState->spurImmunityLevel) { 
     3168                        ath_dbg(common, ANI, 
  • trunk/package/kernel/mac80211/patches/550-ath9k_entropy_from_adc.patch

    r41952 r42443  
    111111--- a/drivers/net/wireless/ath/ath9k/ar5008_phy.c 
    112112+++ b/drivers/net/wireless/ath/ath9k/ar5008_phy.c 
    113 @@ -1231,9 +1231,30 @@ static void ar5008_hw_set_radar_conf(str 
     113@@ -1232,9 +1232,30 @@ static void ar5008_hw_set_radar_conf(str 
    114114        conf->radar_inband = 8; 
    115115 } 
     
    142142                AR_PHY_CCA, 
    143143                AR_PHY_CH1_CCA, 
    144 @@ -1248,6 +1269,8 @@ int ar5008_hw_attach_phy_ops(struct ath_ 
     144@@ -1249,6 +1270,8 @@ int ar5008_hw_attach_phy_ops(struct ath_ 
    145145        if (ret) 
    146146            return ret; 
Note: See TracChangeset for help on using the changeset viewer.