aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/p2p_supplicant.h
diff options
context:
space:
mode:
authorJithu Jance <jithu@broadcom.com>2013-11-26 13:10:16 (GMT)
committerJouni Malinen <j@w1.fi>2013-12-08 02:55:58 (GMT)
commit8567866d75fcbe031c308194d8868d9c68bd6bf2 (patch)
tree47a0d2b76e5c4034cffa1b1a1474104843cb09fc /wpa_supplicant/p2p_supplicant.h
parentb125c48fce823f28d22ebd68297c5b94366c6aa1 (diff)
downloadhostap-8567866d75fcbe031c308194d8868d9c68bd6bf2.zip
hostap-8567866d75fcbe031c308194d8868d9c68bd6bf2.tar.gz
hostap-8567866d75fcbe031c308194d8868d9c68bd6bf2.tar.bz2
P2P: Handle frequency conflict in single channel concurrency case
Based on priority, remove the connection with least priority whenever a frequency conflict is detected. Signed-hostap: Jithu Jance <jithu@broadcom.com>
Diffstat (limited to 'wpa_supplicant/p2p_supplicant.h')
-rw-r--r--wpa_supplicant/p2p_supplicant.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/p2p_supplicant.h b/wpa_supplicant/p2p_supplicant.h
index 785062d..9630eb5 100644
--- a/wpa_supplicant/p2p_supplicant.h
+++ b/wpa_supplicant/p2p_supplicant.h
@@ -29,6 +29,8 @@ void wpas_p2p_remain_on_channel_cb(struct wpa_supplicant *wpa_s,
unsigned int freq, unsigned int duration);
void wpas_p2p_cancel_remain_on_channel_cb(struct wpa_supplicant *wpa_s,
unsigned int freq);
+int wpas_p2p_handle_frequency_conflicts(struct wpa_supplicant *wpa_s,
+ int freq, struct wpa_ssid *ssid);
int wpas_p2p_group_remove(struct wpa_supplicant *wpa_s, const char *ifname);
int wpas_p2p_group_add(struct wpa_supplicant *wpa_s, int persistent_group,
int freq, int ht40, int vht);