[PATCH 4/7] P2P: Allow configuring ctwindow when working as GO

Jouni Malinen j at w1.fi
Sun Feb 22 11:29:23 EST 2015


On Sun, Feb 22, 2015 at 03:22:55PM +0000, Peer, Ilan wrote:
> > From: Jouni Malinen [mailto:j at w1.fi]
> > > From: Eliad Peller <eliad at wizery.com>
> > > Read p2p_go_ctwindow from the config file, and pass it to the driver
> > > on GO start.
> > >
> > > Use p2p_go_ctwindow=9 by default.
> > 
> > Where does this value of 9 TU come from? The P2P spec states that
> > CTWindow should be at least 10 TU for the GO to be discoverable, so making 9
> > as the default sounds quite strange. I'm replacing this with 0 (i.e., do not
> > configure CTWindow) to maintain previous behavior and avoid any potential
> > issues with drivers that might not be prepared for the value to be configured
> > in the first place. If you want to use 9 TU for some reason, you can set that in
> > the configuration.
> > 
> 
> After discussing this with requirement owner, he did recommend changing to 10. 

Is there a specific reason for that value? I'm not planning on changing
this from 0 (which matches the previous behavior) unless there is strong
justification for enabling CTWindow configuration on GO by default. 10
TU would sound like a way too small default value, i.e., it would make
the GO pretty difficult to discover since the GO could end up being 90%
of the time away from the operating channel. That may be justifiable for
some use cases (and that is now configurable, so that need is covered),
but it does not sound like something I'd use as a default value.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list