1. 13 1月, 2010 2 次提交
  2. 28 10月, 2009 1 次提交
  3. 08 10月, 2009 7 次提交
  4. 29 8月, 2009 3 次提交
  5. 20 8月, 2009 1 次提交
  6. 14 8月, 2009 2 次提交
  7. 11 7月, 2009 1 次提交
  8. 11 6月, 2009 2 次提交
  9. 07 5月, 2009 3 次提交
  10. 23 4月, 2009 2 次提交
  11. 28 3月, 2009 1 次提交
  12. 17 3月, 2009 1 次提交
  13. 14 2月, 2009 3 次提交
    • N
      ath5k: Update reset code · e8f055f0
      Nick Kossifidis 提交于
       * Update reset and sync with HALs
      
       * Clean up eeprom settings and tweaking of initvals and
         put them on separate functions
      
       * Set/Restore 32KHz ref clk operation
      
       * Add some more documentation
      
       TODO: Spur mitigation, tpc, half/quarter rate, compression etc
      
       v2: Address comments from Bob and Felix and fix RSSI threshold bug
       introduced on the first version of the patch
      Signed-off-by: NNick Kossifidis <mickflemm@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      e8f055f0
    • N
      ath5k: Update RF Buffer handling · 8892e4ec
      Nick Kossifidis 提交于
       * Use the new way to modify rf buffer and put some rf buffer
         documentation on rfbufer.h
      
       * Merge all rf regs functions to one
      
       * Sync with legacy HAL and Sam's HAL
      
       * Set gain_F settings so that gain_F optimization engine works
         on RF5111/RF5112 (note that both HALs only use step 0 for RF5111
         and they don't use gain_F optimization for this chip, code is
         there but is never used)
      Signed-off-by: NNick Kossifidis <mickflemm@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      8892e4ec
    • N
      ath5k: Update gain_F calibration code and add documentation · 6f3b414a
      Nick Kossifidis 提交于
       * Update and cleanup rf gain optimization code
      
       * Add comments and refferences to docs and use sane function names
      
       * Use only step index on ath5k_gain, no need to have a pointer to
         the current step since we can determine te step from it's index,
         this also allows us to put all other structs on rfgain.h and cleanup
         ath5k.h a little
      
       * No need for ah_rfgain variable, we use ah_gain.g_state for everything
      
       * Tested on RF2112B chip but gain_F calibration is not yet done
         (we will finish this on the next patch where we'll rewrite rf-buffer
         handling)
      
       * Use initial rf gain settings for 2316 and 2317 SoCs introduced on a previous patch
      
       It seems big but it's mostly cleanup, very few functional changes have been made on phy.c
      Signed-off-by: NNick Kossifidis <mickflemm@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      6f3b414a
  14. 30 1月, 2009 1 次提交
  15. 20 12月, 2008 1 次提交
  16. 05 12月, 2008 1 次提交
  17. 26 11月, 2008 1 次提交
  18. 11 11月, 2008 1 次提交
    • N
      ath5k: Update PCU code · f07a6c49
      Nick Kossifidis 提交于
      * In set_opmode don't handle antenna settings and preserve other STA_ID1 settings
      (shouldn't matter because we call it during reset but it makes things cleaner)
      Also set properly AP/ADHOC indicator flag on CFG while setting AP/ADHOC modes
      and always enable key search mode.
      
      * Properly set BSSID Mask during reset (cache it and reuse it durring set_associd)
      
      * Update beacon_init to flush pending BMISS interrupts and handle setting of adhoc
      beacon ATIM policy flag for ad-hoc mode. Also set TSF to 0 to start TSF increment
      on AP mode. We need to handle sleep timers for AR5212 there + add support for PCF.
      
      * Properly clean MIC key from keytable when TKIP is used (Bob is working on set_key
      function etc so i leave it for now).
      
      Tested on AR5212 (Hainan) and AR5413 and works fine
      
      v2 Set PISR on AR5211+ and ISR on AR5210, got to sleep more ;-)
      
      Changes-Licensed-under: ISC
      Signed-Off-by: NNick Kossifidis <mickflemm@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      f07a6c49
  19. 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
  20. 07 10月, 2008 1 次提交
  21. 01 10月, 2008 1 次提交
  22. 16 9月, 2008 1 次提交
  23. 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
  24. 23 8月, 2008 1 次提交
    • B
      ath5k: rates cleanup · 63266a65
      Bruno Randolf 提交于
      cleanup the rates structures used by ath5k. instead of separate driver and
      mac80211 rate structures we now setup a static ieee80211_rate array and use it
      directly. no conversion between two different rate structures has to be done
      any more. a lot of unused and confusing junk was deleted.
      
      renamed ath5k_getchannels into ath5k_setup_bands because this is what it does.
      rewrote it to copy the bitrates correctly for each band. this is necessary for
      running different hardware with the same driver (e.g. 5211 and 5212 based
      cards).
      
      add special handling of rates for AR5211 chipsets: it uses different rate codes
      for CCK rates (which are actually like the other chips but with a 0xF mask).
      
      setup a hardware code to rate index reverse mapping table for getting the rate
      index of received frames.
      
      the rates for control frames which have to be set in
      ath5k_hw_write_rate_duration are now in one single array.
      
      drivers/net/wireless/ath5k/ath5k.h:     Changes-licensed-under: ISC
      drivers/net/wireless/ath5k/base.c:      Changes-licensed-under: 3-Clause-BSD
      drivers/net/wireless/ath5k/base.h:      Changes-licensed-under: 3-Clause-BSD
      drivers/net/wireless/ath5k/hw.c:        Changes-licensed-under: ISC
      Signed-off-by: NBruno Randolf <br1@einfach.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      63266a65