aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2011-10-21 09:44:29 (GMT)
committerJouni Malinen <j@w1.fi>2011-10-21 09:44:29 (GMT)
commit11540c0b214dbc6645efd244ec731eb0178bc848 (patch)
tree8c6a5d7f5f9172af701fa7cc1536f40917600b29 /wpa_supplicant/config.h
parent122ba57936fc0e006e4d786666fb7c825a41ab54 (diff)
downloadhostap-11540c0b214dbc6645efd244ec731eb0178bc848.zip
hostap-11540c0b214dbc6645efd244ec731eb0178bc848.tar.gz
hostap-11540c0b214dbc6645efd244ec731eb0178bc848.tar.bz2
Interworking: Allow ANT to be configured for Probe Request frames
Access Network Type can now be configured (default: 15 = wildcard) to limit which APs reply to the scan.
Diffstat (limited to 'wpa_supplicant/config.h')
-rw-r--r--wpa_supplicant/config.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h
index 3741b9b..ae496ff 100644
--- a/wpa_supplicant/config.h
+++ b/wpa_supplicant/config.h
@@ -28,6 +28,7 @@
#define DEFAULT_BSS_EXPIRATION_AGE 180
#define DEFAULT_BSS_EXPIRATION_SCAN_COUNT 2
#define DEFAULT_MAX_NUM_STA 128
+#define DEFAULT_ACCESS_NETWORK_TYPE 15
#include "config_ssid.h"
#include "wps/wps.h"
@@ -433,6 +434,15 @@ struct wpa_config {
int interworking;
/**
+ * access_network_type - Access Network Type
+ *
+ * When Interworking is enabled, scans will be limited to APs that
+ * advertise the specified Access Network Type (0..15; with 15
+ * indicating wildcard match).
+ */
+ int access_network_type;
+
+ /**
* hessid - Homogenous ESS identifier
*
* If this is set (any octet is non-zero), scans will be used to