P2P: Allow shared interface channel preference to be ignored
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 14 Mar 2013 14:32:35 +0000 (16:32 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 14 Mar 2013 14:32:35 +0000 (16:32 +0200)
commitb277a2bebc9365ec7db444d51e34aab6d1b48e63
tree2f6a28db68377d9b781d732405b3652ea561f717
parent6cb27aa85f6f71720404154233587b83cec7c5fe
P2P: Allow shared interface channel preference to be ignored

p2p_ignore_shared_freq=1 in the configuration file (or "SET
p2p_ignore_shared_freq 1" on control interface) can now be used to
configure wpa_supplicant to ignore the preference on shared operating
channel when the driver support multi-channel concurrency. The default
behavior is to try to start any new P2P group on an operating channel
that is already in use on another virtual interface to avoid extra cost
from hopping between multiple channels. If this new parameter is set to
1, such preference is not used and instead, the channel for the new P2P
group is selected based on other preferences while ignoring operating
channels of any concurrent connection.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/config.c
wpa_supplicant/config.h
wpa_supplicant/p2p_supplicant.c