WNM: Fix ess_disassoc timeout to be specified in TBTTs
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 23 May 2013 12:57:13 +0000 (15:57 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 23 May 2013 13:50:32 +0000 (16:50 +0300)
commit8e1bc70231aef41e0bb8851884520122a5fc3f05
tree3942f05f700352b8b3bc53ee2e9148556cf5f742
parent901d1fe1e599834cf582a8439e2ff427fd5867fa
WNM: Fix ess_disassoc timeout to be specified in TBTTs

This was previously claimed to be in ms, but the field in BSS Transition
Management Request frame is in number of TBTTs (beacon interval). Use
that unit in the ESS_DISASSOC control interface command to be able to
specify any value and just modify the timeout value to be calculated
based on beacon interval.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
hostapd/ctrl_iface.c