There are cases where it's necessary to disconnect, but an immediate reconnection is desired. Support a hint to userspace that this is the case, by including a new attribute in the deauth or disassoc event.
Showing the changes to include/uapi (1 of 7 files). Show all
Unified · Split
| @@ -2535,6 +2535,10 @@ enum nl80211_commands { · 2534 unmodified lines | ||
| 2535 | 2535 | * This is a u8 attribute that encapsulates one of the values from |
| 2536 | 2536 | * &enum nl80211_sae_pwe_mechanism. |
| 2537 | 2537 | * |
| 2538 | + * @NL80211_ATTR_RECONNECT_REQUESTED: flag attribute, used with deauth and | |
| 2539 | + * disassoc events to indicate that an immediate reconnect to the AP | |
| 2540 | + * is desired. | |
| 2541 | + * | |
| 2538 | 2542 | * @NUM_NL80211_ATTR: total number of nl80211_attrs available |
| 2539 | 2543 | * @NL80211_ATTR_MAX: highest attribute number currently defined |
| 2540 | 2544 | * @__NL80211_ATTR_AFTER_LAST: internal use |
| @@ -3026,6 +3030,8 @@ enum nl80211_attrs { · 485 unmodified lines | ||
| 3026 | 3030 | |
| 3027 | 3031 | NL80211_ATTR_SAE_PWE, |
| 3028 | 3032 | |
| 3033 | + NL80211_ATTR_RECONNECT_REQUESTED, | |
| 3034 | + | |
| 3029 | 3035 | /* add attributes here, update the policy in nl80211.c */ |
| 3030 | 3036 | |
| 3031 | 3037 | __NL80211_ATTR_AFTER_LAST, |