aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_ssid.h
diff options
context:
space:
mode:
authorVivek Natarajan <nataraja@qca.qualcomm.com>2012-02-27 14:28:45 (GMT)
committerJouni Malinen <j@w1.fi>2012-02-27 14:28:45 (GMT)
commite62f4ed0df72987f874b9bc5c9fa8bec938133ac (patch)
tree9f533aa3feaee27f2d69344a4f45c2c7314a8599 /wpa_supplicant/config_ssid.h
parent1d4839ee85a96a3f2333a8f8eed58cf727febd96 (diff)
downloadhostap-e62f4ed0df72987f874b9bc5c9fa8bec938133ac.zip
hostap-e62f4ed0df72987f874b9bc5c9fa8bec938133ac.tar.gz
hostap-e62f4ed0df72987f874b9bc5c9fa8bec938133ac.tar.bz2
Add support for hidden SSID in wpa_supplicant AP mode
This also disables WPS support if hidden SSID is enabled in AP mode. Signed-off-by: Vivek Natarajan <nataraja@qca.qualcomm.com> Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/config_ssid.h')
-rw-r--r--wpa_supplicant/config_ssid.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/wpa_supplicant/config_ssid.h b/wpa_supplicant/config_ssid.h
index 2605ae8..f2bb597 100644
--- a/wpa_supplicant/config_ssid.h
+++ b/wpa_supplicant/config_ssid.h
@@ -377,6 +377,20 @@ struct wpa_ssid {
char *bgscan;
/**
+ * ignore_broadcast_ssid - Hide SSID in AP mode
+ *
+ * Send empty SSID in beacons and ignore probe request frames that do
+ * not specify full SSID, i.e., require stations to know SSID.
+ * default: disabled (0)
+ * 1 = send empty (length=0) SSID in beacon and ignore probe request
+ * for broadcast SSID
+ * 2 = clear SSID (ASCII 0), but keep the original length (this may be
+ * required with some clients that do not support empty SSID) and
+ * ignore probe requests for broadcast SSID
+ */
+ int ignore_broadcast_ssid;
+
+ /**
* freq_list - Array of allowed frequencies or %NULL for all
*
* This is an optional zero-terminated array of frequencies in