linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/3] mac80211: new API for handling broadcast / multicast on sw scan
@ 2010-08-28  7:13 Luis R. Rodriguez
  2010-08-28  7:13 ` [RFC 1/3] ath9k: fix regression which disabled ps on ath9k on all cards Luis R. Rodriguez
                   ` (3 more replies)
  0 siblings, 4 replies; 21+ messages in thread
From: Luis R. Rodriguez @ 2010-08-28  7:13 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless, amod.bodas, Luis R. Rodriguez

mac80211's sw scan doesn't play nice with buffered broadcast and
multicast frames. Since drivers are required to keep track of the DTIM
count this series provides some new basic functionality to let drivers
help mac80211 make more prudent decisions for sw scan.

Tested with an AP with a beacon interval of 100 and then two dtim
intervals: 1, 2.

I'll send out the PS fix separately, its an RFC because I am not aware
of the impact of enabling PS after 2.6.34... did we *really* go on testing
without PS since then? The good news is that at least with these patches
my AR9003 device works well with PS enabled. Haven't tested the AR9002
family. You can force enable PS to test it by using iw:

	iw dev wlan0 set power_save on

I believe we can expand on this to move more of the code ath9k does into
mac80211 and just provide basic APIs for informating mac80211 what it
should do.

I'd appreciate if others would test, specially those without ath9k
and using sw scan.

Luis R. Rodriguez (3):
  ath9k: fix regression which disabled ps on ath9k on all cards
  mac80211: allow drivers to specify sw scan wait constraints
  ath9k: implement the sw scan wait constraints

 drivers/net/wireless/ath/ath9k/ath9k.h |    1 +
 drivers/net/wireless/ath/ath9k/init.c  |    3 +-
 drivers/net/wireless/ath/ath9k/main.c  |   69 ++++++++++++++++++++++++++++++++
 include/net/mac80211.h                 |   12 ++++++
 net/mac80211/driver-ops.h              |   16 +++++++
 net/mac80211/driver-trace.h            |   18 ++++++++
 net/mac80211/ieee80211_i.h             |    2 +
 net/mac80211/scan.c                    |   42 +++++++++++++++++--
 8 files changed, 158 insertions(+), 5 deletions(-)


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

end of thread, other threads:[~2010-09-01 10:41 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-28  7:13 [RFC 0/3] mac80211: new API for handling broadcast / multicast on sw scan Luis R. Rodriguez
2010-08-28  7:13 ` [RFC 1/3] ath9k: fix regression which disabled ps on ath9k on all cards Luis R. Rodriguez
2010-08-28  7:13 ` [RFC 2/3] mac80211: allow drivers to specify sw scan wait constraints Luis R. Rodriguez
2010-08-29 19:55   ` Luis R. Rodriguez
2010-08-30  7:29     ` Luis R. Rodriguez
2010-08-30 14:17   ` John W. Linville
2010-08-30 15:16     ` Luis R. Rodriguez
2010-08-28  7:13 ` [RFC 3/3] ath9k: implement the " Luis R. Rodriguez
2010-08-30 14:19 ` [RFC 0/3] mac80211: new API for handling broadcast / multicast on sw scan Johannes Berg
2010-08-30 15:37   ` Luis R. Rodriguez
2010-08-30 15:47     ` Johannes Berg
2010-08-30 18:00       ` Luis R. Rodriguez
2010-08-30 18:10         ` Johannes Berg
2010-08-30 19:20           ` Luis R. Rodriguez
2010-08-31 14:36             ` Johannes Berg
2010-08-31 15:30               ` Luis R. Rodriguez
2010-08-31 15:54                 ` Johannes Berg
2010-08-31 16:59                   ` Luis R. Rodriguez
2010-08-31 18:12                     ` Johannes Berg
2010-09-01  2:14                       ` Luis R. Rodriguez
2010-09-01 10:41                         ` 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).