]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Fix shared frequency preference for concurrent operations
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 14 Mar 2013 14:22:31 +0000 (16:22 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 14 Mar 2013 14:26:55 +0000 (16:26 +0200)
commit6cb27aa85f6f71720404154233587b83cec7c5fe
treeef2e30e520556d641018253579f0e96b2310b6ee
parent62e10e6e3d720d44df83941b047213e3df17adff
P2P: Fix shared frequency preference for concurrent operations

Commit 50285f5ca8086cca45afa42cd23c3a3c1cd58f40 changed number of rules
in channel selection and among other things, it broke the design where
the currently used operating channel on a virtual interface that is
shared by the same radio is preferred to avoid costs related to
multi-channel concurrency. Fix this regression by making the P2P module
aware of the shared channel and using that preference as the highest
priority when re-selecting the channel during negotiation.

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