1. 11 6月, 2009 1 次提交
    • T
      ath5k: added cfg80211 based rfkill support · e6a3b616
      Tobias Doerffel 提交于
      This patch introduces initial rfkill support for the ath5k driver
      based on rfkill support in the cfg80211 framework.
      All rfkill related code is separated into newly created rfkill.c.
      
      Changes to existing code are minimal:
      
      * added a new data structure ath5k_rfkill to the ath5k_softc structure
      * inserted calls to HW rfkill init/deinit routines
      * ath5k_intr() has been extended to handle AR5K_INT_GPIO interrupts
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      e6a3b616
  2. 07 5月, 2009 4 次提交
  3. 23 4月, 2009 2 次提交
  4. 14 4月, 2009 1 次提交
  5. 28 3月, 2009 1 次提交
  6. 17 3月, 2009 1 次提交
  7. 14 2月, 2009 4 次提交
  8. 26 11月, 2008 1 次提交
  9. 22 11月, 2008 1 次提交
  10. 01 11月, 2008 1 次提交
    • N
      ath5k: Update interrupt masking code · 4c674c60
      Nick Kossifidis 提交于
      *Properly get/set all available ISR/IMR values and review common/uncommon bits
      *Better handling of per-txq interrupts (we can now resolve what q is generating
       each interrupt -this will help in debuging wme later)
      *Some minor updates from legacy-hal
      *Properly handle RXNOFRM and TXNOFRM interrupt masking (even when we don't set
       them on IMR they keep showing up, so we disable them by zeroing AR5K_RXNOFRM
       and AR5K_TXNOFRM registers). This doesn't exist on legacy-hal but i've tested
       it on various cards and it works fine.
      
      Changes-Licensed-under: ISC
      Signed-Off-by: NNick Kossifidis <mickflemm@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      4c674c60
  11. 30 10月, 2008 1 次提交
  12. 01 10月, 2008 1 次提交
  13. 25 9月, 2008 1 次提交
  14. 16 9月, 2008 1 次提交
  15. 06 9月, 2008 1 次提交
    • N
      ath5k: HW code cleanup · c6e387a2
      Nick Kossifidis 提交于
       * No code changes...
      
       * Split hw.c to multiple files for better maintenance and add some documentation on each file
         code is going to grow soon (eeprom.c for example is going to get much stuff currently developed
         on ath_info) so it's better this way.
      
       * Rename following functions to maintain naming scheme:
      
           ah_setup_xtx_desc -> ah_setup_mrr_tx_desc
           (Because xtx doesn't say much, it's actually
           a multi-rate-retry tx descriptor)
      
           ath5k_hw_put_tx/rx_buf - > ath5k_hw_set_tx/rxdp
           ath5k_hw_get_tx/rx_buf -> ath5k_hw_get_tx/rxdp
           (We don't put any "buf" we set descriptor pointers on hw)
      
           ath5k_hw_tx_start -> ath5k_hw_start_tx_dma
           ath5k_hw_start_rx -> ath5k_hw_start_rx_dma
           ath5k_hw_stop_pcu_recv -> ath5k_hw_stop_rx_pcu
           (It's easier this way to identify them, we also
           have ath5k_hw_start_rx_pcu which completes the
           set)
      
           ath5k_hw_set_intr -> ath5k_hw_set_imr
           (As in get_isr we set imr here, not "intr")
      
        * Move ath5k_hw_setup_rx_desc on ah->ah_setup_rx_desc so we can
          include support for different rx descriptors in the future
      
        * Further cleanups so that checkpatch doesn't complain
          (only some > 80 col warnings for eeprom.h and reg.h as usual
          due to comments)
      
        Tested on 5211 and 5213 cards and works ok.
      
      Changes-licensed-under: ISC
      Signed-off-by: NNick Kossifidis <mickflemm@gmail.com>
      Acked-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      c6e387a2