]> git.ipfire.org Git - thirdparty/hostap.git/commit
EHT: Use HE operating channel width in MCS length calculation
authorAloka Dixit <quic_alokad@quicinc.com>
Thu, 15 Dec 2022 00:11:41 +0000 (16:11 -0800)
committerJouni Malinen <j@w1.fi>
Thu, 15 Dec 2022 16:41:31 +0000 (18:41 +0200)
commit3df42cf3c7978f788b0096ac8a70862229e9526a
tree3ee5d818cb9db7ff1ddec9cc3239e6bd68316159
parent23e31eb68e219c93e782b71093c042a2095c481c
EHT: Use HE operating channel width in MCS length calculation

Channel width in HE Capabilities element added to management frames is
calculated in hostapd_eid_he_capab() by intersecting the driver
capabilities and the operating channel width. Kernel uses this value
from the Beacon frames to verify EHT capabilities length. However, EHT
MCS length calculation uses only the driver capabilities which results
in EHT AP bring up failure in some cases dues to different lengths.

Modify the EHT code to use the HE operating channel width as well to
determine matching length for the information.

Signed-off-by: Aloka Dixit <quic_alokad@quicinc.com>
src/ap/ieee802_11_eht.c