]> git.ipfire.org Git - thirdparty/hostap.git/commit
Do not add Channel Switch Wrapper element without VHT/HE/EHT
authorMuna Sinada <muna.sinada@oss.qualcomm.com>
Wed, 28 May 2025 15:43:05 +0000 (21:13 +0530)
committerJouni Malinen <j@w1.fi>
Tue, 3 Jun 2025 15:15:45 +0000 (18:15 +0300)
commitdea98597c8e7de6e6a5efbf8330b93f4aacc2b83
tree63a1484b01aff85ec381dc42b2477cd6b288f038
parentc7139cc28a07803cf1ce97134b16fbbdbdf744cb
Do not add Channel Switch Wrapper element without VHT/HE/EHT

Only include the Channel Switch Wrapper element in Beacon and Probe
Response frames when at least one of the PHY modes IEEE 802.11ac, IEEE
802.11ax, or IEEE 802.11be is enabled and not explicitly disabled in the
configuration.

This avoids unnecessary inclusion of the Channel Switch Wrapper element
when none of these modes are active, ensuring better compliance with the
capabilities advertised by the AP.

Signed-off-by: Aloka Dixit <aloka.dixit@oss.qualcomm.com>
Signed-off-by: Muna Sinada <muna.sinada@oss.qualcomm.com>
Signed-off-by: Maharaja Kennadyrajan <maharaja.kennadyrajan@oss.qualcomm.com>
src/ap/ieee802_11.c