History

nl80211: add support for BSSIDs in scheduled scan matchsets

This patch allows for the scheduled scan request to specify matchsets for specific BSSIDs.

Arend Van Spriel committed 9 years ago

Commit 3007e351 parent ca986ad3 files · +39 −11Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/nl80211.h+4−0
@@ -3194,6 +3194,7 @@ enum nl80211_reg_rule_attr { · 3193 unmodified lines
31943194 * @__NL80211_SCHED_SCAN_MATCH_ATTR_INVALID: attribute number 0 is reserved
31953195 * @NL80211_SCHED_SCAN_MATCH_ATTR_SSID: SSID to be used for matching,
31963196 * only report BSS with matching SSID.
3197+ * (This cannot be used together with BSSID.)
31973198 * @NL80211_SCHED_SCAN_MATCH_ATTR_RSSI: RSSI threshold (in dBm) for reporting a
31983199 * BSS in scan results. Filtering is turned off if not specified. Note that
31993200 * if this attribute is in a match set of its own, then it is treated as
@@ -3209,6 +3210,8 @@ enum nl80211_reg_rule_attr { · 9 unmodified lines
32093210 * BSS-es in the specified band is to be adjusted before doing
32103211 * RSSI-based BSS selection. The attribute value is a packed structure
32113212 * value as specified by &struct nl80211_bss_select_rssi_adjust.
3213+ * @NL80211_SCHED_SCAN_MATCH_ATTR_BSSID: BSSID to be used for matching
3214+ * (this cannot be used together with SSID).
32123215 * @NL80211_SCHED_SCAN_MATCH_ATTR_MAX: highest scheduled scan filter
32133216 * attribute number currently defined
32143217 * @__NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST: internal use
@@ -3220,6 +3223,7 @@ enum nl80211_sched_scan_match_attr { · 5 unmodified lines
32203223 NL80211_SCHED_SCAN_MATCH_ATTR_RSSI,
32213224 NL80211_SCHED_SCAN_MATCH_ATTR_RELATIVE_RSSI,
32223225 NL80211_SCHED_SCAN_MATCH_ATTR_RSSI_ADJUST,
3226+ NL80211_SCHED_SCAN_MATCH_ATTR_BSSID,
32233227
32243228 /* keep last */
32253229 __NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t