diff options
author | Jouni Malinen <jouni@qca.qualcomm.com> | 2017-10-09 10:38:15 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2017-10-09 10:39:23 (GMT) |
commit | a891388184e1f6b2215d799110c37f8683be0f14 (patch) | |
tree | 348413bf423097b7f86720b52cf74afc861eb63d /hostapd | |
parent | 89baf47104f5967bcefa368b382078783a87d0bf (diff) | |
download | hostap-a891388184e1f6b2215d799110c37f8683be0f14.zip hostap-a891388184e1f6b2215d799110c37f8683be0f14.tar.gz hostap-a891388184e1f6b2215d799110c37f8683be0f14.tar.bz2 |
OWE: Transition mode information based on BSS ifname
The owe_transition_bssid and owe_transition_ssid parameters can now be
replace with owe_transition_ifname to clone the BSSID/SSID information
automatically in case the same hostapd process manages both the OWE and
open BSS for transition mode.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'hostapd')
-rw-r--r-- | hostapd/config_file.c | 4 | ||||
-rw-r--r-- | hostapd/hostapd.conf | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/hostapd/config_file.c b/hostapd/config_file.c index d80fb08..091437a 100644 --- a/hostapd/config_file.c +++ b/hostapd/config_file.c @@ -3794,6 +3794,10 @@ static int hostapd_config_fill(struct hostapd_config *conf, os_memcpy(bss->owe_transition_ssid, str, slen); bss->owe_transition_ssid_len = slen; os_free(str); + } else if (os_strcmp(buf, "owe_transition_ifname") == 0) { + os_strlcpy(bss->owe_transition_ifname, pos, + sizeof(bss->owe_transition_ifname)); + #endif /* CONFIG_OWE */ } else { wpa_printf(MSG_ERROR, diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.conf index 2c5fa7c..f0e553c 100644 --- a/hostapd/hostapd.conf +++ b/hostapd/hostapd.conf @@ -1412,6 +1412,9 @@ own_ip_addr=127.0.0.1 #owe_transition_bssid=<bssid> # SSID in same format as ssid2 described above. #owe_transition_ssid=<SSID> +# Alternatively, OWE transition mode BSSID/SSID can be configured with a +# reference to a BSS operated by this hostapd process. +#owe_transition_ifname=<ifname> # DHCP server for FILS HLP # If configured, hostapd will act as a DHCP relay for all FILS HLP requests |