]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/ap/ap_config.c
HE: Disable TXOP duration-based RTS if he_rts_threshold is not set
authorJohn Crispin <john@phrozen.org>
Tue, 16 Apr 2019 12:33:58 +0000 (14:33 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 25 Apr 2019 08:43:59 +0000 (11:43 +0300)
commit83f30fabe3ab24ae00572493f74521781d6f6470
tree9f3afdc7e689eb63df9ed75905d9f5136ca724ca
parent5b3940d0c250d786ba07bed5eca457bff234eceb
HE: Disable TXOP duration-based RTS if he_rts_threshold is not set

IEEE P802.11ax/D4.0 9.4.2.243 "HE Operation element" indicates that the
special value 1023 in the TXOP Duration RTS Threshold field is used to
indicate that TXOP duration-based RTS is disabled. Use that value as the
default instead of the previously used value 0 which would really mean
threshold of 0 usec. Furthermore, the previous implementation did not
allow values larger than 255 to be used for this field while the field
is actually 10 bits in size.

Signed-off-by: Shashidhar Lakkavalli <slakkavalli@datto.com>
Signed-off-by: John Crispin <john@phrozen.org>
src/ap/ap_config.c
src/ap/ap_config.h