path: root/wpa_supplicant/p2p_supplicant.h
diff options
authorMahesh A Saptasagar <c_msapta@qti.qualcomm.com>2014-01-27 14:46:02 (GMT)
committerJouni Malinen <j@w1.fi>2014-02-07 13:44:41 (GMT)
commit062a7c0d67f248391ec3bd946bde9dd2aad64ceb (patch)
tree785c6a858e19b33910a07ddbf03b25e0907d393c /wpa_supplicant/p2p_supplicant.h
parent0547124d47cb0f656d3ed7dd1ec4225a9df2a2f9 (diff)
Fix persistent P2P connection failure in case channel list changes
P2P persistent connection may fail due to 802.11d channel change event invalidating support of the operating frequency sent in the invitation request, before receiving the invitation response. If the operating frequency is invalid at the time the invitation response is processed and there is no forced frequency provided by user, allow frequency re-selection. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/p2p_supplicant.h')
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/p2p_supplicant.h b/wpa_supplicant/p2p_supplicant.h
index 685313c..d3d36b1 100644
--- a/wpa_supplicant/p2p_supplicant.h
+++ b/wpa_supplicant/p2p_supplicant.h
@@ -36,8 +36,8 @@ int wpas_p2p_group_add(struct wpa_supplicant *wpa_s, int persistent_group,
int freq, int ht40, int vht);
int wpas_p2p_group_add_persistent(struct wpa_supplicant *wpa_s,
struct wpa_ssid *ssid, int addr_allocated,
- int freq, int ht40, int vht,
- const struct p2p_channels *channels,
+ int force_freq, int neg_freq, int ht40,
+ int vht, const struct p2p_channels *channels,
int connection_timeout);
struct p2p_group * wpas_p2p_group_init(struct wpa_supplicant *wpa_s,
struct wpa_ssid *ssid);