1. 10 8月, 2011 1 次提交
  2. 09 8月, 2011 7 次提交
  3. 02 8月, 2011 2 次提交
  4. 22 7月, 2011 1 次提交
  5. 21 7月, 2011 1 次提交
  6. 19 7月, 2011 5 次提交
  7. 16 7月, 2011 1 次提交
    • F
      ath9k: improve reliability of MIC error detection · 66760eac
      Felix Fietkau 提交于
      For unicast the hardware sometimes reports MIC errors even though the
      frame that it received actually contains a valid MIC - on some chips this
      can happen frequently enough to trigger TKIP countermeasures.
      Fix this issue by not reporting MIC errors for unicast frames with a
      valid key, letting mac80211 validate the MIC instead.
      
      Additionally, strip the MIC for all frames that the hardware considers
      valid to avoid wasting CPU cycles re-validating it.
      Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      66760eac
  8. 14 7月, 2011 1 次提交
    • S
      ath9k_hw: Fix incorrect key_miss handling · 0472ade0
      Senthil Balasubramanian 提交于
      Decryping frames on key_miss handling shouldn't be done for Michael
      MIC failed frames as h/w would have already decrypted such frames
      successfully anyway.
      
      Also leaving CRC and PHY error(where the frame is going to be dropped
      anyway), we are left to prcoess Decrypt error for which s/w decrypt is
      selected anway and so having key_miss as a separate check doesn't serve
      anything. So making key_miss handling mutually exlusive with other RX
      status handling makes much more sense.
      
      This patch addresses an issue with STA not reporting MIC failure events
      resulting in STA being disconnected immediately.
      
      Cc: stable@kernel.org
      Signed-off-by: NSenthil Balasubramanian <senthilb@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      0472ade0
  9. 12 7月, 2011 10 次提交
  10. 08 7月, 2011 6 次提交
  11. 06 7月, 2011 1 次提交
  12. 30 6月, 2011 3 次提交
  13. 28 6月, 2011 1 次提交
    • R
      ath9k: Fix locking issue during tx completion · f6b4e4d4
      Rajkumar Manoharan 提交于
      The received tx status of aggregated frame without BlockAck may
      cause deaf state in AR5416 cards. So the driver does a reset to
      recover. When this happens, we release the pcu_lock before doing
      a reset as ath_rest acquires pcu_lock. This is ugly and also not
      atomic. Fixing this addresses the TX DMA failure also.
      
      ath_tx_complete_aggr can be called from different paths which
      takes different variants of spin_lock. This patch also addresses
      the following warning.
      
      WARNING: at kernel/timer.c:1011 del_timer_sync+0x4e/0x50()
      Call Trace:
       <IRQ>  [<ffffffff8104be3a>] warn_slowpath_common+0x7a/0xb0
       [<ffffffff8104be85>] warn_slowpath_null+0x15/0x20
       [<ffffffff8105915e>] del_timer_sync+0x4e/0x50
       [<ffffffffa03726be>] ath_reset+0x3e/0x210 [ath9k]
       [<ffffffff8135cdaf>] ? _raw_spin_unlock_bh+0x1f/0x30
       [<ffffffffa037760a>] ath_tx_complete_aggr.isra.26+0x54a/0xa40 [ath9k]
      Signed-off-by: NRajkumar Manoharan <rmanohar@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      f6b4e4d4