[PATCH 2/2] wpa_supplicant: increase AUTH timeout if CAC is started

Jouni Malinen j at w1.fi
Sun Apr 15 13:11:58 PDT 2018


On Wed, Apr 04, 2018 at 11:44:08PM +0300, Dmitry Lebed wrote:
> Increase AUTH timeout if CAC is started while AUTH timeout
> is active.
> Timeout is increased by dfs_cac_ms from channel data, or
> by max CAC time (10 minutes) if dfs_cac_ms is not defined.
> It's needed for some complex cases, e.g. when STA is acting
> as active slave with DFS offload enabled and decided to start
> CAC after receiving CONNECT command, in such case 10s timeout
> is too small and wpa_supplicant need to wait for CAC completion
> or CAC timeout (up to 10 minutes).
> Without such timeout modification wpa_supplicant will unable
> to connect to AP on DFS channel, since default AUTH timeout (10s)
> is smaller than minumum CAC time (60s).
> 
> Tested with nl80211 DFS offload implementation.

Thanks, both patches applied.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list