Changeset 22461


Ignore:
Timestamp:
2010-08-02T03:28:27+02:00 (6 years ago)
Author:
nbd
Message:

ath9k: improve stuck beacon recovery by reading nf values from the hw when a calibration is pending (instead of waiting for the next cal interval)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/mac80211/patches/542-ath9k_bstuck_nf_calibrate.patch

    r22460 r22461  
    7979        return true; 
    8080 } 
    81 @@ -374,3 +407,26 @@ s16 ath9k_hw_getchan_noise(struct ath_hw 
     81@@ -374,3 +407,28 @@ s16 ath9k_hw_getchan_noise(struct ath_hw 
    8282        return ah->caldata->rawNoiseFloor; 
    8383 } 
     
    101101+       if (!caldata->nfcal_pending) 
    102102+               ath9k_hw_start_nfcal(ah, true); 
     103+       else if (!(REG_READ(ah, AR_PHY_AGC_CONTROL) & AR_PHY_AGC_CONTROL_NF)) 
     104+               ath9k_hw_getnf(ah, ah->curchan); 
    103105+ 
    104106+       caldata->nfcal_interference = true; 
Note: See TracChangeset for help on using the changeset viewer.