diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2009-10-23 16:42:28 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-10-27 16:50:01 -0400 |
commit | 480e8407dc0bccdd8d7cfe29b8fcaaa21dd20e68 (patch) | |
tree | 457ede73d9680e744e46ac179d690ef944c3a058 /drivers/net/wireless/iwlwifi/iwl-6000.c | |
parent | 6047b4f939682ae9bf839fd00c80029cb8f073bb (diff) |
iwlwifi: issue ct_kill host command based on device config
Using device configuration structure to decide how to configure
ct_kill host command.
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-6000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-6000.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-6000.c b/drivers/net/wireless/iwlwifi/iwl-6000.c index 0873322755aa..f5855293c767 100644 --- a/drivers/net/wireless/iwlwifi/iwl-6000.c +++ b/drivers/net/wireless/iwlwifi/iwl-6000.c | |||
@@ -278,6 +278,7 @@ struct iwl_cfg iwl6000h_2agn_cfg = { | |||
278 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, | 278 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, |
279 | .supports_idle = true, | 279 | .supports_idle = true, |
280 | .adv_thermal_throttle = true, | 280 | .adv_thermal_throttle = true, |
281 | .support_ct_kill_exit = true, | ||
281 | }; | 282 | }; |
282 | 283 | ||
283 | struct iwl_cfg iwl6000h_2abg_cfg = { | 284 | struct iwl_cfg iwl6000h_2abg_cfg = { |
@@ -306,6 +307,7 @@ struct iwl_cfg iwl6000h_2abg_cfg = { | |||
306 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, | 307 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, |
307 | .supports_idle = true, | 308 | .supports_idle = true, |
308 | .adv_thermal_throttle = true, | 309 | .adv_thermal_throttle = true, |
310 | .support_ct_kill_exit = true, | ||
309 | }; | 311 | }; |
310 | 312 | ||
311 | struct iwl_cfg iwl6000h_2bg_cfg = { | 313 | struct iwl_cfg iwl6000h_2bg_cfg = { |
@@ -334,6 +336,7 @@ struct iwl_cfg iwl6000h_2bg_cfg = { | |||
334 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, | 336 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, |
335 | .supports_idle = true, | 337 | .supports_idle = true, |
336 | .adv_thermal_throttle = true, | 338 | .adv_thermal_throttle = true, |
339 | .support_ct_kill_exit = true, | ||
337 | }; | 340 | }; |
338 | 341 | ||
339 | /* | 342 | /* |
@@ -366,6 +369,7 @@ struct iwl_cfg iwl6000i_2agn_cfg = { | |||
366 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, | 369 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, |
367 | .supports_idle = true, | 370 | .supports_idle = true, |
368 | .adv_thermal_throttle = true, | 371 | .adv_thermal_throttle = true, |
372 | .support_ct_kill_exit = true, | ||
369 | }; | 373 | }; |
370 | 374 | ||
371 | struct iwl_cfg iwl6000i_2abg_cfg = { | 375 | struct iwl_cfg iwl6000i_2abg_cfg = { |
@@ -394,6 +398,7 @@ struct iwl_cfg iwl6000i_2abg_cfg = { | |||
394 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, | 398 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, |
395 | .supports_idle = true, | 399 | .supports_idle = true, |
396 | .adv_thermal_throttle = true, | 400 | .adv_thermal_throttle = true, |
401 | .support_ct_kill_exit = true, | ||
397 | }; | 402 | }; |
398 | 403 | ||
399 | struct iwl_cfg iwl6000i_2bg_cfg = { | 404 | struct iwl_cfg iwl6000i_2bg_cfg = { |
@@ -422,6 +427,7 @@ struct iwl_cfg iwl6000i_2bg_cfg = { | |||
422 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, | 427 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, |
423 | .supports_idle = true, | 428 | .supports_idle = true, |
424 | .adv_thermal_throttle = true, | 429 | .adv_thermal_throttle = true, |
430 | .support_ct_kill_exit = true, | ||
425 | }; | 431 | }; |
426 | 432 | ||
427 | struct iwl_cfg iwl6050_2agn_cfg = { | 433 | struct iwl_cfg iwl6050_2agn_cfg = { |
@@ -451,6 +457,7 @@ struct iwl_cfg iwl6050_2agn_cfg = { | |||
451 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, | 457 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, |
452 | .supports_idle = true, | 458 | .supports_idle = true, |
453 | .adv_thermal_throttle = true, | 459 | .adv_thermal_throttle = true, |
460 | .support_ct_kill_exit = true, | ||
454 | }; | 461 | }; |
455 | 462 | ||
456 | struct iwl_cfg iwl6050_2abg_cfg = { | 463 | struct iwl_cfg iwl6050_2abg_cfg = { |
@@ -479,6 +486,7 @@ struct iwl_cfg iwl6050_2abg_cfg = { | |||
479 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, | 486 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, |
480 | .supports_idle = true, | 487 | .supports_idle = true, |
481 | .adv_thermal_throttle = true, | 488 | .adv_thermal_throttle = true, |
489 | .support_ct_kill_exit = true, | ||
482 | }; | 490 | }; |
483 | 491 | ||
484 | struct iwl_cfg iwl6000_3agn_cfg = { | 492 | struct iwl_cfg iwl6000_3agn_cfg = { |
@@ -508,6 +516,7 @@ struct iwl_cfg iwl6000_3agn_cfg = { | |||
508 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, | 516 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, |
509 | .supports_idle = true, | 517 | .supports_idle = true, |
510 | .adv_thermal_throttle = true, | 518 | .adv_thermal_throttle = true, |
519 | .support_ct_kill_exit = true, | ||
511 | }; | 520 | }; |
512 | 521 | ||
513 | struct iwl_cfg iwl6050_3agn_cfg = { | 522 | struct iwl_cfg iwl6050_3agn_cfg = { |
@@ -537,6 +546,7 @@ struct iwl_cfg iwl6050_3agn_cfg = { | |||
537 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, | 546 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, |
538 | .supports_idle = true, | 547 | .supports_idle = true, |
539 | .adv_thermal_throttle = true, | 548 | .adv_thermal_throttle = true, |
549 | .support_ct_kill_exit = true, | ||
540 | }; | 550 | }; |
541 | 551 | ||
542 | MODULE_FIRMWARE(IWL6000_MODULE_FIRMWARE(IWL6000_UCODE_API_MAX)); | 552 | MODULE_FIRMWARE(IWL6000_MODULE_FIRMWARE(IWL6000_UCODE_API_MAX)); |