aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-03-15 00:05:42 +0100
committerFelix Fietkau <nbd@nbd.name>2021-03-15 14:05:43 +0100
commit5dc501507222b38d731b89c3311d8253b73dd0e7 (patch)
treeb1194a79dbbfcc01c8ea7d6f57ea1144f73b1936 /package/network
parent7379f8bd3e7ee0722faa6ec8b2969081fbdc1e07 (diff)
downloadupstream-5dc501507222b38d731b89c3311d8253b73dd0e7.tar.gz
upstream-5dc501507222b38d731b89c3311d8253b73dd0e7.tar.bz2
upstream-5dc501507222b38d731b89c3311d8253b73dd0e7.zip
mac80211: backport upstream patches for driver disconnect
Needed for an mt76 update Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/network')
-rw-r--r--package/network/utils/iw/patches/001-nl80211_h_sync.patch10
1 files changed, 8 insertions, 2 deletions
diff --git a/package/network/utils/iw/patches/001-nl80211_h_sync.patch b/package/network/utils/iw/patches/001-nl80211_h_sync.patch
index c944e02ba6..5aa3cd5146 100644
--- a/package/network/utils/iw/patches/001-nl80211_h_sync.patch
+++ b/package/network/utils/iw/patches/001-nl80211_h_sync.patch
@@ -1,19 +1,25 @@
--- a/nl80211.h
+++ b/nl80211.h
-@@ -2527,6 +2527,9 @@ enum nl80211_commands {
+@@ -2527,6 +2527,13 @@ enum nl80211_commands {
* override mask. Used with NL80211_ATTR_S1G_CAPABILITY in
* NL80211_CMD_ASSOCIATE or NL80211_CMD_CONNECT.
*
++ * @NL80211_ATTR_RECONNECT_REQUESTED: flag attribute, used with deauth and
++ * disassoc events to indicate that an immediate reconnect to the AP
++ * is desired.
++ *
+ * @NL80211_ATTR_WIPHY_ANTENNA_GAIN: Configured antenna gain. Used to reduce
+ * transmit power to stay within regulatory limits. u32, dBi.
+ *
* @NUM_NL80211_ATTR: total number of nl80211_attrs available
* @NL80211_ATTR_MAX: highest attribute number currently defined
* @__NL80211_ATTR_AFTER_LAST: internal use
-@@ -3016,6 +3019,8 @@ enum nl80211_attrs {
+@@ -3016,6 +3023,10 @@ enum nl80211_attrs {
NL80211_ATTR_S1G_CAPABILITY,
NL80211_ATTR_S1G_CAPABILITY_MASK,
++ NL80211_ATTR_RECONNECT_REQUESTED,
++
+ NL80211_ATTR_WIPHY_ANTENNA_GAIN,
+
/* add attributes here, update the policy in nl80211.c */