]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/config_file.c
P2P: Use another interface operating channel as listen channel
authorIlan Peer <ilan.peer@intel.com>
Mon, 19 May 2014 07:05:39 +0000 (10:05 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 14 Jun 2014 21:46:11 +0000 (00:46 +0300)
commite3bd6e9dc084ce6d12af3bc969469c4f95014513
tree5215d5f240a52292514bd581e8fa60085aa832d2
parent28812a898381d73add08f4e82b5e54cd36616a9b
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>
src/p2p/p2p.c
src/p2p/p2p.h
src/p2p/p2p_i.h
wpa_supplicant/config.c
wpa_supplicant/config.h
wpa_supplicant/config_file.c
wpa_supplicant/ctrl_iface.c
wpa_supplicant/p2p_supplicant.c
wpa_supplicant/p2p_supplicant.h
wpa_supplicant/wpa_supplicant.c