aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.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.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.c')
-rw-r--r--wpa_supplicant/config.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/wpa_supplicant/config.c b/wpa_supplicant/config.c
index 0ea34e0..bf3defb 100644
--- a/wpa_supplicant/config.c
+++ b/wpa_supplicant/config.c
@@ -4562,6 +4562,11 @@ static const struct global_parse_data global_fields[] = {
{ INT_RANGE(interworking, 0, 1), 0 },
{ FUNC(hessid), 0 },
{ INT_RANGE(access_network_type, 0, 15), 0 },
+ { INT_RANGE(go_interworking, 0, 1), 0 },
+ { INT_RANGE(go_access_network_type, 0, 15), 0 },
+ { INT_RANGE(go_internet, 0, 1), 0 },
+ { INT_RANGE(go_venue_group, 0, 255), 0 },
+ { INT_RANGE(go_venue_type, 0, 255), 0 },
{ INT_RANGE(pbc_in_m1, 0, 1), 0 },
{ STR(autoscan), 0 },
{ INT_RANGE(wps_nfc_dev_pw_id, 0x10, 0xffff),