diff options
author | Jouni Malinen <j@w1.fi> | 2012-08-15 23:19:11 +0300 |
---|---|---|
committer | Arik Nemtsov <arik@wizery.com> | 2012-09-04 16:00:30 +0300 |
commit | c811c2a5582055a3939511b6d21e8eb23fe25009 (patch) | |
tree | e875f8c7876a3e468b78e5e8e07dee86b4e36a27 /src/p2p/p2p.h | |
parent | d6800fcaed9648e29b0ae52f0289c46852cf25b4 (diff) | |
download | external_wpa_supplicant_8_ti-c811c2a5582055a3939511b6d21e8eb23fe25009.zip external_wpa_supplicant_8_ti-c811c2a5582055a3939511b6d21e8eb23fe25009.tar.gz external_wpa_supplicant_8_ti-c811c2a5582055a3939511b6d21e8eb23fe25009.tar.bz2 |
P2P: Use larger GO config timeout if HT40 is used
Increase GO config timeout if HT40 is used since it takes some time
to scan channels for coex purposes before the BSS can be started.
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/p2p/p2p.h')
-rw-r--r-- | src/p2p/p2p.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/p2p/p2p.h b/src/p2p/p2p.h index 6c4b666..3f796d0 100644 --- a/src/p2p/p2p.h +++ b/src/p2p/p2p.h @@ -1727,4 +1727,13 @@ const char * p2p_wps_method_text(enum p2p_wps_method method); int p2p_prepare_channel(struct p2p_data *p2p, unsigned int force_freq); +/** + * p2p_set_config_timeout - Set local config timeouts + * @p2p: P2P module context from p2p_init() + * @go_timeout: Time in 10 ms units it takes to start the GO mode + * @client_timeout: Time in 10 ms units it takes to start the client mode + */ +void p2p_set_config_timeout(struct p2p_data *p2p, u8 go_timeout, + u8 client_timeout); + #endif /* P2P_H */ |