The new nl80211 attributes can be used to provide KEK and nonces to allow the driver to encrypt and decrypt FILS (Re)Association Request/Response frames in station mode.
Showing the changes to include/uapi/linux (1 of 4 files). Show all
Unified · Split
| @@ -1944,6 +1944,11 @@ enum nl80211_commands { · 1943 unmodified lines | |||
| 1944 | * attribute. | 1944 | * attribute. |
| 1945 | * @NL80211_ATTR_NAN_MATCH: used to report a match. This is a nested attribute. | 1945 | * @NL80211_ATTR_NAN_MATCH: used to report a match. This is a nested attribute. |
| 1946 | * See &enum nl80211_nan_match_attributes. | 1946 | * See &enum nl80211_nan_match_attributes. |
| 1947 | * @NL80211_ATTR_FILS_KEK: KEK for FILS (Re)Association Request/Response frame | ||
| 1948 | * protection. | ||
| 1949 | * @NL80211_ATTR_FILS_NONCES: Nonces (part of AAD) for FILS (Re)Association | ||
| 1950 | * Request/Response frame protection. This attribute contains the 16 octet | ||
| 1951 | * STA Nonce followed by 16 octets of AP Nonce. | ||
| 1947 | * | 1952 | * |
| 1948 | * @NUM_NL80211_ATTR: total number of nl80211_attrs available | 1953 | * @NUM_NL80211_ATTR: total number of nl80211_attrs available |
| 1949 | * @NL80211_ATTR_MAX: highest attribute number currently defined | 1954 | * @NL80211_ATTR_MAX: highest attribute number currently defined |
| @@ -2344,6 +2349,9 @@ enum nl80211_attrs { · 394 unmodified lines | |||
| 2344 | NL80211_ATTR_NAN_FUNC, | 2349 | NL80211_ATTR_NAN_FUNC, |
| 2345 | NL80211_ATTR_NAN_MATCH, | 2350 | NL80211_ATTR_NAN_MATCH, |
| 2346 | 2351 | ||
| 2352 | NL80211_ATTR_FILS_KEK, | ||
| 2353 | NL80211_ATTR_FILS_NONCES, | ||
| 2354 | |||
| 2347 | /* add attributes here, update the policy in nl80211.c */ | 2355 | /* add attributes here, update the policy in nl80211.c */ |
| 2348 | 2356 | ||
| 2349 | __NL80211_ATTR_AFTER_LAST, | 2357 | __NL80211_ATTR_AFTER_LAST, |