path: root/hostapd/config_file.c
diff options
authorDmitry Lebed <dlebed@quantenna.com>2018-04-04 20:44:08 (GMT)
committerJouni Malinen <j@w1.fi>2018-04-15 19:20:49 (GMT)
commit37547ad63c9df61ce6899675028594da2527efef (patch)
tree0736fcb1b899c57c3fd94d6312c9d0e931b7de1d /hostapd/config_file.c
parent2dd5fbbff884af488870a37e339b4817c83954de (diff)
wpa_supplicant: Increase authentication timeout if CAC is started
Timeout is increased by dfs_cac_ms from channel data, or by max CAC time (10 minutes) if dfs_cac_ms is not defined. This is needed for some more complex cases, e.g., when STA is acting as an active slave with DFS offload enabled and decided to start CAC after receiving CONNECT command, in such a case the 10 second 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 be unable to connect to an AP on DFS channel, since the default authentication timeout (10 s) is smaller than the minimum CAC time (60 s). Tested with nl80211 DFS offload implementation. Signed-off-by: Dmitry Lebed <dlebed@quantenna.com>
Diffstat (limited to 'hostapd/config_file.c')
0 files changed, 0 insertions, 0 deletions