#ifndef __IWL_CONFIG_H__
#define __IWL_CONFIG_H__
#include <linux/types.h>
#include <linux/netdevice.h>
#include <linux/ieee80211.h>
#include <linux/nl80211.h>
#include <linux/mod_devicetable.h>
#include "iwl-csr.h"
#include "iwl-drv.h"
enum iwl_device_family { … };
enum iwl_led_mode { … };
enum iwl_nvm_type { … };
#define IWL_MAX_PLCP_ERR_THRESHOLD_MIN …
#define IWL_MAX_PLCP_ERR_THRESHOLD_DEF …
#define IWL_MAX_PLCP_ERR_LONG_THRESHOLD_DEF …
#define IWL_MAX_PLCP_ERR_EXT_LONG_THRESHOLD_DEF …
#define IWL_MAX_PLCP_ERR_THRESHOLD_MAX …
#define IWL_MAX_PLCP_ERR_THRESHOLD_DISABLE …
#define IWL_WATCHDOG_DISABLED …
#define IWL_DEF_WD_TIMEOUT …
#define IWL_LONG_WD_TIMEOUT …
#define IWL_MAX_WD_TIMEOUT …
#define IWL_DEFAULT_MAX_TX_POWER …
#define IWL_TX_CSUM_NETIF_FLAGS …
#define IWL_CSUM_NETIF_FLAGS_MASK …
#define ANT_NONE …
#define ANT_INVALID …
#define ANT_A …
#define ANT_B …
#define ANT_C …
#define ANT_AB …
#define ANT_AC …
#define ANT_BC …
#define ANT_ABC …
static inline u8 num_of_ant(u8 mask)
{ … }
struct iwl_base_params { … };
struct iwl_ht_params { … };
struct iwl_tt_tx_backoff { … };
#define TT_TX_BACKOFF_SIZE …
struct iwl_tt_params { … };
#define EEPROM_REG_BAND_1_CHANNELS …
#define EEPROM_REG_BAND_2_CHANNELS …
#define EEPROM_REG_BAND_3_CHANNELS …
#define EEPROM_REG_BAND_4_CHANNELS …
#define EEPROM_REG_BAND_5_CHANNELS …
#define EEPROM_REG_BAND_24_HT40_CHANNELS …
#define EEPROM_REG_BAND_52_HT40_CHANNELS …
#define EEPROM_6000_REG_BAND_24_HT40_CHANNELS …
#define EEPROM_REGULATORY_BAND_NO_HT40 …
#define OTP_LOW_IMAGE_SIZE_2K …
#define OTP_LOW_IMAGE_SIZE_16K …
#define OTP_LOW_IMAGE_SIZE_32K …
struct iwl_eeprom_params { … };
struct iwl_pwr_tx_backoff { … };
enum iwl_cfg_trans_ltr_delay { … };
struct iwl_cfg_trans_params { … };
struct iwl_fw_mon_reg { … };
struct iwl_fw_mon_regs { … };
struct iwl_cfg { … };
#define IWL_CFG_ANY …
#define IWL_CFG_MAC_TYPE_PU …
#define IWL_CFG_MAC_TYPE_TH …
#define IWL_CFG_MAC_TYPE_QU …
#define IWL_CFG_MAC_TYPE_QUZ …
#define IWL_CFG_MAC_TYPE_SO …
#define IWL_CFG_MAC_TYPE_SOF …
#define IWL_CFG_MAC_TYPE_MA …
#define IWL_CFG_MAC_TYPE_BZ …
#define IWL_CFG_MAC_TYPE_GL …
#define IWL_CFG_MAC_TYPE_SC …
#define IWL_CFG_MAC_TYPE_SC2 …
#define IWL_CFG_MAC_TYPE_SC2F …
#define IWL_CFG_MAC_TYPE_BZ_W …
#define IWL_CFG_RF_TYPE_TH …
#define IWL_CFG_RF_TYPE_TH1 …
#define IWL_CFG_RF_TYPE_JF2 …
#define IWL_CFG_RF_TYPE_JF1 …
#define IWL_CFG_RF_TYPE_HR2 …
#define IWL_CFG_RF_TYPE_HR1 …
#define IWL_CFG_RF_TYPE_GF …
#define IWL_CFG_RF_TYPE_FM …
#define IWL_CFG_RF_TYPE_WH …
#define IWL_CFG_RF_ID_TH …
#define IWL_CFG_RF_ID_TH1 …
#define IWL_CFG_RF_ID_JF …
#define IWL_CFG_RF_ID_JF1 …
#define IWL_CFG_RF_ID_JF1_DIV …
#define IWL_CFG_RF_ID_HR …
#define IWL_CFG_RF_ID_HR1 …
#define IWL_CFG_NO_160 …
#define IWL_CFG_160 …
#define IWL_CFG_NO_320 …
#define IWL_CFG_320 …
#define IWL_CFG_CORES_BT …
#define IWL_CFG_CORES_BT_GNSS …
#define IWL_CFG_NO_CDB …
#define IWL_CFG_CDB …
#define IWL_CFG_NO_JACKET …
#define IWL_CFG_IS_JACKET …
#define IWL_SUBDEVICE_RF_ID(subdevice) …
#define IWL_SUBDEVICE_NO_160(subdevice) …
#define IWL_SUBDEVICE_CORES(subdevice) …
struct iwl_dev_info { … };
#if IS_ENABLED(CONFIG_IWLWIFI_KUNIT_TESTS)
extern const struct iwl_dev_info iwl_dev_info_table[];
extern const unsigned int iwl_dev_info_table_size;
const struct iwl_dev_info *
iwl_pci_find_dev_info(u16 device, u16 subsystem_device,
u16 mac_type, u8 mac_step, u16 rf_type, u8 cdb,
u8 jacket, u8 rf_id, u8 no_160, u8 cores, u8 rf_step);
extern const struct pci_device_id iwl_hw_card_ids[];
#endif
extern const struct iwl_cfg_trans_params iwl9000_trans_cfg;
extern const struct iwl_cfg_trans_params iwl9560_trans_cfg;
extern const struct iwl_cfg_trans_params iwl9560_long_latency_trans_cfg;
extern const struct iwl_cfg_trans_params iwl9560_shared_clk_trans_cfg;
extern const struct iwl_cfg_trans_params iwl_qu_trans_cfg;
extern const struct iwl_cfg_trans_params iwl_qu_medium_latency_trans_cfg;
extern const struct iwl_cfg_trans_params iwl_qu_long_latency_trans_cfg;
extern const struct iwl_cfg_trans_params iwl_ax200_trans_cfg;
extern const struct iwl_cfg_trans_params iwl_so_trans_cfg;
extern const struct iwl_cfg_trans_params iwl_so_long_latency_trans_cfg;
extern const struct iwl_cfg_trans_params iwl_so_long_latency_imr_trans_cfg;
extern const struct iwl_cfg_trans_params iwl_ma_trans_cfg;
extern const struct iwl_cfg_trans_params iwl_bz_trans_cfg;
extern const struct iwl_cfg_trans_params iwl_sc_trans_cfg;
extern const char iwl9162_name[];
extern const char iwl9260_name[];
extern const char iwl9260_1_name[];
extern const char iwl9270_name[];
extern const char iwl9461_name[];
extern const char iwl9462_name[];
extern const char iwl9560_name[];
extern const char iwl9162_160_name[];
extern const char iwl9260_160_name[];
extern const char iwl9270_160_name[];
extern const char iwl9461_160_name[];
extern const char iwl9462_160_name[];
extern const char iwl9560_160_name[];
extern const char iwl9260_killer_1550_name[];
extern const char iwl9560_killer_1550i_name[];
extern const char iwl9560_killer_1550s_name[];
extern const char iwl_ax200_name[];
extern const char iwl_ax203_name[];
extern const char iwl_ax204_name[];
extern const char iwl_ax201_name[];
extern const char iwl_ax101_name[];
extern const char iwl_ax200_killer_1650w_name[];
extern const char iwl_ax200_killer_1650x_name[];
extern const char iwl_ax201_killer_1650s_name[];
extern const char iwl_ax201_killer_1650i_name[];
extern const char iwl_ax210_killer_1675w_name[];
extern const char iwl_ax210_killer_1675x_name[];
extern const char iwl9560_killer_1550i_160_name[];
extern const char iwl9560_killer_1550s_160_name[];
extern const char iwl_ax211_killer_1675s_name[];
extern const char iwl_ax211_killer_1675i_name[];
extern const char iwl_ax411_killer_1690s_name[];
extern const char iwl_ax411_killer_1690i_name[];
extern const char iwl_ax211_name[];
extern const char iwl_ax221_name[];
extern const char iwl_ax231_name[];
extern const char iwl_ax411_name[];
extern const char iwl_bz_name[];
extern const char iwl_fm_name[];
extern const char iwl_gl_name[];
extern const char iwl_mtp_name[];
extern const char iwl_sc_name[];
extern const char iwl_sc2_name[];
extern const char iwl_sc2f_name[];
#if IS_ENABLED(CONFIG_IWLDVM)
extern const struct iwl_cfg iwl5300_agn_cfg;
extern const struct iwl_cfg iwl5100_agn_cfg;
extern const struct iwl_cfg iwl5350_agn_cfg;
extern const struct iwl_cfg iwl5100_bgn_cfg;
extern const struct iwl_cfg iwl5100_abg_cfg;
extern const struct iwl_cfg iwl5150_agn_cfg;
extern const struct iwl_cfg iwl5150_abg_cfg;
extern const struct iwl_cfg iwl6005_2agn_cfg;
extern const struct iwl_cfg iwl6005_2abg_cfg;
extern const struct iwl_cfg iwl6005_2bg_cfg;
extern const struct iwl_cfg iwl6005_2agn_sff_cfg;
extern const struct iwl_cfg iwl6005_2agn_d_cfg;
extern const struct iwl_cfg iwl6005_2agn_mow1_cfg;
extern const struct iwl_cfg iwl6005_2agn_mow2_cfg;
extern const struct iwl_cfg iwl1030_bgn_cfg;
extern const struct iwl_cfg iwl1030_bg_cfg;
extern const struct iwl_cfg iwl6030_2agn_cfg;
extern const struct iwl_cfg iwl6030_2abg_cfg;
extern const struct iwl_cfg iwl6030_2bgn_cfg;
extern const struct iwl_cfg iwl6030_2bg_cfg;
extern const struct iwl_cfg iwl6000i_2agn_cfg;
extern const struct iwl_cfg iwl6000i_2abg_cfg;
extern const struct iwl_cfg iwl6000i_2bg_cfg;
extern const struct iwl_cfg iwl6000_3agn_cfg;
extern const struct iwl_cfg iwl6050_2agn_cfg;
extern const struct iwl_cfg iwl6050_2abg_cfg;
extern const struct iwl_cfg iwl6150_bgn_cfg;
extern const struct iwl_cfg iwl6150_bg_cfg;
extern const struct iwl_cfg iwl1000_bgn_cfg;
extern const struct iwl_cfg iwl1000_bg_cfg;
extern const struct iwl_cfg iwl100_bgn_cfg;
extern const struct iwl_cfg iwl100_bg_cfg;
extern const struct iwl_cfg iwl130_bgn_cfg;
extern const struct iwl_cfg iwl130_bg_cfg;
extern const struct iwl_cfg iwl2000_2bgn_cfg;
extern const struct iwl_cfg iwl2000_2bgn_d_cfg;
extern const struct iwl_cfg iwl2030_2bgn_cfg;
extern const struct iwl_cfg iwl6035_2agn_cfg;
extern const struct iwl_cfg iwl6035_2agn_sff_cfg;
extern const struct iwl_cfg iwl105_bgn_cfg;
extern const struct iwl_cfg iwl105_bgn_d_cfg;
extern const struct iwl_cfg iwl135_bgn_cfg;
#endif
#if IS_ENABLED(CONFIG_IWLMVM)
extern const struct iwl_ht_params iwl_22000_ht_params;
extern const struct iwl_cfg iwl7260_2ac_cfg;
extern const struct iwl_cfg iwl7260_2ac_cfg_high_temp;
extern const struct iwl_cfg iwl7260_2n_cfg;
extern const struct iwl_cfg iwl7260_n_cfg;
extern const struct iwl_cfg iwl3160_2ac_cfg;
extern const struct iwl_cfg iwl3160_2n_cfg;
extern const struct iwl_cfg iwl3160_n_cfg;
extern const struct iwl_cfg iwl3165_2ac_cfg;
extern const struct iwl_cfg iwl3168_2ac_cfg;
extern const struct iwl_cfg iwl7265_2ac_cfg;
extern const struct iwl_cfg iwl7265_2n_cfg;
extern const struct iwl_cfg iwl7265_n_cfg;
extern const struct iwl_cfg iwl7265d_2ac_cfg;
extern const struct iwl_cfg iwl7265d_2n_cfg;
extern const struct iwl_cfg iwl7265d_n_cfg;
extern const struct iwl_cfg iwl8260_2n_cfg;
extern const struct iwl_cfg iwl8260_2ac_cfg;
extern const struct iwl_cfg iwl8265_2ac_cfg;
extern const struct iwl_cfg iwl8275_2ac_cfg;
extern const struct iwl_cfg iwl4165_2ac_cfg;
extern const struct iwl_cfg iwl9260_2ac_cfg;
extern const struct iwl_cfg iwl9560_qu_b0_jf_b0_cfg;
extern const struct iwl_cfg iwl9560_qu_c0_jf_b0_cfg;
extern const struct iwl_cfg iwl9560_quz_a0_jf_b0_cfg;
extern const struct iwl_cfg iwl9560_2ac_cfg_soc;
extern const struct iwl_cfg iwl_qu_b0_hr1_b0;
extern const struct iwl_cfg iwl_qu_c0_hr1_b0;
extern const struct iwl_cfg iwl_quz_a0_hr1_b0;
extern const struct iwl_cfg iwl_qu_b0_hr_b0;
extern const struct iwl_cfg iwl_qu_c0_hr_b0;
extern const struct iwl_cfg iwl_ax200_cfg_cc;
extern const struct iwl_cfg iwl_ax201_cfg_qu_hr;
extern const struct iwl_cfg iwl_ax201_cfg_qu_c0_hr_b0;
extern const struct iwl_cfg iwl_ax201_cfg_quz_hr;
extern const struct iwl_cfg iwl_ax1650i_cfg_quz_hr;
extern const struct iwl_cfg iwl_ax1650s_cfg_quz_hr;
extern const struct iwl_cfg killer1650s_2ax_cfg_qu_b0_hr_b0;
extern const struct iwl_cfg killer1650i_2ax_cfg_qu_b0_hr_b0;
extern const struct iwl_cfg killer1650s_2ax_cfg_qu_c0_hr_b0;
extern const struct iwl_cfg killer1650i_2ax_cfg_qu_c0_hr_b0;
extern const struct iwl_cfg killer1650x_2ax_cfg;
extern const struct iwl_cfg killer1650w_2ax_cfg;
extern const struct iwl_cfg iwlax210_2ax_cfg_so_jf_b0;
extern const struct iwl_cfg iwlax211_2ax_cfg_so_gf_a0;
extern const struct iwl_cfg iwlax211_2ax_cfg_so_gf_a0_long;
extern const struct iwl_cfg iwlax210_2ax_cfg_ty_gf_a0;
extern const struct iwl_cfg iwlax411_2ax_cfg_so_gf4_a0;
extern const struct iwl_cfg iwlax411_2ax_cfg_so_gf4_a0_long;
extern const struct iwl_cfg iwl_cfg_ma;
extern const struct iwl_cfg iwl_cfg_so_a0_hr_a0;
extern const struct iwl_cfg iwl_cfg_so_a0_ms_a0;
extern const struct iwl_cfg iwl_cfg_quz_a0_hr_b0;
extern const struct iwl_cfg iwl_cfg_bz;
extern const struct iwl_cfg iwl_cfg_gl;
extern const struct iwl_cfg iwl_cfg_sc;
extern const struct iwl_cfg iwl_cfg_sc2;
extern const struct iwl_cfg iwl_cfg_sc2f;
#endif
#endif