aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_file.c
diff options
context:
space:
mode:
authorSunil Dutt <usdutt@qti.qualcomm.com>2017-07-31 12:35:05 (GMT)
committerJouni Malinen <j@w1.fi>2017-10-05 11:42:16 (GMT)
commit63bc0ab0ed2d3766db37a9dad4ecc21233e25d88 (patch)
tree732174e18960947115126250dde3229e1f7b86ec /wpa_supplicant/config_file.c
parent3567641ebb7baaf9d9ba4a9091661c8befc386be (diff)
downloadhostap-63bc0ab0ed2d3766db37a9dad4ecc21233e25d88.zip
hostap-63bc0ab0ed2d3766db37a9dad4ecc21233e25d88.tar.gz
hostap-63bc0ab0ed2d3766db37a9dad4ecc21233e25d88.tar.bz2
P2P: Allow GO to advertise Interworking element
This adds new wpa_supplicant configuration parameters (go_interworking, go_access_network_type, go_internet, go_venue_group, go_venue_type) to add a possibility of configuring the P2P GO to advertise Interworking element. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/config_file.c')
-rw-r--r--wpa_supplicant/config_file.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/wpa_supplicant/config_file.c b/wpa_supplicant/config_file.c
index ab11af9..3b351e8 100644
--- a/wpa_supplicant/config_file.c
+++ b/wpa_supplicant/config_file.c
@@ -1292,6 +1292,17 @@ static void wpa_config_write_global(FILE *f, struct wpa_config *config)
if (config->access_network_type != DEFAULT_ACCESS_NETWORK_TYPE)
fprintf(f, "access_network_type=%d\n",
config->access_network_type);
+ if (config->go_interworking)
+ fprintf(f, "go_interworking=%d\n", config->go_interworking);
+ if (config->go_access_network_type)
+ fprintf(f, "go_access_network_type=%d\n",
+ config->go_access_network_type);
+ if (config->go_internet)
+ fprintf(f, "go_internet=%d\n", config->go_internet);
+ if (config->go_venue_group)
+ fprintf(f, "go_venue_group=%d\n", config->go_venue_group);
+ if (config->go_venue_type)
+ fprintf(f, "go_venue_type=%d\n", config->go_venue_type);
#endif /* CONFIG_INTERWORKING */
if (config->pbc_in_m1)
fprintf(f, "pbc_in_m1=%d\n", config->pbc_in_m1);