HS 2.0: Add runtime configuration of Hotspot 2.0 station
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
25471fe3b9
commit
66aadbd7bf
4 changed files with 15 additions and 0 deletions
|
@ -2875,6 +2875,9 @@ static const struct global_parse_data global_fields[] = {
|
|||
{ INT_RANGE(filter_ssids, 0, 1), 0 },
|
||||
{ INT(max_num_sta), 0 },
|
||||
{ INT_RANGE(disassoc_low_ack, 0, 1), 0 },
|
||||
#ifdef CONFIG_HS20
|
||||
{ INT_RANGE(hs20, 0, 1), 0 },
|
||||
#endif /* CONFIG_HS20 */
|
||||
{ INT_RANGE(interworking, 0, 1), 0 },
|
||||
{ FUNC(hessid), 0 },
|
||||
{ INT_RANGE(access_network_type, 0, 15), 0 },
|
||||
|
|
|
@ -612,6 +612,11 @@ struct wpa_config {
|
|||
*/
|
||||
u8 hessid[ETH_ALEN];
|
||||
|
||||
/**
|
||||
* hs20 - Hotspot 2.0
|
||||
*/
|
||||
int hs20;
|
||||
|
||||
/**
|
||||
* pbc_in_m1 - AP mode WPS probing workaround for PBC with Windows 7
|
||||
*
|
||||
|
|
|
@ -836,6 +836,10 @@ static void wpa_config_write_global(FILE *f, struct wpa_config *config)
|
|||
fprintf(f, "max_num_sta=%u\n", config->max_num_sta);
|
||||
if (config->disassoc_low_ack)
|
||||
fprintf(f, "disassoc_low_ack=%u\n", config->disassoc_low_ack);
|
||||
#ifdef CONFIG_HS20
|
||||
if (config->hs20)
|
||||
fprintf(f, "hs20=1\n");
|
||||
#endif /* CONFIG_HS20 */
|
||||
#ifdef CONFIG_INTERWORKING
|
||||
if (config->interworking)
|
||||
fprintf(f, "interworking=%u\n", config->interworking);
|
||||
|
|
|
@ -327,6 +327,9 @@ fast_reauth=1
|
|||
# milenage="90dca4eda45b53cf0f12d7c9c3bc6a89:cb9cccc4b9258e6dca4760379fb82"
|
||||
#}
|
||||
|
||||
# Hotspot 2.0
|
||||
# hs20=1
|
||||
|
||||
# network block
|
||||
#
|
||||
# Each network (usually AP's sharing the same SSID) is configured as a separate
|
||||
|
|
Loading…
Reference in a new issue