hostapd: add ap isolate support for mac80211
[openwrt/svn-archive/archive.git] / package / hostapd / patches / 001-nl80211_sync.patch
1 --- a/src/drivers/nl80211_copy.h
2 +++ b/src/drivers/nl80211_copy.h
3 @@ -709,6 +709,9 @@ enum nl80211_commands {
4 * NL80211_CMD_AUTHENTICATE, NL80211_CMD_DEAUTHENTICATE,
5 * NL80211_CMD_DISASSOCIATE.
6 *
7 + * @NL80211_ATTR_AP_ISOLATE: (AP mode) Do not forward traffic between stations
8 + * connected to this BSS.
9 + *
10 * @NL80211_ATTR_MAX: highest attribute number currently defined
11 * @__NL80211_ATTR_AFTER_LAST: internal use
12 */
13 @@ -864,6 +867,8 @@ enum nl80211_attrs {
14
15 NL80211_ATTR_LOCAL_STATE_CHANGE,
16
17 + NL80211_ATTR_AP_ISOLATE,
18 +
19 /* add attributes here, update the policy in nl80211.c */
20
21 __NL80211_ATTR_AFTER_LAST,