1. 23 Nov, 2009 1 commit
  2. 16 Nov, 2009 1 commit
  3. 27 Oct, 2009 1 commit
  4. 20 Aug, 2009 1 commit
  5. 14 Aug, 2009 2 commits
    • Nick Kossifidis's avatar
      ath5k: Use SWI to trigger calibration · 6e220662
      Nick Kossifidis authored
      * Get rid of calibration timer, instead use a software interrupt
        to schedule the calibration tasklet.
       a) We don't need a timer for this, there is no need for accuracy
         even with round_jiffies i think this is a waste of resources.
         Also we don't need to run calibration if we are idle (no
       b) When we add ANI support we 'll just extend the poll function
         and calibration tasklet and handle all periodic phy calibration
         on one place (much cleaner).
       c) Having calibration on a tasklet is better since during calibration
         we can't transmit or receive (antennas are detached to measure
         noise floor), previously calibration could run in parallel with
         tx/rx and interfere (packet loss).
       v2: kill tasklet on stop_hw, stop/wake queues
       v3: use time_is_before_eq_jiffies to compare timestamp with current
      Signed-off-by: default avatarNick Kossifidis <mickflemm@gmail.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    • Nick Kossifidis's avatar
      ath5k: Linear PCDAC code fixes · d1cb0bda
      Nick Kossifidis authored
      * Set correct xpd curve indices for high/low gain curves during
         rfbuffer setup on RF5112B with both calibration curves available.
       * Don't return zero min power when we have the same pcdac value
         twice because it breaks interpolation. Instead return the right
         x barrier as we do when we have equal power levels for 2 different
         pcdac values.
      Signed-off-by: default avatarNick Kossifidis <mickflemm@gmail.com>
      Acked-by: default avatarBob Copeland <me@bobcopeland.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
  6. 10 Jul, 2009 1 commit
  7. 20 May, 2009 1 commit
  8. 06 May, 2009 4 commits
  9. 22 Apr, 2009 2 commits
  10. 27 Mar, 2009 1 commit
  11. 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>
    • 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
       * 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>
    • 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>
  12. 21 Nov, 2008 1 commit
  13. 31 Oct, 2008 1 commit
  14. 24 Sep, 2008 1 commit
  15. 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
           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>
  16. 01 Aug, 2008 3 commits
  17. 16 Apr, 2008 1 commit
  18. 13 Mar, 2008 1 commit
  19. 07 Mar, 2008 3 commits
  20. 29 Feb, 2008 3 commits
  21. 28 Jan, 2008 1 commit