summaryrefslogtreecommitdiffstats
path: root/package/hostapd/patches/001-nl80211_sync.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-26 23:08:03 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-26 23:08:03 +0000
commit1420b2f40bc80fee3fc06f14cce2bd33f75aaf2d (patch)
treeb20396c09d2c3025b1e3858a386171d69ad2b9e2 /package/hostapd/patches/001-nl80211_sync.patch
parent08969144ad9ee0446a3478dee12fbb65249071e9 (diff)
hostapd: add ap isolate support for mac80211
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21179 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 000000000..a9310c704
--- /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,