diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-04-26 19:23:35 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-27 16:09:21 -0400 |
commit | fd8aaaf3519f3fd3c82594e90bc6808072b94d54 (patch) | |
tree | 70ebab87226b597270c1d33b57955afac3e2f4fe /include/linux | |
parent | 740c2679396d60763968ffd16362f1f5c8242172 (diff) |
cfg80211: add ap isolation support
This is used to configure APs to not bridge traffic between connected stations.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/nl80211.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h index 2ea3edeee7aa..f8750f9a65b8 100644 --- a/include/linux/nl80211.h +++ b/include/linux/nl80211.h | |||
@@ -709,6 +709,9 @@ enum nl80211_commands { | |||
709 | * NL80211_CMD_AUTHENTICATE, NL80211_CMD_DEAUTHENTICATE, | 709 | * NL80211_CMD_AUTHENTICATE, NL80211_CMD_DEAUTHENTICATE, |
710 | * NL80211_CMD_DISASSOCIATE. | 710 | * NL80211_CMD_DISASSOCIATE. |
711 | * | 711 | * |
712 | * @NL80211_ATTR_AP_ISOLATE: (AP mode) Do not forward traffic between stations | ||
713 | * connected to this BSS. | ||
714 | * | ||
712 | * @NL80211_ATTR_MAX: highest attribute number currently defined | 715 | * @NL80211_ATTR_MAX: highest attribute number currently defined |
713 | * @__NL80211_ATTR_AFTER_LAST: internal use | 716 | * @__NL80211_ATTR_AFTER_LAST: internal use |
714 | */ | 717 | */ |
@@ -864,6 +867,8 @@ enum nl80211_attrs { | |||
864 | 867 | ||
865 | NL80211_ATTR_LOCAL_STATE_CHANGE, | 868 | NL80211_ATTR_LOCAL_STATE_CHANGE, |
866 | 869 | ||
870 | NL80211_ATTR_AP_ISOLATE, | ||
871 | |||
867 | /* add attributes here, update the policy in nl80211.c */ | 872 | /* add attributes here, update the policy in nl80211.c */ |
868 | 873 | ||
869 | __NL80211_ATTR_AFTER_LAST, | 874 | __NL80211_ATTR_AFTER_LAST, |