Johannes Berg says: ==================== Many changes all over: * HE (802.11ax) work continues * WPA3 offloads * work on extended key ID handling continues * fixes to honour AP supported rates with auth/assoc frames * nl80211 netlink policy improvements to fix some issues with strict validation on new commands with old attrs ====================
Showing the changes to include/uapi/linux (1 of 30 files). Show all
Unified · Split
| @@ -234,6 +234,15 @@ · 233 unmodified lines | |||
| 234 | * use in a FILS shared key connection with PMKSA caching. | 234 | * use in a FILS shared key connection with PMKSA caching. |
| 235 | */ | 235 | */ |
| 236 | 236 | ||
| 237 | /** | ||
| 238 | * DOC: SAE authentication offload | ||
| 239 | * | ||
| 240 | * By setting @NL80211_EXT_FEATURE_SAE_OFFLOAD flag drivers can indicate they | ||
| 241 | * support offloading SAE authentication for WPA3-Personal networks. In | ||
| 242 | * %NL80211_CMD_CONNECT the password for SAE should be specified using | ||
| 243 | * %NL80211_ATTR_SAE_PASSWORD. | ||
| 244 | */ | ||
| 245 | |||
| 237 | /** | 246 | /** |
| 238 | * enum nl80211_commands - supported nl80211 commands | 247 | * enum nl80211_commands - supported nl80211 commands |
| 239 | * | 248 | * |
| @@ -2341,6 +2350,12 @@ enum nl80211_commands { · 2101 unmodified lines | |||
| 2341 | * should be picking up the lowest tx power, either tx power per-interface | 2350 | * should be picking up the lowest tx power, either tx power per-interface |
| 2342 | * or per-station. | 2351 | * or per-station. |
| 2343 | * | 2352 | * |
| 2353 | * @NL80211_ATTR_SAE_PASSWORD: attribute for passing SAE password material. It | ||
| 2354 | * is used with %NL80211_CMD_CONNECT to provide password for offloading | ||
| 2355 | * SAE authentication for WPA3-Personal networks. | ||
| 2356 | * | ||
| 2357 | * @NL80211_ATTR_TWT_RESPONDER: Enable target wait time responder support. | ||
| 2358 | * | ||
| 2344 | * @NUM_NL80211_ATTR: total number of nl80211_attrs available | 2359 | * @NUM_NL80211_ATTR: total number of nl80211_attrs available |
| 2345 | * @NL80211_ATTR_MAX: highest attribute number currently defined | 2360 | * @NL80211_ATTR_MAX: highest attribute number currently defined |
| 2346 | * @__NL80211_ATTR_AFTER_LAST: internal use | 2361 | * @__NL80211_ATTR_AFTER_LAST: internal use |
| @@ -2794,6 +2809,10 @@ enum nl80211_attrs { · 447 unmodified lines | |||
| 2794 | NL80211_ATTR_STA_TX_POWER_SETTING, | 2809 | NL80211_ATTR_STA_TX_POWER_SETTING, |
| 2795 | NL80211_ATTR_STA_TX_POWER, | 2810 | NL80211_ATTR_STA_TX_POWER, |
| 2796 | 2811 | ||
| 2812 | NL80211_ATTR_SAE_PASSWORD, | ||
| 2813 | |||
| 2814 | NL80211_ATTR_TWT_RESPONDER, | ||
| 2815 | |||
| 2797 | /* add attributes here, update the policy in nl80211.c */ | 2816 | /* add attributes here, update the policy in nl80211.c */ |
| 2798 | 2817 | ||
| 2799 | __NL80211_ATTR_AFTER_LAST, | 2818 | __NL80211_ATTR_AFTER_LAST, |
| @@ -4406,6 +4425,7 @@ enum nl80211_mfp { · 1606 unmodified lines | |||
| 4406 | enum nl80211_wpa_versions { | 4425 | enum nl80211_wpa_versions { |
| 4407 | NL80211_WPA_VERSION_1 = 1 << 0, | 4426 | NL80211_WPA_VERSION_1 = 1 << 0, |
| 4408 | NL80211_WPA_VERSION_2 = 1 << 1, | 4427 | NL80211_WPA_VERSION_2 = 1 << 1, |
| 4428 | NL80211_WPA_VERSION_3 = 1 << 2, | ||
| 4409 | }; | 4429 | }; |
| 4410 | 4430 | ||
| 4411 | /** | 4431 | /** |
| @@ -5422,6 +5442,9 @@ enum nl80211_feature_flags { · 1010 unmodified lines | |||
| 5422 | * @NL80211_EXT_FEATURE_STA_TX_PWR: This driver supports controlling tx power | 5442 | * @NL80211_EXT_FEATURE_STA_TX_PWR: This driver supports controlling tx power |
| 5423 | * to a station. | 5443 | * to a station. |
| 5424 | * | 5444 | * |
| 5445 | * @NL80211_EXT_FEATURE_SAE_OFFLOAD: Device wants to do SAE authentication in | ||
| 5446 | * station mode (SAE password is passed as part of the connect command). | ||
| 5447 | * | ||
| 5425 | * @NUM_NL80211_EXT_FEATURES: number of extended features. | 5448 | * @NUM_NL80211_EXT_FEATURES: number of extended features. |
| 5426 | * @MAX_NL80211_EXT_FEATURES: highest extended feature index. | 5449 | * @MAX_NL80211_EXT_FEATURES: highest extended feature index. |
| 5427 | */ | 5450 | */ |
| @@ -5466,6 +5489,7 @@ enum nl80211_ext_feature_index { · 38 unmodified lines | |||
| 5466 | NL80211_EXT_FEATURE_SCHED_SCAN_BAND_SPECIFIC_RSSI_THOLD, | 5489 | NL80211_EXT_FEATURE_SCHED_SCAN_BAND_SPECIFIC_RSSI_THOLD, |
| 5467 | NL80211_EXT_FEATURE_EXT_KEY_ID, | 5490 | NL80211_EXT_FEATURE_EXT_KEY_ID, |
| 5468 | NL80211_EXT_FEATURE_STA_TX_PWR, | 5491 | NL80211_EXT_FEATURE_STA_TX_PWR, |
| 5492 | NL80211_EXT_FEATURE_SAE_OFFLOAD, | ||
| 5469 | 5493 | ||
| 5470 | /* add new features before the definition below */ | 5494 | /* add new features before the definition below */ |
| 5471 | NUM_NL80211_EXT_FEATURES, | 5495 | NUM_NL80211_EXT_FEATURES, |