[backfire] backport mac80211 and hostapd from trunk
[openwrt-10.03/.git] / package / hostapd / patches / 001-nl80211_sync.patch
diff --git a/package/hostapd/patches/001-nl80211_sync.patch b/package/hostapd/patches/001-nl80211_sync.patch
new file mode 100644 (file)
index 0000000..a9310c7
--- /dev/null
@@ -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,