[PATCH 16/16] P2P: Don't switch channel during group formation

Jouni Malinen j at w1.fi
Fri Jun 19 04:36:30 EDT 2015


On Wed, Jun 17, 2015 at 04:25:02PM +0300, Ilan Peer wrote:
> On 40Mhz channels, primary and secondary channels are sometimes
> switched to get secondary channel with no beacons from other BSSes.
> However, when starting a P2P GO after GoN, this may fail the group
> formation since the client will search the GO on the original primary
> channel.

This does not sound correct. P2P GO is always allowed to change
channels, even between GO Negotiation and the start of beaconing. P2P
Client must be capable of finding the GO even if it has changed
channels. This may add some small delay due to having to run full scans,
but that sounds acceptable to me when it allows following the 20/40 MHz
co-existence requirements.

> Fix this by not switching the primary and secondary channel during
> P2P group formation. This also fixes failures seen with hwsim test
> "go_neg_forced_freq_diff_than_bss_freq".

Could you please provide more details on how that test case is failing?
I don't see it in my test setup.. wpa_supplicant does search the GO from
other channels than only the one indicated during GO Negotiation.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list