162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (C) 2005-2014, 2018-2021 Intel Corporation
462306a36Sopenharmony_ci * Copyright (C) 2016-2017 Intel Deutschland GmbH
562306a36Sopenharmony_ci * Copyright (C) 2018-2023 Intel Corporation
662306a36Sopenharmony_ci */
762306a36Sopenharmony_ci#ifndef __IWL_CONFIG_H__
862306a36Sopenharmony_ci#define __IWL_CONFIG_H__
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci#include <linux/types.h>
1162306a36Sopenharmony_ci#include <linux/netdevice.h>
1262306a36Sopenharmony_ci#include <linux/ieee80211.h>
1362306a36Sopenharmony_ci#include <linux/nl80211.h>
1462306a36Sopenharmony_ci#include "iwl-csr.h"
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_cienum iwl_device_family {
1762306a36Sopenharmony_ci	IWL_DEVICE_FAMILY_UNDEFINED,
1862306a36Sopenharmony_ci	IWL_DEVICE_FAMILY_1000,
1962306a36Sopenharmony_ci	IWL_DEVICE_FAMILY_100,
2062306a36Sopenharmony_ci	IWL_DEVICE_FAMILY_2000,
2162306a36Sopenharmony_ci	IWL_DEVICE_FAMILY_2030,
2262306a36Sopenharmony_ci	IWL_DEVICE_FAMILY_105,
2362306a36Sopenharmony_ci	IWL_DEVICE_FAMILY_135,
2462306a36Sopenharmony_ci	IWL_DEVICE_FAMILY_5000,
2562306a36Sopenharmony_ci	IWL_DEVICE_FAMILY_5150,
2662306a36Sopenharmony_ci	IWL_DEVICE_FAMILY_6000,
2762306a36Sopenharmony_ci	IWL_DEVICE_FAMILY_6000i,
2862306a36Sopenharmony_ci	IWL_DEVICE_FAMILY_6005,
2962306a36Sopenharmony_ci	IWL_DEVICE_FAMILY_6030,
3062306a36Sopenharmony_ci	IWL_DEVICE_FAMILY_6050,
3162306a36Sopenharmony_ci	IWL_DEVICE_FAMILY_6150,
3262306a36Sopenharmony_ci	IWL_DEVICE_FAMILY_7000,
3362306a36Sopenharmony_ci	IWL_DEVICE_FAMILY_8000,
3462306a36Sopenharmony_ci	IWL_DEVICE_FAMILY_9000,
3562306a36Sopenharmony_ci	IWL_DEVICE_FAMILY_22000,
3662306a36Sopenharmony_ci	IWL_DEVICE_FAMILY_AX210,
3762306a36Sopenharmony_ci	IWL_DEVICE_FAMILY_BZ,
3862306a36Sopenharmony_ci	IWL_DEVICE_FAMILY_SC,
3962306a36Sopenharmony_ci};
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_ci/*
4262306a36Sopenharmony_ci * LED mode
4362306a36Sopenharmony_ci *    IWL_LED_DEFAULT:  use device default
4462306a36Sopenharmony_ci *    IWL_LED_RF_STATE: turn LED on/off based on RF state
4562306a36Sopenharmony_ci *			LED ON  = RF ON
4662306a36Sopenharmony_ci *			LED OFF = RF OFF
4762306a36Sopenharmony_ci *    IWL_LED_BLINK:    adjust led blink rate based on blink table
4862306a36Sopenharmony_ci *    IWL_LED_DISABLE:	led disabled
4962306a36Sopenharmony_ci */
5062306a36Sopenharmony_cienum iwl_led_mode {
5162306a36Sopenharmony_ci	IWL_LED_DEFAULT,
5262306a36Sopenharmony_ci	IWL_LED_RF_STATE,
5362306a36Sopenharmony_ci	IWL_LED_BLINK,
5462306a36Sopenharmony_ci	IWL_LED_DISABLE,
5562306a36Sopenharmony_ci};
5662306a36Sopenharmony_ci
5762306a36Sopenharmony_ci/**
5862306a36Sopenharmony_ci * enum iwl_nvm_type - nvm formats
5962306a36Sopenharmony_ci * @IWL_NVM: the regular format
6062306a36Sopenharmony_ci * @IWL_NVM_EXT: extended NVM format
6162306a36Sopenharmony_ci * @IWL_NVM_SDP: NVM format used by 3168 series
6262306a36Sopenharmony_ci */
6362306a36Sopenharmony_cienum iwl_nvm_type {
6462306a36Sopenharmony_ci	IWL_NVM,
6562306a36Sopenharmony_ci	IWL_NVM_EXT,
6662306a36Sopenharmony_ci	IWL_NVM_SDP,
6762306a36Sopenharmony_ci};
6862306a36Sopenharmony_ci
6962306a36Sopenharmony_ci/*
7062306a36Sopenharmony_ci * This is the threshold value of plcp error rate per 100mSecs.  It is
7162306a36Sopenharmony_ci * used to set and check for the validity of plcp_delta.
7262306a36Sopenharmony_ci */
7362306a36Sopenharmony_ci#define IWL_MAX_PLCP_ERR_THRESHOLD_MIN		1
7462306a36Sopenharmony_ci#define IWL_MAX_PLCP_ERR_THRESHOLD_DEF		50
7562306a36Sopenharmony_ci#define IWL_MAX_PLCP_ERR_LONG_THRESHOLD_DEF	100
7662306a36Sopenharmony_ci#define IWL_MAX_PLCP_ERR_EXT_LONG_THRESHOLD_DEF	200
7762306a36Sopenharmony_ci#define IWL_MAX_PLCP_ERR_THRESHOLD_MAX		255
7862306a36Sopenharmony_ci#define IWL_MAX_PLCP_ERR_THRESHOLD_DISABLE	0
7962306a36Sopenharmony_ci
8062306a36Sopenharmony_ci/* TX queue watchdog timeouts in mSecs */
8162306a36Sopenharmony_ci#define IWL_WATCHDOG_DISABLED	0
8262306a36Sopenharmony_ci#define IWL_DEF_WD_TIMEOUT	2500
8362306a36Sopenharmony_ci#define IWL_LONG_WD_TIMEOUT	10000
8462306a36Sopenharmony_ci#define IWL_MAX_WD_TIMEOUT	120000
8562306a36Sopenharmony_ci
8662306a36Sopenharmony_ci#define IWL_DEFAULT_MAX_TX_POWER 22
8762306a36Sopenharmony_ci#define IWL_TX_CSUM_NETIF_FLAGS (NETIF_F_IPV6_CSUM | NETIF_F_IP_CSUM |\
8862306a36Sopenharmony_ci				 NETIF_F_TSO | NETIF_F_TSO6)
8962306a36Sopenharmony_ci#define IWL_CSUM_NETIF_FLAGS_MASK (IWL_TX_CSUM_NETIF_FLAGS | NETIF_F_RXCSUM)
9062306a36Sopenharmony_ci
9162306a36Sopenharmony_ci/* Antenna presence definitions */
9262306a36Sopenharmony_ci#define	ANT_NONE	0x0
9362306a36Sopenharmony_ci#define	ANT_INVALID	0xff
9462306a36Sopenharmony_ci#define	ANT_A		BIT(0)
9562306a36Sopenharmony_ci#define	ANT_B		BIT(1)
9662306a36Sopenharmony_ci#define ANT_C		BIT(2)
9762306a36Sopenharmony_ci#define	ANT_AB		(ANT_A | ANT_B)
9862306a36Sopenharmony_ci#define	ANT_AC		(ANT_A | ANT_C)
9962306a36Sopenharmony_ci#define ANT_BC		(ANT_B | ANT_C)
10062306a36Sopenharmony_ci#define ANT_ABC		(ANT_A | ANT_B | ANT_C)
10162306a36Sopenharmony_ci
10262306a36Sopenharmony_ci
10362306a36Sopenharmony_cistatic inline u8 num_of_ant(u8 mask)
10462306a36Sopenharmony_ci{
10562306a36Sopenharmony_ci	return  !!((mask) & ANT_A) +
10662306a36Sopenharmony_ci		!!((mask) & ANT_B) +
10762306a36Sopenharmony_ci		!!((mask) & ANT_C);
10862306a36Sopenharmony_ci}
10962306a36Sopenharmony_ci
11062306a36Sopenharmony_ci/**
11162306a36Sopenharmony_ci * struct iwl_base_params - params not likely to change within a device family
11262306a36Sopenharmony_ci * @max_ll_items: max number of OTP blocks
11362306a36Sopenharmony_ci * @shadow_ram_support: shadow support for OTP memory
11462306a36Sopenharmony_ci * @led_compensation: compensate on the led on/off time per HW according
11562306a36Sopenharmony_ci *	to the deviation to achieve the desired led frequency.
11662306a36Sopenharmony_ci *	The detail algorithm is described in iwl-led.c
11762306a36Sopenharmony_ci * @wd_timeout: TX queues watchdog timeout
11862306a36Sopenharmony_ci * @max_event_log_size: size of event log buffer size for ucode event logging
11962306a36Sopenharmony_ci * @shadow_reg_enable: HW shadow register support
12062306a36Sopenharmony_ci * @apmg_wake_up_wa: should the MAC access REQ be asserted when a command
12162306a36Sopenharmony_ci *	is in flight. This is due to a HW bug in 7260, 3160 and 7265.
12262306a36Sopenharmony_ci * @scd_chain_ext_wa: should the chain extension feature in SCD be disabled.
12362306a36Sopenharmony_ci * @max_tfd_queue_size: max number of entries in tfd queue.
12462306a36Sopenharmony_ci */
12562306a36Sopenharmony_cistruct iwl_base_params {
12662306a36Sopenharmony_ci	unsigned int wd_timeout;
12762306a36Sopenharmony_ci
12862306a36Sopenharmony_ci	u16 eeprom_size;
12962306a36Sopenharmony_ci	u16 max_event_log_size;
13062306a36Sopenharmony_ci
13162306a36Sopenharmony_ci	u8 pll_cfg:1, /* for iwl_pcie_apm_init() */
13262306a36Sopenharmony_ci	   shadow_ram_support:1,
13362306a36Sopenharmony_ci	   shadow_reg_enable:1,
13462306a36Sopenharmony_ci	   pcie_l1_allowed:1,
13562306a36Sopenharmony_ci	   apmg_wake_up_wa:1,
13662306a36Sopenharmony_ci	   scd_chain_ext_wa:1;
13762306a36Sopenharmony_ci
13862306a36Sopenharmony_ci	u16 num_of_queues;	/* def: HW dependent */
13962306a36Sopenharmony_ci	u32 max_tfd_queue_size;	/* def: HW dependent */
14062306a36Sopenharmony_ci
14162306a36Sopenharmony_ci	u8 max_ll_items;
14262306a36Sopenharmony_ci	u8 led_compensation;
14362306a36Sopenharmony_ci};
14462306a36Sopenharmony_ci
14562306a36Sopenharmony_ci/*
14662306a36Sopenharmony_ci * @stbc: support Tx STBC and 1*SS Rx STBC
14762306a36Sopenharmony_ci * @ldpc: support Tx/Rx with LDPC
14862306a36Sopenharmony_ci * @use_rts_for_aggregation: use rts/cts protection for HT traffic
14962306a36Sopenharmony_ci * @ht40_bands: bitmap of bands (using %NL80211_BAND_*) that support HT40
15062306a36Sopenharmony_ci */
15162306a36Sopenharmony_cistruct iwl_ht_params {
15262306a36Sopenharmony_ci	u8 ht_greenfield_support:1,
15362306a36Sopenharmony_ci	   stbc:1,
15462306a36Sopenharmony_ci	   ldpc:1,
15562306a36Sopenharmony_ci	   use_rts_for_aggregation:1;
15662306a36Sopenharmony_ci	u8 ht40_bands;
15762306a36Sopenharmony_ci};
15862306a36Sopenharmony_ci
15962306a36Sopenharmony_ci/*
16062306a36Sopenharmony_ci * Tx-backoff threshold
16162306a36Sopenharmony_ci * @temperature: The threshold in Celsius
16262306a36Sopenharmony_ci * @backoff: The tx-backoff in uSec
16362306a36Sopenharmony_ci */
16462306a36Sopenharmony_cistruct iwl_tt_tx_backoff {
16562306a36Sopenharmony_ci	s32 temperature;
16662306a36Sopenharmony_ci	u32 backoff;
16762306a36Sopenharmony_ci};
16862306a36Sopenharmony_ci
16962306a36Sopenharmony_ci#define TT_TX_BACKOFF_SIZE 6
17062306a36Sopenharmony_ci
17162306a36Sopenharmony_ci/**
17262306a36Sopenharmony_ci * struct iwl_tt_params - thermal throttling parameters
17362306a36Sopenharmony_ci * @ct_kill_entry: CT Kill entry threshold
17462306a36Sopenharmony_ci * @ct_kill_exit: CT Kill exit threshold
17562306a36Sopenharmony_ci * @ct_kill_duration: The time  intervals (in uSec) in which the driver needs
17662306a36Sopenharmony_ci *	to checks whether to exit CT Kill.
17762306a36Sopenharmony_ci * @dynamic_smps_entry: Dynamic SMPS entry threshold
17862306a36Sopenharmony_ci * @dynamic_smps_exit: Dynamic SMPS exit threshold
17962306a36Sopenharmony_ci * @tx_protection_entry: TX protection entry threshold
18062306a36Sopenharmony_ci * @tx_protection_exit: TX protection exit threshold
18162306a36Sopenharmony_ci * @tx_backoff: Array of thresholds for tx-backoff , in ascending order.
18262306a36Sopenharmony_ci * @support_ct_kill: Support CT Kill?
18362306a36Sopenharmony_ci * @support_dynamic_smps: Support dynamic SMPS?
18462306a36Sopenharmony_ci * @support_tx_protection: Support tx protection?
18562306a36Sopenharmony_ci * @support_tx_backoff: Support tx-backoff?
18662306a36Sopenharmony_ci */
18762306a36Sopenharmony_cistruct iwl_tt_params {
18862306a36Sopenharmony_ci	u32 ct_kill_entry;
18962306a36Sopenharmony_ci	u32 ct_kill_exit;
19062306a36Sopenharmony_ci	u32 ct_kill_duration;
19162306a36Sopenharmony_ci	u32 dynamic_smps_entry;
19262306a36Sopenharmony_ci	u32 dynamic_smps_exit;
19362306a36Sopenharmony_ci	u32 tx_protection_entry;
19462306a36Sopenharmony_ci	u32 tx_protection_exit;
19562306a36Sopenharmony_ci	struct iwl_tt_tx_backoff tx_backoff[TT_TX_BACKOFF_SIZE];
19662306a36Sopenharmony_ci	u8 support_ct_kill:1,
19762306a36Sopenharmony_ci	   support_dynamic_smps:1,
19862306a36Sopenharmony_ci	   support_tx_protection:1,
19962306a36Sopenharmony_ci	   support_tx_backoff:1;
20062306a36Sopenharmony_ci};
20162306a36Sopenharmony_ci
20262306a36Sopenharmony_ci/*
20362306a36Sopenharmony_ci * information on how to parse the EEPROM
20462306a36Sopenharmony_ci */
20562306a36Sopenharmony_ci#define EEPROM_REG_BAND_1_CHANNELS		0x08
20662306a36Sopenharmony_ci#define EEPROM_REG_BAND_2_CHANNELS		0x26
20762306a36Sopenharmony_ci#define EEPROM_REG_BAND_3_CHANNELS		0x42
20862306a36Sopenharmony_ci#define EEPROM_REG_BAND_4_CHANNELS		0x5C
20962306a36Sopenharmony_ci#define EEPROM_REG_BAND_5_CHANNELS		0x74
21062306a36Sopenharmony_ci#define EEPROM_REG_BAND_24_HT40_CHANNELS	0x82
21162306a36Sopenharmony_ci#define EEPROM_REG_BAND_52_HT40_CHANNELS	0x92
21262306a36Sopenharmony_ci#define EEPROM_6000_REG_BAND_24_HT40_CHANNELS	0x80
21362306a36Sopenharmony_ci#define EEPROM_REGULATORY_BAND_NO_HT40		0
21462306a36Sopenharmony_ci
21562306a36Sopenharmony_ci/* lower blocks contain EEPROM image and calibration data */
21662306a36Sopenharmony_ci#define OTP_LOW_IMAGE_SIZE_2K		(2 * 512 * sizeof(u16))  /*  2 KB */
21762306a36Sopenharmony_ci#define OTP_LOW_IMAGE_SIZE_16K		(16 * 512 * sizeof(u16)) /* 16 KB */
21862306a36Sopenharmony_ci#define OTP_LOW_IMAGE_SIZE_32K		(32 * 512 * sizeof(u16)) /* 32 KB */
21962306a36Sopenharmony_ci
22062306a36Sopenharmony_cistruct iwl_eeprom_params {
22162306a36Sopenharmony_ci	const u8 regulatory_bands[7];
22262306a36Sopenharmony_ci	bool enhanced_txpower;
22362306a36Sopenharmony_ci};
22462306a36Sopenharmony_ci
22562306a36Sopenharmony_ci/* Tx-backoff power threshold
22662306a36Sopenharmony_ci * @pwr: The power limit in mw
22762306a36Sopenharmony_ci * @backoff: The tx-backoff in uSec
22862306a36Sopenharmony_ci */
22962306a36Sopenharmony_cistruct iwl_pwr_tx_backoff {
23062306a36Sopenharmony_ci	u32 pwr;
23162306a36Sopenharmony_ci	u32 backoff;
23262306a36Sopenharmony_ci};
23362306a36Sopenharmony_ci
23462306a36Sopenharmony_cienum iwl_cfg_trans_ltr_delay {
23562306a36Sopenharmony_ci	IWL_CFG_TRANS_LTR_DELAY_NONE	= 0,
23662306a36Sopenharmony_ci	IWL_CFG_TRANS_LTR_DELAY_200US	= 1,
23762306a36Sopenharmony_ci	IWL_CFG_TRANS_LTR_DELAY_2500US	= 2,
23862306a36Sopenharmony_ci	IWL_CFG_TRANS_LTR_DELAY_1820US	= 3,
23962306a36Sopenharmony_ci};
24062306a36Sopenharmony_ci
24162306a36Sopenharmony_ci/**
24262306a36Sopenharmony_ci * struct iwl_cfg_trans - information needed to start the trans
24362306a36Sopenharmony_ci *
24462306a36Sopenharmony_ci * These values are specific to the device ID and do not change when
24562306a36Sopenharmony_ci * multiple configs are used for a single device ID.  They values are
24662306a36Sopenharmony_ci * used, among other things, to boot the NIC so that the HW REV or
24762306a36Sopenharmony_ci * RFID can be read before deciding the remaining parameters to use.
24862306a36Sopenharmony_ci *
24962306a36Sopenharmony_ci * @base_params: pointer to basic parameters
25062306a36Sopenharmony_ci * @csr: csr flags and addresses that are different across devices
25162306a36Sopenharmony_ci * @device_family: the device family
25262306a36Sopenharmony_ci * @umac_prph_offset: offset to add to UMAC periphery address
25362306a36Sopenharmony_ci * @xtal_latency: power up latency to get the xtal stabilized
25462306a36Sopenharmony_ci * @extra_phy_cfg_flags: extra configuration flags to pass to the PHY
25562306a36Sopenharmony_ci * @rf_id: need to read rf_id to determine the firmware image
25662306a36Sopenharmony_ci * @gen2: 22000 and on transport operation
25762306a36Sopenharmony_ci * @mq_rx_supported: multi-queue rx support
25862306a36Sopenharmony_ci * @integrated: discrete or integrated
25962306a36Sopenharmony_ci * @low_latency_xtal: use the low latency xtal if supported
26062306a36Sopenharmony_ci * @ltr_delay: LTR delay parameter, &enum iwl_cfg_trans_ltr_delay.
26162306a36Sopenharmony_ci * @imr_enabled: use the IMR if supported.
26262306a36Sopenharmony_ci */
26362306a36Sopenharmony_cistruct iwl_cfg_trans_params {
26462306a36Sopenharmony_ci	const struct iwl_base_params *base_params;
26562306a36Sopenharmony_ci	enum iwl_device_family device_family;
26662306a36Sopenharmony_ci	u32 umac_prph_offset;
26762306a36Sopenharmony_ci	u32 xtal_latency;
26862306a36Sopenharmony_ci	u32 extra_phy_cfg_flags;
26962306a36Sopenharmony_ci	u32 rf_id:1,
27062306a36Sopenharmony_ci	    gen2:1,
27162306a36Sopenharmony_ci	    mq_rx_supported:1,
27262306a36Sopenharmony_ci	    integrated:1,
27362306a36Sopenharmony_ci	    low_latency_xtal:1,
27462306a36Sopenharmony_ci	    bisr_workaround:1,
27562306a36Sopenharmony_ci	    ltr_delay:2,
27662306a36Sopenharmony_ci	    imr_enabled:1;
27762306a36Sopenharmony_ci};
27862306a36Sopenharmony_ci
27962306a36Sopenharmony_ci/**
28062306a36Sopenharmony_ci * struct iwl_fw_mon_reg - FW monitor register info
28162306a36Sopenharmony_ci * @addr: register address
28262306a36Sopenharmony_ci * @mask: register mask
28362306a36Sopenharmony_ci */
28462306a36Sopenharmony_cistruct iwl_fw_mon_reg {
28562306a36Sopenharmony_ci	u32 addr;
28662306a36Sopenharmony_ci	u32 mask;
28762306a36Sopenharmony_ci};
28862306a36Sopenharmony_ci
28962306a36Sopenharmony_ci/**
29062306a36Sopenharmony_ci * struct iwl_fw_mon_regs - FW monitor registers
29162306a36Sopenharmony_ci * @write_ptr: write pointer register
29262306a36Sopenharmony_ci * @cycle_cnt: cycle count register
29362306a36Sopenharmony_ci * @cur_frag: current fragment in use
29462306a36Sopenharmony_ci */
29562306a36Sopenharmony_cistruct iwl_fw_mon_regs {
29662306a36Sopenharmony_ci	struct iwl_fw_mon_reg write_ptr;
29762306a36Sopenharmony_ci	struct iwl_fw_mon_reg cycle_cnt;
29862306a36Sopenharmony_ci	struct iwl_fw_mon_reg cur_frag;
29962306a36Sopenharmony_ci};
30062306a36Sopenharmony_ci
30162306a36Sopenharmony_ci/**
30262306a36Sopenharmony_ci * struct iwl_cfg
30362306a36Sopenharmony_ci * @trans: the trans-specific configuration part
30462306a36Sopenharmony_ci * @name: Official name of the device
30562306a36Sopenharmony_ci * @fw_name_pre: Firmware filename prefix. The api version and extension
30662306a36Sopenharmony_ci *	(.ucode) will be added to filename before loading from disk. The
30762306a36Sopenharmony_ci *	filename is constructed as <fw_name_pre>-<api>.ucode.
30862306a36Sopenharmony_ci * @fw_name_mac: MAC name for this config, the remaining pieces of the
30962306a36Sopenharmony_ci *	name will be generated dynamically
31062306a36Sopenharmony_ci * @ucode_api_max: Highest version of uCode API supported by driver.
31162306a36Sopenharmony_ci * @ucode_api_min: Lowest version of uCode API supported by driver.
31262306a36Sopenharmony_ci * @max_inst_size: The maximal length of the fw inst section (only DVM)
31362306a36Sopenharmony_ci * @max_data_size: The maximal length of the fw data section (only DVM)
31462306a36Sopenharmony_ci * @valid_tx_ant: valid transmit antenna
31562306a36Sopenharmony_ci * @valid_rx_ant: valid receive antenna
31662306a36Sopenharmony_ci * @non_shared_ant: the antenna that is for WiFi only
31762306a36Sopenharmony_ci * @nvm_ver: NVM version
31862306a36Sopenharmony_ci * @nvm_calib_ver: NVM calibration version
31962306a36Sopenharmony_ci * @lib: pointer to the lib ops
32062306a36Sopenharmony_ci * @ht_params: point to ht parameters
32162306a36Sopenharmony_ci * @led_mode: 0=blinking, 1=On(RF On)/Off(RF Off)
32262306a36Sopenharmony_ci * @rx_with_siso_diversity: 1x1 device with rx antenna diversity
32362306a36Sopenharmony_ci * @tx_with_siso_diversity: 1x1 device with tx antenna diversity
32462306a36Sopenharmony_ci * @internal_wimax_coex: internal wifi/wimax combo device
32562306a36Sopenharmony_ci * @high_temp: Is this NIC is designated to be in high temperature.
32662306a36Sopenharmony_ci * @host_interrupt_operation_mode: device needs host interrupt operation
32762306a36Sopenharmony_ci *	mode set
32862306a36Sopenharmony_ci * @nvm_hw_section_num: the ID of the HW NVM section
32962306a36Sopenharmony_ci * @mac_addr_from_csr: read HW address from CSR registers at this offset
33062306a36Sopenharmony_ci * @features: hw features, any combination of feature_passlist
33162306a36Sopenharmony_ci * @pwr_tx_backoffs: translation table between power limits and backoffs
33262306a36Sopenharmony_ci * @max_tx_agg_size: max TX aggregation size of the ADDBA request/response
33362306a36Sopenharmony_ci * @dccm_offset: offset from which DCCM begins
33462306a36Sopenharmony_ci * @dccm_len: length of DCCM (including runtime stack CCM)
33562306a36Sopenharmony_ci * @dccm2_offset: offset from which the second DCCM begins
33662306a36Sopenharmony_ci * @dccm2_len: length of the second DCCM
33762306a36Sopenharmony_ci * @smem_offset: offset from which the SMEM begins
33862306a36Sopenharmony_ci * @smem_len: the length of SMEM
33962306a36Sopenharmony_ci * @vht_mu_mimo_supported: VHT MU-MIMO support
34062306a36Sopenharmony_ci * @cdb: CDB support
34162306a36Sopenharmony_ci * @nvm_type: see &enum iwl_nvm_type
34262306a36Sopenharmony_ci * @d3_debug_data_base_addr: base address where D3 debug data is stored
34362306a36Sopenharmony_ci * @d3_debug_data_length: length of the D3 debug data
34462306a36Sopenharmony_ci * @bisr_workaround: BISR hardware workaround (for 22260 series devices)
34562306a36Sopenharmony_ci * @min_txq_size: minimum number of slots required in a TX queue
34662306a36Sopenharmony_ci * @uhb_supported: ultra high band channels supported
34762306a36Sopenharmony_ci * @min_ba_txq_size: minimum number of slots required in a TX queue which
34862306a36Sopenharmony_ci *	based on hardware support (HE - 256, EHT - 1K).
34962306a36Sopenharmony_ci * @num_rbds: number of receive buffer descriptors to use
35062306a36Sopenharmony_ci *	(only used for multi-queue capable devices)
35162306a36Sopenharmony_ci * @mac_addr_csr_base: CSR base register for MAC address access, if not set
35262306a36Sopenharmony_ci *	assume 0x380
35362306a36Sopenharmony_ci *
35462306a36Sopenharmony_ci * We enable the driver to be backward compatible wrt. hardware features.
35562306a36Sopenharmony_ci * API differences in uCode shouldn't be handled here but through TLVs
35662306a36Sopenharmony_ci * and/or the uCode API version instead.
35762306a36Sopenharmony_ci */
35862306a36Sopenharmony_cistruct iwl_cfg {
35962306a36Sopenharmony_ci	struct iwl_cfg_trans_params trans;
36062306a36Sopenharmony_ci	/* params specific to an individual device within a device family */
36162306a36Sopenharmony_ci	const char *name;
36262306a36Sopenharmony_ci	const char *fw_name_pre;
36362306a36Sopenharmony_ci	const char *fw_name_mac;
36462306a36Sopenharmony_ci	/* params likely to change within a device family */
36562306a36Sopenharmony_ci	const struct iwl_ht_params *ht_params;
36662306a36Sopenharmony_ci	const struct iwl_eeprom_params *eeprom_params;
36762306a36Sopenharmony_ci	const struct iwl_pwr_tx_backoff *pwr_tx_backoffs;
36862306a36Sopenharmony_ci	const char *default_nvm_file_C_step;
36962306a36Sopenharmony_ci	const struct iwl_tt_params *thermal_params;
37062306a36Sopenharmony_ci	enum iwl_led_mode led_mode;
37162306a36Sopenharmony_ci	enum iwl_nvm_type nvm_type;
37262306a36Sopenharmony_ci	u32 max_data_size;
37362306a36Sopenharmony_ci	u32 max_inst_size;
37462306a36Sopenharmony_ci	netdev_features_t features;
37562306a36Sopenharmony_ci	u32 dccm_offset;
37662306a36Sopenharmony_ci	u32 dccm_len;
37762306a36Sopenharmony_ci	u32 dccm2_offset;
37862306a36Sopenharmony_ci	u32 dccm2_len;
37962306a36Sopenharmony_ci	u32 smem_offset;
38062306a36Sopenharmony_ci	u32 smem_len;
38162306a36Sopenharmony_ci	u16 nvm_ver;
38262306a36Sopenharmony_ci	u16 nvm_calib_ver;
38362306a36Sopenharmony_ci	u32 rx_with_siso_diversity:1,
38462306a36Sopenharmony_ci	    tx_with_siso_diversity:1,
38562306a36Sopenharmony_ci	    bt_shared_single_ant:1,
38662306a36Sopenharmony_ci	    internal_wimax_coex:1,
38762306a36Sopenharmony_ci	    host_interrupt_operation_mode:1,
38862306a36Sopenharmony_ci	    high_temp:1,
38962306a36Sopenharmony_ci	    mac_addr_from_csr:10,
39062306a36Sopenharmony_ci	    lp_xtal_workaround:1,
39162306a36Sopenharmony_ci	    apmg_not_supported:1,
39262306a36Sopenharmony_ci	    vht_mu_mimo_supported:1,
39362306a36Sopenharmony_ci	    cdb:1,
39462306a36Sopenharmony_ci	    dbgc_supported:1,
39562306a36Sopenharmony_ci	    uhb_supported:1;
39662306a36Sopenharmony_ci	u8 valid_tx_ant;
39762306a36Sopenharmony_ci	u8 valid_rx_ant;
39862306a36Sopenharmony_ci	u8 non_shared_ant;
39962306a36Sopenharmony_ci	u8 nvm_hw_section_num;
40062306a36Sopenharmony_ci	u8 max_tx_agg_size;
40162306a36Sopenharmony_ci	u8 ucode_api_max;
40262306a36Sopenharmony_ci	u8 ucode_api_min;
40362306a36Sopenharmony_ci	u16 num_rbds;
40462306a36Sopenharmony_ci	u32 min_umac_error_event_table;
40562306a36Sopenharmony_ci	u32 d3_debug_data_base_addr;
40662306a36Sopenharmony_ci	u32 d3_debug_data_length;
40762306a36Sopenharmony_ci	u32 min_txq_size;
40862306a36Sopenharmony_ci	u32 gp2_reg_addr;
40962306a36Sopenharmony_ci	u32 min_ba_txq_size;
41062306a36Sopenharmony_ci	const struct iwl_fw_mon_regs mon_dram_regs;
41162306a36Sopenharmony_ci	const struct iwl_fw_mon_regs mon_smem_regs;
41262306a36Sopenharmony_ci	const struct iwl_fw_mon_regs mon_dbgi_regs;
41362306a36Sopenharmony_ci};
41462306a36Sopenharmony_ci
41562306a36Sopenharmony_ci#define IWL_CFG_ANY (~0)
41662306a36Sopenharmony_ci
41762306a36Sopenharmony_ci#define IWL_CFG_MAC_TYPE_PU		0x31
41862306a36Sopenharmony_ci#define IWL_CFG_MAC_TYPE_TH		0x32
41962306a36Sopenharmony_ci#define IWL_CFG_MAC_TYPE_QU		0x33
42062306a36Sopenharmony_ci#define IWL_CFG_MAC_TYPE_QUZ		0x35
42162306a36Sopenharmony_ci#define IWL_CFG_MAC_TYPE_SO		0x37
42262306a36Sopenharmony_ci#define IWL_CFG_MAC_TYPE_SOF		0x43
42362306a36Sopenharmony_ci#define IWL_CFG_MAC_TYPE_MA		0x44
42462306a36Sopenharmony_ci#define IWL_CFG_MAC_TYPE_BZ		0x46
42562306a36Sopenharmony_ci#define IWL_CFG_MAC_TYPE_GL		0x47
42662306a36Sopenharmony_ci#define IWL_CFG_MAC_TYPE_SC		0x48
42762306a36Sopenharmony_ci
42862306a36Sopenharmony_ci#define IWL_CFG_RF_TYPE_TH		0x105
42962306a36Sopenharmony_ci#define IWL_CFG_RF_TYPE_TH1		0x108
43062306a36Sopenharmony_ci#define IWL_CFG_RF_TYPE_JF2		0x105
43162306a36Sopenharmony_ci#define IWL_CFG_RF_TYPE_JF1		0x108
43262306a36Sopenharmony_ci#define IWL_CFG_RF_TYPE_HR2		0x10A
43362306a36Sopenharmony_ci#define IWL_CFG_RF_TYPE_HR1		0x10C
43462306a36Sopenharmony_ci#define IWL_CFG_RF_TYPE_GF		0x10D
43562306a36Sopenharmony_ci#define IWL_CFG_RF_TYPE_MR		0x110
43662306a36Sopenharmony_ci#define IWL_CFG_RF_TYPE_MS		0x111
43762306a36Sopenharmony_ci#define IWL_CFG_RF_TYPE_FM		0x112
43862306a36Sopenharmony_ci#define IWL_CFG_RF_TYPE_WH		0x113
43962306a36Sopenharmony_ci
44062306a36Sopenharmony_ci#define IWL_CFG_RF_ID_TH		0x1
44162306a36Sopenharmony_ci#define IWL_CFG_RF_ID_TH1		0x1
44262306a36Sopenharmony_ci#define IWL_CFG_RF_ID_JF		0x3
44362306a36Sopenharmony_ci#define IWL_CFG_RF_ID_JF1		0x6
44462306a36Sopenharmony_ci#define IWL_CFG_RF_ID_JF1_DIV		0xA
44562306a36Sopenharmony_ci#define IWL_CFG_RF_ID_HR		0x7
44662306a36Sopenharmony_ci#define IWL_CFG_RF_ID_HR1		0x4
44762306a36Sopenharmony_ci
44862306a36Sopenharmony_ci#define IWL_CFG_NO_160			0x1
44962306a36Sopenharmony_ci#define IWL_CFG_160			0x0
45062306a36Sopenharmony_ci
45162306a36Sopenharmony_ci#define IWL_CFG_CORES_BT		0x0
45262306a36Sopenharmony_ci#define IWL_CFG_CORES_BT_GNSS		0x5
45362306a36Sopenharmony_ci
45462306a36Sopenharmony_ci#define IWL_CFG_NO_CDB			0x0
45562306a36Sopenharmony_ci#define IWL_CFG_CDB			0x1
45662306a36Sopenharmony_ci
45762306a36Sopenharmony_ci#define IWL_CFG_NO_JACKET		0x0
45862306a36Sopenharmony_ci#define IWL_CFG_IS_JACKET		0x1
45962306a36Sopenharmony_ci
46062306a36Sopenharmony_ci#define IWL_SUBDEVICE_RF_ID(subdevice)	((u16)((subdevice) & 0x00F0) >> 4)
46162306a36Sopenharmony_ci#define IWL_SUBDEVICE_NO_160(subdevice)	((u16)((subdevice) & 0x0200) >> 9)
46262306a36Sopenharmony_ci#define IWL_SUBDEVICE_CORES(subdevice)	((u16)((subdevice) & 0x1C00) >> 10)
46362306a36Sopenharmony_ci
46462306a36Sopenharmony_cistruct iwl_dev_info {
46562306a36Sopenharmony_ci	u16 device;
46662306a36Sopenharmony_ci	u16 subdevice;
46762306a36Sopenharmony_ci	u16 mac_type;
46862306a36Sopenharmony_ci	u16 rf_type;
46962306a36Sopenharmony_ci	u8 mac_step;
47062306a36Sopenharmony_ci	u8 rf_step;
47162306a36Sopenharmony_ci	u8 rf_id;
47262306a36Sopenharmony_ci	u8 no_160;
47362306a36Sopenharmony_ci	u8 cores;
47462306a36Sopenharmony_ci	u8 cdb;
47562306a36Sopenharmony_ci	u8 jacket;
47662306a36Sopenharmony_ci	const struct iwl_cfg *cfg;
47762306a36Sopenharmony_ci	const char *name;
47862306a36Sopenharmony_ci};
47962306a36Sopenharmony_ci
48062306a36Sopenharmony_ci/*
48162306a36Sopenharmony_ci * This list declares the config structures for all devices.
48262306a36Sopenharmony_ci */
48362306a36Sopenharmony_ciextern const struct iwl_cfg_trans_params iwl9000_trans_cfg;
48462306a36Sopenharmony_ciextern const struct iwl_cfg_trans_params iwl9560_trans_cfg;
48562306a36Sopenharmony_ciextern const struct iwl_cfg_trans_params iwl9560_long_latency_trans_cfg;
48662306a36Sopenharmony_ciextern const struct iwl_cfg_trans_params iwl9560_shared_clk_trans_cfg;
48762306a36Sopenharmony_ciextern const struct iwl_cfg_trans_params iwl_qu_trans_cfg;
48862306a36Sopenharmony_ciextern const struct iwl_cfg_trans_params iwl_qu_medium_latency_trans_cfg;
48962306a36Sopenharmony_ciextern const struct iwl_cfg_trans_params iwl_qu_long_latency_trans_cfg;
49062306a36Sopenharmony_ciextern const struct iwl_cfg_trans_params iwl_ax200_trans_cfg;
49162306a36Sopenharmony_ciextern const struct iwl_cfg_trans_params iwl_so_trans_cfg;
49262306a36Sopenharmony_ciextern const struct iwl_cfg_trans_params iwl_so_long_latency_trans_cfg;
49362306a36Sopenharmony_ciextern const struct iwl_cfg_trans_params iwl_so_long_latency_imr_trans_cfg;
49462306a36Sopenharmony_ciextern const struct iwl_cfg_trans_params iwl_ma_trans_cfg;
49562306a36Sopenharmony_ciextern const struct iwl_cfg_trans_params iwl_bz_trans_cfg;
49662306a36Sopenharmony_ciextern const struct iwl_cfg_trans_params iwl_sc_trans_cfg;
49762306a36Sopenharmony_ciextern const char iwl9162_name[];
49862306a36Sopenharmony_ciextern const char iwl9260_name[];
49962306a36Sopenharmony_ciextern const char iwl9260_1_name[];
50062306a36Sopenharmony_ciextern const char iwl9270_name[];
50162306a36Sopenharmony_ciextern const char iwl9461_name[];
50262306a36Sopenharmony_ciextern const char iwl9462_name[];
50362306a36Sopenharmony_ciextern const char iwl9560_name[];
50462306a36Sopenharmony_ciextern const char iwl9162_160_name[];
50562306a36Sopenharmony_ciextern const char iwl9260_160_name[];
50662306a36Sopenharmony_ciextern const char iwl9270_160_name[];
50762306a36Sopenharmony_ciextern const char iwl9461_160_name[];
50862306a36Sopenharmony_ciextern const char iwl9462_160_name[];
50962306a36Sopenharmony_ciextern const char iwl9560_160_name[];
51062306a36Sopenharmony_ciextern const char iwl9260_killer_1550_name[];
51162306a36Sopenharmony_ciextern const char iwl9560_killer_1550i_name[];
51262306a36Sopenharmony_ciextern const char iwl9560_killer_1550s_name[];
51362306a36Sopenharmony_ciextern const char iwl_ax200_name[];
51462306a36Sopenharmony_ciextern const char iwl_ax203_name[];
51562306a36Sopenharmony_ciextern const char iwl_ax204_name[];
51662306a36Sopenharmony_ciextern const char iwl_ax201_name[];
51762306a36Sopenharmony_ciextern const char iwl_ax101_name[];
51862306a36Sopenharmony_ciextern const char iwl_ax200_killer_1650w_name[];
51962306a36Sopenharmony_ciextern const char iwl_ax200_killer_1650x_name[];
52062306a36Sopenharmony_ciextern const char iwl_ax201_killer_1650s_name[];
52162306a36Sopenharmony_ciextern const char iwl_ax201_killer_1650i_name[];
52262306a36Sopenharmony_ciextern const char iwl_ax210_killer_1675w_name[];
52362306a36Sopenharmony_ciextern const char iwl_ax210_killer_1675x_name[];
52462306a36Sopenharmony_ciextern const char iwl9560_killer_1550i_160_name[];
52562306a36Sopenharmony_ciextern const char iwl9560_killer_1550s_160_name[];
52662306a36Sopenharmony_ciextern const char iwl_ax211_killer_1675s_name[];
52762306a36Sopenharmony_ciextern const char iwl_ax211_killer_1675i_name[];
52862306a36Sopenharmony_ciextern const char iwl_ax411_killer_1690s_name[];
52962306a36Sopenharmony_ciextern const char iwl_ax411_killer_1690i_name[];
53062306a36Sopenharmony_ciextern const char iwl_ax211_name[];
53162306a36Sopenharmony_ciextern const char iwl_ax221_name[];
53262306a36Sopenharmony_ciextern const char iwl_ax231_name[];
53362306a36Sopenharmony_ciextern const char iwl_ax411_name[];
53462306a36Sopenharmony_ciextern const char iwl_bz_name[];
53562306a36Sopenharmony_ciextern const char iwl_sc_name[];
53662306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_IWLDVM)
53762306a36Sopenharmony_ciextern const struct iwl_cfg iwl5300_agn_cfg;
53862306a36Sopenharmony_ciextern const struct iwl_cfg iwl5100_agn_cfg;
53962306a36Sopenharmony_ciextern const struct iwl_cfg iwl5350_agn_cfg;
54062306a36Sopenharmony_ciextern const struct iwl_cfg iwl5100_bgn_cfg;
54162306a36Sopenharmony_ciextern const struct iwl_cfg iwl5100_abg_cfg;
54262306a36Sopenharmony_ciextern const struct iwl_cfg iwl5150_agn_cfg;
54362306a36Sopenharmony_ciextern const struct iwl_cfg iwl5150_abg_cfg;
54462306a36Sopenharmony_ciextern const struct iwl_cfg iwl6005_2agn_cfg;
54562306a36Sopenharmony_ciextern const struct iwl_cfg iwl6005_2abg_cfg;
54662306a36Sopenharmony_ciextern const struct iwl_cfg iwl6005_2bg_cfg;
54762306a36Sopenharmony_ciextern const struct iwl_cfg iwl6005_2agn_sff_cfg;
54862306a36Sopenharmony_ciextern const struct iwl_cfg iwl6005_2agn_d_cfg;
54962306a36Sopenharmony_ciextern const struct iwl_cfg iwl6005_2agn_mow1_cfg;
55062306a36Sopenharmony_ciextern const struct iwl_cfg iwl6005_2agn_mow2_cfg;
55162306a36Sopenharmony_ciextern const struct iwl_cfg iwl1030_bgn_cfg;
55262306a36Sopenharmony_ciextern const struct iwl_cfg iwl1030_bg_cfg;
55362306a36Sopenharmony_ciextern const struct iwl_cfg iwl6030_2agn_cfg;
55462306a36Sopenharmony_ciextern const struct iwl_cfg iwl6030_2abg_cfg;
55562306a36Sopenharmony_ciextern const struct iwl_cfg iwl6030_2bgn_cfg;
55662306a36Sopenharmony_ciextern const struct iwl_cfg iwl6030_2bg_cfg;
55762306a36Sopenharmony_ciextern const struct iwl_cfg iwl6000i_2agn_cfg;
55862306a36Sopenharmony_ciextern const struct iwl_cfg iwl6000i_2abg_cfg;
55962306a36Sopenharmony_ciextern const struct iwl_cfg iwl6000i_2bg_cfg;
56062306a36Sopenharmony_ciextern const struct iwl_cfg iwl6000_3agn_cfg;
56162306a36Sopenharmony_ciextern const struct iwl_cfg iwl6050_2agn_cfg;
56262306a36Sopenharmony_ciextern const struct iwl_cfg iwl6050_2abg_cfg;
56362306a36Sopenharmony_ciextern const struct iwl_cfg iwl6150_bgn_cfg;
56462306a36Sopenharmony_ciextern const struct iwl_cfg iwl6150_bg_cfg;
56562306a36Sopenharmony_ciextern const struct iwl_cfg iwl1000_bgn_cfg;
56662306a36Sopenharmony_ciextern const struct iwl_cfg iwl1000_bg_cfg;
56762306a36Sopenharmony_ciextern const struct iwl_cfg iwl100_bgn_cfg;
56862306a36Sopenharmony_ciextern const struct iwl_cfg iwl100_bg_cfg;
56962306a36Sopenharmony_ciextern const struct iwl_cfg iwl130_bgn_cfg;
57062306a36Sopenharmony_ciextern const struct iwl_cfg iwl130_bg_cfg;
57162306a36Sopenharmony_ciextern const struct iwl_cfg iwl2000_2bgn_cfg;
57262306a36Sopenharmony_ciextern const struct iwl_cfg iwl2000_2bgn_d_cfg;
57362306a36Sopenharmony_ciextern const struct iwl_cfg iwl2030_2bgn_cfg;
57462306a36Sopenharmony_ciextern const struct iwl_cfg iwl6035_2agn_cfg;
57562306a36Sopenharmony_ciextern const struct iwl_cfg iwl6035_2agn_sff_cfg;
57662306a36Sopenharmony_ciextern const struct iwl_cfg iwl105_bgn_cfg;
57762306a36Sopenharmony_ciextern const struct iwl_cfg iwl105_bgn_d_cfg;
57862306a36Sopenharmony_ciextern const struct iwl_cfg iwl135_bgn_cfg;
57962306a36Sopenharmony_ci#endif /* CONFIG_IWLDVM */
58062306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_IWLMVM)
58162306a36Sopenharmony_ciextern const struct iwl_ht_params iwl_22000_ht_params;
58262306a36Sopenharmony_ciextern const struct iwl_cfg iwl7260_2ac_cfg;
58362306a36Sopenharmony_ciextern const struct iwl_cfg iwl7260_2ac_cfg_high_temp;
58462306a36Sopenharmony_ciextern const struct iwl_cfg iwl7260_2n_cfg;
58562306a36Sopenharmony_ciextern const struct iwl_cfg iwl7260_n_cfg;
58662306a36Sopenharmony_ciextern const struct iwl_cfg iwl3160_2ac_cfg;
58762306a36Sopenharmony_ciextern const struct iwl_cfg iwl3160_2n_cfg;
58862306a36Sopenharmony_ciextern const struct iwl_cfg iwl3160_n_cfg;
58962306a36Sopenharmony_ciextern const struct iwl_cfg iwl3165_2ac_cfg;
59062306a36Sopenharmony_ciextern const struct iwl_cfg iwl3168_2ac_cfg;
59162306a36Sopenharmony_ciextern const struct iwl_cfg iwl7265_2ac_cfg;
59262306a36Sopenharmony_ciextern const struct iwl_cfg iwl7265_2n_cfg;
59362306a36Sopenharmony_ciextern const struct iwl_cfg iwl7265_n_cfg;
59462306a36Sopenharmony_ciextern const struct iwl_cfg iwl7265d_2ac_cfg;
59562306a36Sopenharmony_ciextern const struct iwl_cfg iwl7265d_2n_cfg;
59662306a36Sopenharmony_ciextern const struct iwl_cfg iwl7265d_n_cfg;
59762306a36Sopenharmony_ciextern const struct iwl_cfg iwl8260_2n_cfg;
59862306a36Sopenharmony_ciextern const struct iwl_cfg iwl8260_2ac_cfg;
59962306a36Sopenharmony_ciextern const struct iwl_cfg iwl8265_2ac_cfg;
60062306a36Sopenharmony_ciextern const struct iwl_cfg iwl8275_2ac_cfg;
60162306a36Sopenharmony_ciextern const struct iwl_cfg iwl4165_2ac_cfg;
60262306a36Sopenharmony_ciextern const struct iwl_cfg iwl9260_2ac_cfg;
60362306a36Sopenharmony_ciextern const struct iwl_cfg iwl9560_qu_b0_jf_b0_cfg;
60462306a36Sopenharmony_ciextern const struct iwl_cfg iwl9560_qu_c0_jf_b0_cfg;
60562306a36Sopenharmony_ciextern const struct iwl_cfg iwl9560_quz_a0_jf_b0_cfg;
60662306a36Sopenharmony_ciextern const struct iwl_cfg iwl9560_2ac_cfg_soc;
60762306a36Sopenharmony_ciextern const struct iwl_cfg iwl_qu_b0_hr1_b0;
60862306a36Sopenharmony_ciextern const struct iwl_cfg iwl_qu_c0_hr1_b0;
60962306a36Sopenharmony_ciextern const struct iwl_cfg iwl_quz_a0_hr1_b0;
61062306a36Sopenharmony_ciextern const struct iwl_cfg iwl_qu_b0_hr_b0;
61162306a36Sopenharmony_ciextern const struct iwl_cfg iwl_qu_c0_hr_b0;
61262306a36Sopenharmony_ciextern const struct iwl_cfg iwl_ax200_cfg_cc;
61362306a36Sopenharmony_ciextern const struct iwl_cfg iwl_ax201_cfg_qu_hr;
61462306a36Sopenharmony_ciextern const struct iwl_cfg iwl_ax201_cfg_qu_c0_hr_b0;
61562306a36Sopenharmony_ciextern const struct iwl_cfg iwl_ax201_cfg_quz_hr;
61662306a36Sopenharmony_ciextern const struct iwl_cfg iwl_ax1650i_cfg_quz_hr;
61762306a36Sopenharmony_ciextern const struct iwl_cfg iwl_ax1650s_cfg_quz_hr;
61862306a36Sopenharmony_ciextern const struct iwl_cfg killer1650s_2ax_cfg_qu_b0_hr_b0;
61962306a36Sopenharmony_ciextern const struct iwl_cfg killer1650i_2ax_cfg_qu_b0_hr_b0;
62062306a36Sopenharmony_ciextern const struct iwl_cfg killer1650s_2ax_cfg_qu_c0_hr_b0;
62162306a36Sopenharmony_ciextern const struct iwl_cfg killer1650i_2ax_cfg_qu_c0_hr_b0;
62262306a36Sopenharmony_ciextern const struct iwl_cfg killer1650x_2ax_cfg;
62362306a36Sopenharmony_ciextern const struct iwl_cfg killer1650w_2ax_cfg;
62462306a36Sopenharmony_ciextern const struct iwl_cfg iwlax210_2ax_cfg_so_jf_b0;
62562306a36Sopenharmony_ciextern const struct iwl_cfg iwlax211_2ax_cfg_so_gf_a0;
62662306a36Sopenharmony_ciextern const struct iwl_cfg iwlax211_2ax_cfg_so_gf_a0_long;
62762306a36Sopenharmony_ciextern const struct iwl_cfg iwlax210_2ax_cfg_ty_gf_a0;
62862306a36Sopenharmony_ciextern const struct iwl_cfg iwlax411_2ax_cfg_so_gf4_a0;
62962306a36Sopenharmony_ciextern const struct iwl_cfg iwlax411_2ax_cfg_so_gf4_a0_long;
63062306a36Sopenharmony_ci
63162306a36Sopenharmony_ciextern const struct iwl_cfg iwl_cfg_ma;
63262306a36Sopenharmony_ci
63362306a36Sopenharmony_ciextern const struct iwl_cfg iwl_cfg_so_a0_hr_a0;
63462306a36Sopenharmony_ciextern const struct iwl_cfg iwl_cfg_so_a0_ms_a0;
63562306a36Sopenharmony_ciextern const struct iwl_cfg iwl_cfg_quz_a0_hr_b0;
63662306a36Sopenharmony_ci
63762306a36Sopenharmony_ciextern const struct iwl_cfg iwl_cfg_bz;
63862306a36Sopenharmony_ciextern const struct iwl_cfg iwl_cfg_gl;
63962306a36Sopenharmony_ci
64062306a36Sopenharmony_ciextern const struct iwl_cfg iwl_cfg_sc;
64162306a36Sopenharmony_ci#endif /* CONFIG_IWLMVM */
64262306a36Sopenharmony_ci
64362306a36Sopenharmony_ci#endif /* __IWL_CONFIG_H__ */
644