aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-03-15 00:05:42 +0100
committerFelix Fietkau <nbd@nbd.name>2021-04-04 11:39:51 +0200
commit69794908b632c89d4b99c74424cde76fc6b3f245 (patch)
treeb3d39ddaae35ed3957d65944f926d467bc862d51 /package/network/utils
parent95b838f75bd96705d5192acc56af34801ed6854d (diff)
downloadupstream-69794908b632c89d4b99c74424cde76fc6b3f245.tar.gz
upstream-69794908b632c89d4b99c74424cde76fc6b3f245.tar.bz2
upstream-69794908b632c89d4b99c74424cde76fc6b3f245.zip
mac80211: backport upstream patches for driver disconnect
Needed for an mt76 update Signed-off-by: Felix Fietkau <nbd@nbd.name> (cherry-picked from commit 5dc501507222b38d731b89c3311d8253b73dd0e7)
Diffstat (limited to 'package/network/utils')
-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 */