162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0-only 262306a36Sopenharmony_ci/****************************************************************************** 362306a36Sopenharmony_ci * 462306a36Sopenharmony_ci * Copyright(c) 2008 - 2014 Intel Corporation. All rights reserved. 562306a36Sopenharmony_ci * Copyright(c) 2018 - 2020, 2023 Intel Corporation 662306a36Sopenharmony_ci *****************************************************************************/ 762306a36Sopenharmony_ci 862306a36Sopenharmony_ci#include <linux/module.h> 962306a36Sopenharmony_ci#include <linux/stringify.h> 1062306a36Sopenharmony_ci#include "iwl-config.h" 1162306a36Sopenharmony_ci#include "iwl-agn-hw.h" 1262306a36Sopenharmony_ci#include "dvm/commands.h" /* needed for BT for now */ 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ci/* Highest firmware API version supported */ 1562306a36Sopenharmony_ci#define IWL6000_UCODE_API_MAX 6 1662306a36Sopenharmony_ci#define IWL6050_UCODE_API_MAX 5 1762306a36Sopenharmony_ci#define IWL6000G2_UCODE_API_MAX 6 1862306a36Sopenharmony_ci#define IWL6035_UCODE_API_MAX 6 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ci/* Lowest firmware API version supported */ 2162306a36Sopenharmony_ci#define IWL6000_UCODE_API_MIN 4 2262306a36Sopenharmony_ci#define IWL6050_UCODE_API_MIN 4 2362306a36Sopenharmony_ci#define IWL6000G2_UCODE_API_MIN 5 2462306a36Sopenharmony_ci#define IWL6035_UCODE_API_MIN 6 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ci/* EEPROM versions */ 2762306a36Sopenharmony_ci#define EEPROM_6000_TX_POWER_VERSION (4) 2862306a36Sopenharmony_ci#define EEPROM_6000_EEPROM_VERSION (0x423) 2962306a36Sopenharmony_ci#define EEPROM_6050_TX_POWER_VERSION (4) 3062306a36Sopenharmony_ci#define EEPROM_6050_EEPROM_VERSION (0x532) 3162306a36Sopenharmony_ci#define EEPROM_6150_TX_POWER_VERSION (6) 3262306a36Sopenharmony_ci#define EEPROM_6150_EEPROM_VERSION (0x553) 3362306a36Sopenharmony_ci#define EEPROM_6005_TX_POWER_VERSION (6) 3462306a36Sopenharmony_ci#define EEPROM_6005_EEPROM_VERSION (0x709) 3562306a36Sopenharmony_ci#define EEPROM_6030_TX_POWER_VERSION (6) 3662306a36Sopenharmony_ci#define EEPROM_6030_EEPROM_VERSION (0x709) 3762306a36Sopenharmony_ci#define EEPROM_6035_TX_POWER_VERSION (6) 3862306a36Sopenharmony_ci#define EEPROM_6035_EEPROM_VERSION (0x753) 3962306a36Sopenharmony_ci 4062306a36Sopenharmony_ci#define IWL6000_FW_PRE "iwlwifi-6000" 4162306a36Sopenharmony_ci#define IWL6000_MODULE_FIRMWARE(api) IWL6000_FW_PRE "-" __stringify(api) ".ucode" 4262306a36Sopenharmony_ci 4362306a36Sopenharmony_ci#define IWL6050_FW_PRE "iwlwifi-6050" 4462306a36Sopenharmony_ci#define IWL6050_MODULE_FIRMWARE(api) IWL6050_FW_PRE "-" __stringify(api) ".ucode" 4562306a36Sopenharmony_ci 4662306a36Sopenharmony_ci#define IWL6005_FW_PRE "iwlwifi-6000g2a" 4762306a36Sopenharmony_ci#define IWL6005_MODULE_FIRMWARE(api) IWL6005_FW_PRE "-" __stringify(api) ".ucode" 4862306a36Sopenharmony_ci 4962306a36Sopenharmony_ci#define IWL6030_FW_PRE "iwlwifi-6000g2b" 5062306a36Sopenharmony_ci#define IWL6030_MODULE_FIRMWARE(api) IWL6030_FW_PRE "-" __stringify(api) ".ucode" 5162306a36Sopenharmony_ci 5262306a36Sopenharmony_cistatic const struct iwl_base_params iwl6000_base_params = { 5362306a36Sopenharmony_ci .eeprom_size = OTP_LOW_IMAGE_SIZE_2K, 5462306a36Sopenharmony_ci .num_of_queues = IWLAGN_NUM_QUEUES, 5562306a36Sopenharmony_ci .max_tfd_queue_size = 256, 5662306a36Sopenharmony_ci .max_ll_items = OTP_MAX_LL_ITEMS_6x00, 5762306a36Sopenharmony_ci .shadow_ram_support = true, 5862306a36Sopenharmony_ci .led_compensation = 51, 5962306a36Sopenharmony_ci .wd_timeout = IWL_DEF_WD_TIMEOUT, 6062306a36Sopenharmony_ci .max_event_log_size = 512, 6162306a36Sopenharmony_ci .shadow_reg_enable = false, /* TODO: fix bugs using this feature */ 6262306a36Sopenharmony_ci .scd_chain_ext_wa = true, 6362306a36Sopenharmony_ci}; 6462306a36Sopenharmony_ci 6562306a36Sopenharmony_cistatic const struct iwl_base_params iwl6050_base_params = { 6662306a36Sopenharmony_ci .eeprom_size = OTP_LOW_IMAGE_SIZE_2K, 6762306a36Sopenharmony_ci .num_of_queues = IWLAGN_NUM_QUEUES, 6862306a36Sopenharmony_ci .max_tfd_queue_size = 256, 6962306a36Sopenharmony_ci .max_ll_items = OTP_MAX_LL_ITEMS_6x50, 7062306a36Sopenharmony_ci .shadow_ram_support = true, 7162306a36Sopenharmony_ci .led_compensation = 51, 7262306a36Sopenharmony_ci .wd_timeout = IWL_DEF_WD_TIMEOUT, 7362306a36Sopenharmony_ci .max_event_log_size = 1024, 7462306a36Sopenharmony_ci .shadow_reg_enable = false, /* TODO: fix bugs using this feature */ 7562306a36Sopenharmony_ci .scd_chain_ext_wa = true, 7662306a36Sopenharmony_ci}; 7762306a36Sopenharmony_ci 7862306a36Sopenharmony_cistatic const struct iwl_base_params iwl6000_g2_base_params = { 7962306a36Sopenharmony_ci .eeprom_size = OTP_LOW_IMAGE_SIZE_2K, 8062306a36Sopenharmony_ci .num_of_queues = IWLAGN_NUM_QUEUES, 8162306a36Sopenharmony_ci .max_tfd_queue_size = 256, 8262306a36Sopenharmony_ci .max_ll_items = OTP_MAX_LL_ITEMS_6x00, 8362306a36Sopenharmony_ci .shadow_ram_support = true, 8462306a36Sopenharmony_ci .led_compensation = 57, 8562306a36Sopenharmony_ci .wd_timeout = IWL_LONG_WD_TIMEOUT, 8662306a36Sopenharmony_ci .max_event_log_size = 512, 8762306a36Sopenharmony_ci .shadow_reg_enable = false, /* TODO: fix bugs using this feature */ 8862306a36Sopenharmony_ci .scd_chain_ext_wa = true, 8962306a36Sopenharmony_ci}; 9062306a36Sopenharmony_ci 9162306a36Sopenharmony_cistatic const struct iwl_ht_params iwl6000_ht_params = { 9262306a36Sopenharmony_ci .ht_greenfield_support = true, 9362306a36Sopenharmony_ci .use_rts_for_aggregation = true, /* use rts/cts protection */ 9462306a36Sopenharmony_ci .ht40_bands = BIT(NL80211_BAND_2GHZ) | BIT(NL80211_BAND_5GHZ), 9562306a36Sopenharmony_ci}; 9662306a36Sopenharmony_ci 9762306a36Sopenharmony_cistatic const struct iwl_eeprom_params iwl6000_eeprom_params = { 9862306a36Sopenharmony_ci .regulatory_bands = { 9962306a36Sopenharmony_ci EEPROM_REG_BAND_1_CHANNELS, 10062306a36Sopenharmony_ci EEPROM_REG_BAND_2_CHANNELS, 10162306a36Sopenharmony_ci EEPROM_REG_BAND_3_CHANNELS, 10262306a36Sopenharmony_ci EEPROM_REG_BAND_4_CHANNELS, 10362306a36Sopenharmony_ci EEPROM_REG_BAND_5_CHANNELS, 10462306a36Sopenharmony_ci EEPROM_6000_REG_BAND_24_HT40_CHANNELS, 10562306a36Sopenharmony_ci EEPROM_REG_BAND_52_HT40_CHANNELS 10662306a36Sopenharmony_ci }, 10762306a36Sopenharmony_ci .enhanced_txpower = true, 10862306a36Sopenharmony_ci}; 10962306a36Sopenharmony_ci 11062306a36Sopenharmony_ci#define IWL_DEVICE_6005 \ 11162306a36Sopenharmony_ci .fw_name_pre = IWL6005_FW_PRE, \ 11262306a36Sopenharmony_ci .ucode_api_max = IWL6000G2_UCODE_API_MAX, \ 11362306a36Sopenharmony_ci .ucode_api_min = IWL6000G2_UCODE_API_MIN, \ 11462306a36Sopenharmony_ci .trans.device_family = IWL_DEVICE_FAMILY_6005, \ 11562306a36Sopenharmony_ci .max_inst_size = IWL60_RTC_INST_SIZE, \ 11662306a36Sopenharmony_ci .max_data_size = IWL60_RTC_DATA_SIZE, \ 11762306a36Sopenharmony_ci .nvm_ver = EEPROM_6005_EEPROM_VERSION, \ 11862306a36Sopenharmony_ci .nvm_calib_ver = EEPROM_6005_TX_POWER_VERSION, \ 11962306a36Sopenharmony_ci .trans.base_params = &iwl6000_g2_base_params, \ 12062306a36Sopenharmony_ci .eeprom_params = &iwl6000_eeprom_params, \ 12162306a36Sopenharmony_ci .led_mode = IWL_LED_RF_STATE 12262306a36Sopenharmony_ci 12362306a36Sopenharmony_ciconst struct iwl_cfg iwl6005_2agn_cfg = { 12462306a36Sopenharmony_ci .name = "Intel(R) Centrino(R) Advanced-N 6205 AGN", 12562306a36Sopenharmony_ci IWL_DEVICE_6005, 12662306a36Sopenharmony_ci .ht_params = &iwl6000_ht_params, 12762306a36Sopenharmony_ci}; 12862306a36Sopenharmony_ci 12962306a36Sopenharmony_ciconst struct iwl_cfg iwl6005_2abg_cfg = { 13062306a36Sopenharmony_ci .name = "Intel(R) Centrino(R) Advanced-N 6205 ABG", 13162306a36Sopenharmony_ci IWL_DEVICE_6005, 13262306a36Sopenharmony_ci}; 13362306a36Sopenharmony_ci 13462306a36Sopenharmony_ciconst struct iwl_cfg iwl6005_2bg_cfg = { 13562306a36Sopenharmony_ci .name = "Intel(R) Centrino(R) Advanced-N 6205 BG", 13662306a36Sopenharmony_ci IWL_DEVICE_6005, 13762306a36Sopenharmony_ci}; 13862306a36Sopenharmony_ci 13962306a36Sopenharmony_ciconst struct iwl_cfg iwl6005_2agn_sff_cfg = { 14062306a36Sopenharmony_ci .name = "Intel(R) Centrino(R) Advanced-N 6205S AGN", 14162306a36Sopenharmony_ci IWL_DEVICE_6005, 14262306a36Sopenharmony_ci .ht_params = &iwl6000_ht_params, 14362306a36Sopenharmony_ci}; 14462306a36Sopenharmony_ci 14562306a36Sopenharmony_ciconst struct iwl_cfg iwl6005_2agn_d_cfg = { 14662306a36Sopenharmony_ci .name = "Intel(R) Centrino(R) Advanced-N 6205D AGN", 14762306a36Sopenharmony_ci IWL_DEVICE_6005, 14862306a36Sopenharmony_ci .ht_params = &iwl6000_ht_params, 14962306a36Sopenharmony_ci}; 15062306a36Sopenharmony_ci 15162306a36Sopenharmony_ciconst struct iwl_cfg iwl6005_2agn_mow1_cfg = { 15262306a36Sopenharmony_ci .name = "Intel(R) Centrino(R) Advanced-N 6206 AGN", 15362306a36Sopenharmony_ci IWL_DEVICE_6005, 15462306a36Sopenharmony_ci .ht_params = &iwl6000_ht_params, 15562306a36Sopenharmony_ci}; 15662306a36Sopenharmony_ci 15762306a36Sopenharmony_ciconst struct iwl_cfg iwl6005_2agn_mow2_cfg = { 15862306a36Sopenharmony_ci .name = "Intel(R) Centrino(R) Advanced-N 6207 AGN", 15962306a36Sopenharmony_ci IWL_DEVICE_6005, 16062306a36Sopenharmony_ci .ht_params = &iwl6000_ht_params, 16162306a36Sopenharmony_ci}; 16262306a36Sopenharmony_ci 16362306a36Sopenharmony_ci#define IWL_DEVICE_6030 \ 16462306a36Sopenharmony_ci .fw_name_pre = IWL6030_FW_PRE, \ 16562306a36Sopenharmony_ci .ucode_api_max = IWL6000G2_UCODE_API_MAX, \ 16662306a36Sopenharmony_ci .ucode_api_min = IWL6000G2_UCODE_API_MIN, \ 16762306a36Sopenharmony_ci .trans.device_family = IWL_DEVICE_FAMILY_6030, \ 16862306a36Sopenharmony_ci .max_inst_size = IWL60_RTC_INST_SIZE, \ 16962306a36Sopenharmony_ci .max_data_size = IWL60_RTC_DATA_SIZE, \ 17062306a36Sopenharmony_ci .nvm_ver = EEPROM_6030_EEPROM_VERSION, \ 17162306a36Sopenharmony_ci .nvm_calib_ver = EEPROM_6030_TX_POWER_VERSION, \ 17262306a36Sopenharmony_ci .trans.base_params = &iwl6000_g2_base_params, \ 17362306a36Sopenharmony_ci .eeprom_params = &iwl6000_eeprom_params, \ 17462306a36Sopenharmony_ci .led_mode = IWL_LED_RF_STATE 17562306a36Sopenharmony_ci 17662306a36Sopenharmony_ciconst struct iwl_cfg iwl6030_2agn_cfg = { 17762306a36Sopenharmony_ci .name = "Intel(R) Centrino(R) Advanced-N 6230 AGN", 17862306a36Sopenharmony_ci IWL_DEVICE_6030, 17962306a36Sopenharmony_ci .ht_params = &iwl6000_ht_params, 18062306a36Sopenharmony_ci}; 18162306a36Sopenharmony_ci 18262306a36Sopenharmony_ciconst struct iwl_cfg iwl6030_2abg_cfg = { 18362306a36Sopenharmony_ci .name = "Intel(R) Centrino(R) Advanced-N 6230 ABG", 18462306a36Sopenharmony_ci IWL_DEVICE_6030, 18562306a36Sopenharmony_ci}; 18662306a36Sopenharmony_ci 18762306a36Sopenharmony_ciconst struct iwl_cfg iwl6030_2bgn_cfg = { 18862306a36Sopenharmony_ci .name = "Intel(R) Centrino(R) Advanced-N 6230 BGN", 18962306a36Sopenharmony_ci IWL_DEVICE_6030, 19062306a36Sopenharmony_ci .ht_params = &iwl6000_ht_params, 19162306a36Sopenharmony_ci}; 19262306a36Sopenharmony_ci 19362306a36Sopenharmony_ciconst struct iwl_cfg iwl6030_2bg_cfg = { 19462306a36Sopenharmony_ci .name = "Intel(R) Centrino(R) Advanced-N 6230 BG", 19562306a36Sopenharmony_ci IWL_DEVICE_6030, 19662306a36Sopenharmony_ci}; 19762306a36Sopenharmony_ci 19862306a36Sopenharmony_ci#define IWL_DEVICE_6035 \ 19962306a36Sopenharmony_ci .fw_name_pre = IWL6030_FW_PRE, \ 20062306a36Sopenharmony_ci .ucode_api_max = IWL6035_UCODE_API_MAX, \ 20162306a36Sopenharmony_ci .ucode_api_min = IWL6035_UCODE_API_MIN, \ 20262306a36Sopenharmony_ci .trans.device_family = IWL_DEVICE_FAMILY_6030, \ 20362306a36Sopenharmony_ci .max_inst_size = IWL60_RTC_INST_SIZE, \ 20462306a36Sopenharmony_ci .max_data_size = IWL60_RTC_DATA_SIZE, \ 20562306a36Sopenharmony_ci .nvm_ver = EEPROM_6030_EEPROM_VERSION, \ 20662306a36Sopenharmony_ci .nvm_calib_ver = EEPROM_6030_TX_POWER_VERSION, \ 20762306a36Sopenharmony_ci .trans.base_params = &iwl6000_g2_base_params, \ 20862306a36Sopenharmony_ci .eeprom_params = &iwl6000_eeprom_params, \ 20962306a36Sopenharmony_ci .led_mode = IWL_LED_RF_STATE 21062306a36Sopenharmony_ci 21162306a36Sopenharmony_ciconst struct iwl_cfg iwl6035_2agn_cfg = { 21262306a36Sopenharmony_ci .name = "Intel(R) Centrino(R) Advanced-N 6235 AGN", 21362306a36Sopenharmony_ci IWL_DEVICE_6035, 21462306a36Sopenharmony_ci .ht_params = &iwl6000_ht_params, 21562306a36Sopenharmony_ci}; 21662306a36Sopenharmony_ci 21762306a36Sopenharmony_ciconst struct iwl_cfg iwl6035_2agn_sff_cfg = { 21862306a36Sopenharmony_ci .name = "Intel(R) Centrino(R) Ultimate-N 6235 AGN", 21962306a36Sopenharmony_ci IWL_DEVICE_6035, 22062306a36Sopenharmony_ci .ht_params = &iwl6000_ht_params, 22162306a36Sopenharmony_ci}; 22262306a36Sopenharmony_ci 22362306a36Sopenharmony_ciconst struct iwl_cfg iwl1030_bgn_cfg = { 22462306a36Sopenharmony_ci .name = "Intel(R) Centrino(R) Wireless-N 1030 BGN", 22562306a36Sopenharmony_ci IWL_DEVICE_6030, 22662306a36Sopenharmony_ci .ht_params = &iwl6000_ht_params, 22762306a36Sopenharmony_ci}; 22862306a36Sopenharmony_ci 22962306a36Sopenharmony_ciconst struct iwl_cfg iwl1030_bg_cfg = { 23062306a36Sopenharmony_ci .name = "Intel(R) Centrino(R) Wireless-N 1030 BG", 23162306a36Sopenharmony_ci IWL_DEVICE_6030, 23262306a36Sopenharmony_ci}; 23362306a36Sopenharmony_ci 23462306a36Sopenharmony_ciconst struct iwl_cfg iwl130_bgn_cfg = { 23562306a36Sopenharmony_ci .name = "Intel(R) Centrino(R) Wireless-N 130 BGN", 23662306a36Sopenharmony_ci IWL_DEVICE_6030, 23762306a36Sopenharmony_ci .ht_params = &iwl6000_ht_params, 23862306a36Sopenharmony_ci .rx_with_siso_diversity = true, 23962306a36Sopenharmony_ci}; 24062306a36Sopenharmony_ci 24162306a36Sopenharmony_ciconst struct iwl_cfg iwl130_bg_cfg = { 24262306a36Sopenharmony_ci .name = "Intel(R) Centrino(R) Wireless-N 130 BG", 24362306a36Sopenharmony_ci IWL_DEVICE_6030, 24462306a36Sopenharmony_ci .rx_with_siso_diversity = true, 24562306a36Sopenharmony_ci}; 24662306a36Sopenharmony_ci 24762306a36Sopenharmony_ci/* 24862306a36Sopenharmony_ci * "i": Internal configuration, use internal Power Amplifier 24962306a36Sopenharmony_ci */ 25062306a36Sopenharmony_ci#define IWL_DEVICE_6000i \ 25162306a36Sopenharmony_ci .fw_name_pre = IWL6000_FW_PRE, \ 25262306a36Sopenharmony_ci .ucode_api_max = IWL6000_UCODE_API_MAX, \ 25362306a36Sopenharmony_ci .ucode_api_min = IWL6000_UCODE_API_MIN, \ 25462306a36Sopenharmony_ci .trans.device_family = IWL_DEVICE_FAMILY_6000i, \ 25562306a36Sopenharmony_ci .max_inst_size = IWL60_RTC_INST_SIZE, \ 25662306a36Sopenharmony_ci .max_data_size = IWL60_RTC_DATA_SIZE, \ 25762306a36Sopenharmony_ci .valid_tx_ant = ANT_BC, /* .cfg overwrite */ \ 25862306a36Sopenharmony_ci .valid_rx_ant = ANT_BC, /* .cfg overwrite */ \ 25962306a36Sopenharmony_ci .nvm_ver = EEPROM_6000_EEPROM_VERSION, \ 26062306a36Sopenharmony_ci .nvm_calib_ver = EEPROM_6000_TX_POWER_VERSION, \ 26162306a36Sopenharmony_ci .trans.base_params = &iwl6000_base_params, \ 26262306a36Sopenharmony_ci .eeprom_params = &iwl6000_eeprom_params, \ 26362306a36Sopenharmony_ci .led_mode = IWL_LED_BLINK 26462306a36Sopenharmony_ci 26562306a36Sopenharmony_ciconst struct iwl_cfg iwl6000i_2agn_cfg = { 26662306a36Sopenharmony_ci .name = "Intel(R) Centrino(R) Advanced-N 6200 AGN", 26762306a36Sopenharmony_ci IWL_DEVICE_6000i, 26862306a36Sopenharmony_ci .ht_params = &iwl6000_ht_params, 26962306a36Sopenharmony_ci}; 27062306a36Sopenharmony_ci 27162306a36Sopenharmony_ciconst struct iwl_cfg iwl6000i_2abg_cfg = { 27262306a36Sopenharmony_ci .name = "Intel(R) Centrino(R) Advanced-N 6200 ABG", 27362306a36Sopenharmony_ci IWL_DEVICE_6000i, 27462306a36Sopenharmony_ci}; 27562306a36Sopenharmony_ci 27662306a36Sopenharmony_ciconst struct iwl_cfg iwl6000i_2bg_cfg = { 27762306a36Sopenharmony_ci .name = "Intel(R) Centrino(R) Advanced-N 6200 BG", 27862306a36Sopenharmony_ci IWL_DEVICE_6000i, 27962306a36Sopenharmony_ci}; 28062306a36Sopenharmony_ci 28162306a36Sopenharmony_ci#define IWL_DEVICE_6050 \ 28262306a36Sopenharmony_ci .fw_name_pre = IWL6050_FW_PRE, \ 28362306a36Sopenharmony_ci .ucode_api_max = IWL6050_UCODE_API_MAX, \ 28462306a36Sopenharmony_ci .ucode_api_min = IWL6050_UCODE_API_MIN, \ 28562306a36Sopenharmony_ci .trans.device_family = IWL_DEVICE_FAMILY_6050, \ 28662306a36Sopenharmony_ci .max_inst_size = IWL60_RTC_INST_SIZE, \ 28762306a36Sopenharmony_ci .max_data_size = IWL60_RTC_DATA_SIZE, \ 28862306a36Sopenharmony_ci .valid_tx_ant = ANT_AB, /* .cfg overwrite */ \ 28962306a36Sopenharmony_ci .valid_rx_ant = ANT_AB, /* .cfg overwrite */ \ 29062306a36Sopenharmony_ci .nvm_ver = EEPROM_6050_EEPROM_VERSION, \ 29162306a36Sopenharmony_ci .nvm_calib_ver = EEPROM_6050_TX_POWER_VERSION, \ 29262306a36Sopenharmony_ci .trans.base_params = &iwl6050_base_params, \ 29362306a36Sopenharmony_ci .eeprom_params = &iwl6000_eeprom_params, \ 29462306a36Sopenharmony_ci .led_mode = IWL_LED_BLINK, \ 29562306a36Sopenharmony_ci .internal_wimax_coex = true 29662306a36Sopenharmony_ci 29762306a36Sopenharmony_ciconst struct iwl_cfg iwl6050_2agn_cfg = { 29862306a36Sopenharmony_ci .name = "Intel(R) Centrino(R) Advanced-N + WiMAX 6250 AGN", 29962306a36Sopenharmony_ci IWL_DEVICE_6050, 30062306a36Sopenharmony_ci .ht_params = &iwl6000_ht_params, 30162306a36Sopenharmony_ci}; 30262306a36Sopenharmony_ci 30362306a36Sopenharmony_ciconst struct iwl_cfg iwl6050_2abg_cfg = { 30462306a36Sopenharmony_ci .name = "Intel(R) Centrino(R) Advanced-N + WiMAX 6250 ABG", 30562306a36Sopenharmony_ci IWL_DEVICE_6050, 30662306a36Sopenharmony_ci}; 30762306a36Sopenharmony_ci 30862306a36Sopenharmony_ci#define IWL_DEVICE_6150 \ 30962306a36Sopenharmony_ci .fw_name_pre = IWL6050_FW_PRE, \ 31062306a36Sopenharmony_ci .ucode_api_max = IWL6050_UCODE_API_MAX, \ 31162306a36Sopenharmony_ci .ucode_api_min = IWL6050_UCODE_API_MIN, \ 31262306a36Sopenharmony_ci .trans.device_family = IWL_DEVICE_FAMILY_6150, \ 31362306a36Sopenharmony_ci .max_inst_size = IWL60_RTC_INST_SIZE, \ 31462306a36Sopenharmony_ci .max_data_size = IWL60_RTC_DATA_SIZE, \ 31562306a36Sopenharmony_ci .nvm_ver = EEPROM_6150_EEPROM_VERSION, \ 31662306a36Sopenharmony_ci .nvm_calib_ver = EEPROM_6150_TX_POWER_VERSION, \ 31762306a36Sopenharmony_ci .trans.base_params = &iwl6050_base_params, \ 31862306a36Sopenharmony_ci .eeprom_params = &iwl6000_eeprom_params, \ 31962306a36Sopenharmony_ci .led_mode = IWL_LED_BLINK, \ 32062306a36Sopenharmony_ci .internal_wimax_coex = true 32162306a36Sopenharmony_ci 32262306a36Sopenharmony_ciconst struct iwl_cfg iwl6150_bgn_cfg = { 32362306a36Sopenharmony_ci .name = "Intel(R) Centrino(R) Wireless-N + WiMAX 6150 BGN", 32462306a36Sopenharmony_ci IWL_DEVICE_6150, 32562306a36Sopenharmony_ci .ht_params = &iwl6000_ht_params, 32662306a36Sopenharmony_ci}; 32762306a36Sopenharmony_ci 32862306a36Sopenharmony_ciconst struct iwl_cfg iwl6150_bg_cfg = { 32962306a36Sopenharmony_ci .name = "Intel(R) Centrino(R) Wireless-N + WiMAX 6150 BG", 33062306a36Sopenharmony_ci IWL_DEVICE_6150, 33162306a36Sopenharmony_ci}; 33262306a36Sopenharmony_ci 33362306a36Sopenharmony_ciconst struct iwl_cfg iwl6000_3agn_cfg = { 33462306a36Sopenharmony_ci .name = "Intel(R) Centrino(R) Ultimate-N 6300 AGN", 33562306a36Sopenharmony_ci .fw_name_pre = IWL6000_FW_PRE, 33662306a36Sopenharmony_ci .ucode_api_max = IWL6000_UCODE_API_MAX, 33762306a36Sopenharmony_ci .ucode_api_min = IWL6000_UCODE_API_MIN, 33862306a36Sopenharmony_ci .trans.device_family = IWL_DEVICE_FAMILY_6000, 33962306a36Sopenharmony_ci .max_inst_size = IWL60_RTC_INST_SIZE, 34062306a36Sopenharmony_ci .max_data_size = IWL60_RTC_DATA_SIZE, 34162306a36Sopenharmony_ci .nvm_ver = EEPROM_6000_EEPROM_VERSION, 34262306a36Sopenharmony_ci .nvm_calib_ver = EEPROM_6000_TX_POWER_VERSION, 34362306a36Sopenharmony_ci .trans.base_params = &iwl6000_base_params, 34462306a36Sopenharmony_ci .eeprom_params = &iwl6000_eeprom_params, 34562306a36Sopenharmony_ci .ht_params = &iwl6000_ht_params, 34662306a36Sopenharmony_ci .led_mode = IWL_LED_BLINK, 34762306a36Sopenharmony_ci}; 34862306a36Sopenharmony_ci 34962306a36Sopenharmony_ciMODULE_FIRMWARE(IWL6000_MODULE_FIRMWARE(IWL6000_UCODE_API_MAX)); 35062306a36Sopenharmony_ciMODULE_FIRMWARE(IWL6050_MODULE_FIRMWARE(IWL6050_UCODE_API_MAX)); 35162306a36Sopenharmony_ciMODULE_FIRMWARE(IWL6005_MODULE_FIRMWARE(IWL6000G2_UCODE_API_MAX)); 35262306a36Sopenharmony_ciMODULE_FIRMWARE(IWL6030_MODULE_FIRMWARE(IWL6000G2_UCODE_API_MAX)); 353