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
3194 * @__NL80211_SCHED_SCAN_MATCH_ATTR_INVALID: attribute number 0 is reserved3194 * @__NL80211_SCHED_SCAN_MATCH_ATTR_INVALID: attribute number 0 is reserved
3195 * @NL80211_SCHED_SCAN_MATCH_ATTR_SSID: SSID to be used for matching,3195 * @NL80211_SCHED_SCAN_MATCH_ATTR_SSID: SSID to be used for matching,
3196 * only report BSS with matching SSID.3196 * only report BSS with matching SSID.
3197 * (This cannot be used together with BSSID.)
3197 * @NL80211_SCHED_SCAN_MATCH_ATTR_RSSI: RSSI threshold (in dBm) for reporting a3198 * @NL80211_SCHED_SCAN_MATCH_ATTR_RSSI: RSSI threshold (in dBm) for reporting a
3198 * BSS in scan results. Filtering is turned off if not specified. Note that3199 * BSS in scan results. Filtering is turned off if not specified. Note that
3199 * if this attribute is in a match set of its own, then it is treated as3200 * 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
3209 * BSS-es in the specified band is to be adjusted before doing3210 * BSS-es in the specified band is to be adjusted before doing
3210 * RSSI-based BSS selection. The attribute value is a packed structure3211 * RSSI-based BSS selection. The attribute value is a packed structure
3211 * value as specified by &struct nl80211_bss_select_rssi_adjust.3212 * 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).
3212 * @NL80211_SCHED_SCAN_MATCH_ATTR_MAX: highest scheduled scan filter3215 * @NL80211_SCHED_SCAN_MATCH_ATTR_MAX: highest scheduled scan filter
3213 * attribute number currently defined3216 * attribute number currently defined
3214 * @__NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST: internal use3217 * @__NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST: internal use
@@ -3220,6 +3223,7 @@ enum nl80211_sched_scan_match_attr { · 5 unmodified lines
3220 NL80211_SCHED_SCAN_MATCH_ATTR_RSSI,3223 NL80211_SCHED_SCAN_MATCH_ATTR_RSSI,
3221 NL80211_SCHED_SCAN_MATCH_ATTR_RELATIVE_RSSI,3224 NL80211_SCHED_SCAN_MATCH_ATTR_RELATIVE_RSSI,
3222 NL80211_SCHED_SCAN_MATCH_ATTR_RSSI_ADJUST,3225 NL80211_SCHED_SCAN_MATCH_ATTR_RSSI_ADJUST,
3226 NL80211_SCHED_SCAN_MATCH_ATTR_BSSID,
3223 3227
3224 /* keep last */3228 /* keep last */
3225 __NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST,3229 __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