1. 17 2月, 2010 1 次提交
  2. 09 2月, 2010 1 次提交
  3. 16 1月, 2010 1 次提交
  4. 29 11月, 2009 2 次提交
  5. 08 10月, 2009 5 次提交
  6. 11 7月, 2009 1 次提交
  7. 04 6月, 2009 2 次提交
    • J
      ath9k: Add sanity check for beacon_int in adhoc/mesh case · 546256fb
      Jouni Malinen 提交于
      It looks like mac80211 can request the driver to start beaconing with
      a beacon interval of zero in some cases (at least for mesh point). This
      does not sound correct and something may need to be fixed in
      mac80211. However, taken into account the unpleasantness of getting
      stuck in an infinite busy loop with rtnl_lock held, let's add a quick
      workaround in the driver to avoid the worst symptom while someone more
      familiar with the mesh implementation can figure out what should be done
      with mac80211 as far as beacon interval configuration is concerned.
      Signed-off-by: NJouni Malinen <jouni.malinen@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      546256fb
    • J
      ath9k: Reset SC_OP_TSF_RESET flag after stuck beacon · b74444f8
      Jeff Hansen 提交于
      I have a TrendNet 652-BRP running OpenWRT + ath9k very well.  The only
      problem is that the beacon gets stuck maybe once a day.  After
      Vasanthakumar Thiagarajan's "ath9k: cleanup beacon parameters
      configuration" patch, ath9k would nearly re-configure the beacons after it
      detected the stuck beacon, and did a reset.  But it would fail the
      SC_OP_TSF_RESET check in ath_beacon_config_ap.  This patch gets the beacon
      fully reconfigured after the reset.
      Signed-off-by: NJeff Hansen <x@jeffhansen.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      b74444f8
  8. 23 5月, 2009 1 次提交
    • J
      ath9k: Optimize TBTT/DTIM calculation for timers · 267a9012
      Jouni Malinen 提交于
      The previous version used a simple loop to go through all Beacon
      frames when determining the next TBTT and DTIM count. This is not too
      bad for the case where the setup happens before timesync (i.e., very
      small TSF), but this can become very heavy operation if a short Beacon
      interval is used and the current TSF is large.
      
      In preparation for a patch to update timer setup based on Beacon
      timestamp, optimize this routine to take fixed time regardless of the
      actual TSF value.
      Signed-off-by: NJouni Malinen <jouni.malinen@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      267a9012
  9. 21 5月, 2009 2 次提交
  10. 07 5月, 2009 2 次提交
    • L
      ath9k: make private driver rate tables const · 4f0fc7c3
      Luis R. Rodriguez 提交于
      On x86 this allows us to do the following small savings:
      shave off 23 % off of the module's data, and
      shave off 6  % off of the module's text.
      
      We save 456 bytes, for those counting.
      
      $ size ath9k.ko
         text    data     bss     dec     hex filename
       250794    3628    1600  256022   3e816 ath9k.ko
      $ size ath9k-old.ko
         text    data     bss     dec     hex filename
       239114   15308    1600  256022   3e816 ath9k-old.ko
      
      $ du -b ath9k.ko
      4034244 ath9k.ko
      $ du -b ath9k-old.ko
      4033788 ath9k-old.ko
      Signed-off-by: NLuis R. Rodriguez <lrodriguez@atheros.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      4f0fc7c3
    • J
      mac80211: clean up beacon interval settings · 57c4d7b4
      Johannes Berg 提交于
      We currently have two beacon interval configuration knobs:
      hw.conf.beacon_int and vif.bss_info.beacon_int. This is
      rather confusing, even though the former is used when we
      beacon ourselves and the latter when we are associated to
      an AP.
      
      This just deprecates the hw.conf.beacon_int setting in favour
      of always using vif.bss_info.beacon_int. Since it touches all
      the beaconing IBSS code anyway, we can also add support for
      the cfg80211 IBSS beacon interval configuration easily.
      
      NOTE: The hw.conf.beacon_int setting is retained for now due
            to drivers still using it -- I couldn't untangle all
            drivers, some are updated in this patch.
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      57c4d7b4
  11. 23 4月, 2009 3 次提交
  12. 28 3月, 2009 3 次提交
  13. 06 3月, 2009 7 次提交
  14. 28 2月, 2009 2 次提交
  15. 14 2月, 2009 4 次提交
  16. 30 1月, 2009 3 次提交