aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/p2p_supplicant.h
diff options
context:
space:
mode:
authorIlan Peer <ilan.peer@intel.com>2014-05-19 07:05:39 (GMT)
committerJouni Malinen <j@w1.fi>2014-06-14 21:46:11 (GMT)
commite3bd6e9dc084ce6d12af3bc969469c4f95014513 (patch)
tree5215d5f240a52292514bd581e8fa60085aa832d2 /wpa_supplicant/p2p_supplicant.h
parent28812a898381d73add08f4e82b5e54cd36616a9b (diff)
downloadhostap-e3bd6e9dc084ce6d12af3bc969469c4f95014513.zip
hostap-e3bd6e9dc084ce6d12af3bc969469c4f95014513.tar.gz
hostap-e3bd6e9dc084ce6d12af3bc969469c4f95014513.tar.bz2
P2P: Use another interface operating channel as listen channel
Performing a P2P Device flow such as p2p_listen or p2p_find, can degrade the performance of an active interface connection, if the listen frequency is different than the frequency used by that interface. To reduce the effect of P2P Device flows on other interfaces, try changing the listen channel of the P2P Device to match the operating channel of one of the other active interfaces. This change will be possible only in case that the listen channel is not forced externally, and will be delayed to a point where the P2P Device state machine is idle. The optimization can be configured in the configuration file and is disabled by default. Signed-off-by: Ilan Peer <ilan.peer@intel.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 0bf3ca9..da67e0f 100644
--- a/wpa_supplicant/p2p_supplicant.h
+++ b/wpa_supplicant/p2p_supplicant.h
@@ -160,6 +160,8 @@ int wpas_p2p_nfc_report_handover(struct wpa_supplicant *wpa_s, int init,
int wpas_p2p_nfc_tag_enabled(struct wpa_supplicant *wpa_s, int enabled);
void wpas_p2p_pbc_overlap_cb(void *eloop_ctx, void *timeout_ctx);
+void wpas_p2p_indicate_state_change(struct wpa_supplicant *wpa_s);
+
#ifdef CONFIG_P2P
int wpas_p2p_4way_hs_failed(struct wpa_supplicant *wpa_s);
void wpas_p2p_ap_setup_failed(struct wpa_supplicant *wpa_s);