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

Jouni Malinen j at w1.fi
Sat Feb 21 08:37:49 EST 2015


On Tue, Feb 17, 2015 at 09:35:12PM -0500, Ilan Peer wrote:
> 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.

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list