[PATCH] P2P: Include passive channels in invitation response

Jouni Malinen j at w1.fi
Sat Oct 18 10:48:11 EDT 2014


On Fri, Oct 17, 2014 at 03:03:21PM +0200, Mikael Kanstrup wrote:
> Patch 51e9f22809b0f412c9c10baa34ddc46cf5df4f33 added the option
> p2p_add_cli_chan to allow P2P GC to connect on passive channels
> assuming the GO should know whether allowed to send on these channels.
> This patch adds missing cli_channels to invitation response messages
> to allow re-connecting to a persistent group as GC on passive
> channels.

Thanks, applied with some changes. The unmodified version resulted in
regressions to the cases where the Invitation Response frame is from the
device that becomes the GO since incorrect operating channel was
indicated in the message (one of those client-only channels). That broke
P2P Client side scan optimizations. I restored the previous behavior for
the case where the local end determines that it is the GO for the group.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list