aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd/patches/001-nl80211_sync.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-04-26 23:08:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-04-26 23:08:03 +0000
commitdb8b1922fcad7c4a5db72cc3822b757c63334bb9 (patch)
treeed88036fc529b596c961b42fe52cf906b30e8d26 /package/hostapd/patches/001-nl80211_sync.patch
parentca1accae4543d5df82a2021d6b01032f2ebb436c (diff)
downloadupstream-db8b1922fcad7c4a5db72cc3822b757c63334bb9.tar.gz
upstream-db8b1922fcad7c4a5db72cc3822b757c63334bb9.tar.bz2
upstream-db8b1922fcad7c4a5db72cc3822b757c63334bb9.zip
hostapd: add ap isolate support for mac80211
SVN-Revision: 21179
Diffstat (limited to 'package/hostapd/patches/001-nl80211_sync.patch')
-rw-r--r--package/hostapd/patches/001-nl80211_sync.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/hostapd/patches/001-nl80211_sync.patch b/package/hostapd/patches/001-nl80211_sync.patch
new file mode 100644
index 0000000000..a9310c7044
--- /dev/null
+++ b/package/hostapd/patches/001-nl80211_sync.patch
@@ -0,0 +1,21 @@
+--- a/src/drivers/nl80211_copy.h
++++ b/src/drivers/nl80211_copy.h
+@@ -709,6 +709,9 @@ enum nl80211_commands {
+ * NL80211_CMD_AUTHENTICATE, NL80211_CMD_DEAUTHENTICATE,
+ * NL80211_CMD_DISASSOCIATE.
+ *
++ * @NL80211_ATTR_AP_ISOLATE: (AP mode) Do not forward traffic between stations
++ * connected to this BSS.
++ *
+ * @NL80211_ATTR_MAX: highest attribute number currently defined
+ * @__NL80211_ATTR_AFTER_LAST: internal use
+ */
+@@ -864,6 +867,8 @@ enum nl80211_attrs {
+
+ NL80211_ATTR_LOCAL_STATE_CHANGE,
+
++ NL80211_ATTR_AP_ISOLATE,
++
+ /* add attributes here, update the policy in nl80211.c */
+
+ __NL80211_ATTR_AFTER_LAST,