162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (C) 2015-2017 Intel Deutschland GmbH
462306a36Sopenharmony_ci * Copyright (C) 2018-2023 Intel Corporation
562306a36Sopenharmony_ci */
662306a36Sopenharmony_ci#include <linux/module.h>
762306a36Sopenharmony_ci#include <linux/stringify.h>
862306a36Sopenharmony_ci#include "iwl-config.h"
962306a36Sopenharmony_ci#include "iwl-prph.h"
1062306a36Sopenharmony_ci#include "fw/api/txq.h"
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci/* Highest firmware API version supported */
1362306a36Sopenharmony_ci#define IWL_AX210_UCODE_API_MAX	83
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ci/* Lowest firmware API version supported */
1662306a36Sopenharmony_ci#define IWL_AX210_UCODE_API_MIN	59
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci/* NVM versions */
1962306a36Sopenharmony_ci#define IWL_AX210_NVM_VERSION		0x0a1d
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci/* Memory offsets and lengths */
2262306a36Sopenharmony_ci#define IWL_AX210_DCCM_OFFSET		0x800000 /* LMAC1 */
2362306a36Sopenharmony_ci#define IWL_AX210_DCCM_LEN		0x10000 /* LMAC1 */
2462306a36Sopenharmony_ci#define IWL_AX210_DCCM2_OFFSET		0x880000
2562306a36Sopenharmony_ci#define IWL_AX210_DCCM2_LEN		0x8000
2662306a36Sopenharmony_ci#define IWL_AX210_SMEM_OFFSET		0x400000
2762306a36Sopenharmony_ci#define IWL_AX210_SMEM_LEN		0xD0000
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ci#define IWL_SO_A_JF_B_FW_PRE		"iwlwifi-so-a0-jf-b0"
3062306a36Sopenharmony_ci#define IWL_SO_A_HR_B_FW_PRE		"iwlwifi-so-a0-hr-b0"
3162306a36Sopenharmony_ci#define IWL_SO_A_GF_A_FW_PRE		"iwlwifi-so-a0-gf-a0"
3262306a36Sopenharmony_ci#define IWL_TY_A_GF_A_FW_PRE		"iwlwifi-ty-a0-gf-a0"
3362306a36Sopenharmony_ci#define IWL_SO_A_GF4_A_FW_PRE		"iwlwifi-so-a0-gf4-a0"
3462306a36Sopenharmony_ci#define IWL_SO_A_MR_A_FW_PRE		"iwlwifi-so-a0-mr-a0"
3562306a36Sopenharmony_ci#define IWL_MA_A_HR_B_FW_PRE		"iwlwifi-ma-a0-hr-b0"
3662306a36Sopenharmony_ci#define IWL_MA_A_GF_A_FW_PRE		"iwlwifi-ma-a0-gf-a0"
3762306a36Sopenharmony_ci#define IWL_MA_A_GF4_A_FW_PRE		"iwlwifi-ma-a0-gf4-a0"
3862306a36Sopenharmony_ci#define IWL_MA_A_MR_A_FW_PRE		"iwlwifi-ma-a0-mr-a0"
3962306a36Sopenharmony_ci#define IWL_MA_B_HR_B_FW_PRE		"iwlwifi-ma-b0-hr-b0"
4062306a36Sopenharmony_ci#define IWL_MA_B_GF_A_FW_PRE		"iwlwifi-ma-b0-gf-a0"
4162306a36Sopenharmony_ci#define IWL_MA_B_GF4_A_FW_PRE		"iwlwifi-ma-b0-gf4-a0"
4262306a36Sopenharmony_ci#define IWL_MA_B_MR_A_FW_PRE		"iwlwifi-ma-b0-mr-a0"
4362306a36Sopenharmony_ci
4462306a36Sopenharmony_ci#define IWL_SO_A_JF_B_MODULE_FIRMWARE(api) \
4562306a36Sopenharmony_ci	IWL_SO_A_JF_B_FW_PRE "-" __stringify(api) ".ucode"
4662306a36Sopenharmony_ci#define IWL_SO_A_HR_B_MODULE_FIRMWARE(api) \
4762306a36Sopenharmony_ci	IWL_SO_A_HR_B_FW_PRE "-" __stringify(api) ".ucode"
4862306a36Sopenharmony_ci#define IWL_SO_A_GF_A_MODULE_FIRMWARE(api) \
4962306a36Sopenharmony_ci	IWL_SO_A_GF_A_FW_PRE "-" __stringify(api) ".ucode"
5062306a36Sopenharmony_ci#define IWL_TY_A_GF_A_MODULE_FIRMWARE(api) \
5162306a36Sopenharmony_ci	IWL_TY_A_GF_A_FW_PRE "-" __stringify(api) ".ucode"
5262306a36Sopenharmony_ci#define IWL_MA_A_HR_B_FW_MODULE_FIRMWARE(api)		\
5362306a36Sopenharmony_ci	IWL_MA_A_HR_B_FW_PRE "-" __stringify(api) ".ucode"
5462306a36Sopenharmony_ci#define IWL_MA_A_GF_A_FW_MODULE_FIRMWARE(api)		\
5562306a36Sopenharmony_ci	IWL_MA_A_GF_A_FW_PRE "-" __stringify(api) ".ucode"
5662306a36Sopenharmony_ci#define IWL_MA_A_GF4_A_FW_MODULE_FIRMWARE(api)		\
5762306a36Sopenharmony_ci	IWL_MA_A_GF4_A_FW_PRE "-" __stringify(api) ".ucode"
5862306a36Sopenharmony_ci#define IWL_MA_A_MR_A_FW_MODULE_FIRMWARE(api) \
5962306a36Sopenharmony_ci	IWL_MA_A_MR_A_FW_PRE "-" __stringify(api) ".ucode"
6062306a36Sopenharmony_ci#define IWL_MA_B_HR_B_FW_MODULE_FIRMWARE(api)		\
6162306a36Sopenharmony_ci	IWL_MA_B_HR_B_FW_PRE "-" __stringify(api) ".ucode"
6262306a36Sopenharmony_ci#define IWL_MA_B_GF_A_FW_MODULE_FIRMWARE(api)		\
6362306a36Sopenharmony_ci	IWL_MA_B_GF_A_FW_PRE "-" __stringify(api) ".ucode"
6462306a36Sopenharmony_ci#define IWL_MA_B_GF4_A_FW_MODULE_FIRMWARE(api)		\
6562306a36Sopenharmony_ci	IWL_MA_B_GF4_A_FW_PRE "-" __stringify(api) ".ucode"
6662306a36Sopenharmony_ci#define IWL_MA_B_MR_A_FW_MODULE_FIRMWARE(api) \
6762306a36Sopenharmony_ci	IWL_MA_B_MR_A_FW_PRE "-" __stringify(api) ".ucode"
6862306a36Sopenharmony_ci
6962306a36Sopenharmony_cistatic const struct iwl_base_params iwl_ax210_base_params = {
7062306a36Sopenharmony_ci	.eeprom_size = OTP_LOW_IMAGE_SIZE_32K,
7162306a36Sopenharmony_ci	.num_of_queues = 512,
7262306a36Sopenharmony_ci	.max_tfd_queue_size = 65536,
7362306a36Sopenharmony_ci	.shadow_ram_support = true,
7462306a36Sopenharmony_ci	.led_compensation = 57,
7562306a36Sopenharmony_ci	.wd_timeout = IWL_LONG_WD_TIMEOUT,
7662306a36Sopenharmony_ci	.max_event_log_size = 512,
7762306a36Sopenharmony_ci	.shadow_reg_enable = true,
7862306a36Sopenharmony_ci	.pcie_l1_allowed = true,
7962306a36Sopenharmony_ci};
8062306a36Sopenharmony_ci
8162306a36Sopenharmony_ci#define IWL_DEVICE_AX210_COMMON						\
8262306a36Sopenharmony_ci	.ucode_api_min = IWL_AX210_UCODE_API_MIN,			\
8362306a36Sopenharmony_ci	.led_mode = IWL_LED_RF_STATE,					\
8462306a36Sopenharmony_ci	.nvm_hw_section_num = 10,					\
8562306a36Sopenharmony_ci	.non_shared_ant = ANT_B,					\
8662306a36Sopenharmony_ci	.dccm_offset = IWL_AX210_DCCM_OFFSET,				\
8762306a36Sopenharmony_ci	.dccm_len = IWL_AX210_DCCM_LEN,					\
8862306a36Sopenharmony_ci	.dccm2_offset = IWL_AX210_DCCM2_OFFSET,				\
8962306a36Sopenharmony_ci	.dccm2_len = IWL_AX210_DCCM2_LEN,				\
9062306a36Sopenharmony_ci	.smem_offset = IWL_AX210_SMEM_OFFSET,				\
9162306a36Sopenharmony_ci	.smem_len = IWL_AX210_SMEM_LEN,					\
9262306a36Sopenharmony_ci	.features = IWL_TX_CSUM_NETIF_FLAGS | NETIF_F_RXCSUM,		\
9362306a36Sopenharmony_ci	.apmg_not_supported = true,					\
9462306a36Sopenharmony_ci	.trans.mq_rx_supported = true,					\
9562306a36Sopenharmony_ci	.vht_mu_mimo_supported = true,					\
9662306a36Sopenharmony_ci	.mac_addr_from_csr = 0x380,					\
9762306a36Sopenharmony_ci	.ht_params = &iwl_22000_ht_params,				\
9862306a36Sopenharmony_ci	.nvm_ver = IWL_AX210_NVM_VERSION,				\
9962306a36Sopenharmony_ci	.trans.rf_id = true,						\
10062306a36Sopenharmony_ci	.trans.gen2 = true,						\
10162306a36Sopenharmony_ci	.nvm_type = IWL_NVM_EXT,					\
10262306a36Sopenharmony_ci	.dbgc_supported = true,						\
10362306a36Sopenharmony_ci	.min_umac_error_event_table = 0x400000,				\
10462306a36Sopenharmony_ci	.d3_debug_data_base_addr = 0x401000,				\
10562306a36Sopenharmony_ci	.d3_debug_data_length = 60 * 1024,				\
10662306a36Sopenharmony_ci	.mon_smem_regs = {						\
10762306a36Sopenharmony_ci		.write_ptr = {						\
10862306a36Sopenharmony_ci			.addr = LDBG_M2S_BUF_WPTR,			\
10962306a36Sopenharmony_ci			.mask = LDBG_M2S_BUF_WPTR_VAL_MSK,		\
11062306a36Sopenharmony_ci	},								\
11162306a36Sopenharmony_ci		.cycle_cnt = {						\
11262306a36Sopenharmony_ci			.addr = LDBG_M2S_BUF_WRAP_CNT,			\
11362306a36Sopenharmony_ci			.mask = LDBG_M2S_BUF_WRAP_CNT_VAL_MSK,		\
11462306a36Sopenharmony_ci		},							\
11562306a36Sopenharmony_ci	}
11662306a36Sopenharmony_ci
11762306a36Sopenharmony_ci#define IWL_DEVICE_AX210						\
11862306a36Sopenharmony_ci	IWL_DEVICE_AX210_COMMON,					\
11962306a36Sopenharmony_ci	.ucode_api_max = IWL_AX210_UCODE_API_MAX,			\
12062306a36Sopenharmony_ci	.trans.umac_prph_offset = 0x300000,				\
12162306a36Sopenharmony_ci	.trans.device_family = IWL_DEVICE_FAMILY_AX210,			\
12262306a36Sopenharmony_ci	.trans.base_params = &iwl_ax210_base_params,			\
12362306a36Sopenharmony_ci	.min_txq_size = 128,						\
12462306a36Sopenharmony_ci	.gp2_reg_addr = 0xd02c68,					\
12562306a36Sopenharmony_ci	.min_ba_txq_size = IWL_DEFAULT_QUEUE_SIZE_HE,		\
12662306a36Sopenharmony_ci	.mon_dram_regs = {						\
12762306a36Sopenharmony_ci		.write_ptr = {						\
12862306a36Sopenharmony_ci			.addr = DBGC_CUR_DBGBUF_STATUS,			\
12962306a36Sopenharmony_ci			.mask = DBGC_CUR_DBGBUF_STATUS_OFFSET_MSK,	\
13062306a36Sopenharmony_ci		},							\
13162306a36Sopenharmony_ci		.cycle_cnt = {						\
13262306a36Sopenharmony_ci			.addr = DBGC_DBGBUF_WRAP_AROUND,		\
13362306a36Sopenharmony_ci			.mask = 0xffffffff,				\
13462306a36Sopenharmony_ci		},							\
13562306a36Sopenharmony_ci		.cur_frag = {						\
13662306a36Sopenharmony_ci			.addr = DBGC_CUR_DBGBUF_STATUS,			\
13762306a36Sopenharmony_ci			.mask = DBGC_CUR_DBGBUF_STATUS_IDX_MSK,		\
13862306a36Sopenharmony_ci		},							\
13962306a36Sopenharmony_ci	}
14062306a36Sopenharmony_ci
14162306a36Sopenharmony_ciconst struct iwl_cfg_trans_params iwl_so_trans_cfg = {
14262306a36Sopenharmony_ci	.mq_rx_supported = true,
14362306a36Sopenharmony_ci	.rf_id = true,
14462306a36Sopenharmony_ci	.gen2 = true,
14562306a36Sopenharmony_ci	.device_family = IWL_DEVICE_FAMILY_AX210,
14662306a36Sopenharmony_ci	.base_params = &iwl_ax210_base_params,
14762306a36Sopenharmony_ci	.umac_prph_offset = 0x300000,
14862306a36Sopenharmony_ci	.integrated = true,
14962306a36Sopenharmony_ci	/* TODO: the following values need to be checked */
15062306a36Sopenharmony_ci	.xtal_latency = 500,
15162306a36Sopenharmony_ci	.ltr_delay = IWL_CFG_TRANS_LTR_DELAY_200US,
15262306a36Sopenharmony_ci};
15362306a36Sopenharmony_ci
15462306a36Sopenharmony_ciconst struct iwl_cfg_trans_params iwl_so_long_latency_trans_cfg = {
15562306a36Sopenharmony_ci	.mq_rx_supported = true,
15662306a36Sopenharmony_ci	.rf_id = true,
15762306a36Sopenharmony_ci	.gen2 = true,
15862306a36Sopenharmony_ci	.device_family = IWL_DEVICE_FAMILY_AX210,
15962306a36Sopenharmony_ci	.base_params = &iwl_ax210_base_params,
16062306a36Sopenharmony_ci	.umac_prph_offset = 0x300000,
16162306a36Sopenharmony_ci	.integrated = true,
16262306a36Sopenharmony_ci	.low_latency_xtal = true,
16362306a36Sopenharmony_ci	.xtal_latency = 12000,
16462306a36Sopenharmony_ci	.ltr_delay = IWL_CFG_TRANS_LTR_DELAY_2500US,
16562306a36Sopenharmony_ci};
16662306a36Sopenharmony_ci
16762306a36Sopenharmony_ciconst struct iwl_cfg_trans_params iwl_so_long_latency_imr_trans_cfg = {
16862306a36Sopenharmony_ci	.mq_rx_supported = true,
16962306a36Sopenharmony_ci	.rf_id = true,
17062306a36Sopenharmony_ci	.gen2 = true,
17162306a36Sopenharmony_ci	.device_family = IWL_DEVICE_FAMILY_AX210,
17262306a36Sopenharmony_ci	.base_params = &iwl_ax210_base_params,
17362306a36Sopenharmony_ci	.umac_prph_offset = 0x300000,
17462306a36Sopenharmony_ci	.integrated = true,
17562306a36Sopenharmony_ci	.low_latency_xtal = true,
17662306a36Sopenharmony_ci	.xtal_latency = 12000,
17762306a36Sopenharmony_ci	.ltr_delay = IWL_CFG_TRANS_LTR_DELAY_2500US,
17862306a36Sopenharmony_ci	.imr_enabled = true,
17962306a36Sopenharmony_ci};
18062306a36Sopenharmony_ci
18162306a36Sopenharmony_ci/*
18262306a36Sopenharmony_ci * If the device doesn't support HE, no need to have that many buffers.
18362306a36Sopenharmony_ci * AX210 devices can split multiple frames into a single RB, so fewer are
18462306a36Sopenharmony_ci * needed; AX210 cannot (but use smaller RBs by default) - these sizes
18562306a36Sopenharmony_ci * were picked according to 8 MSDUs inside 256 A-MSDUs in an A-MPDU, with
18662306a36Sopenharmony_ci * additional overhead to account for processing time.
18762306a36Sopenharmony_ci */
18862306a36Sopenharmony_ci#define IWL_NUM_RBDS_NON_HE		512
18962306a36Sopenharmony_ci#define IWL_NUM_RBDS_AX210_HE		4096
19062306a36Sopenharmony_ci
19162306a36Sopenharmony_ciconst struct iwl_cfg_trans_params iwl_ma_trans_cfg = {
19262306a36Sopenharmony_ci	.device_family = IWL_DEVICE_FAMILY_AX210,
19362306a36Sopenharmony_ci	.base_params = &iwl_ax210_base_params,
19462306a36Sopenharmony_ci	.mq_rx_supported = true,
19562306a36Sopenharmony_ci	.rf_id = true,
19662306a36Sopenharmony_ci	.gen2 = true,
19762306a36Sopenharmony_ci	.integrated = true,
19862306a36Sopenharmony_ci	.umac_prph_offset = 0x300000
19962306a36Sopenharmony_ci};
20062306a36Sopenharmony_ci
20162306a36Sopenharmony_ciconst char iwl_ax211_name[] = "Intel(R) Wi-Fi 6E AX211 160MHz";
20262306a36Sopenharmony_ciconst char iwl_ax221_name[] = "Intel(R) Wi-Fi 6E AX221 160MHz";
20362306a36Sopenharmony_ciconst char iwl_ax231_name[] = "Intel(R) Wi-Fi 6E AX231 160MHz";
20462306a36Sopenharmony_ciconst char iwl_ax411_name[] = "Intel(R) Wi-Fi 6E AX411 160MHz";
20562306a36Sopenharmony_ci
20662306a36Sopenharmony_ciconst char iwl_ax210_killer_1675w_name[] =
20762306a36Sopenharmony_ci	"Killer(R) Wi-Fi 6E AX1675w 160MHz Wireless Network Adapter (210D2W)";
20862306a36Sopenharmony_ciconst char iwl_ax210_killer_1675x_name[] =
20962306a36Sopenharmony_ci	"Killer(R) Wi-Fi 6E AX1675x 160MHz Wireless Network Adapter (210NGW)";
21062306a36Sopenharmony_ciconst char iwl_ax211_killer_1675s_name[] =
21162306a36Sopenharmony_ci	"Killer(R) Wi-Fi 6E AX1675s 160MHz Wireless Network Adapter (211NGW)";
21262306a36Sopenharmony_ciconst char iwl_ax211_killer_1675i_name[] =
21362306a36Sopenharmony_ci	"Killer(R) Wi-Fi 6E AX1675i 160MHz Wireless Network Adapter (211NGW)";
21462306a36Sopenharmony_ciconst char iwl_ax411_killer_1690s_name[] =
21562306a36Sopenharmony_ci	"Killer(R) Wi-Fi 6E AX1690s 160MHz Wireless Network Adapter (411D2W)";
21662306a36Sopenharmony_ciconst char iwl_ax411_killer_1690i_name[] =
21762306a36Sopenharmony_ci	"Killer(R) Wi-Fi 6E AX1690i 160MHz Wireless Network Adapter (411NGW)";
21862306a36Sopenharmony_ci
21962306a36Sopenharmony_ciconst struct iwl_cfg iwlax210_2ax_cfg_so_jf_b0 = {
22062306a36Sopenharmony_ci	.name = "Intel(R) Wireless-AC 9560 160MHz",
22162306a36Sopenharmony_ci	.fw_name_pre = IWL_SO_A_JF_B_FW_PRE,
22262306a36Sopenharmony_ci	IWL_DEVICE_AX210,
22362306a36Sopenharmony_ci	.num_rbds = IWL_NUM_RBDS_NON_HE,
22462306a36Sopenharmony_ci};
22562306a36Sopenharmony_ci
22662306a36Sopenharmony_ciconst struct iwl_cfg iwlax211_2ax_cfg_so_gf_a0 = {
22762306a36Sopenharmony_ci	.name = iwl_ax211_name,
22862306a36Sopenharmony_ci	.fw_name_pre = IWL_SO_A_GF_A_FW_PRE,
22962306a36Sopenharmony_ci	.uhb_supported = true,
23062306a36Sopenharmony_ci	IWL_DEVICE_AX210,
23162306a36Sopenharmony_ci	.num_rbds = IWL_NUM_RBDS_AX210_HE,
23262306a36Sopenharmony_ci};
23362306a36Sopenharmony_ci
23462306a36Sopenharmony_ciconst struct iwl_cfg iwlax211_2ax_cfg_so_gf_a0_long = {
23562306a36Sopenharmony_ci	.name = iwl_ax211_name,
23662306a36Sopenharmony_ci	.fw_name_pre = IWL_SO_A_GF_A_FW_PRE,
23762306a36Sopenharmony_ci	.uhb_supported = true,
23862306a36Sopenharmony_ci	IWL_DEVICE_AX210,
23962306a36Sopenharmony_ci	.num_rbds = IWL_NUM_RBDS_AX210_HE,
24062306a36Sopenharmony_ci	.trans.xtal_latency = 12000,
24162306a36Sopenharmony_ci	.trans.low_latency_xtal = true,
24262306a36Sopenharmony_ci};
24362306a36Sopenharmony_ci
24462306a36Sopenharmony_ciconst struct iwl_cfg iwlax210_2ax_cfg_ty_gf_a0 = {
24562306a36Sopenharmony_ci	.name = "Intel(R) Wi-Fi 6 AX210 160MHz",
24662306a36Sopenharmony_ci	.fw_name_pre = IWL_TY_A_GF_A_FW_PRE,
24762306a36Sopenharmony_ci	.uhb_supported = true,
24862306a36Sopenharmony_ci	IWL_DEVICE_AX210,
24962306a36Sopenharmony_ci	.num_rbds = IWL_NUM_RBDS_AX210_HE,
25062306a36Sopenharmony_ci};
25162306a36Sopenharmony_ci
25262306a36Sopenharmony_ciconst struct iwl_cfg iwlax411_2ax_cfg_so_gf4_a0 = {
25362306a36Sopenharmony_ci	.name = iwl_ax411_name,
25462306a36Sopenharmony_ci	.fw_name_pre = IWL_SO_A_GF4_A_FW_PRE,
25562306a36Sopenharmony_ci	.uhb_supported = true,
25662306a36Sopenharmony_ci	IWL_DEVICE_AX210,
25762306a36Sopenharmony_ci	.num_rbds = IWL_NUM_RBDS_AX210_HE,
25862306a36Sopenharmony_ci};
25962306a36Sopenharmony_ci
26062306a36Sopenharmony_ciconst struct iwl_cfg iwlax411_2ax_cfg_so_gf4_a0_long = {
26162306a36Sopenharmony_ci	.name = iwl_ax411_name,
26262306a36Sopenharmony_ci	.fw_name_pre = IWL_SO_A_GF4_A_FW_PRE,
26362306a36Sopenharmony_ci	.uhb_supported = true,
26462306a36Sopenharmony_ci	IWL_DEVICE_AX210,
26562306a36Sopenharmony_ci	.num_rbds = IWL_NUM_RBDS_AX210_HE,
26662306a36Sopenharmony_ci	.trans.xtal_latency = 12000,
26762306a36Sopenharmony_ci	.trans.low_latency_xtal = true,
26862306a36Sopenharmony_ci};
26962306a36Sopenharmony_ci
27062306a36Sopenharmony_ciconst struct iwl_cfg iwl_cfg_so_a0_ms_a0 = {
27162306a36Sopenharmony_ci	.fw_name_pre = IWL_SO_A_MR_A_FW_PRE,
27262306a36Sopenharmony_ci	.uhb_supported = false,
27362306a36Sopenharmony_ci	IWL_DEVICE_AX210,
27462306a36Sopenharmony_ci	.num_rbds = IWL_NUM_RBDS_AX210_HE,
27562306a36Sopenharmony_ci};
27662306a36Sopenharmony_ci
27762306a36Sopenharmony_ciconst struct iwl_cfg iwl_cfg_ma = {
27862306a36Sopenharmony_ci	.fw_name_mac = "ma",
27962306a36Sopenharmony_ci	.uhb_supported = true,
28062306a36Sopenharmony_ci	IWL_DEVICE_AX210,
28162306a36Sopenharmony_ci	.num_rbds = IWL_NUM_RBDS_AX210_HE,
28262306a36Sopenharmony_ci};
28362306a36Sopenharmony_ci
28462306a36Sopenharmony_ciconst struct iwl_cfg iwl_cfg_so_a0_hr_a0 = {
28562306a36Sopenharmony_ci	.fw_name_pre = IWL_SO_A_HR_B_FW_PRE,
28662306a36Sopenharmony_ci	IWL_DEVICE_AX210,
28762306a36Sopenharmony_ci	.num_rbds = IWL_NUM_RBDS_AX210_HE,
28862306a36Sopenharmony_ci};
28962306a36Sopenharmony_ci
29062306a36Sopenharmony_ciMODULE_FIRMWARE(IWL_SO_A_JF_B_MODULE_FIRMWARE(IWL_AX210_UCODE_API_MAX));
29162306a36Sopenharmony_ciMODULE_FIRMWARE(IWL_SO_A_HR_B_MODULE_FIRMWARE(IWL_AX210_UCODE_API_MAX));
29262306a36Sopenharmony_ciMODULE_FIRMWARE(IWL_SO_A_GF_A_MODULE_FIRMWARE(IWL_AX210_UCODE_API_MAX));
29362306a36Sopenharmony_ciMODULE_FIRMWARE(IWL_TY_A_GF_A_MODULE_FIRMWARE(IWL_AX210_UCODE_API_MAX));
29462306a36Sopenharmony_ciMODULE_FIRMWARE(IWL_MA_A_HR_B_FW_MODULE_FIRMWARE(IWL_AX210_UCODE_API_MAX));
29562306a36Sopenharmony_ciMODULE_FIRMWARE(IWL_MA_A_GF_A_FW_MODULE_FIRMWARE(IWL_AX210_UCODE_API_MAX));
29662306a36Sopenharmony_ciMODULE_FIRMWARE(IWL_MA_A_GF4_A_FW_MODULE_FIRMWARE(IWL_AX210_UCODE_API_MAX));
29762306a36Sopenharmony_ciMODULE_FIRMWARE(IWL_MA_A_MR_A_FW_MODULE_FIRMWARE(IWL_AX210_UCODE_API_MAX));
29862306a36Sopenharmony_ciMODULE_FIRMWARE(IWL_MA_B_HR_B_FW_MODULE_FIRMWARE(IWL_AX210_UCODE_API_MAX));
29962306a36Sopenharmony_ciMODULE_FIRMWARE(IWL_MA_B_GF_A_FW_MODULE_FIRMWARE(IWL_AX210_UCODE_API_MAX));
30062306a36Sopenharmony_ciMODULE_FIRMWARE(IWL_MA_B_GF4_A_FW_MODULE_FIRMWARE(IWL_AX210_UCODE_API_MAX));
30162306a36Sopenharmony_ciMODULE_FIRMWARE(IWL_MA_B_MR_A_FW_MODULE_FIRMWARE(IWL_AX210_UCODE_API_MAX));
302