diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-11-29 13:45:16 -0500 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2010-12-13 18:50:44 -0500 |
commit | 4fb33244d17b973f17cbc7cf8b7efd0875950474 (patch) | |
tree | fc4bb7cb279a0cdb89ffb677de525e3afcf49eaf /drivers/net/wireless/iwlwifi/iwl-6000.c | |
parent | 412b31334b831a8c2909afaca017c5a236ac2dd0 (diff) |
iwlagn: change led compensation for 6005 and 6030 devices
For both 6005 and 6030 devices, change the led compensation to 57
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-6000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-6000.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-6000.c b/drivers/net/wireless/iwlwifi/iwl-6000.c index 808942cc2991..10a536969eb6 100644 --- a/drivers/net/wireless/iwlwifi/iwl-6000.c +++ b/drivers/net/wireless/iwlwifi/iwl-6000.c | |||
@@ -511,7 +511,7 @@ static struct iwl_base_params iwl6050_base_params = { | |||
511 | .chain_noise_calib_by_driver = true, | 511 | .chain_noise_calib_by_driver = true, |
512 | .shadow_reg_enable = true, | 512 | .shadow_reg_enable = true, |
513 | }; | 513 | }; |
514 | static struct iwl_base_params iwl6000_coex_base_params = { | 514 | static struct iwl_base_params iwl6000_g2_base_params = { |
515 | .eeprom_size = OTP_LOW_IMAGE_SIZE, | 515 | .eeprom_size = OTP_LOW_IMAGE_SIZE, |
516 | .num_of_queues = IWLAGN_NUM_QUEUES, | 516 | .num_of_queues = IWLAGN_NUM_QUEUES, |
517 | .num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES, | 517 | .num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES, |
@@ -520,7 +520,7 @@ static struct iwl_base_params iwl6000_coex_base_params = { | |||
520 | .use_bsm = false, | 520 | .use_bsm = false, |
521 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, | 521 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, |
522 | .shadow_ram_support = true, | 522 | .shadow_ram_support = true, |
523 | .led_compensation = 51, | 523 | .led_compensation = 57, |
524 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, | 524 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, |
525 | .supports_idle = true, | 525 | .supports_idle = true, |
526 | .adv_thermal_throttle = true, | 526 | .adv_thermal_throttle = true, |
@@ -559,7 +559,7 @@ struct iwl_cfg iwl6005_2agn_cfg = { | |||
559 | .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, | 559 | .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, |
560 | .ops = &iwl6000_ops, | 560 | .ops = &iwl6000_ops, |
561 | .mod_params = &iwlagn_mod_params, | 561 | .mod_params = &iwlagn_mod_params, |
562 | .base_params = &iwl6000_base_params, | 562 | .base_params = &iwl6000_g2_base_params, |
563 | .ht_params = &iwl6000_ht_params, | 563 | .ht_params = &iwl6000_ht_params, |
564 | .need_dc_calib = true, | 564 | .need_dc_calib = true, |
565 | .need_temp_offset_calib = true, | 565 | .need_temp_offset_calib = true, |
@@ -575,7 +575,7 @@ struct iwl_cfg iwl6005_2abg_cfg = { | |||
575 | .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, | 575 | .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, |
576 | .ops = &iwl6000_ops, | 576 | .ops = &iwl6000_ops, |
577 | .mod_params = &iwlagn_mod_params, | 577 | .mod_params = &iwlagn_mod_params, |
578 | .base_params = &iwl6000_base_params, | 578 | .base_params = &iwl6000_g2_base_params, |
579 | .need_dc_calib = true, | 579 | .need_dc_calib = true, |
580 | .need_temp_offset_calib = true, | 580 | .need_temp_offset_calib = true, |
581 | .led_mode = IWL_LED_RF_STATE, | 581 | .led_mode = IWL_LED_RF_STATE, |
@@ -590,7 +590,7 @@ struct iwl_cfg iwl6005_2bg_cfg = { | |||
590 | .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, | 590 | .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, |
591 | .ops = &iwl6000_ops, | 591 | .ops = &iwl6000_ops, |
592 | .mod_params = &iwlagn_mod_params, | 592 | .mod_params = &iwlagn_mod_params, |
593 | .base_params = &iwl6000_base_params, | 593 | .base_params = &iwl6000_g2_base_params, |
594 | .need_dc_calib = true, | 594 | .need_dc_calib = true, |
595 | .need_temp_offset_calib = true, | 595 | .need_temp_offset_calib = true, |
596 | .led_mode = IWL_LED_RF_STATE, | 596 | .led_mode = IWL_LED_RF_STATE, |
@@ -605,7 +605,7 @@ struct iwl_cfg iwl6030_2agn_cfg = { | |||
605 | .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, | 605 | .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, |
606 | .ops = &iwl6000g2b_ops, | 606 | .ops = &iwl6000g2b_ops, |
607 | .mod_params = &iwlagn_mod_params, | 607 | .mod_params = &iwlagn_mod_params, |
608 | .base_params = &iwl6000_coex_base_params, | 608 | .base_params = &iwl6000_g2_base_params, |
609 | .bt_params = &iwl6000_bt_params, | 609 | .bt_params = &iwl6000_bt_params, |
610 | .ht_params = &iwl6000_ht_params, | 610 | .ht_params = &iwl6000_ht_params, |
611 | .need_dc_calib = true, | 611 | .need_dc_calib = true, |
@@ -625,7 +625,7 @@ struct iwl_cfg iwl6030_2abg_cfg = { | |||
625 | .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, | 625 | .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, |
626 | .ops = &iwl6000g2b_ops, | 626 | .ops = &iwl6000g2b_ops, |
627 | .mod_params = &iwlagn_mod_params, | 627 | .mod_params = &iwlagn_mod_params, |
628 | .base_params = &iwl6000_coex_base_params, | 628 | .base_params = &iwl6000_g2_base_params, |
629 | .bt_params = &iwl6000_bt_params, | 629 | .bt_params = &iwl6000_bt_params, |
630 | .need_dc_calib = true, | 630 | .need_dc_calib = true, |
631 | .need_temp_offset_calib = true, | 631 | .need_temp_offset_calib = true, |
@@ -644,7 +644,7 @@ struct iwl_cfg iwl6030_2bgn_cfg = { | |||
644 | .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, | 644 | .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, |
645 | .ops = &iwl6000g2b_ops, | 645 | .ops = &iwl6000g2b_ops, |
646 | .mod_params = &iwlagn_mod_params, | 646 | .mod_params = &iwlagn_mod_params, |
647 | .base_params = &iwl6000_coex_base_params, | 647 | .base_params = &iwl6000_g2_base_params, |
648 | .bt_params = &iwl6000_bt_params, | 648 | .bt_params = &iwl6000_bt_params, |
649 | .ht_params = &iwl6000_ht_params, | 649 | .ht_params = &iwl6000_ht_params, |
650 | .need_dc_calib = true, | 650 | .need_dc_calib = true, |
@@ -664,7 +664,7 @@ struct iwl_cfg iwl6030_2bg_cfg = { | |||
664 | .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, | 664 | .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, |
665 | .ops = &iwl6000g2b_ops, | 665 | .ops = &iwl6000g2b_ops, |
666 | .mod_params = &iwlagn_mod_params, | 666 | .mod_params = &iwlagn_mod_params, |
667 | .base_params = &iwl6000_coex_base_params, | 667 | .base_params = &iwl6000_g2_base_params, |
668 | .bt_params = &iwl6000_bt_params, | 668 | .bt_params = &iwl6000_bt_params, |
669 | .need_dc_calib = true, | 669 | .need_dc_calib = true, |
670 | .need_temp_offset_calib = true, | 670 | .need_temp_offset_calib = true, |
@@ -683,7 +683,7 @@ struct iwl_cfg iwl1030_bgn_cfg = { | |||
683 | .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, | 683 | .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, |
684 | .ops = &iwl6000g2b_ops, | 684 | .ops = &iwl6000g2b_ops, |
685 | .mod_params = &iwlagn_mod_params, | 685 | .mod_params = &iwlagn_mod_params, |
686 | .base_params = &iwl6000_coex_base_params, | 686 | .base_params = &iwl6000_g2_base_params, |
687 | .bt_params = &iwl6000_bt_params, | 687 | .bt_params = &iwl6000_bt_params, |
688 | .ht_params = &iwl6000_ht_params, | 688 | .ht_params = &iwl6000_ht_params, |
689 | .need_dc_calib = true, | 689 | .need_dc_calib = true, |
@@ -703,7 +703,7 @@ struct iwl_cfg iwl1030_bg_cfg = { | |||
703 | .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, | 703 | .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, |
704 | .ops = &iwl6000g2b_ops, | 704 | .ops = &iwl6000g2b_ops, |
705 | .mod_params = &iwlagn_mod_params, | 705 | .mod_params = &iwlagn_mod_params, |
706 | .base_params = &iwl6000_coex_base_params, | 706 | .base_params = &iwl6000_g2_base_params, |
707 | .bt_params = &iwl6000_bt_params, | 707 | .bt_params = &iwl6000_bt_params, |
708 | .need_dc_calib = true, | 708 | .need_dc_calib = true, |
709 | .need_temp_offset_calib = true, | 709 | .need_temp_offset_calib = true, |
@@ -833,7 +833,7 @@ struct iwl_cfg iwl130_bgn_cfg = { | |||
833 | .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, | 833 | .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, |
834 | .ops = &iwl6000g2b_ops, | 834 | .ops = &iwl6000g2b_ops, |
835 | .mod_params = &iwlagn_mod_params, | 835 | .mod_params = &iwlagn_mod_params, |
836 | .base_params = &iwl6000_coex_base_params, | 836 | .base_params = &iwl6000_g2_base_params, |
837 | .bt_params = &iwl6000_bt_params, | 837 | .bt_params = &iwl6000_bt_params, |
838 | .ht_params = &iwl6000_ht_params, | 838 | .ht_params = &iwl6000_ht_params, |
839 | .need_dc_calib = true, | 839 | .need_dc_calib = true, |
@@ -852,7 +852,7 @@ struct iwl_cfg iwl130_bg_cfg = { | |||
852 | .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, | 852 | .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, |
853 | .ops = &iwl6000g2b_ops, | 853 | .ops = &iwl6000g2b_ops, |
854 | .mod_params = &iwlagn_mod_params, | 854 | .mod_params = &iwlagn_mod_params, |
855 | .base_params = &iwl6000_coex_base_params, | 855 | .base_params = &iwl6000_g2_base_params, |
856 | .bt_params = &iwl6000_bt_params, | 856 | .bt_params = &iwl6000_bt_params, |
857 | .need_dc_calib = true, | 857 | .need_dc_calib = true, |
858 | .led_mode = IWL_LED_RF_STATE, | 858 | .led_mode = IWL_LED_RF_STATE, |