Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 1 | /****************************************************************************** |
| 2 | * |
Wey-Yi Guy | 4e31826 | 2011-12-27 11:21:32 -0800 | [diff] [blame] | 3 | * Copyright(c) 2008 - 2012 Intel Corporation. All rights reserved. |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify it |
| 6 | * under the terms of version 2 of the GNU General Public License as |
| 7 | * published by the Free Software Foundation. |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, but WITHOUT |
| 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 11 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
| 12 | * more details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU General Public License along with |
| 15 | * this program; if not, write to the Free Software Foundation, Inc., |
| 16 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA |
| 17 | * |
| 18 | * The full GNU General Public License is included in this distribution in the |
| 19 | * file called LICENSE. |
| 20 | * |
| 21 | * Contact Information: |
| 22 | * Intel Linux Wireless <ilw@linux.intel.com> |
| 23 | * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 |
| 24 | * |
| 25 | *****************************************************************************/ |
| 26 | |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 27 | #include <linux/module.h> |
Evgeni Golov | 8fcbd4dc | 2011-06-12 05:34:31 -0700 | [diff] [blame] | 28 | #include <linux/stringify.h> |
Johannes Berg | e967669 | 2012-04-10 14:10:28 -0700 | [diff] [blame] | 29 | #include "iwl-config.h" |
Johannes Berg | cebcbd7 | 2011-09-15 11:46:46 -0700 | [diff] [blame] | 30 | #include "iwl-cfg.h" |
Johannes Berg | 0db19cd | 2012-04-03 20:57:59 +0200 | [diff] [blame] | 31 | #include "iwl-agn-hw.h" |
| 32 | #include "iwl-commands.h" /* needed for BT for now */ |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 33 | |
| 34 | /* Highest firmware API version supported */ |
Johannes Berg | ca9a460 | 2011-07-23 10:24:45 -0700 | [diff] [blame] | 35 | #define IWL2030_UCODE_API_MAX 6 |
| 36 | #define IWL2000_UCODE_API_MAX 6 |
| 37 | #define IWL105_UCODE_API_MAX 6 |
| 38 | #define IWL135_UCODE_API_MAX 6 |
| 39 | |
| 40 | /* Oldest version we won't warn about */ |
Meenakshi Venkataraman | 78cbcf2 | 2012-04-22 07:55:27 -0700 | [diff] [blame] | 41 | #define IWL2030_UCODE_API_OK 6 |
| 42 | #define IWL2000_UCODE_API_OK 6 |
| 43 | #define IWL105_UCODE_API_OK 6 |
| 44 | #define IWL135_UCODE_API_OK 6 |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 45 | |
| 46 | /* Lowest firmware API version supported */ |
| 47 | #define IWL2030_UCODE_API_MIN 5 |
| 48 | #define IWL2000_UCODE_API_MIN 5 |
Wey-Yi Guy | b4ed221 | 2011-04-30 08:55:16 -0700 | [diff] [blame] | 49 | #define IWL105_UCODE_API_MIN 5 |
Wey-Yi Guy | 54e9c40 | 2011-07-01 07:47:59 -0700 | [diff] [blame] | 50 | #define IWL135_UCODE_API_MIN 5 |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 51 | |
Johannes Berg | 586aed9 | 2012-04-03 20:41:07 +0200 | [diff] [blame] | 52 | /* EEPROM version */ |
| 53 | #define EEPROM_2000_TX_POWER_VERSION (6) |
| 54 | #define EEPROM_2000_EEPROM_VERSION (0x805) |
| 55 | |
| 56 | |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 57 | #define IWL2030_FW_PRE "iwlwifi-2030-" |
Evgeni Golov | 8fcbd4dc | 2011-06-12 05:34:31 -0700 | [diff] [blame] | 58 | #define IWL2030_MODULE_FIRMWARE(api) IWL2030_FW_PRE __stringify(api) ".ucode" |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 59 | |
| 60 | #define IWL2000_FW_PRE "iwlwifi-2000-" |
Evgeni Golov | 8fcbd4dc | 2011-06-12 05:34:31 -0700 | [diff] [blame] | 61 | #define IWL2000_MODULE_FIRMWARE(api) IWL2000_FW_PRE __stringify(api) ".ucode" |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 62 | |
Wey-Yi Guy | b4ed221 | 2011-04-30 08:55:16 -0700 | [diff] [blame] | 63 | #define IWL105_FW_PRE "iwlwifi-105-" |
Evgeni Golov | 8fcbd4dc | 2011-06-12 05:34:31 -0700 | [diff] [blame] | 64 | #define IWL105_MODULE_FIRMWARE(api) IWL105_FW_PRE __stringify(api) ".ucode" |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 65 | |
Wey-Yi Guy | 54e9c40 | 2011-07-01 07:47:59 -0700 | [diff] [blame] | 66 | #define IWL135_FW_PRE "iwlwifi-135-" |
Fry, Donald H | 5092e47 | 2011-09-15 11:46:37 -0700 | [diff] [blame] | 67 | #define IWL135_MODULE_FIRMWARE(api) IWL135_FW_PRE __stringify(api) ".ucode" |
Wey-Yi Guy | 54e9c40 | 2011-07-01 07:47:59 -0700 | [diff] [blame] | 68 | |
Johannes Berg | 6794f3e | 2012-03-06 13:30:56 -0800 | [diff] [blame] | 69 | static const struct iwl_base_params iwl2000_base_params = { |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 70 | .eeprom_size = OTP_LOW_IMAGE_SIZE, |
| 71 | .num_of_queues = IWLAGN_NUM_QUEUES, |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 72 | .pll_cfg_val = 0, |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 73 | .max_ll_items = OTP_MAX_LL_ITEMS_2x00, |
| 74 | .shadow_ram_support = true, |
| 75 | .led_compensation = 51, |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 76 | .adv_thermal_throttle = true, |
| 77 | .support_ct_kill_exit = true, |
| 78 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, |
| 79 | .chain_noise_scale = 1000, |
| 80 | .wd_timeout = IWL_DEF_WD_TIMEOUT, |
| 81 | .max_event_log_size = 512, |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 82 | .shadow_reg_enable = true, |
Wey-Yi Guy | ae7f9a7 | 2011-07-23 10:24:50 -0700 | [diff] [blame] | 83 | .hd_v2 = true, |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 84 | }; |
| 85 | |
| 86 | |
Johannes Berg | 6794f3e | 2012-03-06 13:30:56 -0800 | [diff] [blame] | 87 | static const struct iwl_base_params iwl2030_base_params = { |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 88 | .eeprom_size = OTP_LOW_IMAGE_SIZE, |
| 89 | .num_of_queues = IWLAGN_NUM_QUEUES, |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 90 | .pll_cfg_val = 0, |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 91 | .max_ll_items = OTP_MAX_LL_ITEMS_2x00, |
| 92 | .shadow_ram_support = true, |
| 93 | .led_compensation = 57, |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 94 | .adv_thermal_throttle = true, |
| 95 | .support_ct_kill_exit = true, |
| 96 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, |
| 97 | .chain_noise_scale = 1000, |
| 98 | .wd_timeout = IWL_LONG_WD_TIMEOUT, |
| 99 | .max_event_log_size = 512, |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 100 | .shadow_reg_enable = true, |
Wey-Yi Guy | ae7f9a7 | 2011-07-23 10:24:50 -0700 | [diff] [blame] | 101 | .hd_v2 = true, |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 102 | }; |
| 103 | |
Johannes Berg | 6794f3e | 2012-03-06 13:30:56 -0800 | [diff] [blame] | 104 | static const struct iwl_ht_params iwl2000_ht_params = { |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 105 | .ht_greenfield_support = true, |
| 106 | .use_rts_for_aggregation = true, /* use rts/cts protection */ |
| 107 | }; |
| 108 | |
Johannes Berg | 6794f3e | 2012-03-06 13:30:56 -0800 | [diff] [blame] | 109 | static const struct iwl_bt_params iwl2030_bt_params = { |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 110 | /* Due to bluetooth, we transmit 2.4 GHz probes only on antenna A */ |
| 111 | .advanced_bt_coexist = true, |
| 112 | .agg_time_limit = BT_AGG_THRESHOLD_DEF, |
| 113 | .bt_init_traffic_load = IWL_BT_COEX_TRAFFIC_LOAD_NONE, |
| 114 | .bt_prio_boost = IWLAGN_BT_PRIO_BOOST_DEFAULT, |
| 115 | .bt_sco_disable = true, |
Wey-Yi Guy | 6013270 | 2011-02-18 17:23:54 -0800 | [diff] [blame] | 116 | .bt_session_2 = true, |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 117 | }; |
| 118 | |
| 119 | #define IWL_DEVICE_2000 \ |
| 120 | .fw_name_pre = IWL2000_FW_PRE, \ |
| 121 | .ucode_api_max = IWL2000_UCODE_API_MAX, \ |
Johannes Berg | ca9a460 | 2011-07-23 10:24:45 -0700 | [diff] [blame] | 122 | .ucode_api_ok = IWL2000_UCODE_API_OK, \ |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 123 | .ucode_api_min = IWL2000_UCODE_API_MIN, \ |
Johannes Berg | 2d771cb | 2012-04-09 17:47:00 -0700 | [diff] [blame] | 124 | .device_family = IWL_DEVICE_FAMILY_2000, \ |
Emmanuel Grumbach | dae66d0 | 2012-02-07 12:56:26 +0200 | [diff] [blame] | 125 | .max_inst_size = IWL60_RTC_INST_SIZE, \ |
| 126 | .max_data_size = IWL60_RTC_DATA_SIZE, \ |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 127 | .eeprom_ver = EEPROM_2000_EEPROM_VERSION, \ |
| 128 | .eeprom_calib_ver = EEPROM_2000_TX_POWER_VERSION, \ |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 129 | .base_params = &iwl2000_base_params, \ |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 130 | .need_temp_offset_calib = true, \ |
Wey-Yi Guy | c6f3034 | 2011-09-15 11:46:50 -0700 | [diff] [blame] | 131 | .temp_offset_v2 = true, \ |
Johannes Berg | cf61686 | 2012-03-15 13:26:49 -0700 | [diff] [blame] | 132 | .led_mode = IWL_LED_RF_STATE |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 133 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 134 | const struct iwl_cfg iwl2000_2bgn_cfg = { |
Don Fry | 6195d13 | 2011-12-06 10:42:41 -0800 | [diff] [blame] | 135 | .name = "Intel(R) Centrino(R) Wireless-N 2200 BGN", |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 136 | IWL_DEVICE_2000, |
| 137 | .ht_params = &iwl2000_ht_params, |
| 138 | }; |
| 139 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 140 | const struct iwl_cfg iwl2000_2bgn_d_cfg = { |
Don Fry | 6195d13 | 2011-12-06 10:42:41 -0800 | [diff] [blame] | 141 | .name = "Intel(R) Centrino(R) Wireless-N 2200D BGN", |
Wey-Yi Guy | 1603dd4 | 2011-08-25 23:11:17 -0700 | [diff] [blame] | 142 | IWL_DEVICE_2000, |
Wey-Yi Guy | ec8f734 | 2011-09-06 09:31:23 -0700 | [diff] [blame] | 143 | .ht_params = &iwl2000_ht_params, |
Wey-Yi Guy | 1603dd4 | 2011-08-25 23:11:17 -0700 | [diff] [blame] | 144 | }; |
| 145 | |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 146 | #define IWL_DEVICE_2030 \ |
| 147 | .fw_name_pre = IWL2030_FW_PRE, \ |
| 148 | .ucode_api_max = IWL2030_UCODE_API_MAX, \ |
Johannes Berg | ca9a460 | 2011-07-23 10:24:45 -0700 | [diff] [blame] | 149 | .ucode_api_ok = IWL2030_UCODE_API_OK, \ |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 150 | .ucode_api_min = IWL2030_UCODE_API_MIN, \ |
Johannes Berg | 2d771cb | 2012-04-09 17:47:00 -0700 | [diff] [blame] | 151 | .device_family = IWL_DEVICE_FAMILY_2030, \ |
Emmanuel Grumbach | dae66d0 | 2012-02-07 12:56:26 +0200 | [diff] [blame] | 152 | .max_inst_size = IWL60_RTC_INST_SIZE, \ |
| 153 | .max_data_size = IWL60_RTC_DATA_SIZE, \ |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 154 | .eeprom_ver = EEPROM_2000_EEPROM_VERSION, \ |
| 155 | .eeprom_calib_ver = EEPROM_2000_TX_POWER_VERSION, \ |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 156 | .base_params = &iwl2030_base_params, \ |
| 157 | .bt_params = &iwl2030_bt_params, \ |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 158 | .need_temp_offset_calib = true, \ |
Wey-Yi Guy | c6f3034 | 2011-09-15 11:46:50 -0700 | [diff] [blame] | 159 | .temp_offset_v2 = true, \ |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 160 | .led_mode = IWL_LED_RF_STATE, \ |
Johannes Berg | cf61686 | 2012-03-15 13:26:49 -0700 | [diff] [blame] | 161 | .adv_pm = true |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 162 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 163 | const struct iwl_cfg iwl2030_2bgn_cfg = { |
Don Fry | 6195d13 | 2011-12-06 10:42:41 -0800 | [diff] [blame] | 164 | .name = "Intel(R) Centrino(R) Wireless-N 2230 BGN", |
Wey-Yi Guy | 96234cc | 2011-01-24 11:44:42 -0800 | [diff] [blame] | 165 | IWL_DEVICE_2030, |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 166 | .ht_params = &iwl2000_ht_params, |
| 167 | }; |
| 168 | |
Wey-Yi Guy | b4ed221 | 2011-04-30 08:55:16 -0700 | [diff] [blame] | 169 | #define IWL_DEVICE_105 \ |
| 170 | .fw_name_pre = IWL105_FW_PRE, \ |
| 171 | .ucode_api_max = IWL105_UCODE_API_MAX, \ |
Johannes Berg | ca9a460 | 2011-07-23 10:24:45 -0700 | [diff] [blame] | 172 | .ucode_api_ok = IWL105_UCODE_API_OK, \ |
Wey-Yi Guy | b4ed221 | 2011-04-30 08:55:16 -0700 | [diff] [blame] | 173 | .ucode_api_min = IWL105_UCODE_API_MIN, \ |
Johannes Berg | 2d771cb | 2012-04-09 17:47:00 -0700 | [diff] [blame] | 174 | .device_family = IWL_DEVICE_FAMILY_105, \ |
Emmanuel Grumbach | dae66d0 | 2012-02-07 12:56:26 +0200 | [diff] [blame] | 175 | .max_inst_size = IWL60_RTC_INST_SIZE, \ |
| 176 | .max_data_size = IWL60_RTC_DATA_SIZE, \ |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 177 | .eeprom_ver = EEPROM_2000_EEPROM_VERSION, \ |
| 178 | .eeprom_calib_ver = EEPROM_2000_TX_POWER_VERSION, \ |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 179 | .base_params = &iwl2000_base_params, \ |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 180 | .need_temp_offset_calib = true, \ |
Wey-Yi Guy | c6f3034 | 2011-09-15 11:46:50 -0700 | [diff] [blame] | 181 | .temp_offset_v2 = true, \ |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 182 | .led_mode = IWL_LED_RF_STATE, \ |
| 183 | .adv_pm = true, \ |
Johannes Berg | cf61686 | 2012-03-15 13:26:49 -0700 | [diff] [blame] | 184 | .rx_with_siso_diversity = true |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 185 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 186 | const struct iwl_cfg iwl105_bgn_cfg = { |
Don Fry | 6195d13 | 2011-12-06 10:42:41 -0800 | [diff] [blame] | 187 | .name = "Intel(R) Centrino(R) Wireless-N 105 BGN", |
Wey-Yi Guy | b4ed221 | 2011-04-30 08:55:16 -0700 | [diff] [blame] | 188 | IWL_DEVICE_105, |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 189 | .ht_params = &iwl2000_ht_params, |
| 190 | }; |
| 191 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 192 | const struct iwl_cfg iwl105_bgn_d_cfg = { |
Don Fry | 6195d13 | 2011-12-06 10:42:41 -0800 | [diff] [blame] | 193 | .name = "Intel(R) Centrino(R) Wireless-N 105D BGN", |
Wey-Yi Guy | b319d3e | 2011-10-10 07:27:01 -0700 | [diff] [blame] | 194 | IWL_DEVICE_105, |
| 195 | .ht_params = &iwl2000_ht_params, |
| 196 | }; |
| 197 | |
Wey-Yi Guy | b4ed221 | 2011-04-30 08:55:16 -0700 | [diff] [blame] | 198 | #define IWL_DEVICE_135 \ |
Wey-Yi Guy | 54e9c40 | 2011-07-01 07:47:59 -0700 | [diff] [blame] | 199 | .fw_name_pre = IWL135_FW_PRE, \ |
| 200 | .ucode_api_max = IWL135_UCODE_API_MAX, \ |
Johannes Berg | ca9a460 | 2011-07-23 10:24:45 -0700 | [diff] [blame] | 201 | .ucode_api_ok = IWL135_UCODE_API_OK, \ |
Wey-Yi Guy | 54e9c40 | 2011-07-01 07:47:59 -0700 | [diff] [blame] | 202 | .ucode_api_min = IWL135_UCODE_API_MIN, \ |
Johannes Berg | 2d771cb | 2012-04-09 17:47:00 -0700 | [diff] [blame] | 203 | .device_family = IWL_DEVICE_FAMILY_135, \ |
Emmanuel Grumbach | dae66d0 | 2012-02-07 12:56:26 +0200 | [diff] [blame] | 204 | .max_inst_size = IWL60_RTC_INST_SIZE, \ |
| 205 | .max_data_size = IWL60_RTC_DATA_SIZE, \ |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 206 | .eeprom_ver = EEPROM_2000_EEPROM_VERSION, \ |
| 207 | .eeprom_calib_ver = EEPROM_2000_TX_POWER_VERSION, \ |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 208 | .base_params = &iwl2030_base_params, \ |
| 209 | .bt_params = &iwl2030_bt_params, \ |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 210 | .need_temp_offset_calib = true, \ |
Wey-Yi Guy | c6f3034 | 2011-09-15 11:46:50 -0700 | [diff] [blame] | 211 | .temp_offset_v2 = true, \ |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 212 | .led_mode = IWL_LED_RF_STATE, \ |
| 213 | .adv_pm = true, \ |
Johannes Berg | cf61686 | 2012-03-15 13:26:49 -0700 | [diff] [blame] | 214 | .rx_with_siso_diversity = true |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 215 | |
Johannes Berg | 706c4ff | 2012-03-05 11:24:33 -0800 | [diff] [blame] | 216 | const struct iwl_cfg iwl135_bgn_cfg = { |
Don Fry | 6195d13 | 2011-12-06 10:42:41 -0800 | [diff] [blame] | 217 | .name = "Intel(R) Centrino(R) Wireless-N 135 BGN", |
Wey-Yi Guy | b4ed221 | 2011-04-30 08:55:16 -0700 | [diff] [blame] | 218 | IWL_DEVICE_135, |
Wey-Yi Guy | c5a5e18 | 2011-01-21 15:47:21 -0800 | [diff] [blame] | 219 | .ht_params = &iwl2000_ht_params, |
| 220 | }; |
| 221 | |
Meenakshi Venkataraman | 78cbcf2 | 2012-04-22 07:55:27 -0700 | [diff] [blame] | 222 | MODULE_FIRMWARE(IWL2000_MODULE_FIRMWARE(IWL2000_UCODE_API_OK)); |
| 223 | MODULE_FIRMWARE(IWL2030_MODULE_FIRMWARE(IWL2030_UCODE_API_OK)); |
| 224 | MODULE_FIRMWARE(IWL105_MODULE_FIRMWARE(IWL105_UCODE_API_OK)); |
| 225 | MODULE_FIRMWARE(IWL135_MODULE_FIRMWARE(IWL135_UCODE_API_OK)); |