aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-03-11 19:42:37 (GMT)
committerJouni Malinen <j@w1.fi>2009-03-11 19:42:37 (GMT)
commit0fa9694a141be19643936462ce679d82b58dfdda (patch)
tree1d0eddd2526209643f0ebe034c62dbf5de7131d0 /wpa_supplicant
parentced8a7f132a354cfcc4664f65f1664f9a652ed30 (diff)
downloadhostap-06-0fa9694a141be19643936462ce679d82b58dfdda.zip
hostap-06-0fa9694a141be19643936462ce679d82b58dfdda.tar.gz
hostap-06-0fa9694a141be19643936462ce679d82b58dfdda.tar.bz2
WMM-AC: Fix hostapd processing of ADDTS Request
Calculate the estimated medium time using integer variables since there is no real need to use floating point arithmetics here. In addition, make sure there is no division by zero regardless of how invalid the request from the station is. Reject invalid parameters and refuse requests that would take most of the bandwidth by themselves. This is a manual merge of hostapd parts of ed843aaa33f701a3ae6db7889f9d28a671f7a134. In addition, this includes the fixes (but not cleanup) of TSPEC byte order from 3ae0800c5f24e1b62c0e66be9fd487a051a37c62.
Diffstat (limited to 'wpa_supplicant')
0 files changed, 0 insertions, 0 deletions