]> git.karo-electronics.de Git - linux-beck.git/commit
nl80211/cfg80211: add match filtering for sched_scan
authorLuciano Coelho <coelho@ti.com>
Wed, 31 Aug 2011 13:01:48 +0000 (16:01 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Sep 2011 19:53:45 +0000 (15:53 -0400)
commita1f1c21c181be20a8b7e073e5292ff1fe77769fa
tree8b8e46d1dba26f4ef45d4e4d969cbda524d8a4c1
parentcedb5412baeffd7326fc4869aa996d7f68d98ebb
nl80211/cfg80211: add match filtering for sched_scan

Introduce filtering for scheduled scans to reduce the number of
unnecessary results (which cause useless wake-ups).

Add a new nested attribute where sets of parameters to be matched can
be passed when starting a scheduled scan.  Only scan results that
match any of the sets will be returned.

At this point, the set consists of a single parameter, an SSID.  This
can be easily extended in the future to support more complex matches.

Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/nl80211.h
include/net/cfg80211.h
net/wireless/nl80211.c