linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] implement background scan
@ 2009-07-23 10:13 Helmut Schaa
  2009-07-23 10:13 ` [PATCH 1/7] mac80211: refactor the scan code Helmut Schaa
                   ` (6 more replies)
  0 siblings, 7 replies; 22+ messages in thread
From: Helmut Schaa @ 2009-07-23 10:13 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless, johannes

This patch series implements basic background scanning in mac80211
by interrupting the scan after each scanned channel to allow RX/TX.

I only tested the patches on current wireless-testing with iwlagn
in sw-scan mode and it works fine already. Nevertheless, it would
be great if somebody could test the patches on other hardware as well.

A scan now takes ~13s on my iwl4965 with a total of 31 channels
(17 passive channels) while associated. Two possibilities for the
future to reduce the time a scan takes:
- leave the operating channel as soon as RX and TX were idle for
  a small period of time (currently we just stay 250ms on the
  operating channel after each scanned channel).
- Scan multiple channels in a row if the qos latency allows us to
  do so.

Helmut
---

Helmut Schaa (7):
      cfg80211: increase scan result expire time
      mac80211: rename scan_state to next_scan_state
      mac80211: implement basic background scanning
      mac80211: Replace {sw,hw}_scanning variables with a bitfield
      mac80211: introduce a new scan state "decision"
      mac80211: advance the state machine immediately if no delay is needed
      mac80211: refactor the scan code


 net/mac80211/ibss.c        |    2 
 net/mac80211/ieee80211_i.h |   41 ++++++
 net/mac80211/iface.c       |    4 -
 net/mac80211/main.c        |    2 
 net/mac80211/mesh.c        |    2 
 net/mac80211/mlme.c        |    8 +
 net/mac80211/rx.c          |    8 +
 net/mac80211/scan.c        |  300 ++++++++++++++++++++++++++++++++------------
 net/mac80211/tx.c          |    6 -
 net/wireless/scan.c        |    2 
 10 files changed, 275 insertions(+), 100 deletions(-)

-- 
Signature

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2009-07-23 11:17 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-23 10:13 [PATCH 0/7] implement background scan Helmut Schaa
2009-07-23 10:13 ` [PATCH 1/7] mac80211: refactor the scan code Helmut Schaa
2009-07-23 10:36   ` Johannes Berg
2009-07-23 10:13 ` [PATCH 2/7] mac80211: advance the state machine immediately if no delay is needed Helmut Schaa
2009-07-23 10:36   ` Johannes Berg
2009-07-23 10:13 ` [PATCH 3/7] mac80211: introduce a new scan state "decision" Helmut Schaa
2009-07-23 10:37   ` Johannes Berg
2009-07-23 10:14 ` [PATCH 4/7] mac80211: Replace {sw, hw}_scanning variables with a bitfield Helmut Schaa
2009-07-23 10:38   ` Johannes Berg
2009-07-23 10:46     ` Helmut Schaa
2009-07-23 10:48       ` Johannes Berg
2009-07-23 10:14 ` [PATCH 5/7] mac80211: implement basic background scanning Helmut Schaa
2009-07-23 10:39   ` Johannes Berg
2009-07-23 10:48     ` Helmut Schaa
2009-07-23 10:59       ` Johannes Berg
2009-07-23 11:18   ` [PATCH v2 " Helmut Schaa
2009-07-23 10:14 ` [PATCH 6/7] mac80211: rename scan_state to next_scan_state Helmut Schaa
2009-07-23 10:39   ` Johannes Berg
2009-07-23 10:14 ` [PATCH 7/7] cfg80211: increase scan result expire time Helmut Schaa
2009-07-23 10:39   ` Johannes Berg
2009-07-23 10:50     ` Helmut Schaa
2009-07-23 11:00       ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).