1. 30 10月, 2012 2 次提交
  2. 20 10月, 2012 1 次提交
    • R
      ath9k: perform ANI cycle in idle state · 424749c7
      Rajkumar Manoharan 提交于
      As of now the ANI cycle is executed only when the chip is awake.
      On idle state case, the station wakes up from network sleep for
      beacon reception. Since most of the time, ANI cycle is not syncing
      with beacon wakeup, ANI cycle is ignored. Approx 5 mins once, the
      calibration is performed. This could affect the connection stability
      when the station is idle for long. Even though the OFDM and CCK phy
      error rates are too high, ANI is unable to tune its immunity level
      as quick enough due to rare execution.
      
      Here the experiment shows that OFDM and CCK levels are at default
      even on higher phy error rate.
      
      listenTime=44 OFDM:3 errs=121977/s CCK:2 errs=440818/s ofdm_turn=1
      
      This change ensures that ANI calibration will be exectued atleast
      once for every 10 seconds. The below result shows improvements and
      immunity levels are adopted quick enough.
      
      listenTime=557 OFDM:4 errs=752/s CCK:4 errs=125/s ofdm_turn=0
      Signed-off-by: NRajkumar Manoharan <rmanohar@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      424749c7
  3. 29 9月, 2012 1 次提交
  4. 25 9月, 2012 2 次提交
  5. 12 9月, 2012 2 次提交
  6. 31 7月, 2012 1 次提交
  7. 18 7月, 2012 10 次提交
  8. 13 7月, 2012 2 次提交
    • M
      ath9k: Add WoW related mac80211 callbacks · b11e640a
      Mohammed Shafi Shajakhan 提交于
      add suspend/resume/set_wakeup callbacks to the driver
      
      *suspend
      
      - bail out only if all the conditions for configuring WoW.
        is fine, currently multivif case is not handled
      - check for associated state.
      - map wow triggers from user space data.
      - add deauth/disassoc pattern and user defined pattern,
        for the later a list is maintained.
      - store the interrupt mask before suspend, enabled beacon
        miss interrupt for WoW.
      - configure WoW in the hardware by calling ath9k_hw_wow_enable.
      
      *resume
      
      - restore the interrupts based on the interrupt mask
        stored before suspend.
      - call ath9k_hw_wow_wakeup to configure/restore the hardware.
      - after wow wakeup clear away WoW events and query the
        WoW wakeup reason from the status register
      
      *set_wakeup
      
      - to call 'device_set_wakeup_enable' from cfg80211/mac80211
        when wow is configured and as per Rafael/Johannnes the
        right way to do so rather in the driver suspend/resume
        call back
      
      Cc: Senthil Balasubramanian <senthilb@qca.qualcomm.com>
      Cc: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
      Cc: vadivel@qca.qualcomm.com
      Signed-off-by: NMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      b11e640a
    • M
      ath9k: Add definitions and structures to support WoW · 01c78533
      Mohammed Shafi Shajakhan 提交于
      *add structures, macros and variables for WoW, so that the driver
      can make use of it.
      *maintain a list for user enabled patterns and masks
      *track pattern slots for the hardware limitation on the
      maximum number of patterns that can be stored.
      *track interrupts enabled before WoW suspend, so
      that can be reconfigured after resume
      *have macros to parse user defined wow configurations to
      hardware code
      
      Cc: Senthil Balasubramanian <senthilb@qca.qualcomm.com>
      Cc: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
      Cc: vadivel@qca.qualcomm.com
      Signed-off-by: NLuis R. Rodriguez <mcgrof@qca.qualcomm.com>
      Signed-off-by: NMohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      01c78533
  9. 10 7月, 2012 1 次提交
  10. 27 6月, 2012 1 次提交
  11. 20 6月, 2012 1 次提交
  12. 14 6月, 2012 1 次提交
  13. 07 6月, 2012 8 次提交
  14. 17 4月, 2012 1 次提交
  15. 12 4月, 2012 1 次提交
  16. 10 4月, 2012 1 次提交
    • R
      ath9k: recover ar9380 chips from rare stuck state · 01e18918
      Rajkumar Manoharan 提交于
      In the experiment with Azimuth ADEPT-n testbed where the APs transmit
      power was reduced to 25% and the signal strength was futher attenuated
      by 20dB and induced a path loss of ~7dB, the station was reporting
      beacon losses and the following issue were observed.
      
      * rx clear is stuck at low for more than 300ms
      * dcu chain and complete state is stuck at one of the hang signature
      
      This patch triggers the hang detection logic that recovers the chip
      from any of the above conditions. As the issue was originally reported
      in ChromeOs with AR9382 chips, this detection logic is enabled only for
      AR9380/2 chips.
      
      Cc: Paul Stewart <pstew@google.com>
      Reported-by: NGary Morain <gmorain@google.com>
      Signed-off-by: NRajkumar Manoharan <rmanohar@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      01e18918
  17. 16 3月, 2012 4 次提交