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
12321232 * &NL80211_ATTR_FILS_NONCES - for FILS Nonces
12331233 * (STA Nonce 16 bytes followed by AP Nonce 16 bytes)
12341234 *
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+ *
12351240 * @NL80211_CMD_MAX: highest used command number
12361241 * @__NL80211_CMD_AFTER_LAST: internal use
12371242 */
@@ -1474,6 +1479,8 @@ enum nl80211_commands { · 236 unmodified lines
14741479
14751480 NL80211_CMD_SET_FILS_AAD,
14761481
1482+ NL80211_CMD_ASSOC_COMEBACK,
1483+
14771484 /* add new commands above here */
14781485
14791486 /* used to define NL80211_CMD_MAX below */