aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/config_file.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2016-06-10 18:43:25 (GMT)
committerJouni Malinen <j@w1.fi>2016-06-10 19:13:37 (GMT)
commit835947258939426aeec9ba872a4c1a72483eee6a (patch)
tree219d13169404eced155693e38d13ac57d9b5ac14 /hostapd/config_file.c
parent6996ff7b6d32ca5360ace3a64888cca8fe892662 (diff)
downloadhostap-835947258939426aeec9ba872a4c1a72483eee6a.zip
hostap-835947258939426aeec9ba872a4c1a72483eee6a.tar.gz
hostap-835947258939426aeec9ba872a4c1a72483eee6a.tar.bz2
hostapd Make GAS Address3 field selection behavior configurable
gas_address3=1 can now be used to force hostapd to use the IEEE 802.11 standards compliant Address 3 field value (Wildcard BSSID when not associated) even if the GAS request uses non-compliant address (AP BSSID). Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'hostapd/config_file.c')
-rw-r--r--hostapd/config_file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hostapd/config_file.c b/hostapd/config_file.c
index dbeaa3c..6dc7e8c 100644
--- a/hostapd/config_file.c
+++ b/hostapd/config_file.c
@@ -3481,6 +3481,8 @@ static int hostapd_config_fill(struct hostapd_config *conf,
if (atoi(pos))
bss->radio_measurements[0] |=
WLAN_RRM_CAPS_NEIGHBOR_REPORT;
+ } else if (os_strcmp(buf, "gas_address3") == 0) {
+ bss->gas_address3 = atoi(pos);
} else {
wpa_printf(MSG_ERROR,
"Line %d: unknown configuration item '%s'",