1. 29 6月, 2012 1 次提交
    • F
      ath9k: fix ANI operation in AP mode · 73dc3eb8
      Felix Fietkau 提交于
      ath9k_ani_reset (which is called at reset time) uses a state variable
      ani->update_ani to prevent the ANI noise immunity state on the operating
      channel from being overwritten by background scans. Unfortunately this
      is also being set for AP mode, since it's mixed with code that is only
      supposed to change the default settings after a reset.
      
      In AP mode this has the side effect of having ANI run, but being unable to
      change its runtime noise immunity level, making it effectively useless.
      
      Fix this by getting rid of ani->update_ani and passing a parameter to
      ath9k_hw_set_ofdm_nil and ath9k_hw_set_cck_nil instead.
      Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
      Cc: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      73dc3eb8
  2. 23 6月, 2012 1 次提交
  3. 21 6月, 2012 3 次提交
  4. 10 4月, 2012 1 次提交
    • R
      ath9k_hw: improve ANI processing and rx desensitizing parameters · 54da20d8
      Rajkumar Manoharan 提交于
      This patch improves ANI operations by switching among the immunity
      levels based on PHY errors and beacon rssi which will adjust receiver
      desensitizing parameters. The changes are
      
      * Configure the Weak Signal Detection based on current immunity value.
      * At highest OFDM immunity level poor performance was observed with
        strong interference. By tuning the FIR step and spur immunity levels
        and not changing any weak signal detection thresholds at any level
        helped to improve the performance.
      * ANI took long time to recover back to lower immunity levels on heavy
        data load. As the listen time got reset to zero before reaching to
        the 5x of aniperiod, the immunity level is not lowering back even
        without any interference. This patch fix that.
      
      Cc: Paul Stewart <pstew@google.com>
      Cc: Susinder Gulasekaran <susinder@qca.qualcomm.com>
      Signed-off-by: NSuresh Chandrasekaran <csuresh@qca.qualcomm.com>
      Signed-off-by: NRajkumar Manoharan <rmanohar@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      54da20d8
  5. 21 9月, 2011 1 次提交
  6. 30 8月, 2011 1 次提交
  7. 20 5月, 2011 1 次提交
  8. 12 10月, 2010 1 次提交
  9. 07 10月, 2010 2 次提交
  10. 15 6月, 2010 2 次提交
    • L
      ath9k: add new ANI implementation for AR9003 · e36b27af
      Luis R. Rodriguez 提交于
      This adds support for ANI for AR9003. The implementation for
      ANI for AR9003 is slightly different than the one used for
      the older chipset families. It can technically be used for
      the older families as well but this is not yet fully tested
      so we only enable the new ANI for the AR5008, AR9001 and AR9002
      families with a module parameter, force_new_ani.
      
      The old ANI implementation is left intact.
      
      Details of the new ANI implemention:
      
        * ANI adjustment logic is now table driven so that each ANI level
          setting is parameterized. This makes adjustments much more
          deterministic than the old procedure based logic and allows
          adjustments to be made incrementally to several parameters per
          level.
      
        * ANI register settings are now relative to INI values; so ANI
          param zero level == INI value. Appropriate floor and ceiling
          values are obeyed when adjustments are combined with INI values.
      
        * ANI processing is done once per second rather that every 100ms.
          The poll interval is now a set upon hardware initialization and
          can be picked up by the core driver.
      
        * OFDM error and CCK error processing are made in a round robin
          fashion rather than allowing all OFDM adjustments to be made
          before CCK adjustments.
      
        * ANI adjusts MRC CCK off in the presence of high CCK errors
      
        * When adjusting spur immunity (SI) and OFDM weak signal detection,
          ANI now sets register values for the extension channel too
      
        * When adjusting FIR step (ST), ANI now sets register for FIR step
          low too
      
        * FIR step adjustments now allow for an extra level of immunity for
          extremely noisy environments
      
        * The old Noise immunity setting (NI), which changes coarse low, size
          desired, etc have been removed. Changing these settings could affect
          up RIFS RX as well.
      
        * CCK weak signal adjustment is no longer used
      
        * ANI no longer enables phy error interrupts; in all cases phy hw
          counting registers are used instead
      
        * The phy error count (overflow) interrupts are also no longer used
          for ANI adjustments. All ANI adjustments are made via the polling
          routine and no adjustments are possible in the ISR context anymore
      
        * A history settings buffer is now correctly used for each channel;
          channel settings are initialized with the defaults but later
          changes are restored when returning back to that channel
      
        * When scanning, ANI is disabled settings are returned to (INI) defaults.
      
        * OFDM phy error thresholds are now 400 & 1000 (errors/second units) for
          low/high water marks, providing increased stability/hysteresis when
          changing levels.
      
        * Similarly CCK phy error thresholds are now 300 & 600 (errors/second)
      Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      e36b27af
    • L
      ath9k_hw: allow for spliting up ANI operations by family · ac0bb767
      Luis R. Rodriguez 提交于
      The AR9003 hardware family will use a slightly modified ANI
      implementation which has not yet been tested on the other hardware
      families. To allow for this new ANI implementation a few ANI
      calls need to be abstracted away. This patch just allows for
      each hardware family to declare their own ANI ops and annotates
      the current ANI implementation as old.
      Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ac0bb767
  11. 27 4月, 2010 1 次提交
  12. 20 8月, 2009 2 次提交
  13. 14 8月, 2009 1 次提交
  14. 05 8月, 2009 2 次提交
  15. 23 4月, 2009 1 次提交
  16. 28 3月, 2009 1 次提交
  17. 14 2月, 2009 4 次提交