Eran Harary | 503ab8c | 2013-11-20 07:28:58 +0200 | [diff] [blame] | 1 | /****************************************************************************** |
| 2 | * |
| 3 | * This file is provided under a dual BSD/GPLv2 license. When using or |
| 4 | * redistributing this file, you may do so under either license. |
| 5 | * |
| 6 | * GPL LICENSE SUMMARY |
| 7 | * |
| 8 | * Copyright(c) 2014 Intel Corporation. All rights reserved. |
Eran Harary | 4fb0628 | 2015-04-19 10:05:18 +0300 | [diff] [blame] | 9 | * Copyright(c) 2014 - 2015 Intel Mobile Communications GmbH |
Oren Givon | 7e502e5 | 2016-01-25 12:00:42 +0200 | [diff] [blame] | 10 | * Copyright(c) 2016 Intel Deutschland GmbH |
Eran Harary | 503ab8c | 2013-11-20 07:28:58 +0200 | [diff] [blame] | 11 | * |
| 12 | * This program is free software; you can redistribute it and/or modify |
| 13 | * it under the terms of version 2 of the GNU General Public License as |
| 14 | * published by the Free Software Foundation. |
| 15 | * |
| 16 | * This program is distributed in the hope that it will be useful, but |
| 17 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 19 | * General Public License for more details. |
| 20 | * |
| 21 | * You should have received a copy of the GNU General Public License |
| 22 | * along with this program; if not, write to the Free Software |
| 23 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, |
| 24 | * USA |
| 25 | * |
| 26 | * The full GNU General Public License is included in this distribution |
| 27 | * in the file called COPYING. |
| 28 | * |
| 29 | * Contact Information: |
Emmanuel Grumbach | cb2f827 | 2015-11-17 15:39:56 +0200 | [diff] [blame] | 30 | * Intel Linux Wireless <linuxwifi@intel.com> |
Eran Harary | 503ab8c | 2013-11-20 07:28:58 +0200 | [diff] [blame] | 31 | * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 |
| 32 | * |
| 33 | * BSD LICENSE |
| 34 | * |
| 35 | * Copyright(c) 2014 Intel Corporation. All rights reserved. |
Eran Harary | 4fb0628 | 2015-04-19 10:05:18 +0300 | [diff] [blame] | 36 | * Copyright(c) 2014 - 2015 Intel Mobile Communications GmbH |
Eran Harary | 503ab8c | 2013-11-20 07:28:58 +0200 | [diff] [blame] | 37 | * All rights reserved. |
| 38 | * |
| 39 | * Redistribution and use in source and binary forms, with or without |
| 40 | * modification, are permitted provided that the following conditions |
| 41 | * are met: |
| 42 | * |
| 43 | * * Redistributions of source code must retain the above copyright |
| 44 | * notice, this list of conditions and the following disclaimer. |
| 45 | * * Redistributions in binary form must reproduce the above copyright |
| 46 | * notice, this list of conditions and the following disclaimer in |
| 47 | * the documentation and/or other materials provided with the |
| 48 | * distribution. |
| 49 | * * Neither the name Intel Corporation nor the names of its |
| 50 | * contributors may be used to endorse or promote products derived |
| 51 | * from this software without specific prior written permission. |
| 52 | * |
| 53 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 54 | * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 55 | * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 56 | * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 57 | * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 58 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 59 | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 60 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 61 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 62 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 63 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 64 | * |
| 65 | *****************************************************************************/ |
| 66 | |
| 67 | #include <linux/module.h> |
| 68 | #include <linux/stringify.h> |
| 69 | #include "iwl-config.h" |
| 70 | #include "iwl-agn-hw.h" |
| 71 | |
| 72 | /* Highest firmware API version supported */ |
Luca Coelho | 2876e8c | 2016-12-19 12:00:32 +0200 | [diff] [blame] | 73 | #define IWL8000_UCODE_API_MAX 30 |
| 74 | #define IWL8265_UCODE_API_MAX 30 |
Eran Harary | 503ab8c | 2013-11-20 07:28:58 +0200 | [diff] [blame] | 75 | |
Eran Harary | 503ab8c | 2013-11-20 07:28:58 +0200 | [diff] [blame] | 76 | /* Lowest firmware API version supported */ |
Luca Coelho | 4b87e5a | 2016-09-12 16:03:30 +0300 | [diff] [blame] | 77 | #define IWL8000_UCODE_API_MIN 17 |
Oren Givon | 7e502e5 | 2016-01-25 12:00:42 +0200 | [diff] [blame] | 78 | #define IWL8265_UCODE_API_MIN 20 |
Eran Harary | 503ab8c | 2013-11-20 07:28:58 +0200 | [diff] [blame] | 79 | |
| 80 | /* NVM versions */ |
| 81 | #define IWL8000_NVM_VERSION 0x0a1d |
| 82 | #define IWL8000_TX_POWER_VERSION 0xffff /* meaningless */ |
| 83 | |
Liad Kaufman | addfaad | 2014-12-02 11:16:04 +0200 | [diff] [blame] | 84 | /* Memory offsets and lengths */ |
Liad Kaufman | f53bf4c | 2014-12-01 10:44:18 +0200 | [diff] [blame] | 85 | #define IWL8260_DCCM_OFFSET 0x800000 |
| 86 | #define IWL8260_DCCM_LEN 0x18000 |
Ido Yariv | 8613832 | 2014-12-10 12:39:27 -0500 | [diff] [blame] | 87 | #define IWL8260_DCCM2_OFFSET 0x880000 |
| 88 | #define IWL8260_DCCM2_LEN 0x8000 |
Liad Kaufman | addfaad | 2014-12-02 11:16:04 +0200 | [diff] [blame] | 89 | #define IWL8260_SMEM_OFFSET 0x400000 |
| 90 | #define IWL8260_SMEM_LEN 0x68000 |
Liad Kaufman | f53bf4c | 2014-12-01 10:44:18 +0200 | [diff] [blame] | 91 | |
Sara Sharon | e1ba684 | 2016-04-11 15:01:46 +0300 | [diff] [blame] | 92 | #define IWL8000_FW_PRE "iwlwifi-8000C-" |
Liad Kaufman | 405b733 | 2014-09-23 15:15:17 +0300 | [diff] [blame] | 93 | #define IWL8000_MODULE_FIRMWARE(api) \ |
Jürg Billeter | 7941c59 | 2016-10-10 18:30:01 +0200 | [diff] [blame] | 94 | IWL8000_FW_PRE __stringify(api) ".ucode" |
Eran Harary | 503ab8c | 2013-11-20 07:28:58 +0200 | [diff] [blame] | 95 | |
Oren Givon | 7e502e5 | 2016-01-25 12:00:42 +0200 | [diff] [blame] | 96 | #define IWL8265_FW_PRE "iwlwifi-8265-" |
| 97 | #define IWL8265_MODULE_FIRMWARE(api) \ |
| 98 | IWL8265_FW_PRE __stringify(api) ".ucode" |
| 99 | |
Eran Harary | ae2b21b | 2014-01-09 08:08:24 +0200 | [diff] [blame] | 100 | #define NVM_HW_SECTION_NUM_FAMILY_8000 10 |
Eran Harary | d383c74 | 2015-03-24 10:59:46 +0200 | [diff] [blame] | 101 | #define DEFAULT_NVM_FILE_FAMILY_8000B "nvmData-8000B" |
| 102 | #define DEFAULT_NVM_FILE_FAMILY_8000C "nvmData-8000C" |
Eran Harary | ae2b21b | 2014-01-09 08:08:24 +0200 | [diff] [blame] | 103 | |
Alexander Bondar | 9d012d0 | 2015-06-04 10:32:43 +0300 | [diff] [blame] | 104 | /* Max SDIO RX/TX aggregation sizes of the ADDBA request/response */ |
| 105 | #define MAX_RX_AGG_SIZE_8260_SDIO 21 |
| 106 | #define MAX_TX_AGG_SIZE_8260_SDIO 40 |
Oren Givon | 745160e | 2014-06-16 10:54:52 +0300 | [diff] [blame] | 107 | |
Eran Harary | c064ddf | 2014-09-30 06:42:06 +0200 | [diff] [blame] | 108 | /* Max A-MPDU exponent for HT and VHT */ |
| 109 | #define MAX_HT_AMPDU_EXPONENT_8260_SDIO IEEE80211_HT_MAX_AMPDU_32K |
| 110 | #define MAX_VHT_AMPDU_EXPONENT_8260_SDIO IEEE80211_VHT_MAX_AMPDU_32K |
| 111 | |
Eran Harary | 503ab8c | 2013-11-20 07:28:58 +0200 | [diff] [blame] | 112 | static const struct iwl_base_params iwl8000_base_params = { |
Eran Harary | 3008554 | 2014-04-22 10:47:48 +0300 | [diff] [blame] | 113 | .eeprom_size = OTP_LOW_IMAGE_SIZE_FAMILY_8000, |
Liad Kaufman | 79f6828 | 2015-08-24 16:23:58 +0300 | [diff] [blame] | 114 | .num_of_queues = 31, |
Eran Harary | 503ab8c | 2013-11-20 07:28:58 +0200 | [diff] [blame] | 115 | .shadow_ram_support = true, |
| 116 | .led_compensation = 57, |
| 117 | .wd_timeout = IWL_LONG_WD_TIMEOUT, |
| 118 | .max_event_log_size = 512, |
| 119 | .shadow_reg_enable = true, |
| 120 | .pcie_l1_allowed = true, |
| 121 | }; |
| 122 | |
| 123 | static const struct iwl_ht_params iwl8000_ht_params = { |
Eyal Shapira | b260362 | 2014-10-23 15:30:47 +0300 | [diff] [blame] | 124 | .stbc = true, |
Eyal Shapira | 099d808 | 2014-08-28 02:33:05 +0300 | [diff] [blame] | 125 | .ldpc = true, |
Johannes Berg | 57fbcce | 2016-04-12 15:56:15 +0200 | [diff] [blame] | 126 | .ht40_bands = BIT(NL80211_BAND_2GHZ) | BIT(NL80211_BAND_5GHZ), |
Eran Harary | 503ab8c | 2013-11-20 07:28:58 +0200 | [diff] [blame] | 127 | }; |
| 128 | |
Ido Yariv | 8ce7db4 | 2015-05-04 23:01:46 -0400 | [diff] [blame] | 129 | static const struct iwl_tt_params iwl8000_tt_params = { |
| 130 | .ct_kill_entry = 115, |
| 131 | .ct_kill_exit = 93, |
| 132 | .ct_kill_duration = 5, |
| 133 | .dynamic_smps_entry = 111, |
| 134 | .dynamic_smps_exit = 107, |
| 135 | .tx_protection_entry = 112, |
| 136 | .tx_protection_exit = 105, |
| 137 | .tx_backoff = { |
| 138 | {.temperature = 110, .backoff = 200}, |
| 139 | {.temperature = 111, .backoff = 600}, |
| 140 | {.temperature = 112, .backoff = 1200}, |
| 141 | {.temperature = 113, .backoff = 2000}, |
| 142 | {.temperature = 114, .backoff = 4000}, |
| 143 | }, |
| 144 | .support_ct_kill = true, |
| 145 | .support_dynamic_smps = true, |
| 146 | .support_tx_protection = true, |
| 147 | .support_tx_backoff = true, |
| 148 | }; |
| 149 | |
Oren Givon | 7e502e5 | 2016-01-25 12:00:42 +0200 | [diff] [blame] | 150 | #define IWL_DEVICE_8000_COMMON \ |
Eran Harary | 4fb0628 | 2015-04-19 10:05:18 +0300 | [diff] [blame] | 151 | .device_family = IWL_DEVICE_FAMILY_8000, \ |
| 152 | .max_inst_size = IWL60_RTC_INST_SIZE, \ |
| 153 | .max_data_size = IWL60_RTC_DATA_SIZE, \ |
| 154 | .base_params = &iwl8000_base_params, \ |
| 155 | .led_mode = IWL_LED_RF_STATE, \ |
| 156 | .nvm_hw_section_num = NVM_HW_SECTION_NUM_FAMILY_8000, \ |
Avri Altman | 93190fb | 2014-12-27 09:09:47 +0200 | [diff] [blame] | 157 | .features = NETIF_F_RXCSUM, \ |
Eran Harary | 4fb0628 | 2015-04-19 10:05:18 +0300 | [diff] [blame] | 158 | .non_shared_ant = ANT_A, \ |
| 159 | .dccm_offset = IWL8260_DCCM_OFFSET, \ |
| 160 | .dccm_len = IWL8260_DCCM_LEN, \ |
| 161 | .dccm2_offset = IWL8260_DCCM2_OFFSET, \ |
| 162 | .dccm2_len = IWL8260_DCCM2_LEN, \ |
| 163 | .smem_offset = IWL8260_SMEM_OFFSET, \ |
| 164 | .smem_len = IWL8260_SMEM_LEN, \ |
| 165 | .default_nvm_file_B_step = DEFAULT_NVM_FILE_FAMILY_8000B, \ |
Ido Yariv | 8ce7db4 | 2015-05-04 23:01:46 -0400 | [diff] [blame] | 166 | .default_nvm_file_C_step = DEFAULT_NVM_FILE_FAMILY_8000C, \ |
Avri Altman | 95411d0 | 2015-05-11 11:04:34 +0300 | [diff] [blame] | 167 | .thermal_params = &iwl8000_tt_params, \ |
| 168 | .apmg_not_supported = true |
Eran Harary | 503ab8c | 2013-11-20 07:28:58 +0200 | [diff] [blame] | 169 | |
Oren Givon | 7e502e5 | 2016-01-25 12:00:42 +0200 | [diff] [blame] | 170 | #define IWL_DEVICE_8000 \ |
| 171 | IWL_DEVICE_8000_COMMON, \ |
| 172 | .ucode_api_max = IWL8000_UCODE_API_MAX, \ |
Oren Givon | 7e502e5 | 2016-01-25 12:00:42 +0200 | [diff] [blame] | 173 | .ucode_api_min = IWL8000_UCODE_API_MIN \ |
| 174 | |
| 175 | #define IWL_DEVICE_8260 \ |
| 176 | IWL_DEVICE_8000_COMMON, \ |
| 177 | .ucode_api_max = IWL8000_UCODE_API_MAX, \ |
Oren Givon | 7e502e5 | 2016-01-25 12:00:42 +0200 | [diff] [blame] | 178 | .ucode_api_min = IWL8000_UCODE_API_MIN \ |
| 179 | |
| 180 | #define IWL_DEVICE_8265 \ |
| 181 | IWL_DEVICE_8000_COMMON, \ |
| 182 | .ucode_api_max = IWL8265_UCODE_API_MAX, \ |
Oren Givon | 7e502e5 | 2016-01-25 12:00:42 +0200 | [diff] [blame] | 183 | .ucode_api_min = IWL8265_UCODE_API_MIN \ |
| 184 | |
Oren Givon | d4200cb | 2014-09-04 09:16:49 +0200 | [diff] [blame] | 185 | const struct iwl_cfg iwl8260_2n_cfg = { |
| 186 | .name = "Intel(R) Dual Band Wireless N 8260", |
| 187 | .fw_name_pre = IWL8000_FW_PRE, |
Oren Givon | 7e502e5 | 2016-01-25 12:00:42 +0200 | [diff] [blame] | 188 | IWL_DEVICE_8260, |
Oren Givon | d4200cb | 2014-09-04 09:16:49 +0200 | [diff] [blame] | 189 | .ht_params = &iwl8000_ht_params, |
| 190 | .nvm_ver = IWL8000_NVM_VERSION, |
| 191 | .nvm_calib_ver = IWL8000_TX_POWER_VERSION, |
| 192 | }; |
| 193 | |
Eran Harary | 503ab8c | 2013-11-20 07:28:58 +0200 | [diff] [blame] | 194 | const struct iwl_cfg iwl8260_2ac_cfg = { |
| 195 | .name = "Intel(R) Dual Band Wireless AC 8260", |
| 196 | .fw_name_pre = IWL8000_FW_PRE, |
Oren Givon | 7e502e5 | 2016-01-25 12:00:42 +0200 | [diff] [blame] | 197 | IWL_DEVICE_8260, |
Eran Harary | 503ab8c | 2013-11-20 07:28:58 +0200 | [diff] [blame] | 198 | .ht_params = &iwl8000_ht_params, |
| 199 | .nvm_ver = IWL8000_NVM_VERSION, |
| 200 | .nvm_calib_ver = IWL8000_TX_POWER_VERSION, |
Eran Harary | c064ddf | 2014-09-30 06:42:06 +0200 | [diff] [blame] | 201 | .max_ht_ampdu_exponent = IEEE80211_HT_MAX_AMPDU_64K, |
Eran Harary | 503ab8c | 2013-11-20 07:28:58 +0200 | [diff] [blame] | 202 | }; |
| 203 | |
Oren Givon | abf10f8 | 2015-11-01 15:27:58 +0200 | [diff] [blame] | 204 | const struct iwl_cfg iwl8265_2ac_cfg = { |
| 205 | .name = "Intel(R) Dual Band Wireless AC 8265", |
Oren Givon | 7e502e5 | 2016-01-25 12:00:42 +0200 | [diff] [blame] | 206 | .fw_name_pre = IWL8265_FW_PRE, |
| 207 | IWL_DEVICE_8265, |
Oren Givon | abf10f8 | 2015-11-01 15:27:58 +0200 | [diff] [blame] | 208 | .ht_params = &iwl8000_ht_params, |
| 209 | .nvm_ver = IWL8000_NVM_VERSION, |
| 210 | .nvm_calib_ver = IWL8000_TX_POWER_VERSION, |
| 211 | .max_ht_ampdu_exponent = IEEE80211_HT_MAX_AMPDU_64K, |
Sara Sharon | e48c947 | 2016-01-27 18:59:48 +0200 | [diff] [blame] | 212 | .vht_mu_mimo_supported = true, |
Oren Givon | abf10f8 | 2015-11-01 15:27:58 +0200 | [diff] [blame] | 213 | }; |
| 214 | |
Oren Givon | a3e939d | 2016-07-07 09:11:56 +0300 | [diff] [blame] | 215 | const struct iwl_cfg iwl8275_2ac_cfg = { |
| 216 | .name = "Intel(R) Dual Band Wireless AC 8275", |
| 217 | .fw_name_pre = IWL8265_FW_PRE, |
| 218 | IWL_DEVICE_8265, |
| 219 | .ht_params = &iwl8000_ht_params, |
| 220 | .nvm_ver = IWL8000_NVM_VERSION, |
| 221 | .nvm_calib_ver = IWL8000_TX_POWER_VERSION, |
| 222 | .max_ht_ampdu_exponent = IEEE80211_HT_MAX_AMPDU_64K, |
| 223 | .vht_mu_mimo_supported = true, |
| 224 | }; |
| 225 | |
Oren Givon | 9b8a7a9 | 2014-12-23 10:39:48 +0200 | [diff] [blame] | 226 | const struct iwl_cfg iwl4165_2ac_cfg = { |
| 227 | .name = "Intel(R) Dual Band Wireless AC 4165", |
| 228 | .fw_name_pre = IWL8000_FW_PRE, |
| 229 | IWL_DEVICE_8000, |
| 230 | .ht_params = &iwl8000_ht_params, |
| 231 | .nvm_ver = IWL8000_NVM_VERSION, |
| 232 | .nvm_calib_ver = IWL8000_TX_POWER_VERSION, |
| 233 | .max_ht_ampdu_exponent = IEEE80211_HT_MAX_AMPDU_64K, |
| 234 | }; |
| 235 | |
Eran Harary | 52ab4c8 | 2014-06-01 14:55:21 +0300 | [diff] [blame] | 236 | const struct iwl_cfg iwl8260_2ac_sdio_cfg = { |
Ariej Marjieh | 9d91356 | 2014-02-03 23:34:47 +0200 | [diff] [blame] | 237 | .name = "Intel(R) Dual Band Wireless-AC 8260", |
| 238 | .fw_name_pre = IWL8000_FW_PRE, |
Oren Givon | 7e502e5 | 2016-01-25 12:00:42 +0200 | [diff] [blame] | 239 | IWL_DEVICE_8260, |
Ariej Marjieh | 9d91356 | 2014-02-03 23:34:47 +0200 | [diff] [blame] | 240 | .ht_params = &iwl8000_ht_params, |
| 241 | .nvm_ver = IWL8000_NVM_VERSION, |
| 242 | .nvm_calib_ver = IWL8000_TX_POWER_VERSION, |
Oren Givon | 745160e | 2014-06-16 10:54:52 +0300 | [diff] [blame] | 243 | .max_rx_agg_size = MAX_RX_AGG_SIZE_8260_SDIO, |
Alexander Bondar | 9d012d0 | 2015-06-04 10:32:43 +0300 | [diff] [blame] | 244 | .max_tx_agg_size = MAX_TX_AGG_SIZE_8260_SDIO, |
Eran Harary | 161bdb7 | 2014-07-27 08:03:06 +0300 | [diff] [blame] | 245 | .disable_dummy_notification = true, |
Eran Harary | c064ddf | 2014-09-30 06:42:06 +0200 | [diff] [blame] | 246 | .max_ht_ampdu_exponent = MAX_HT_AMPDU_EXPONENT_8260_SDIO, |
| 247 | .max_vht_ampdu_exponent = MAX_VHT_AMPDU_EXPONENT_8260_SDIO, |
Ariej Marjieh | 9d91356 | 2014-02-03 23:34:47 +0200 | [diff] [blame] | 248 | }; |
| 249 | |
Mordechai Goodstein | e5ed179 | 2016-03-29 14:41:49 +0300 | [diff] [blame] | 250 | const struct iwl_cfg iwl8265_2ac_sdio_cfg = { |
| 251 | .name = "Intel(R) Dual Band Wireless-AC 8265", |
| 252 | .fw_name_pre = IWL8265_FW_PRE, |
| 253 | IWL_DEVICE_8265, |
| 254 | .ht_params = &iwl8000_ht_params, |
| 255 | .nvm_ver = IWL8000_NVM_VERSION, |
| 256 | .nvm_calib_ver = IWL8000_TX_POWER_VERSION, |
| 257 | .max_rx_agg_size = MAX_RX_AGG_SIZE_8260_SDIO, |
| 258 | .max_tx_agg_size = MAX_TX_AGG_SIZE_8260_SDIO, |
| 259 | .disable_dummy_notification = true, |
| 260 | .max_ht_ampdu_exponent = MAX_HT_AMPDU_EXPONENT_8260_SDIO, |
| 261 | .max_vht_ampdu_exponent = MAX_VHT_AMPDU_EXPONENT_8260_SDIO, |
| 262 | }; |
| 263 | |
Oren Givon | 773cb02 | 2014-12-01 11:40:46 +0200 | [diff] [blame] | 264 | const struct iwl_cfg iwl4165_2ac_sdio_cfg = { |
| 265 | .name = "Intel(R) Dual Band Wireless-AC 4165", |
Oren Givon | 3c4e299 | 2014-10-14 11:26:52 +0300 | [diff] [blame] | 266 | .fw_name_pre = IWL8000_FW_PRE, |
| 267 | IWL_DEVICE_8000, |
| 268 | .ht_params = &iwl8000_ht_params, |
| 269 | .nvm_ver = IWL8000_NVM_VERSION, |
| 270 | .nvm_calib_ver = IWL8000_TX_POWER_VERSION, |
Oren Givon | 3c4e299 | 2014-10-14 11:26:52 +0300 | [diff] [blame] | 271 | .max_rx_agg_size = MAX_RX_AGG_SIZE_8260_SDIO, |
Alexander Bondar | 9d012d0 | 2015-06-04 10:32:43 +0300 | [diff] [blame] | 272 | .max_tx_agg_size = MAX_TX_AGG_SIZE_8260_SDIO, |
Oren Givon | 3c4e299 | 2014-10-14 11:26:52 +0300 | [diff] [blame] | 273 | .bt_shared_single_ant = true, |
| 274 | .disable_dummy_notification = true, |
| 275 | .max_ht_ampdu_exponent = MAX_HT_AMPDU_EXPONENT_8260_SDIO, |
| 276 | .max_vht_ampdu_exponent = MAX_VHT_AMPDU_EXPONENT_8260_SDIO, |
| 277 | }; |
| 278 | |
Emmanuel Grumbach | 9d9b21d | 2016-03-24 08:44:57 +0200 | [diff] [blame] | 279 | MODULE_FIRMWARE(IWL8000_MODULE_FIRMWARE(IWL8000_UCODE_API_MAX)); |
| 280 | MODULE_FIRMWARE(IWL8265_MODULE_FIRMWARE(IWL8265_UCODE_API_MAX)); |