Skip to content
Snippets Groups Projects
  1. Oct 11, 2011
    • Felix Fietkau's avatar
      ath9k_hw: clean up tx power handling · ca2c68cc
      Felix Fietkau authored
      
      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: default avatarFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      ca2c68cc
  2. Sep 19, 2011
  3. Sep 14, 2011
  4. Aug 29, 2011
  5. Aug 24, 2011
  6. Aug 09, 2011
  7. Aug 08, 2011
  8. Aug 01, 2011
  9. Jul 18, 2011
    • Rajkumar Manoharan's avatar
      ath9k: Fix sparse warnings · 5479de6e
      Rajkumar Manoharan authored
      
      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: default avatarRajkumar Manoharan <rmanohar@qca.qualcomm.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      5479de6e
  10. Jun 29, 2011
  11. Jun 22, 2011
  12. Jun 21, 2011
    • Alexey Dobriyan's avatar
      net: remove mm.h inclusion from netdevice.h · b7f080cf
      Alexey Dobriyan authored
      
      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: default avatarAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b7f080cf
  13. Jun 01, 2011
  14. May 19, 2011
  15. Apr 25, 2011
  16. Mar 30, 2011
  17. Feb 28, 2011
  18. Feb 15, 2011
  19. Jan 28, 2011
  20. Jan 27, 2011
  21. Jan 21, 2011
  22. Jan 05, 2011
  23. Jan 04, 2011
  24. Dec 22, 2010
    • Mohammed Shafi Shajakhan's avatar
      ath9k: Reset keycache on resume · db7ec38d
      Mohammed Shafi Shajakhan authored
      
      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: default avatarJouni Malinen <Jouni.Malinen@Atheros.com>
      Signed-off-by: default avatarMohammed Shafi Shajakhan <mshajakhan@atheros.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      db7ec38d
    • Rajkumar Manoharan's avatar
      ath9k: Fix warnings on card removal · d584747b
      Rajkumar Manoharan authored
      
      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: default avatarRajkumar Manoharan <rmanoharan@atheros.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      d584747b
  25. Dec 20, 2010
Loading