From: Dedy Lansky Date: Thu, 25 Feb 2016 08:03:07 +0000 (+0200) Subject: FST: Enlarge State Transition Timeout (STT) X-Git-Tag: hostap_2_6~781 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0147afa9dfb03ee9f97101dc29bee178990d52a2;p=thirdparty%2Fhostap.git FST: Enlarge State Transition Timeout (STT) STT guards the exchange of FST Action frames with the peer station. It was observed that sometimes Action frames sending is delayed at driver/FW layers for few hundreds millisec. Enlarge the STT to overcome such cases. Signed-off-by: Dedy Lansky --- diff --git a/src/fst/fst_session.c b/src/fst/fst_session.c index 11f3b638a..449e3044b 100644 --- a/src/fst/fst_session.c +++ b/src/fst/fst_session.c @@ -181,7 +181,8 @@ static void fst_session_timeout_handler(void *eloop_data, void *user_ctx) static void fst_session_stt_arm(struct fst_session *s) { - eloop_register_timeout(0, TU_TO_US(FST_DEFAULT_SESSION_TIMEOUT_TU), + /* Action frames sometimes get delayed. Use relaxed timeout (2*) */ + eloop_register_timeout(0, 2 * TU_TO_US(FST_DEFAULT_SESSION_TIMEOUT_TU), fst_session_timeout_handler, NULL, s); s->stt_armed = TRUE; }