mirror-linux/net/mac80211/tests
Benjamin Berg 75575e2d25 wifi: mac80211: do not permit 40 MHz EHT operation on 5/6 GHz
The EHT PHY requirements state that 80 MHz must be supported on the 5
and 6 GHz bands unless the STA is 20 MHz only. So if the channel width
is limited to 40 MHz on a band other than 2.4 GHz, then disable EHT and
downgrade to HE.

The primary case where this can happen is if the hardware disables
puncturing using IEEE80211_HW_DISALLOW_PUNCTURING.

Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Cc: stable@vger.kernel.org
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250826202553.a6582f3abf57.Ic670429dc7127f68c818b4290d950ebfb5a0b9e1@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2025-08-28 13:39:16 +02:00
..
Makefile wifi: mac80211: tests: add tests for ieee80211_determine_chan_mode 2025-02-11 11:59:07 +01:00
chan-mode.c wifi: mac80211: do not permit 40 MHz EHT operation on 5/6 GHz 2025-08-28 13:39:16 +02:00
elems.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
mfp.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
module.c
tpe.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
util.c wifi: mac80211: tests: add tests for ieee80211_determine_chan_mode 2025-02-11 11:59:07 +01:00
util.h wifi: mac80211: tests: add utility to create sdata skeleton 2025-01-13 15:26:45 +01:00