aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_ssid.h
diff options
context:
space:
mode:
authorThomas Pedersen <thomas@noack.us>2014-09-01 04:23:26 (GMT)
committerJouni Malinen <j@w1.fi>2014-10-25 14:45:35 (GMT)
commit07cb45ccb2baa6e9627e3d21a285b95d744a6c77 (patch)
tree961d88418fe47e3dc88c8f736399c89cc9533323 /wpa_supplicant/config_ssid.h
parent476e6bb68d29953dd1a6db9af4118cabec4642b1 (diff)
downloadhostap-07cb45ccb2baa6e9627e3d21a285b95d744a6c77.zip
hostap-07cb45ccb2baa6e9627e3d21a285b95d744a6c77.tar.gz
hostap-07cb45ccb2baa6e9627e3d21a285b95d744a6c77.tar.bz2
mesh: Add no_auto_peer config option
Add no_auto_peer parameter, which controls wheter a station will automatically initiate peering to another mesh peer that comes into range. Signed-off-by: Javier Lopez <jlopex@gmail.com> Signed-off-by: Jason Mobarak <x@jason.mobarak.name> Signed-off-by: Thomas Pedersen <thomas@noack.us>
Diffstat (limited to 'wpa_supplicant/config_ssid.h')
-rw-r--r--wpa_supplicant/config_ssid.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/wpa_supplicant/config_ssid.h b/wpa_supplicant/config_ssid.h
index 82fa2c5..a4910d0 100644
--- a/wpa_supplicant/config_ssid.h
+++ b/wpa_supplicant/config_ssid.h
@@ -669,6 +669,14 @@ struct wpa_ssid {
* followed).
*/
int mac_addr;
+
+ /**
+ * no_auto_peer - Do not automatically peer with compatible mesh peers
+ *
+ * When unset, the reception of a beacon from a another mesh peer in
+ * this MBSS will trigger a peering attempt.
+ */
+ int no_auto_peer;
};
#endif /* CONFIG_SSID_H */