aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-1000.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-1000.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-1000.c21
1 files changed, 12 insertions, 9 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-1000.c b/drivers/net/wireless/iwlwifi/iwl-1000.c
index db540910b11..3100a72b9b4 100644
--- a/drivers/net/wireless/iwlwifi/iwl-1000.c
+++ b/drivers/net/wireless/iwlwifi/iwl-1000.c
@@ -211,14 +211,16 @@ static struct iwl_lib_ops iwl1000_lib = {
211 .calib_version = iwlagn_eeprom_calib_version, 211 .calib_version = iwlagn_eeprom_calib_version,
212 .query_addr = iwlagn_eeprom_query_addr, 212 .query_addr = iwlagn_eeprom_query_addr,
213 }, 213 },
214 .post_associate = iwl_post_associate, 214 .isr_ops = {
215 .isr = iwl_isr_ict, 215 .isr = iwl_isr_ict,
216 .config_ap = iwl_config_ap, 216 .free = iwl_free_isr_ict,
217 .alloc = iwl_alloc_isr_ict,
218 .reset = iwl_reset_ict,
219 .disable = iwl_disable_ict,
220 },
217 .temp_ops = { 221 .temp_ops = {
218 .temperature = iwlagn_temperature, 222 .temperature = iwlagn_temperature,
219 }, 223 },
220 .manage_ibss_station = iwlagn_manage_ibss_station,
221 .update_bcast_stations = iwl_update_bcast_stations,
222 .debugfs_ops = { 224 .debugfs_ops = {
223 .rx_stats_read = iwl_ucode_rx_stats_read, 225 .rx_stats_read = iwl_ucode_rx_stats_read,
224 .tx_stats_read = iwl_ucode_tx_stats_read, 226 .tx_stats_read = iwl_ucode_tx_stats_read,
@@ -243,6 +245,7 @@ static const struct iwl_ops iwl1000_ops = {
243 .hcmd = &iwlagn_hcmd, 245 .hcmd = &iwlagn_hcmd,
244 .utils = &iwlagn_hcmd_utils, 246 .utils = &iwlagn_hcmd_utils,
245 .led = &iwlagn_led_ops, 247 .led = &iwlagn_led_ops,
248 .ieee80211_ops = &iwlagn_hw_ops,
246}; 249};
247 250
248static struct iwl_base_params iwl1000_base_params = { 251static struct iwl_base_params iwl1000_base_params = {
@@ -275,7 +278,6 @@ struct iwl_cfg iwl1000_bgn_cfg = {
275 .fw_name_pre = IWL1000_FW_PRE, 278 .fw_name_pre = IWL1000_FW_PRE,
276 .ucode_api_max = IWL1000_UCODE_API_MAX, 279 .ucode_api_max = IWL1000_UCODE_API_MAX,
277 .ucode_api_min = IWL1000_UCODE_API_MIN, 280 .ucode_api_min = IWL1000_UCODE_API_MIN,
278 .sku = IWL_SKU_G|IWL_SKU_N,
279 .valid_tx_ant = ANT_A, 281 .valid_tx_ant = ANT_A,
280 .valid_rx_ant = ANT_AB, 282 .valid_rx_ant = ANT_AB,
281 .eeprom_ver = EEPROM_1000_EEPROM_VERSION, 283 .eeprom_ver = EEPROM_1000_EEPROM_VERSION,
@@ -284,6 +286,7 @@ struct iwl_cfg iwl1000_bgn_cfg = {
284 .mod_params = &iwlagn_mod_params, 286 .mod_params = &iwlagn_mod_params,
285 .base_params = &iwl1000_base_params, 287 .base_params = &iwl1000_base_params,
286 .ht_params = &iwl1000_ht_params, 288 .ht_params = &iwl1000_ht_params,
289 .led_mode = IWL_LED_BLINK,
287}; 290};
288 291
289struct iwl_cfg iwl1000_bg_cfg = { 292struct iwl_cfg iwl1000_bg_cfg = {
@@ -291,7 +294,6 @@ struct iwl_cfg iwl1000_bg_cfg = {
291 .fw_name_pre = IWL1000_FW_PRE, 294 .fw_name_pre = IWL1000_FW_PRE,
292 .ucode_api_max = IWL1000_UCODE_API_MAX, 295 .ucode_api_max = IWL1000_UCODE_API_MAX,
293 .ucode_api_min = IWL1000_UCODE_API_MIN, 296 .ucode_api_min = IWL1000_UCODE_API_MIN,
294 .sku = IWL_SKU_G,
295 .valid_tx_ant = ANT_A, 297 .valid_tx_ant = ANT_A,
296 .valid_rx_ant = ANT_AB, 298 .valid_rx_ant = ANT_AB,
297 .eeprom_ver = EEPROM_1000_EEPROM_VERSION, 299 .eeprom_ver = EEPROM_1000_EEPROM_VERSION,
@@ -299,6 +301,7 @@ struct iwl_cfg iwl1000_bg_cfg = {
299 .ops = &iwl1000_ops, 301 .ops = &iwl1000_ops,
300 .mod_params = &iwlagn_mod_params, 302 .mod_params = &iwlagn_mod_params,
301 .base_params = &iwl1000_base_params, 303 .base_params = &iwl1000_base_params,
304 .led_mode = IWL_LED_BLINK,
302}; 305};
303 306
304struct iwl_cfg iwl100_bgn_cfg = { 307struct iwl_cfg iwl100_bgn_cfg = {
@@ -306,7 +309,6 @@ struct iwl_cfg iwl100_bgn_cfg = {
306 .fw_name_pre = IWL100_FW_PRE, 309 .fw_name_pre = IWL100_FW_PRE,
307 .ucode_api_max = IWL100_UCODE_API_MAX, 310 .ucode_api_max = IWL100_UCODE_API_MAX,
308 .ucode_api_min = IWL100_UCODE_API_MIN, 311 .ucode_api_min = IWL100_UCODE_API_MIN,
309 .sku = IWL_SKU_G|IWL_SKU_N,
310 .valid_tx_ant = ANT_A, 312 .valid_tx_ant = ANT_A,
311 .valid_rx_ant = ANT_A, 313 .valid_rx_ant = ANT_A,
312 .eeprom_ver = EEPROM_1000_EEPROM_VERSION, 314 .eeprom_ver = EEPROM_1000_EEPROM_VERSION,
@@ -315,6 +317,7 @@ struct iwl_cfg iwl100_bgn_cfg = {
315 .mod_params = &iwlagn_mod_params, 317 .mod_params = &iwlagn_mod_params,
316 .base_params = &iwl1000_base_params, 318 .base_params = &iwl1000_base_params,
317 .ht_params = &iwl1000_ht_params, 319 .ht_params = &iwl1000_ht_params,
320 .led_mode = IWL_LED_RF_STATE,
318}; 321};
319 322
320struct iwl_cfg iwl100_bg_cfg = { 323struct iwl_cfg iwl100_bg_cfg = {
@@ -322,7 +325,6 @@ struct iwl_cfg iwl100_bg_cfg = {
322 .fw_name_pre = IWL100_FW_PRE, 325 .fw_name_pre = IWL100_FW_PRE,
323 .ucode_api_max = IWL100_UCODE_API_MAX, 326 .ucode_api_max = IWL100_UCODE_API_MAX,
324 .ucode_api_min = IWL100_UCODE_API_MIN, 327 .ucode_api_min = IWL100_UCODE_API_MIN,
325 .sku = IWL_SKU_G,
326 .valid_tx_ant = ANT_A, 328 .valid_tx_ant = ANT_A,
327 .valid_rx_ant = ANT_A, 329 .valid_rx_ant = ANT_A,
328 .eeprom_ver = EEPROM_1000_EEPROM_VERSION, 330 .eeprom_ver = EEPROM_1000_EEPROM_VERSION,
@@ -330,6 +332,7 @@ struct iwl_cfg iwl100_bg_cfg = {
330 .ops = &iwl1000_ops, 332 .ops = &iwl1000_ops,
331 .mod_params = &iwlagn_mod_params, 333 .mod_params = &iwlagn_mod_params,
332 .base_params = &iwl1000_base_params, 334 .base_params = &iwl1000_base_params,
335 .led_mode = IWL_LED_RF_STATE,
333}; 336};
334 337
335MODULE_FIRMWARE(IWL1000_MODULE_FIRMWARE(IWL1000_UCODE_API_MAX)); 338MODULE_FIRMWARE(IWL1000_MODULE_FIRMWARE(IWL1000_UCODE_API_MAX));