wifi: iwlwifi: fix HE/EHT capabilities
authorJohannes Berg <johannes.berg@intel.com>
Thu, 10 Jul 2025 18:28:26 +0000 (21:28 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Fri, 11 Jul 2025 15:28:31 +0000 (18:28 +0300)
commit5bc741e1b1d580fe73d48b14c5b111c413de2acf
tree86194f32d8920b0521edb71caee8474718501985
parent11c5cc9ec6d9e09cd052f5a75574f5989b37f16c
wifi: iwlwifi: fix HE/EHT capabilities

The default capabilities were set to much more than the hardware
currently is intended to support, and then masked off for only
the GL MAC type. However, this was due to some miscommunication
and is incorrect, it should've been masked off for all current
and planned MACs/RFs. Instead of doing this removing and adding
of capabilities, simply list the ones that currently apply to
all devices. If this changes for a new device type we can change
the code, but at least the driver won't erroneously advertise
some capabilities that aren't actually implemented in hardware.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250710212632.69b9dac7d906.I7885499bc80453d5a84285ec927f5e89f9adfb21@changeid
drivers/net/wireless/intel/iwlwifi/iwl-nvm-parse.c