History

cfg80211: Add support for notifying association comeback

Thought the underline driver MLME can handle association temporal rejection with comeback, it is still useful to notify this to user space, as user space might want to handle the temporal rejection differently. For example, in case the comeback time is too long, user space can deauthenticate immediately and try to associate with a different AP.

Ilan Peer committed 4 years ago

Commit a083ee81 parent 6d501764 files · +74 −0Browse files

Showing the changes to include/uapi (1 of 4 files). Show all

Unified · Split

include/uapi/linux/nl80211.h+7−0
@@ -1232,6 +1232,11 @@ · 1231 unmodified lines
1232 * &NL80211_ATTR_FILS_NONCES - for FILS Nonces1232 * &NL80211_ATTR_FILS_NONCES - for FILS Nonces
1233 * (STA Nonce 16 bytes followed by AP Nonce 16 bytes)1233 * (STA Nonce 16 bytes followed by AP Nonce 16 bytes)
1234 *1234 *
1235 * @NL80211_CMD_ASSOC_COMEBACK: notification about an association
1236 * temporal rejection with comeback. The event includes %NL80211_ATTR_MAC
1237 * to describe the BSSID address of the AP and %NL80211_ATTR_TIMEOUT to
1238 * specify the timeout value.
1239 *
1235 * @NL80211_CMD_MAX: highest used command number1240 * @NL80211_CMD_MAX: highest used command number
1236 * @__NL80211_CMD_AFTER_LAST: internal use1241 * @__NL80211_CMD_AFTER_LAST: internal use
1237 */1242 */
@@ -1474,6 +1479,8 @@ enum nl80211_commands { · 236 unmodified lines
1474 1479
1475 NL80211_CMD_SET_FILS_AAD,1480 NL80211_CMD_SET_FILS_AAD,
1476 1481
1482 NL80211_CMD_ASSOC_COMEBACK,
1483
1477 /* add new commands above here */1484 /* add new commands above here */
1478 1485
1479 /* used to define NL80211_CMD_MAX below */1486 /* used to define NL80211_CMD_MAX below */