aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2022-06-10 00:56:52 +0200
committerDavid Bauer <mail@david-bauer.net>2022-06-11 01:05:45 +0200
commita10e0d7d355dfec149e345550e33fa1f63c822c4 (patch)
tree76e3c5e235f9e623d899eda986675a9ddd43e48c /package/kernel
parent2a07270180ed0e295d854d6e9e59c78c40549efc (diff)
downloadupstream-a10e0d7d355dfec149e345550e33fa1f63c822c4.tar.gz
upstream-a10e0d7d355dfec149e345550e33fa1f63c822c4.tar.bz2
upstream-a10e0d7d355dfec149e345550e33fa1f63c822c4.zip
mac80211: sync nl80211.h with upstream
Sync nl80211.h with upstream in order to maintain parity with nl80211_copy.h shipped with hostapd. This is necessary, as currently the enum value for NL80211_EXT_FEATURE_RADAR_BACKGROUND mismatches between hostapd and mac80211. This breaks background radar capability detection in hostapd. Reported-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/mac80211/patches/subsys/783-sync-nl80211.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/subsys/783-sync-nl80211.patch b/package/kernel/mac80211/patches/subsys/783-sync-nl80211.patch
new file mode 100644
index 0000000000..dc2b05b1a3
--- /dev/null
+++ b/package/kernel/mac80211/patches/subsys/783-sync-nl80211.patch
@@ -0,0 +1,22 @@
+--- a/include/uapi/linux/nl80211.h
++++ b/include/uapi/linux/nl80211.h
+@@ -6027,6 +6027,11 @@ enum nl80211_feature_flags {
+ * @NL80211_EXT_FEATURE_BSS_COLOR: The driver supports BSS color collision
+ * detection and change announcemnts.
+ *
++ * @NL80211_EXT_FEATURE_FILS_CRYPTO_OFFLOAD: Driver running in AP mode supports
++ * FILS encryption and decryption for (Re)Association Request and Response
++ * frames. Userspace has to share FILS AAD details to the driver by using
++ * @NL80211_CMD_SET_FILS_AAD.
++ *
+ * @NL80211_EXT_FEATURE_RADAR_BACKGROUND: Device supports background radar/CAC
+ * detection.
+ *
+@@ -6095,6 +6100,7 @@ enum nl80211_ext_feature_index {
+ NL80211_EXT_FEATURE_SECURE_RTT,
+ NL80211_EXT_FEATURE_PROT_RANGE_NEGO_AND_MEASURE,
+ NL80211_EXT_FEATURE_BSS_COLOR,
++ NL80211_EXT_FEATURE_FILS_CRYPTO_OFFLOAD,
+ NL80211_EXT_FEATURE_RADAR_BACKGROUND,
+
+ /* add new features before the definition below */