1. 18 1月, 2011 1 次提交
    • R
      ath9k_hw: do PA offset calibration only on longcal interval · 811ea256
      Rajkumar Manoharan 提交于
      The power detector adc offset calibration has to be done
      on 4 minutes interval (longcal * pa_skip_count). But the commit
      "ath9k_hw: fix a noise floor calibration related race condition"
      makes the PA calibration executed more frequently beased on
      nfcal_pending value. Running PAOffset calibration lesser than
      longcal interval doesn't help anything and the worse part is that
      it causes NF load timeouts and RX deaf conditions.
      
      In a very noisy environment, where the distance b/w AP & station
      is ~10 meter and running a downlink udp traffic with frequent
      background scan causes "Timeout while waiting for nf to load:
      AR_PHY_AGC_CONTROL=0x40d1a" and moves the chip into deaf state.
      This issue was originaly reported in Android platform where
      the network-manager application does bgscan more frequently
      on AR9271 chips. (AR9285 family usb device).
      
      Cc: stable@kernel.org
      Signed-off-by: NVasanthakumar Thiagarajan <vasanth@atheros.com>
      Signed-off-by: NRajkumar Manoharan <rmanoharan@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      811ea256
  2. 11 1月, 2011 1 次提交
  3. 08 12月, 2010 1 次提交
  4. 07 10月, 2010 2 次提交
  5. 06 10月, 2010 1 次提交
  6. 28 9月, 2010 3 次提交
  7. 05 8月, 2010 3 次提交
    • F
      ath9k_hw: fix a noise floor calibration related race condition · 4254bc1c
      Felix Fietkau 提交于
      On AR5008-AR9002, other forms of calibration must not be started while
      the noise floor calibration is running, as this can create invalid
      readings which were sometimes not even recoverable by any further
      calibration attempts.
      
      This patch also ensures that the result of noise floor measurements
      are processed faster and also allows the result of the initial
      calibration on reset to make it into the NF history buffer
      Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      4254bc1c
    • F
      ath9k_hw: clean up per-channel calibration data · 20bd2a09
      Felix Fietkau 提交于
      The noise floor history buffer is currently not kept per channel, which
      can lead to problems when changing channels from a clean channel to a
      noisy one. Also when switching from HT20 to HT40, the noise floor
      history buffer is full of measurements, but none of them contain data
      for the extension channel, which it needs quite a bit of time to recover
      from.
      
      This patch puts all the per-channel calibration data into a single data
      structure, and gives the the driver control over whether that is used
      per-channel or even not used for some channels.
      
      For ath9k_htc, I decided to keep this per-channel in order to avoid
      creating regressions.
      
      For ath9k, the data is kept only for the operating channel, which saves
      some space. ath9k_hw takes care of wiping old data when the operating
      channel or its channel flags change.
      Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      20bd2a09
    • F
      ath9k_hw: clean up and fix initial noise floor calibration · 00c86590
      Felix Fietkau 提交于
      On AR9003 the initial noise floor calibration is currently triggered
      at the end of the reset without allowing the hardware to update the
      baseband settings. This could potentially make scans in noisy
      environments a bit more unreliable, so use the same calibration
      sequence that is used on AR9002.
      Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
      Acked-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      00c86590
  8. 13 7月, 2010 1 次提交
  9. 17 4月, 2010 13 次提交
  10. 08 4月, 2010 1 次提交
  11. 24 3月, 2010 3 次提交
  12. 31 10月, 2009 1 次提交
  13. 28 10月, 2009 2 次提交
  14. 08 10月, 2009 7 次提交