18c2ecf20Sopenharmony_ci/******************************************************************************
28c2ecf20Sopenharmony_ci *
38c2ecf20Sopenharmony_ci * This file is provided under a dual BSD/GPLv2 license.  When using or
48c2ecf20Sopenharmony_ci * redistributing this file, you may do so under either license.
58c2ecf20Sopenharmony_ci *
68c2ecf20Sopenharmony_ci * GPL LICENSE SUMMARY
78c2ecf20Sopenharmony_ci *
88c2ecf20Sopenharmony_ci * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
98c2ecf20Sopenharmony_ci * Copyright(c) 2013 - 2014 Intel Mobile Communications GmbH
108c2ecf20Sopenharmony_ci * Copyright(c) 2015        Intel Deutschland GmbH
118c2ecf20Sopenharmony_ci * Copyright(c) 2018 - 2019 Intel Corporation
128c2ecf20Sopenharmony_ci *
138c2ecf20Sopenharmony_ci * This program is free software; you can redistribute it and/or modify
148c2ecf20Sopenharmony_ci * it under the terms of version 2 of the GNU General Public License as
158c2ecf20Sopenharmony_ci * published by the Free Software Foundation.
168c2ecf20Sopenharmony_ci *
178c2ecf20Sopenharmony_ci * This program is distributed in the hope that it will be useful, but
188c2ecf20Sopenharmony_ci * WITHOUT ANY WARRANTY; without even the implied warranty of
198c2ecf20Sopenharmony_ci * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
208c2ecf20Sopenharmony_ci * General Public License for more details.
218c2ecf20Sopenharmony_ci *
228c2ecf20Sopenharmony_ci * The full GNU General Public License is included in this distribution
238c2ecf20Sopenharmony_ci * in the file called COPYING.
248c2ecf20Sopenharmony_ci *
258c2ecf20Sopenharmony_ci * Contact Information:
268c2ecf20Sopenharmony_ci *  Intel Linux Wireless <linuxwifi@intel.com>
278c2ecf20Sopenharmony_ci * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
288c2ecf20Sopenharmony_ci *
298c2ecf20Sopenharmony_ci * BSD LICENSE
308c2ecf20Sopenharmony_ci *
318c2ecf20Sopenharmony_ci * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
328c2ecf20Sopenharmony_ci * Copyright(c) 2013 - 2014 Intel Mobile Communications GmbH
338c2ecf20Sopenharmony_ci * Copyright(c) 2015        Intel Deutschland GmbH
348c2ecf20Sopenharmony_ci * Copyright(c) 2018 - 2019 Intel Corporation
358c2ecf20Sopenharmony_ci * All rights reserved.
368c2ecf20Sopenharmony_ci *
378c2ecf20Sopenharmony_ci * Redistribution and use in source and binary forms, with or without
388c2ecf20Sopenharmony_ci * modification, are permitted provided that the following conditions
398c2ecf20Sopenharmony_ci * are met:
408c2ecf20Sopenharmony_ci *
418c2ecf20Sopenharmony_ci *  * Redistributions of source code must retain the above copyright
428c2ecf20Sopenharmony_ci *    notice, this list of conditions and the following disclaimer.
438c2ecf20Sopenharmony_ci *  * Redistributions in binary form must reproduce the above copyright
448c2ecf20Sopenharmony_ci *    notice, this list of conditions and the following disclaimer in
458c2ecf20Sopenharmony_ci *    the documentation and/or other materials provided with the
468c2ecf20Sopenharmony_ci *    distribution.
478c2ecf20Sopenharmony_ci *  * Neither the name Intel Corporation nor the names of its
488c2ecf20Sopenharmony_ci *    contributors may be used to endorse or promote products derived
498c2ecf20Sopenharmony_ci *    from this software without specific prior written permission.
508c2ecf20Sopenharmony_ci *
518c2ecf20Sopenharmony_ci * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
528c2ecf20Sopenharmony_ci * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
538c2ecf20Sopenharmony_ci * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
548c2ecf20Sopenharmony_ci * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
558c2ecf20Sopenharmony_ci * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
568c2ecf20Sopenharmony_ci * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
578c2ecf20Sopenharmony_ci * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
588c2ecf20Sopenharmony_ci * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
598c2ecf20Sopenharmony_ci * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
608c2ecf20Sopenharmony_ci * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
618c2ecf20Sopenharmony_ci * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
628c2ecf20Sopenharmony_ci *
638c2ecf20Sopenharmony_ci *****************************************************************************/
648c2ecf20Sopenharmony_ci
658c2ecf20Sopenharmony_ci#include <linux/module.h>
668c2ecf20Sopenharmony_ci#include <linux/stringify.h>
678c2ecf20Sopenharmony_ci#include "iwl-config.h"
688c2ecf20Sopenharmony_ci
698c2ecf20Sopenharmony_ci/* Highest firmware API version supported */
708c2ecf20Sopenharmony_ci#define IWL7260_UCODE_API_MAX	17
718c2ecf20Sopenharmony_ci#define IWL7265_UCODE_API_MAX	17
728c2ecf20Sopenharmony_ci#define IWL7265D_UCODE_API_MAX	29
738c2ecf20Sopenharmony_ci#define IWL3168_UCODE_API_MAX	29
748c2ecf20Sopenharmony_ci
758c2ecf20Sopenharmony_ci/* Lowest firmware API version supported */
768c2ecf20Sopenharmony_ci#define IWL7260_UCODE_API_MIN	17
778c2ecf20Sopenharmony_ci#define IWL7265_UCODE_API_MIN	17
788c2ecf20Sopenharmony_ci#define IWL7265D_UCODE_API_MIN	22
798c2ecf20Sopenharmony_ci#define IWL3168_UCODE_API_MIN	22
808c2ecf20Sopenharmony_ci
818c2ecf20Sopenharmony_ci/* NVM versions */
828c2ecf20Sopenharmony_ci#define IWL7260_NVM_VERSION		0x0a1d
838c2ecf20Sopenharmony_ci#define IWL3160_NVM_VERSION		0x709
848c2ecf20Sopenharmony_ci#define IWL3165_NVM_VERSION		0x709
858c2ecf20Sopenharmony_ci#define IWL3168_NVM_VERSION		0xd01
868c2ecf20Sopenharmony_ci#define IWL7265_NVM_VERSION		0x0a1d
878c2ecf20Sopenharmony_ci#define IWL7265D_NVM_VERSION		0x0c11
888c2ecf20Sopenharmony_ci
898c2ecf20Sopenharmony_ci/* DCCM offsets and lengths */
908c2ecf20Sopenharmony_ci#define IWL7000_DCCM_OFFSET		0x800000
918c2ecf20Sopenharmony_ci#define IWL7260_DCCM_LEN		0x14000
928c2ecf20Sopenharmony_ci#define IWL3160_DCCM_LEN		0x10000
938c2ecf20Sopenharmony_ci#define IWL7265_DCCM_LEN		0x17A00
948c2ecf20Sopenharmony_ci
958c2ecf20Sopenharmony_ci#define IWL7260_FW_PRE "iwlwifi-7260-"
968c2ecf20Sopenharmony_ci#define IWL7260_MODULE_FIRMWARE(api) IWL7260_FW_PRE __stringify(api) ".ucode"
978c2ecf20Sopenharmony_ci
988c2ecf20Sopenharmony_ci#define IWL3160_FW_PRE "iwlwifi-3160-"
998c2ecf20Sopenharmony_ci#define IWL3160_MODULE_FIRMWARE(api) IWL3160_FW_PRE __stringify(api) ".ucode"
1008c2ecf20Sopenharmony_ci
1018c2ecf20Sopenharmony_ci#define IWL3168_FW_PRE "iwlwifi-3168-"
1028c2ecf20Sopenharmony_ci#define IWL3168_MODULE_FIRMWARE(api) IWL3168_FW_PRE __stringify(api) ".ucode"
1038c2ecf20Sopenharmony_ci
1048c2ecf20Sopenharmony_ci#define IWL7265_FW_PRE "iwlwifi-7265-"
1058c2ecf20Sopenharmony_ci#define IWL7265_MODULE_FIRMWARE(api) IWL7265_FW_PRE __stringify(api) ".ucode"
1068c2ecf20Sopenharmony_ci
1078c2ecf20Sopenharmony_ci#define IWL7265D_FW_PRE "iwlwifi-7265D-"
1088c2ecf20Sopenharmony_ci#define IWL7265D_MODULE_FIRMWARE(api) IWL7265D_FW_PRE __stringify(api) ".ucode"
1098c2ecf20Sopenharmony_ci
1108c2ecf20Sopenharmony_cistatic const struct iwl_base_params iwl7000_base_params = {
1118c2ecf20Sopenharmony_ci	.eeprom_size = OTP_LOW_IMAGE_SIZE_16K,
1128c2ecf20Sopenharmony_ci	.num_of_queues = 31,
1138c2ecf20Sopenharmony_ci	.max_tfd_queue_size = 256,
1148c2ecf20Sopenharmony_ci	.shadow_ram_support = true,
1158c2ecf20Sopenharmony_ci	.led_compensation = 57,
1168c2ecf20Sopenharmony_ci	.wd_timeout = IWL_LONG_WD_TIMEOUT,
1178c2ecf20Sopenharmony_ci	.max_event_log_size = 512,
1188c2ecf20Sopenharmony_ci	.shadow_reg_enable = true,
1198c2ecf20Sopenharmony_ci	.pcie_l1_allowed = true,
1208c2ecf20Sopenharmony_ci	.apmg_wake_up_wa = true,
1218c2ecf20Sopenharmony_ci};
1228c2ecf20Sopenharmony_ci
1238c2ecf20Sopenharmony_cistatic const struct iwl_tt_params iwl7000_high_temp_tt_params = {
1248c2ecf20Sopenharmony_ci	.ct_kill_entry = 118,
1258c2ecf20Sopenharmony_ci	.ct_kill_exit = 96,
1268c2ecf20Sopenharmony_ci	.ct_kill_duration = 5,
1278c2ecf20Sopenharmony_ci	.dynamic_smps_entry = 114,
1288c2ecf20Sopenharmony_ci	.dynamic_smps_exit = 110,
1298c2ecf20Sopenharmony_ci	.tx_protection_entry = 114,
1308c2ecf20Sopenharmony_ci	.tx_protection_exit = 108,
1318c2ecf20Sopenharmony_ci	.tx_backoff = {
1328c2ecf20Sopenharmony_ci		{.temperature = 112, .backoff = 300},
1338c2ecf20Sopenharmony_ci		{.temperature = 113, .backoff = 800},
1348c2ecf20Sopenharmony_ci		{.temperature = 114, .backoff = 1500},
1358c2ecf20Sopenharmony_ci		{.temperature = 115, .backoff = 3000},
1368c2ecf20Sopenharmony_ci		{.temperature = 116, .backoff = 5000},
1378c2ecf20Sopenharmony_ci		{.temperature = 117, .backoff = 10000},
1388c2ecf20Sopenharmony_ci	},
1398c2ecf20Sopenharmony_ci	.support_ct_kill = true,
1408c2ecf20Sopenharmony_ci	.support_dynamic_smps = true,
1418c2ecf20Sopenharmony_ci	.support_tx_protection = true,
1428c2ecf20Sopenharmony_ci	.support_tx_backoff = true,
1438c2ecf20Sopenharmony_ci};
1448c2ecf20Sopenharmony_ci
1458c2ecf20Sopenharmony_cistatic const struct iwl_ht_params iwl7000_ht_params = {
1468c2ecf20Sopenharmony_ci	.stbc = true,
1478c2ecf20Sopenharmony_ci	.ht40_bands = BIT(NL80211_BAND_2GHZ) | BIT(NL80211_BAND_5GHZ),
1488c2ecf20Sopenharmony_ci};
1498c2ecf20Sopenharmony_ci
1508c2ecf20Sopenharmony_ci#define IWL_DEVICE_7000_COMMON					\
1518c2ecf20Sopenharmony_ci	.trans.device_family = IWL_DEVICE_FAMILY_7000,		\
1528c2ecf20Sopenharmony_ci	.trans.base_params = &iwl7000_base_params,		\
1538c2ecf20Sopenharmony_ci	.led_mode = IWL_LED_RF_STATE,				\
1548c2ecf20Sopenharmony_ci	.nvm_hw_section_num = 0,				\
1558c2ecf20Sopenharmony_ci	.non_shared_ant = ANT_A,				\
1568c2ecf20Sopenharmony_ci	.max_ht_ampdu_exponent = IEEE80211_HT_MAX_AMPDU_64K,	\
1578c2ecf20Sopenharmony_ci	.dccm_offset = IWL7000_DCCM_OFFSET
1588c2ecf20Sopenharmony_ci
1598c2ecf20Sopenharmony_ci#define IWL_DEVICE_7000						\
1608c2ecf20Sopenharmony_ci	IWL_DEVICE_7000_COMMON,					\
1618c2ecf20Sopenharmony_ci	.ucode_api_max = IWL7260_UCODE_API_MAX,			\
1628c2ecf20Sopenharmony_ci	.ucode_api_min = IWL7260_UCODE_API_MIN
1638c2ecf20Sopenharmony_ci
1648c2ecf20Sopenharmony_ci#define IWL_DEVICE_7005						\
1658c2ecf20Sopenharmony_ci	IWL_DEVICE_7000_COMMON,					\
1668c2ecf20Sopenharmony_ci	.ucode_api_max = IWL7265_UCODE_API_MAX,			\
1678c2ecf20Sopenharmony_ci	.ucode_api_min = IWL7265_UCODE_API_MIN
1688c2ecf20Sopenharmony_ci
1698c2ecf20Sopenharmony_ci#define IWL_DEVICE_3008						\
1708c2ecf20Sopenharmony_ci	IWL_DEVICE_7000_COMMON,					\
1718c2ecf20Sopenharmony_ci	.ucode_api_max = IWL3168_UCODE_API_MAX,			\
1728c2ecf20Sopenharmony_ci	.ucode_api_min = IWL3168_UCODE_API_MIN
1738c2ecf20Sopenharmony_ci
1748c2ecf20Sopenharmony_ci#define IWL_DEVICE_7005D					\
1758c2ecf20Sopenharmony_ci	IWL_DEVICE_7000_COMMON,					\
1768c2ecf20Sopenharmony_ci	.ucode_api_max = IWL7265D_UCODE_API_MAX,		\
1778c2ecf20Sopenharmony_ci	.ucode_api_min = IWL7265D_UCODE_API_MIN
1788c2ecf20Sopenharmony_ci
1798c2ecf20Sopenharmony_ciconst struct iwl_cfg iwl7260_2ac_cfg = {
1808c2ecf20Sopenharmony_ci	.name = "Intel(R) Dual Band Wireless AC 7260",
1818c2ecf20Sopenharmony_ci	.fw_name_pre = IWL7260_FW_PRE,
1828c2ecf20Sopenharmony_ci	IWL_DEVICE_7000,
1838c2ecf20Sopenharmony_ci	.ht_params = &iwl7000_ht_params,
1848c2ecf20Sopenharmony_ci	.nvm_ver = IWL7260_NVM_VERSION,
1858c2ecf20Sopenharmony_ci	.host_interrupt_operation_mode = true,
1868c2ecf20Sopenharmony_ci	.lp_xtal_workaround = true,
1878c2ecf20Sopenharmony_ci	.dccm_len = IWL7260_DCCM_LEN,
1888c2ecf20Sopenharmony_ci};
1898c2ecf20Sopenharmony_ci
1908c2ecf20Sopenharmony_ciconst struct iwl_cfg iwl7260_2ac_cfg_high_temp = {
1918c2ecf20Sopenharmony_ci	.name = "Intel(R) Dual Band Wireless AC 7260",
1928c2ecf20Sopenharmony_ci	.fw_name_pre = IWL7260_FW_PRE,
1938c2ecf20Sopenharmony_ci	IWL_DEVICE_7000,
1948c2ecf20Sopenharmony_ci	.ht_params = &iwl7000_ht_params,
1958c2ecf20Sopenharmony_ci	.nvm_ver = IWL7260_NVM_VERSION,
1968c2ecf20Sopenharmony_ci	.high_temp = true,
1978c2ecf20Sopenharmony_ci	.host_interrupt_operation_mode = true,
1988c2ecf20Sopenharmony_ci	.lp_xtal_workaround = true,
1998c2ecf20Sopenharmony_ci	.dccm_len = IWL7260_DCCM_LEN,
2008c2ecf20Sopenharmony_ci	.thermal_params = &iwl7000_high_temp_tt_params,
2018c2ecf20Sopenharmony_ci};
2028c2ecf20Sopenharmony_ci
2038c2ecf20Sopenharmony_ciconst struct iwl_cfg iwl7260_2n_cfg = {
2048c2ecf20Sopenharmony_ci	.name = "Intel(R) Dual Band Wireless N 7260",
2058c2ecf20Sopenharmony_ci	.fw_name_pre = IWL7260_FW_PRE,
2068c2ecf20Sopenharmony_ci	IWL_DEVICE_7000,
2078c2ecf20Sopenharmony_ci	.ht_params = &iwl7000_ht_params,
2088c2ecf20Sopenharmony_ci	.nvm_ver = IWL7260_NVM_VERSION,
2098c2ecf20Sopenharmony_ci	.host_interrupt_operation_mode = true,
2108c2ecf20Sopenharmony_ci	.lp_xtal_workaround = true,
2118c2ecf20Sopenharmony_ci	.dccm_len = IWL7260_DCCM_LEN,
2128c2ecf20Sopenharmony_ci};
2138c2ecf20Sopenharmony_ci
2148c2ecf20Sopenharmony_ciconst struct iwl_cfg iwl7260_n_cfg = {
2158c2ecf20Sopenharmony_ci	.name = "Intel(R) Wireless N 7260",
2168c2ecf20Sopenharmony_ci	.fw_name_pre = IWL7260_FW_PRE,
2178c2ecf20Sopenharmony_ci	IWL_DEVICE_7000,
2188c2ecf20Sopenharmony_ci	.ht_params = &iwl7000_ht_params,
2198c2ecf20Sopenharmony_ci	.nvm_ver = IWL7260_NVM_VERSION,
2208c2ecf20Sopenharmony_ci	.host_interrupt_operation_mode = true,
2218c2ecf20Sopenharmony_ci	.lp_xtal_workaround = true,
2228c2ecf20Sopenharmony_ci	.dccm_len = IWL7260_DCCM_LEN,
2238c2ecf20Sopenharmony_ci};
2248c2ecf20Sopenharmony_ci
2258c2ecf20Sopenharmony_ciconst struct iwl_cfg iwl3160_2ac_cfg = {
2268c2ecf20Sopenharmony_ci	.name = "Intel(R) Dual Band Wireless AC 3160",
2278c2ecf20Sopenharmony_ci	.fw_name_pre = IWL3160_FW_PRE,
2288c2ecf20Sopenharmony_ci	IWL_DEVICE_7000,
2298c2ecf20Sopenharmony_ci	.ht_params = &iwl7000_ht_params,
2308c2ecf20Sopenharmony_ci	.nvm_ver = IWL3160_NVM_VERSION,
2318c2ecf20Sopenharmony_ci	.host_interrupt_operation_mode = true,
2328c2ecf20Sopenharmony_ci	.dccm_len = IWL3160_DCCM_LEN,
2338c2ecf20Sopenharmony_ci};
2348c2ecf20Sopenharmony_ci
2358c2ecf20Sopenharmony_ciconst struct iwl_cfg iwl3160_2n_cfg = {
2368c2ecf20Sopenharmony_ci	.name = "Intel(R) Dual Band Wireless N 3160",
2378c2ecf20Sopenharmony_ci	.fw_name_pre = IWL3160_FW_PRE,
2388c2ecf20Sopenharmony_ci	IWL_DEVICE_7000,
2398c2ecf20Sopenharmony_ci	.ht_params = &iwl7000_ht_params,
2408c2ecf20Sopenharmony_ci	.nvm_ver = IWL3160_NVM_VERSION,
2418c2ecf20Sopenharmony_ci	.host_interrupt_operation_mode = true,
2428c2ecf20Sopenharmony_ci	.dccm_len = IWL3160_DCCM_LEN,
2438c2ecf20Sopenharmony_ci};
2448c2ecf20Sopenharmony_ci
2458c2ecf20Sopenharmony_ciconst struct iwl_cfg iwl3160_n_cfg = {
2468c2ecf20Sopenharmony_ci	.name = "Intel(R) Wireless N 3160",
2478c2ecf20Sopenharmony_ci	.fw_name_pre = IWL3160_FW_PRE,
2488c2ecf20Sopenharmony_ci	IWL_DEVICE_7000,
2498c2ecf20Sopenharmony_ci	.ht_params = &iwl7000_ht_params,
2508c2ecf20Sopenharmony_ci	.nvm_ver = IWL3160_NVM_VERSION,
2518c2ecf20Sopenharmony_ci	.host_interrupt_operation_mode = true,
2528c2ecf20Sopenharmony_ci	.dccm_len = IWL3160_DCCM_LEN,
2538c2ecf20Sopenharmony_ci};
2548c2ecf20Sopenharmony_ci
2558c2ecf20Sopenharmony_cistatic const struct iwl_pwr_tx_backoff iwl7265_pwr_tx_backoffs[] = {
2568c2ecf20Sopenharmony_ci	{.pwr = 1600, .backoff = 0},
2578c2ecf20Sopenharmony_ci	{.pwr = 1300, .backoff = 467},
2588c2ecf20Sopenharmony_ci	{.pwr = 900,  .backoff = 1900},
2598c2ecf20Sopenharmony_ci	{.pwr = 800, .backoff = 2630},
2608c2ecf20Sopenharmony_ci	{.pwr = 700, .backoff = 3720},
2618c2ecf20Sopenharmony_ci	{.pwr = 600, .backoff = 5550},
2628c2ecf20Sopenharmony_ci	{.pwr = 500, .backoff = 9350},
2638c2ecf20Sopenharmony_ci	{0},
2648c2ecf20Sopenharmony_ci};
2658c2ecf20Sopenharmony_ci
2668c2ecf20Sopenharmony_cistatic const struct iwl_ht_params iwl7265_ht_params = {
2678c2ecf20Sopenharmony_ci	.stbc = true,
2688c2ecf20Sopenharmony_ci	.ldpc = true,
2698c2ecf20Sopenharmony_ci	.ht40_bands = BIT(NL80211_BAND_2GHZ) | BIT(NL80211_BAND_5GHZ),
2708c2ecf20Sopenharmony_ci};
2718c2ecf20Sopenharmony_ci
2728c2ecf20Sopenharmony_ciconst struct iwl_cfg iwl3165_2ac_cfg = {
2738c2ecf20Sopenharmony_ci	.name = "Intel(R) Dual Band Wireless AC 3165",
2748c2ecf20Sopenharmony_ci	.fw_name_pre = IWL7265D_FW_PRE,
2758c2ecf20Sopenharmony_ci	IWL_DEVICE_7005D,
2768c2ecf20Sopenharmony_ci	.ht_params = &iwl7000_ht_params,
2778c2ecf20Sopenharmony_ci	.nvm_ver = IWL3165_NVM_VERSION,
2788c2ecf20Sopenharmony_ci	.pwr_tx_backoffs = iwl7265_pwr_tx_backoffs,
2798c2ecf20Sopenharmony_ci	.dccm_len = IWL7265_DCCM_LEN,
2808c2ecf20Sopenharmony_ci};
2818c2ecf20Sopenharmony_ci
2828c2ecf20Sopenharmony_ciconst struct iwl_cfg iwl3168_2ac_cfg = {
2838c2ecf20Sopenharmony_ci	.name = "Intel(R) Dual Band Wireless AC 3168",
2848c2ecf20Sopenharmony_ci	.fw_name_pre = IWL3168_FW_PRE,
2858c2ecf20Sopenharmony_ci	IWL_DEVICE_3008,
2868c2ecf20Sopenharmony_ci	.ht_params = &iwl7000_ht_params,
2878c2ecf20Sopenharmony_ci	.nvm_ver = IWL3168_NVM_VERSION,
2888c2ecf20Sopenharmony_ci	.pwr_tx_backoffs = iwl7265_pwr_tx_backoffs,
2898c2ecf20Sopenharmony_ci	.dccm_len = IWL7265_DCCM_LEN,
2908c2ecf20Sopenharmony_ci	.nvm_type = IWL_NVM_SDP,
2918c2ecf20Sopenharmony_ci};
2928c2ecf20Sopenharmony_ci
2938c2ecf20Sopenharmony_ciconst struct iwl_cfg iwl7265_2ac_cfg = {
2948c2ecf20Sopenharmony_ci	.name = "Intel(R) Dual Band Wireless AC 7265",
2958c2ecf20Sopenharmony_ci	.fw_name_pre = IWL7265_FW_PRE,
2968c2ecf20Sopenharmony_ci	IWL_DEVICE_7005,
2978c2ecf20Sopenharmony_ci	.ht_params = &iwl7265_ht_params,
2988c2ecf20Sopenharmony_ci	.nvm_ver = IWL7265_NVM_VERSION,
2998c2ecf20Sopenharmony_ci	.pwr_tx_backoffs = iwl7265_pwr_tx_backoffs,
3008c2ecf20Sopenharmony_ci	.dccm_len = IWL7265_DCCM_LEN,
3018c2ecf20Sopenharmony_ci};
3028c2ecf20Sopenharmony_ci
3038c2ecf20Sopenharmony_ciconst struct iwl_cfg iwl7265_2n_cfg = {
3048c2ecf20Sopenharmony_ci	.name = "Intel(R) Dual Band Wireless N 7265",
3058c2ecf20Sopenharmony_ci	.fw_name_pre = IWL7265_FW_PRE,
3068c2ecf20Sopenharmony_ci	IWL_DEVICE_7005,
3078c2ecf20Sopenharmony_ci	.ht_params = &iwl7265_ht_params,
3088c2ecf20Sopenharmony_ci	.nvm_ver = IWL7265_NVM_VERSION,
3098c2ecf20Sopenharmony_ci	.pwr_tx_backoffs = iwl7265_pwr_tx_backoffs,
3108c2ecf20Sopenharmony_ci	.dccm_len = IWL7265_DCCM_LEN,
3118c2ecf20Sopenharmony_ci};
3128c2ecf20Sopenharmony_ci
3138c2ecf20Sopenharmony_ciconst struct iwl_cfg iwl7265_n_cfg = {
3148c2ecf20Sopenharmony_ci	.name = "Intel(R) Wireless N 7265",
3158c2ecf20Sopenharmony_ci	.fw_name_pre = IWL7265_FW_PRE,
3168c2ecf20Sopenharmony_ci	IWL_DEVICE_7005,
3178c2ecf20Sopenharmony_ci	.ht_params = &iwl7265_ht_params,
3188c2ecf20Sopenharmony_ci	.nvm_ver = IWL7265_NVM_VERSION,
3198c2ecf20Sopenharmony_ci	.pwr_tx_backoffs = iwl7265_pwr_tx_backoffs,
3208c2ecf20Sopenharmony_ci	.dccm_len = IWL7265_DCCM_LEN,
3218c2ecf20Sopenharmony_ci};
3228c2ecf20Sopenharmony_ci
3238c2ecf20Sopenharmony_ciconst struct iwl_cfg iwl7265d_2ac_cfg = {
3248c2ecf20Sopenharmony_ci	.name = "Intel(R) Dual Band Wireless AC 7265",
3258c2ecf20Sopenharmony_ci	.fw_name_pre = IWL7265D_FW_PRE,
3268c2ecf20Sopenharmony_ci	IWL_DEVICE_7005D,
3278c2ecf20Sopenharmony_ci	.ht_params = &iwl7265_ht_params,
3288c2ecf20Sopenharmony_ci	.nvm_ver = IWL7265D_NVM_VERSION,
3298c2ecf20Sopenharmony_ci	.pwr_tx_backoffs = iwl7265_pwr_tx_backoffs,
3308c2ecf20Sopenharmony_ci	.dccm_len = IWL7265_DCCM_LEN,
3318c2ecf20Sopenharmony_ci};
3328c2ecf20Sopenharmony_ci
3338c2ecf20Sopenharmony_ciconst struct iwl_cfg iwl7265d_2n_cfg = {
3348c2ecf20Sopenharmony_ci	.name = "Intel(R) Dual Band Wireless N 7265",
3358c2ecf20Sopenharmony_ci	.fw_name_pre = IWL7265D_FW_PRE,
3368c2ecf20Sopenharmony_ci	IWL_DEVICE_7005D,
3378c2ecf20Sopenharmony_ci	.ht_params = &iwl7265_ht_params,
3388c2ecf20Sopenharmony_ci	.nvm_ver = IWL7265D_NVM_VERSION,
3398c2ecf20Sopenharmony_ci	.pwr_tx_backoffs = iwl7265_pwr_tx_backoffs,
3408c2ecf20Sopenharmony_ci	.dccm_len = IWL7265_DCCM_LEN,
3418c2ecf20Sopenharmony_ci};
3428c2ecf20Sopenharmony_ci
3438c2ecf20Sopenharmony_ciconst struct iwl_cfg iwl7265d_n_cfg = {
3448c2ecf20Sopenharmony_ci	.name = "Intel(R) Wireless N 7265",
3458c2ecf20Sopenharmony_ci	.fw_name_pre = IWL7265D_FW_PRE,
3468c2ecf20Sopenharmony_ci	IWL_DEVICE_7005D,
3478c2ecf20Sopenharmony_ci	.ht_params = &iwl7265_ht_params,
3488c2ecf20Sopenharmony_ci	.nvm_ver = IWL7265D_NVM_VERSION,
3498c2ecf20Sopenharmony_ci	.pwr_tx_backoffs = iwl7265_pwr_tx_backoffs,
3508c2ecf20Sopenharmony_ci	.dccm_len = IWL7265_DCCM_LEN,
3518c2ecf20Sopenharmony_ci};
3528c2ecf20Sopenharmony_ci
3538c2ecf20Sopenharmony_ciMODULE_FIRMWARE(IWL7260_MODULE_FIRMWARE(IWL7260_UCODE_API_MAX));
3548c2ecf20Sopenharmony_ciMODULE_FIRMWARE(IWL3160_MODULE_FIRMWARE(IWL7260_UCODE_API_MAX));
3558c2ecf20Sopenharmony_ciMODULE_FIRMWARE(IWL3168_MODULE_FIRMWARE(IWL3168_UCODE_API_MAX));
3568c2ecf20Sopenharmony_ciMODULE_FIRMWARE(IWL7265_MODULE_FIRMWARE(IWL7265_UCODE_API_MAX));
3578c2ecf20Sopenharmony_ciMODULE_FIRMWARE(IWL7265D_MODULE_FIRMWARE(IWL7265D_UCODE_API_MAX));
358