diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-6000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-6000.c | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-6000.c b/drivers/net/wireless/iwlwifi/iwl-6000.c index c3ec6c20cc94..0b731fd5ad1c 100644 --- a/drivers/net/wireless/iwlwifi/iwl-6000.c +++ b/drivers/net/wireless/iwlwifi/iwl-6000.c | |||
@@ -161,7 +161,7 @@ struct iwl_cfg iwl6000h_2agn_cfg = { | |||
161 | .ucode_api_min = IWL6000_UCODE_API_MIN, | 161 | .ucode_api_min = IWL6000_UCODE_API_MIN, |
162 | .sku = IWL_SKU_A|IWL_SKU_G|IWL_SKU_N, | 162 | .sku = IWL_SKU_A|IWL_SKU_G|IWL_SKU_N, |
163 | .ops = &iwl6000_ops, | 163 | .ops = &iwl6000_ops, |
164 | .eeprom_size = IWL_5000_EEPROM_IMG_SIZE, | 164 | .eeprom_size = OTP_LOW_IMAGE_SIZE, |
165 | .eeprom_ver = EEPROM_5000_EEPROM_VERSION, | 165 | .eeprom_ver = EEPROM_5000_EEPROM_VERSION, |
166 | .eeprom_calib_ver = EEPROM_5000_TX_POWER_VERSION, | 166 | .eeprom_calib_ver = EEPROM_5000_TX_POWER_VERSION, |
167 | .mod_params = &iwl50_mod_params, | 167 | .mod_params = &iwl50_mod_params, |
@@ -169,6 +169,8 @@ struct iwl_cfg iwl6000h_2agn_cfg = { | |||
169 | .valid_rx_ant = ANT_AB, | 169 | .valid_rx_ant = ANT_AB, |
170 | .need_pll_cfg = false, | 170 | .need_pll_cfg = false, |
171 | .pa_type = IWL_PA_HYBRID, | 171 | .pa_type = IWL_PA_HYBRID, |
172 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, | ||
173 | .shadow_ram_support = true, | ||
172 | }; | 174 | }; |
173 | 175 | ||
174 | /* | 176 | /* |
@@ -181,7 +183,7 @@ struct iwl_cfg iwl6000i_2agn_cfg = { | |||
181 | .ucode_api_min = IWL6000_UCODE_API_MIN, | 183 | .ucode_api_min = IWL6000_UCODE_API_MIN, |
182 | .sku = IWL_SKU_A|IWL_SKU_G|IWL_SKU_N, | 184 | .sku = IWL_SKU_A|IWL_SKU_G|IWL_SKU_N, |
183 | .ops = &iwl6000_ops, | 185 | .ops = &iwl6000_ops, |
184 | .eeprom_size = IWL_5000_EEPROM_IMG_SIZE, | 186 | .eeprom_size = OTP_LOW_IMAGE_SIZE, |
185 | .eeprom_ver = EEPROM_5000_EEPROM_VERSION, | 187 | .eeprom_ver = EEPROM_5000_EEPROM_VERSION, |
186 | .eeprom_calib_ver = EEPROM_5000_TX_POWER_VERSION, | 188 | .eeprom_calib_ver = EEPROM_5000_TX_POWER_VERSION, |
187 | .mod_params = &iwl50_mod_params, | 189 | .mod_params = &iwl50_mod_params, |
@@ -189,6 +191,8 @@ struct iwl_cfg iwl6000i_2agn_cfg = { | |||
189 | .valid_rx_ant = ANT_BC, | 191 | .valid_rx_ant = ANT_BC, |
190 | .need_pll_cfg = false, | 192 | .need_pll_cfg = false, |
191 | .pa_type = IWL_PA_INTERNAL, | 193 | .pa_type = IWL_PA_INTERNAL, |
194 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, | ||
195 | .shadow_ram_support = true, | ||
192 | }; | 196 | }; |
193 | 197 | ||
194 | struct iwl_cfg iwl6050_2agn_cfg = { | 198 | struct iwl_cfg iwl6050_2agn_cfg = { |
@@ -198,7 +202,7 @@ struct iwl_cfg iwl6050_2agn_cfg = { | |||
198 | .ucode_api_min = IWL6050_UCODE_API_MIN, | 202 | .ucode_api_min = IWL6050_UCODE_API_MIN, |
199 | .sku = IWL_SKU_A|IWL_SKU_G|IWL_SKU_N, | 203 | .sku = IWL_SKU_A|IWL_SKU_G|IWL_SKU_N, |
200 | .ops = &iwl6000_ops, | 204 | .ops = &iwl6000_ops, |
201 | .eeprom_size = IWL_5000_EEPROM_IMG_SIZE, | 205 | .eeprom_size = OTP_LOW_IMAGE_SIZE, |
202 | .eeprom_ver = EEPROM_5000_EEPROM_VERSION, | 206 | .eeprom_ver = EEPROM_5000_EEPROM_VERSION, |
203 | .eeprom_calib_ver = EEPROM_5000_TX_POWER_VERSION, | 207 | .eeprom_calib_ver = EEPROM_5000_TX_POWER_VERSION, |
204 | .mod_params = &iwl50_mod_params, | 208 | .mod_params = &iwl50_mod_params, |
@@ -206,6 +210,8 @@ struct iwl_cfg iwl6050_2agn_cfg = { | |||
206 | .valid_rx_ant = ANT_AB, | 210 | .valid_rx_ant = ANT_AB, |
207 | .need_pll_cfg = false, | 211 | .need_pll_cfg = false, |
208 | .pa_type = IWL_PA_SYSTEM, | 212 | .pa_type = IWL_PA_SYSTEM, |
213 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, | ||
214 | .shadow_ram_support = true, | ||
209 | }; | 215 | }; |
210 | 216 | ||
211 | struct iwl_cfg iwl6000_3agn_cfg = { | 217 | struct iwl_cfg iwl6000_3agn_cfg = { |
@@ -215,7 +221,7 @@ struct iwl_cfg iwl6000_3agn_cfg = { | |||
215 | .ucode_api_min = IWL6000_UCODE_API_MIN, | 221 | .ucode_api_min = IWL6000_UCODE_API_MIN, |
216 | .sku = IWL_SKU_A|IWL_SKU_G|IWL_SKU_N, | 222 | .sku = IWL_SKU_A|IWL_SKU_G|IWL_SKU_N, |
217 | .ops = &iwl6000_ops, | 223 | .ops = &iwl6000_ops, |
218 | .eeprom_size = IWL_5000_EEPROM_IMG_SIZE, | 224 | .eeprom_size = OTP_LOW_IMAGE_SIZE, |
219 | .eeprom_ver = EEPROM_5000_EEPROM_VERSION, | 225 | .eeprom_ver = EEPROM_5000_EEPROM_VERSION, |
220 | .eeprom_calib_ver = EEPROM_5000_TX_POWER_VERSION, | 226 | .eeprom_calib_ver = EEPROM_5000_TX_POWER_VERSION, |
221 | .mod_params = &iwl50_mod_params, | 227 | .mod_params = &iwl50_mod_params, |
@@ -223,6 +229,8 @@ struct iwl_cfg iwl6000_3agn_cfg = { | |||
223 | .valid_rx_ant = ANT_ABC, | 229 | .valid_rx_ant = ANT_ABC, |
224 | .need_pll_cfg = false, | 230 | .need_pll_cfg = false, |
225 | .pa_type = IWL_PA_SYSTEM, | 231 | .pa_type = IWL_PA_SYSTEM, |
232 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, | ||
233 | .shadow_ram_support = true, | ||
226 | }; | 234 | }; |
227 | 235 | ||
228 | struct iwl_cfg iwl6050_3agn_cfg = { | 236 | struct iwl_cfg iwl6050_3agn_cfg = { |
@@ -232,7 +240,7 @@ struct iwl_cfg iwl6050_3agn_cfg = { | |||
232 | .ucode_api_min = IWL6050_UCODE_API_MIN, | 240 | .ucode_api_min = IWL6050_UCODE_API_MIN, |
233 | .sku = IWL_SKU_A|IWL_SKU_G|IWL_SKU_N, | 241 | .sku = IWL_SKU_A|IWL_SKU_G|IWL_SKU_N, |
234 | .ops = &iwl6000_ops, | 242 | .ops = &iwl6000_ops, |
235 | .eeprom_size = IWL_5000_EEPROM_IMG_SIZE, | 243 | .eeprom_size = OTP_LOW_IMAGE_SIZE, |
236 | .eeprom_ver = EEPROM_5000_EEPROM_VERSION, | 244 | .eeprom_ver = EEPROM_5000_EEPROM_VERSION, |
237 | .eeprom_calib_ver = EEPROM_5000_TX_POWER_VERSION, | 245 | .eeprom_calib_ver = EEPROM_5000_TX_POWER_VERSION, |
238 | .mod_params = &iwl50_mod_params, | 246 | .mod_params = &iwl50_mod_params, |
@@ -240,6 +248,8 @@ struct iwl_cfg iwl6050_3agn_cfg = { | |||
240 | .valid_rx_ant = ANT_ABC, | 248 | .valid_rx_ant = ANT_ABC, |
241 | .need_pll_cfg = false, | 249 | .need_pll_cfg = false, |
242 | .pa_type = IWL_PA_SYSTEM, | 250 | .pa_type = IWL_PA_SYSTEM, |
251 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, | ||
252 | .shadow_ram_support = true, | ||
243 | }; | 253 | }; |
244 | 254 | ||
245 | MODULE_FIRMWARE(IWL6000_MODULE_FIRMWARE(IWL6000_UCODE_API_MAX)); | 255 | MODULE_FIRMWARE(IWL6000_MODULE_FIRMWARE(IWL6000_UCODE_API_MAX)); |