]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: iwlwifi: cfg: clean up Sc/Dr/Br configs
authorJohannes Berg <johannes.berg@intel.com>
Fri, 9 May 2025 10:44:46 +0000 (13:44 +0300)
committerMiri Korenblit <miriam.rachel.korenblit@intel.com>
Sat, 10 May 2025 18:42:40 +0000 (21:42 +0300)
commitfe80b0e53d362c0ac2a14fca79d5d61497017129
tree096e8a67d1ca34ee0b2f4e6329e3c532f014e828
parent7225a6a2452267396d0fc5b7b8d180fe4ff80c7f
wifi: iwlwifi: cfg: clean up Sc/Dr/Br configs

For now, the WH and PE radios require the same config as
FM, so just add a #define for those instead of copying
the data. Since this is true, Sc/Dr/Br all used the same
configs for all RF types, but that's confusing, so now
use the defined WH/PE names for the correct combinations.

We can also now enable the unit test that ensures we have
no duplicate RF configs.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://patch.msgid.link/20250509104454.2582160-8-miriam.rachel.korenblit@intel.com
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
drivers/net/wireless/intel/iwlwifi/cfg/dr.c
drivers/net/wireless/intel/iwlwifi/cfg/sc.c
drivers/net/wireless/intel/iwlwifi/iwl-config.h
drivers/net/wireless/intel/iwlwifi/pcie/drv.c
drivers/net/wireless/intel/iwlwifi/tests/devinfo.c