This patch allows for the scheduled scan request to specify matchsets for specific BSSIDs.
Showing the changes to include/uapi/linux (1 of 3 files). Show all
Unified · Split
| @@ -3194,6 +3194,7 @@ enum nl80211_reg_rule_attr { · 3193 unmodified lines | |||
| 3194 | * @__NL80211_SCHED_SCAN_MATCH_ATTR_INVALID: attribute number 0 is reserved | 3194 | * @__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 a | 3198 | * @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 that | 3199 | * 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 as | 3200 | * 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 doing | 3210 | * BSS-es in the specified band is to be adjusted before doing |
| 3210 | * RSSI-based BSS selection. The attribute value is a packed structure | 3211 | * 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 filter | 3215 | * @NL80211_SCHED_SCAN_MATCH_ATTR_MAX: highest scheduled scan filter |
| 3213 | * attribute number currently defined | 3216 | * attribute number currently defined |
| 3214 | * @__NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST: internal use | 3217 | * @__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, |