P2P: Use peer's channel list to limit GO freq on invitation
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 1 Mar 2013 12:22:29 +0000 (14:22 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 1 Mar 2013 18:01:01 +0000 (20:01 +0200)
commit5473362458d503bfbbd7137c4bb068df40e32676
treef7938d6a1c4d8f99b9e6d5ba55eb932d2f3e286b
parentf5877af01e646af99bd4df0f640cd768e4403142
P2P: Use peer's channel list to limit GO freq on invitation

Peer device includes its list of allowed operating channels in the
Invitation Response frame. When we are becoming the GO, use that list
from the peer to filter out acceptable channels to avoid selecting a
channel that the peer is unable to use.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
src/p2p/p2p.c
src/p2p/p2p.h
src/p2p/p2p_invitation.c
src/p2p/p2p_utils.c
wpa_supplicant/ctrl_iface.c
wpa_supplicant/dbus/dbus_new_handlers_p2p.c
wpa_supplicant/p2p_supplicant.c
wpa_supplicant/p2p_supplicant.h