]> git.ipfire.org Git - thirdparty/hostap.git/commit - hostapd/config_file.c
hostapd: Fix vht_capab 'Maximum A-MPDU Length Exponent' handling
authorBartosz Markowski <bartosz.markowski@tieto.com>
Wed, 26 Feb 2014 09:39:47 +0000 (10:39 +0100)
committerJouni Malinen <j@w1.fi>
Wed, 5 Mar 2014 22:09:37 +0000 (00:09 +0200)
commit905828fea4b95a6d48ce86e1b5272c25a618b3d8
tree44899e9d60d38a764b7fb60093d09cdb66a67f00
parent3bdc651a6247b991d33a4e32eb2597afc84c25a0
hostapd: Fix vht_capab 'Maximum A-MPDU Length Exponent' handling

As per IEEE Std 802.11ac-2013, 'Maximum A-MPDU Length Exponent' field
value is in the range of 0 to 7. Previous implementation assumed EXP0 to
be the maximum length (bits 23, 24 and 25 set) what is incorrect.

This patch adds options to set it up within the 0 to 7 range.

Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com>
hostapd/config_file.c
src/ap/hw_features.c
src/common/ieee802_11_defs.h