All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] cfg80211/mac80211: implementation of scheduled scan
@ 2011-05-11 14:09 Luciano Coelho
  2011-05-11 14:09 ` [PATCH v3 1/3] cfg80211/nl80211: add support for scheduled scans Luciano Coelho
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Luciano Coelho @ 2011-05-11 14:09 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless, johannes, eliad

Hi,

I found a race condition in my previous patches when scan results where queued
and we got a stop request before processing them.  I have now fixed this by
checking whether we're scanning before sending results and by not queuing new
scan results after we have stopped.

Two new changes from v2:

* make sure we still have sched_scan_req when trying to send scan results;
* don't queue scan results events if the scheduled scan is not running;

And the previous changes, from v1 were:

* fixed @ssid description in cfg80211_sched_scan_request();
* cleaned the 'out_free' inside an else block;
* use a trace event class for sched_scan_start/_stop and hw_scan;
* a couple of patches sent separately with more common trace classes;
* removed the FIF_BCN_PRBRESP_PROMISC flag on sched_scanning;
* moved conditions a bit around in ieee80211_rx_h_passive_scan(), so the
  IEEE80211_RX_IN_SCAN flag is not needed in sched_scan;
* sent a separate patch not to drop skb->len < 24 frames in scans;
* fixed freeing the ies array when the sched_scan_start driver callback fails;


Cheers,
Luca.

Luciano Coelho (3):
  cfg80211/nl80211: add support for scheduled scans
  mac80211: add support for HW scheduled scan
  cfg80211/nl80211: add interval attribute for scheduled scans

 include/linux/nl80211.h     |   32 ++++++
 include/net/cfg80211.h      |   59 ++++++++++
 include/net/mac80211.h      |   50 ++++++++
 net/mac80211/cfg.c          |   27 +++++
 net/mac80211/driver-ops.h   |   29 +++++-
 net/mac80211/driver-trace.h |   88 ++++++++++++---
 net/mac80211/ieee80211_i.h  |    9 ++
 net/mac80211/main.c         |    6 +-
 net/mac80211/rx.c           |    6 +-
 net/mac80211/scan.c         |   99 ++++++++++++++++
 net/wireless/core.c         |   12 ++-
 net/wireless/core.h         |    7 +
 net/wireless/nl80211.c      |  260 +++++++++++++++++++++++++++++++++++++++++++
 net/wireless/nl80211.h      |    4 +
 net/wireless/scan.c         |   70 ++++++++++++
 15 files changed, 735 insertions(+), 23 deletions(-)


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

end of thread, other threads:[~2011-05-13 12:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-11 14:09 [PATCH v3 0/3] cfg80211/mac80211: implementation of scheduled scan Luciano Coelho
2011-05-11 14:09 ` [PATCH v3 1/3] cfg80211/nl80211: add support for scheduled scans Luciano Coelho
2011-05-12 15:05   ` Stanislaw Gruszka
2011-05-12 16:20     ` Luciano Coelho
2011-05-13 10:45       ` Stanislaw Gruszka
2011-05-13 10:52         ` Johannes Berg
2011-05-13 12:18           ` Luciano Coelho
2011-05-11 14:09 ` [PATCH v3 2/3] mac80211: add support for HW scheduled scan Luciano Coelho
2011-05-11 14:09 ` [PATCH v3 3/3] cfg80211/nl80211: add interval attribute for scheduled scans Luciano Coelho

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.