mac80211: backport upstream patches for driver disconnect
[openwrt/openwrt.git] / package / network / utils / iw / patches / 001-nl80211_h_sync.patch
1 --- a/nl80211.h
2 +++ b/nl80211.h
3 @@ -2527,6 +2527,13 @@ enum nl80211_commands {
4 * override mask. Used with NL80211_ATTR_S1G_CAPABILITY in
5 * NL80211_CMD_ASSOCIATE or NL80211_CMD_CONNECT.
6 *
7 + * @NL80211_ATTR_RECONNECT_REQUESTED: flag attribute, used with deauth and
8 + * disassoc events to indicate that an immediate reconnect to the AP
9 + * is desired.
10 + *
11 + * @NL80211_ATTR_WIPHY_ANTENNA_GAIN: Configured antenna gain. Used to reduce
12 + * transmit power to stay within regulatory limits. u32, dBi.
13 + *
14 * @NUM_NL80211_ATTR: total number of nl80211_attrs available
15 * @NL80211_ATTR_MAX: highest attribute number currently defined
16 * @__NL80211_ATTR_AFTER_LAST: internal use
17 @@ -3016,6 +3023,10 @@ enum nl80211_attrs {
18 NL80211_ATTR_S1G_CAPABILITY,
19 NL80211_ATTR_S1G_CAPABILITY_MASK,
20
21 + NL80211_ATTR_RECONNECT_REQUESTED,
22 +
23 + NL80211_ATTR_WIPHY_ANTENNA_GAIN,
24 +
25 /* add attributes here, update the policy in nl80211.c */
26
27 __NL80211_ATTR_AFTER_LAST,