1. 22 Apr, 2009 1 commit
  2. 27 Mar, 2009 1 commit
  3. 13 Feb, 2009 3 commits
    • Nick Kossifidis's avatar
      ath5k: Update RF Buffer handling · 8892e4ec
      Nick Kossifidis authored
      
      
       * 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: default avatarNick Kossifidis <mickflemm@gmail.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      8892e4ec
    • Nick Kossifidis's avatar
      ath5k: Update gain_F calibration code and add documentation · 6f3b414a
      Nick Kossifidis authored
      
      
       * 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: default avatarNick Kossifidis <mickflemm@gmail.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      6f3b414a
    • Nick Kossifidis's avatar
      ath5k: PHY code cleanup · 33a31826
      Nick Kossifidis authored
      
      
       * Clean up initial rf buffer settings (new file rfbufer.h) and introduce a
         new way to access specific rf registers (will use it later)
      
       * Clean up initial rf gain settings by moving them on a new file (rfgain.h)
         so we can later work on gain optimization functions
      
       * Update initial rf buffer settings and initial rf gain settings from HALs.
         This breaks things for now because our current dumps come from pre-configured
         rf buffer (regdumps already had the needed values set from binary HAL).
      Signed-off-by: default avatarNick Kossifidis <mickflemm@gmail.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      33a31826
  4. 21 Nov, 2008 1 commit
  5. 31 Oct, 2008 1 commit
  6. 24 Sep, 2008 1 commit
  7. 05 Sep, 2008 1 commit
    • Nick Kossifidis's avatar
      ath5k: HW code cleanup · c6e387a2
      Nick Kossifidis authored
      
      
       * 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: default avatarNick Kossifidis <mickflemm@gmail.com>
      Acked-by: default avatarLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      c6e387a2
  8. 01 Aug, 2008 3 commits
  9. 16 Apr, 2008 1 commit
  10. 13 Mar, 2008 1 commit
  11. 07 Mar, 2008 3 commits
  12. 29 Feb, 2008 3 commits
  13. 28 Jan, 2008 1 commit