1. 12 10月, 2011 1 次提交
    • F
      ath9k_hw: clean up tx power handling · ca2c68cc
      Felix Fietkau 提交于
      The code for handling various restrictions concerning regulatory limits,
      antenna gain, etc. is very convoluted and duplicated across various
      EEPROM parsing implementations, making it hard to review.
      
      This patch partially cleans up the mess by unifying regulatory limit
      handling in one function and simplifying handling of antenna gain.
      It also removes unused transmit power scaling arrays from the EEPROM code,
      which belonged to an unimplemented API that isn't supposed to be in
      the driver anyway.
      Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ca2c68cc
  2. 20 9月, 2011 1 次提交
  3. 15 9月, 2011 3 次提交
  4. 30 8月, 2011 1 次提交
  5. 25 8月, 2011 1 次提交
  6. 10 8月, 2011 1 次提交
  7. 09 8月, 2011 1 次提交
  8. 02 8月, 2011 1 次提交
  9. 19 7月, 2011 1 次提交
    • R
      ath9k: Fix sparse warnings · 5479de6e
      Rajkumar Manoharan 提交于
      drivers/net/wireless/ath/ath9k/init.c:199:21: warning: context imbalance
      in 'ath9k_reg_rmw' - different lock contexts for basic block
      drivers/net/wireless/ath/ath9k/xmit.c:1175:31: warning: context
      imbalance in 'ath_drain_txq_list' - unexpected unlock
      drivers/net/wireless/ath/ath9k/xmit.c:2047:23: warning: context
      imbalance in 'ath_tx_process_buffer' - unexpected unlock
      drivers/net/wireless/ath/ath9k/ar9003_eeprom.c:3041:24: warning: cast to
      restricted __le32
      Signed-off-by: NRajkumar Manoharan <rmanohar@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      5479de6e
  10. 30 6月, 2011 1 次提交
  11. 23 6月, 2011 3 次提交
  12. 22 6月, 2011 1 次提交
    • A
      net: remove mm.h inclusion from netdevice.h · b7f080cf
      Alexey Dobriyan 提交于
      Remove linux/mm.h inclusion from netdevice.h -- it's unused (I've checked manually).
      
      To prevent mm.h inclusion via other channels also extract "enum dma_data_direction"
      definition into separate header. This tiny piece is what gluing netdevice.h with mm.h
      via "netdevice.h => dmaengine.h => dma-mapping.h => scatterlist.h => mm.h".
      Removal of mm.h from scatterlist.h was tried and was found not feasible
      on most archs, so the link was cutoff earlier.
      
      Hope people are OK with tiny include file.
      
      Note, that mm_types.h is still dragged in, but it is a separate story.
      Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b7f080cf
  13. 02 6月, 2011 1 次提交
  14. 20 5月, 2011 1 次提交
  15. 26 4月, 2011 2 次提交
  16. 31 3月, 2011 6 次提交
  17. 01 3月, 2011 1 次提交
  18. 16 2月, 2011 1 次提交
  19. 29 1月, 2011 3 次提交
  20. 28 1月, 2011 1 次提交
  21. 22 1月, 2011 3 次提交
  22. 06 1月, 2011 1 次提交
  23. 05 1月, 2011 1 次提交
  24. 23 12月, 2010 2 次提交
    • M
      ath9k: Reset keycache on resume · db7ec38d
      Mohammed Shafi Shajakhan 提交于
      It looks like some hardware registers are left into undefined state
      after suspend/resume. At minimum, this can cause odd issues related to
      key cache and hardware trying to encrypt/decrypt frames unexpectedly.
      This seems to happen even when there is no keys configured, i.e., hardware
      can end up touching TX frames just based of invalid key cache context
      even if the driver is not asking a specific entry to be used. In
      addition, RX can likely be affected. This patch fixes this issue.
      Signed-off-by: NJouni Malinen <Jouni.Malinen@Atheros.com>
      Signed-off-by: NMohammed Shafi Shajakhan <mshajakhan@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      db7ec38d
    • R
      ath9k: Fix warnings on card removal · d584747b
      Rajkumar Manoharan 提交于
      The recently added warning message on power change failure
      is not needed on device removal.
      
      ath: Failed to wakeup in 500us
      ------------[ cut here ]------------
      WARNING: at drivers/net/wireless/ath/ath9k/hw.c:1618
      ath9k_hw_setpower+0x61f/0x630 [ath9k_hw]()
      Hardware name: 64756D6
      Pid: 540, comm: kworker/u:3 Not tainted 2.6.37-rc6-wl #37
      Call Trace:
       [<ffffffff810501aa>] warn_slowpath_common+0x7a/0xb0
       [<ffffffffa056e280>] ? ath9k_iowrite32+0x0/0x90 [ath9k]
       [<ffffffff810501f5>] warn_slowpath_null+0x15/0x20
       [<ffffffffa05226ef>] ath9k_hw_setpower+0x61f/0x630 [ath9k_hw]
       [<ffffffffa05700e5>] ath9k_ps_wakeup+0x85/0xd0 [ath9k]
       [<ffffffffa0570685>] ath9k_configure_filter+0x25/0x80 [ath9k]
       [<ffffffffa04dde43>] ieee80211_configure_filter+0x133/0x190 [mac80211]
       [<ffffffffa04ee502>] ieee80211_do_stop+0x132/0x540 [mac80211]
       [<ffffffff813466ff>] ? _raw_spin_unlock_bh+0x1f/0x30
       [<ffffffff812b6923>] ? dev_deactivate+0x1c3/0x1e0
       [<ffffffffa04ee925>] ieee80211_stop+0x15/0x20 [mac80211]
       [<ffffffff8129d1b6>] __dev_close+0x56/0x90
      Signed-off-by: NRajkumar Manoharan <rmanoharan@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      d584747b
  25. 21 12月, 2010 1 次提交