Search Linux Wireless

[PATCH v3 0/3] cfg80211/mac80211: implementation of scheduled scan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux