]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Allow peer to propose channel in invitation process
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 24 Sep 2012 19:15:58 +0000 (22:15 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 24 Sep 2012 19:15:58 +0000 (22:15 +0300)
commit2cd075844185f21c41068d25442903bfdb6fb169
tree74258cdb187c334733cfcd61428a6c777d536f3a
parent7759fba1c286cdcaca3903d1cffefff220332095
P2P: Allow peer to propose channel in invitation process

Make Invitation process for re-invoking a persistent group behave
similarly to GO Negotiation as far as channel negotiation is concerned.
The Operating Channel value (if present) is used as a starting point if
the local device does not have a forced operating channel (e.g., due to
concurrent use). Channel lists from devices are then compared to check
that the selected channel is in the intersection. If not, channel is
selected based on GO Negotiation channel rules (best channel preferences
etc.). Invitation Request is rejected if no common channel can be
selected.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
src/p2p/p2p_go_neg.c
src/p2p/p2p_i.h
src/p2p/p2p_invitation.c
wpa_supplicant/p2p_supplicant.c