1. 15 11月, 2012 6 次提交
  2. 31 10月, 2012 1 次提交
  3. 30 10月, 2012 28 次提交
  4. 25 10月, 2012 2 次提交
  5. 20 10月, 2012 3 次提交
    • 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
    • C
      carl9170: handle traps from firmware loader · b4764c80
      Christian Lamparter 提交于
      This patch changes the way the driver deals with
      command responses and traps which are sent through
      the special interrupt input endpoint 3.
      
      While the carl9170 firmware does not use this
      endpoint for command responses or traps, the
      firmware loader on the device does. It uses it
      to notify the host about 'watchdog triggered'
      in case the firmware/hardware has crashed.
      
      Note:
      Even without this patch, the driver is still
      able to detect the mishap and reset the device.
      But previously it did that because the trap
      event caused an out-of-order message sequence
      number error, which also triggered a reset.
      Signed-off-by: NChristian Lamparter <chunkeey@googlemail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      b4764c80
    • S
      ath_hw: Use common REG_WRITE parameter order · 037fd9b6
      Sven Eckelmann 提交于
      All defines for REG_WRITE in Atheros wireless drivers use the order "ah",
      "register" and "value". hw.c is the only file using the order "ah", "value" and
      "register".
      
      drivers/net/wireless/ath/ath9k/hw.h:#define REG_WRITE(_ah, _reg, _val) \
      drivers/net/wireless/ath/key.c:#define REG_WRITE(_ah, _reg, _val) (common->ops->write)(_ah, _val, _reg)
      
      This inconsistent definition can easily lead to implementation errors. The
      modification doesn't change the behavior of the driver or the generated code.
      Signed-off-by: NSven Eckelmann <sven@narfation.org>
      Signed-off-by: NSimon Wunderlich <siwu@hrz.tu-chemnitz.de>
      Acked-by: NLuis R. Rodriguez <mcgrof@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      037fd9b6