1. 07 Oct, 2009 1 commit
  2. 15 Jun, 2009 1 commit
  3. 22 May, 2009 1 commit
  4. 06 May, 2009 2 commits
    • Nick Kossifidis's avatar
      ath5k: Beaconing fixes · 428cbd4f
      Nick Kossifidis authored
      
      
      * Write next beacon timer even on AP mode since without this we get
       no beacons + ath9k does it too.  Docs say that we must write 0 on
       this register on AP mode to start TSF increment, we do both to be
       on the safe side.
      
       * Fix num_tx_pending function, we never read the register :P that's
       why we got all those "beacon queue 7 didn't stop messages".
      
       * Put full prioriy on beacon queue, lock all queues with lower
       priority using the arblock and also bypass any arblock by seting
       the arblock ignore flag.
      
       * For the CAB queue (do we need this thing ?, it seems crap) since
       it's supposed to fire up after each beacon (we don't use it on driver
       part, ath9k/MadWiFi does), don't make it DBA gated but instead make
       it fire after each beacon by using the beacon sent gated flag.
      
       * Increase bmiss threshold to 10, that's what we used on MadWiFi for
       a long time. Also when we have pending frames on the beacon queue (we
       got a beacon that didn't make it on the air) it's more likely that
       the beacon queue never started, probably due to faulty DBA setting,
       so change that "beacon queue didn't stop" message.
      
       Tested this with AP mode and IBSS mode and seems to work fine ;-)
      Signed-off-by: default avatarNick Kossifidis <mickflemm@gmail.com>
      Signed-off-by: default avatarBob Copeland <me@bobcopeland.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      428cbd4f
    • Jiri Slaby's avatar
      ath5k: 5211, don't crypt every protected frame · ded7a7ea
      Jiri Slaby authored
      
      
      Set null key type even on ar5211, otherwise it en/decrypts every frame with
      protected bit set which renders the card unusable on encrypted networks.
      Signed-off-by: default avatarJiri Slaby <jirislaby@gmail.com>
      Cc: Luis R. Rodriguez <lrodriguez@atheros.com>
      Cc: Bob Copeland <me@bobcopeland.com>
      Acked-by: default avatarNick Kossifidis <mickflemm@gmail.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      ded7a7ea
  5. 22 Apr, 2009 1 commit
  6. 05 Mar, 2009 1 commit
  7. 29 Jan, 2009 4 commits
  8. 12 Jan, 2009 1 commit
  9. 12 Dec, 2008 1 commit
  10. 05 Dec, 2008 3 commits
  11. 10 Nov, 2008 3 commits
  12. 30 Sep, 2008 1 commit
  13. 15 Sep, 2008 1 commit
  14. 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