wpa_supplicant will do OBSS scan for drivers that implement auth/assoc API. Drivers that implement nl80211 connect API (rather than auth/assoc) may need wpa_supplicant to do this as well. Add a new feature flag to inform it (wpa_s) that a driver needs wpa_supplicant to do OBSS scans.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -3057,6 +3057,9 @@ enum nl80211_ap_sme_features { · 3056 unmodified lines | |||
| 3057 | * @NL80211_FEATURE_SCAN_FLUSH: Scan flush is supported | 3057 | * @NL80211_FEATURE_SCAN_FLUSH: Scan flush is supported |
| 3058 | * @NL80211_FEATURE_AP_SCAN: Support scanning using an AP vif | 3058 | * @NL80211_FEATURE_AP_SCAN: Support scanning using an AP vif |
| 3059 | * @NL80211_FEATURE_VIF_TXPOWER: The driver supports per-vif TX power setting | 3059 | * @NL80211_FEATURE_VIF_TXPOWER: The driver supports per-vif TX power setting |
| 3060 | * @NL80211_FEATURE_NEED_OBSS_SCAN: The driver expects userspace to perform | ||
| 3061 | * OBSS scans and generate 20/40 BSS coex reports. This flag is used only | ||
| 3062 | * for drivers implementing the CONNECT API, for AUTH/ASSOC it is implied. | ||
| 3060 | */ | 3063 | */ |
| 3061 | enum nl80211_feature_flags { | 3064 | enum nl80211_feature_flags { |
| 3062 | NL80211_FEATURE_SK_TX_STATUS = 1 << 0, | 3065 | NL80211_FEATURE_SK_TX_STATUS = 1 << 0, |
| @@ -3069,6 +3072,7 @@ enum nl80211_feature_flags { · 6 unmodified lines | |||
| 3069 | NL80211_FEATURE_SCAN_FLUSH = 1 << 7, | 3072 | NL80211_FEATURE_SCAN_FLUSH = 1 << 7, |
| 3070 | NL80211_FEATURE_AP_SCAN = 1 << 8, | 3073 | NL80211_FEATURE_AP_SCAN = 1 << 8, |
| 3071 | NL80211_FEATURE_VIF_TXPOWER = 1 << 9, | 3074 | NL80211_FEATURE_VIF_TXPOWER = 1 << 9, |
| 3075 | NL80211_FEATURE_NEED_OBSS_SCAN = 1 << 10, | ||
| 3072 | }; | 3076 | }; |
| 3073 | 3077 | ||
| 3074 | /** | 3078 | /** |