aboutsummaryrefslogtreecommitdiffstats
path: root/src/fst
diff options
context:
space:
mode:
authorDedy Lansky <qca_dlansky@qca.qualcomm.com>2016-02-25 08:03:07 (GMT)
committerJouni Malinen <j@w1.fi>2016-03-03 11:50:03 (GMT)
commit0147afa9dfb03ee9f97101dc29bee178990d52a2 (patch)
tree31870391435e5064d2c09c51973524e202912275 /src/fst
parente1d00d47c79abeaf05ccdd9b1d43680e67a49d47 (diff)
downloadhostap-0147afa9dfb03ee9f97101dc29bee178990d52a2.zip
hostap-0147afa9dfb03ee9f97101dc29bee178990d52a2.tar.gz
hostap-0147afa9dfb03ee9f97101dc29bee178990d52a2.tar.bz2
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 <qca_dlansky@qca.qualcomm.com>
Diffstat (limited to 'src/fst')
-rw-r--r--src/fst/fst_session.c3
1 files changed, 2 insertions, 1 deletions
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;
}