1. 19 2月, 2011 1 次提交
  2. 29 1月, 2011 2 次提交
  3. 08 12月, 2010 3 次提交
  4. 03 12月, 2010 1 次提交
  5. 25 11月, 2010 2 次提交
  6. 23 11月, 2010 1 次提交
  7. 17 11月, 2010 4 次提交
  8. 09 11月, 2010 1 次提交
    • V
      ath9k_hw: Fix AR9280 surprise removal during frequent idle on/off · f119da30
      Vasanthakumar Thiagarajan 提交于
      Bit 22 of AR_WA should be set to fix the situation where chip reset
      is asynchronous to clock of analog shift registers, such that when
      reset is released, it could mess up the values of analog shift registers
      and cause some hw issue on AR9280.
      
      This bit is write only, but the driver does a read-modify-write
      on AR_WA without setting bit 22 in ar9002_hw_configpcipowersave()
      during radio disable. This causes surprise removal of hw. It can
      never recover from this state and the hw will become usable only
      after a power on/off cycle, and sometimes only during a cold reboot.
      
      This issue can be triggered by doing frequent roaming with the
      simple/test-roam script available from the wifi-test project [1]
      when roaming between APs quickly. When roaming there is a is a high
      possibility that the device being put into idle (radio disable) state
      by mac80211 during AUTH->ASSOC. A device hardware reset would fail
      and the kernel would output:
      
      [40251.363799] ath: AWAKE -> FULL-SLEEP
      [40251.363815] ieee80211 phy17: device no longer idle - working
      [40251.363817] ath: Marking phy17 as not-idle
      [40251.363819] ath: FULL-SLEEP -> AWAKE
      [40251.415978] pciehp 0000:00:1c.3:pcie04: Card not present on Slot(3)
      [40251.419896] ath: ah->misc_mode 0x4
      [40251.428138] pciehp 0000:00:1c.3:pcie04: Card present on Slot(3)
      [40251.532247] ath: timeout (100000 us) on reg 0x9860: 0xffffffff & 0x00000001 != 0x00000000
      [40251.532250] ath: Unable to reset channel (2462 MHz), reset status -5
      [40251.532422] ath: Set channel: 5745 MHz
      [40251.540639] ath: Failed to stop TX DMA in 100 msec after killing last frame
      [40251.548826] ath: Failed to stop TX DMA in 100 msec after killing last frame
      [40251.557023] ath: Failed to stop TX DMA in 100 msec after killing last frame
      [40251.565211] ath: Failed to stop TX DMA in 100 msec after killing last frame
      [40251.573415] ath: Failed to stop TX DMA in 100 msec after killing last frame
      [40251.581603] ath: Failed to stop TX DMA in 100 msec after killing last frame
      [40251.581606] ath: Failed to stop TX DMA. Resetting hardware!
      [40251.592679] ath: DMA failed to stop in 10 ms AR_CR=0xffffffff AR_DIAG_SW=0xffffffff
      [40251.703330] ath: timeout (100000 us) on reg 0x7000: 0xffffffff & 0x00000003 != 0x00000000
      [40251.703333] ath: RTC stuck in MAC reset
      [40251.703334] ath: Chip reset failed
      [40251.703335] ath: Unable to reset hardware; reset status -22
      
      This is currently only reproducible with some HB92 (Half Mini-PCIE)
      cards but the fix applies to all AR9280 cards. This patch fixes this
      issue by setting bit 22 during radio disable.
      
      This patch has fixes for all kernels that has ath9k.
      
      [1] http://wireless.kernel.org/en/developers/Testing/wifi-test
      
      Cc: kyungwan.nam@atheros.com
      Cc: amod.bodas@atheros.com
      Cc: david.quan@atheros.com
      Cc: stable@kernel.org
      Signed-off-by: NVasanthakumar Thiagarajan <vasanth@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      f119da30
  9. 16 10月, 2010 1 次提交
    • L
      ath9k_hw: remove AR9003 2.0 support · 886b42bf
      Luis R. Rodriguez 提交于
      These chipsets will not hit the market, all customers will be
      on >= AR9003 2.2. This shaves down the ath9k_hw size by
      24161 bytes (24 KB) on my system.
      
      Before:
      
      $ size drivers/net/wireless/ath/ath9k/ath9k_hw.ko
         text	   data	    bss	    dec	    hex	filename
       292328	    616	   1824	 294768	  47f70	drivers/net/wireless/ath/ath9k/ath9k_hw.ko
      
      $ du -b drivers/net/wireless/ath/ath9k/ath9k_hw.ko
      5987825	drivers/net/wireless/ath/ath9k/ath9k_hw.ko
      
      After:
      
      $ size drivers/net/wireless/ath/ath9k/ath9k_hw.ko
         text	   data	    bss	    dec	    hex	filename
       277192	    616	   1824	 279632	  44450	drivers/net/wireless/ath/ath9k/ath9k_hw.ko
      
      $ du -b drivers/net/wireless/ath/ath9k/ath9k_hw.ko
      5963664	drivers/net/wireless/ath/ath9k/ath9k_hw.ko
      
      Cc: Yixiang Li <yixiang.li@atheros.com>
      Cc: Don Breslin <don.breslin@atheros.com>
      Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      886b42bf
  10. 12 10月, 2010 1 次提交
  11. 28 9月, 2010 3 次提交
  12. 14 8月, 2010 1 次提交
  13. 01 7月, 2010 1 次提交
  14. 24 6月, 2010 1 次提交
  15. 04 6月, 2010 2 次提交
  16. 03 6月, 2010 1 次提交
  17. 17 4月, 2010 14 次提交