1. 29 9月, 2010 1 次提交
  2. 17 9月, 2010 1 次提交
  3. 26 8月, 2010 1 次提交
  4. 25 8月, 2010 1 次提交
  5. 17 8月, 2010 1 次提交
  6. 03 6月, 2010 1 次提交
  7. 17 4月, 2010 1 次提交
    • B
      ath5k/ath9k: Fix 64 bits TSF reads · 1c0fc65e
      Benoit Papillault 提交于
      According to tests, both TSF lower and upper registers kept counting, so
      the higher part could have been updated after the lower part has been
      read, as shown in the following log where the upper part is read first
      and the lower part next.
      
      tsf = {00000003-fffffffd}
      tsf = {00000003-00000001}
      tsf = {00000004-0000000b}
      
      This patch corrects this by checking that the upper part has not been
      changed while the lower part was read. It has been tested in an IBSS
      network where artifical IBSS merges have been done in order to trigger
      hundreds of rollover for the TSF lower part.
      
      It follows the logic mentionned by Derek, with only 2 register reads
      needed at each additional steps instead of 3 (the minimum number of
      register reads is still 3).
      Signed-off-by: NBenoit Papillault <benoit.papillault@free.fr>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      1c0fc65e
  8. 15 4月, 2010 1 次提交
  9. 08 4月, 2010 1 次提交
    • B
      ath5k: Adaptive Noise Immunity (ANI) Implementation · 2111ac0d
      Bruno Randolf 提交于
      This is an Adaptive Noise Imunity (ANI) implementation for ath5k. I have looked
      at both ath9k and HAL sources (they are nearly the same), and even though i
      have implemented some things differently, the basic algorithm is practically
      the same, for now. I hope that this can serve as a clean start to improve the
      algorithm later.
      
      This also adds a possibility to manually control ANI settings, right now only
      thru a debugfs file:
        * set lowest sensitivity (=highest noise immunity):
      	echo sens-low > /sys/kernel/debug/ath5k/phy0/ani
        * set highest sensitivity (=lowest noise immunity):
      	echo sens-high > /sys/kernel/debug/ath5k/phy0/ani
        * automatically control immunity (default):
      	echo ani-on > /sys/kernel/debug/ath5k/phy0/ani
        * to see the parameters in use and watch them change:
      	cat /sys/kernel/debug/ath5k/phy0/ani
      
      Manually setting sensitivity will turn the automatic control off. You can also
      control each of the five immunity parameters (noise immunity, spur immunity,
      firstep, ofdm weak signal detection, cck weak signal detection) manually thru
      the debugfs file.
      
      This is tested on AR5414 and nearly doubles the thruput in a noisy 2GHz band.
      Signed-off-by: NBruno Randolf <br1@einfach.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      2111ac0d
  10. 01 4月, 2010 1 次提交
  11. 16 3月, 2010 2 次提交
  12. 11 3月, 2010 1 次提交
  13. 10 3月, 2010 1 次提交
  14. 13 1月, 2010 2 次提交
  15. 08 10月, 2009 10 次提交
  16. 16 6月, 2009 1 次提交
  17. 23 5月, 2009 1 次提交
  18. 07 5月, 2009 2 次提交
    • N
      ath5k: Beaconing fixes · 428cbd4f
      Nick Kossifidis 提交于
      * 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: NNick Kossifidis <mickflemm@gmail.com>
      Signed-off-by: NBob Copeland <me@bobcopeland.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      428cbd4f
    • J
      ath5k: 5211, don't crypt every protected frame · ded7a7ea
      Jiri Slaby 提交于
      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: NJiri Slaby <jirislaby@gmail.com>
      Cc: Luis R. Rodriguez <lrodriguez@atheros.com>
      Cc: Bob Copeland <me@bobcopeland.com>
      Acked-by: NNick Kossifidis <mickflemm@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ded7a7ea
  19. 23 4月, 2009 1 次提交
  20. 06 3月, 2009 1 次提交
  21. 30 1月, 2009 4 次提交
  22. 13 1月, 2009 1 次提交
  23. 13 12月, 2008 1 次提交
  24. 05 12月, 2008 2 次提交
    • B
      ath5k: enable combined michael mic in key cache · f650470a
      Bob Copeland 提交于
      For mac revisions >= "Griffin," the hardware allows the mic tx and rx
      authenticator keys to share the same cache line, whereas earlier
      hardware can only store the rx.  Enable the combined mic on hardware
      that supports it.
      
      Changes to ath5k.h
      Changes-licensed-under: 3-Clause-BSD
      
      Changes to attach.c, pcu.c, reg.h
      Changes-licensed-under: ISC
      Signed-off-by: NBob Copeland <me@bobcopeland.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      f650470a
    • B
      ath5k: clean up ath5k_hw_set_key · 67143490
      Bob Copeland 提交于
      Status: O
      
      With the addition of TKIP (and soon CCMP), key->alg is a more useful
      guide to key type than the key length.
      
      This patch cleans up key type assignment in ath5k_hw_set_key by
      extracting it into its own function.  It also replaces the separate
      memcpy() calls for extracting key material into the hardware format
      with a loop that works regardless of key size.
      
      Finally, the patch removes support for WEP-128 since it is a
      non-standard key length that mac80211 also doesn't use.
      
      Changes-licensed-under: ISC
      Signed-off-by: NBob Copeland <me@bobcopeland.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      67143490