aboutsummaryrefslogtreecommitdiffstats
path: root/net/batman-adv/types.h
diff options
context:
space:
mode:
authorAntonio Quartulli <ordex@autistici.org>2011-07-07 15:35:36 +0200
committerMarek Lindner <lindner_marek@yahoo.de>2011-08-22 15:16:20 +0200
commit59b699cdee039d75915c354da06937102d1f9a84 (patch)
tree33fabd9cac27cb7bc1d3fbc765f098b5b8e8575e /net/batman-adv/types.h
parentbatman-adv: detect clients connected through a 802.11 device (diff)
downloadlinux-dev-59b699cdee039d75915c354da06937102d1f9a84.tar.xz
linux-dev-59b699cdee039d75915c354da06937102d1f9a84.zip
batman-adv: implement AP-isolation on the receiver side
When a node receives a unicast packet it checks if the source and the destination client can communicate or not due to the AP isolation Signed-off-by: Antonio Quartulli <ordex@autistici.org> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to '')
-rw-r--r--net/batman-adv/types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/batman-adv/types.h b/net/batman-adv/types.h
index bd0ced8a9a9e..1ae355750511 100644
--- a/net/batman-adv/types.h
+++ b/net/batman-adv/types.h
@@ -146,6 +146,7 @@ struct bat_priv {
atomic_t aggregated_ogms; /* boolean */
atomic_t bonding; /* boolean */
atomic_t fragmentation; /* boolean */
+ atomic_t ap_isolation; /* boolean */
atomic_t vis_mode; /* VIS_TYPE_* */
atomic_t gw_mode; /* GW_MODE_* */
atomic_t gw_sel_class; /* uint */