SAE extends Authentication frames with fields that are not information elements. NL80211_ATTR_IE is not suitable for these, so introduce a new attribute that can be used to specify the fields needed for SAE in station mode.
Showing the changes to include/uapi (1 of 6 files). Show all
Unified · Split
| @@ -1273,6 +1273,9 @@ enum nl80211_commands { · 1272 unmodified lines | ||
| 1273 | 1273 | * the connection request from a station. nl80211_connect_failed_reason |
| 1274 | 1274 | * enum has different reasons of connection failure. |
| 1275 | 1275 | * |
| 1276 | + * @NL80211_ATTR_SAE_DATA: SAE elements in Authentication frames. This starts | |
| 1277 | + * with the Authentication transaction sequence number field. | |
| 1278 | + * | |
| 1276 | 1279 | * @NL80211_ATTR_MAX: highest attribute number currently defined |
| 1277 | 1280 | * @__NL80211_ATTR_AFTER_LAST: internal use |
| 1278 | 1281 | */ |
| @@ -1530,6 +1533,8 @@ enum nl80211_attrs { · 251 unmodified lines | ||
| 1530 | 1533 | |
| 1531 | 1534 | NL80211_ATTR_CONN_FAILED_REASON, |
| 1532 | 1535 | |
| 1536 | + NL80211_ATTR_SAE_DATA, | |
| 1537 | + | |
| 1533 | 1538 | /* add attributes here, update the policy in nl80211.c */ |
| 1534 | 1539 | |
| 1535 | 1540 | __NL80211_ATTR_AFTER_LAST, |
| @@ -2489,6 +2494,7 @@ enum nl80211_bss_status { · 953 unmodified lines | ||
| 2489 | 2494 | * @NL80211_AUTHTYPE_SHARED_KEY: Shared Key authentication (WEP only) |
| 2490 | 2495 | * @NL80211_AUTHTYPE_FT: Fast BSS Transition (IEEE 802.11r) |
| 2491 | 2496 | * @NL80211_AUTHTYPE_NETWORK_EAP: Network EAP (some Cisco APs and mainly LEAP) |
| 2497 | + * @NL80211_AUTHTYPE_SAE: Simultaneous authentication of equals | |
| 2492 | 2498 | * @__NL80211_AUTHTYPE_NUM: internal |
| 2493 | 2499 | * @NL80211_AUTHTYPE_MAX: maximum valid auth algorithm |
| 2494 | 2500 | * @NL80211_AUTHTYPE_AUTOMATIC: determine automatically (if necessary by |
| @@ -2500,6 +2506,7 @@ enum nl80211_auth_type { · 5 unmodified lines | ||
| 2500 | 2506 | NL80211_AUTHTYPE_SHARED_KEY, |
| 2501 | 2507 | NL80211_AUTHTYPE_FT, |
| 2502 | 2508 | NL80211_AUTHTYPE_NETWORK_EAP, |
| 2509 | + NL80211_AUTHTYPE_SAE, | |
| 2503 | 2510 | |
| 2504 | 2511 | /* keep last */ |
| 2505 | 2512 | __NL80211_AUTHTYPE_NUM, |
| @@ -3028,6 +3035,9 @@ enum nl80211_ap_sme_features { · 522 unmodified lines | ||
| 3028 | 3035 | * in the interface combinations, even when it's only used for scan |
| 3029 | 3036 | * and remain-on-channel. This could be due to, for example, the |
| 3030 | 3037 | * remain-on-channel implementation requiring a channel context. |
| 3038 | + * @NL80211_FEATURE_SAE: This driver supports simultaneous authentication of | |
| 3039 | + * equals (SAE) with user space SME (NL80211_CMD_AUTHENTICATE) in station | |
| 3040 | + * mode | |
| 3031 | 3041 | */ |
| 3032 | 3042 | enum nl80211_feature_flags { |
| 3033 | 3043 | NL80211_FEATURE_SK_TX_STATUS = 1 << 0, |
| @@ -3035,6 +3045,7 @@ enum nl80211_feature_flags { · 1 unmodified line | ||
| 3035 | 3045 | NL80211_FEATURE_INACTIVITY_TIMER = 1 << 2, |
| 3036 | 3046 | NL80211_FEATURE_CELL_BASE_REG_HINTS = 1 << 3, |
| 3037 | 3047 | NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL = 1 << 4, |
| 3048 | + NL80211_FEATURE_SAE = 1 << 5, | |
| 3038 | 3049 | }; |
| 3039 | 3050 | |
| 3040 | 3051 | /** |