From 0147afa9dfb03ee9f97101dc29bee178990d52a2 Mon Sep 17 00:00:00 2001 From: Dedy Lansky Date: Thu, 25 Feb 2016 10:03:07 +0200 Subject: [PATCH] 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 --- src/fst/fst_session.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fst/fst_session.c b/src/fst/fst_session.c index 11f3b63..449e304 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; } -- 2.1.4