Commit 4fb33244 authored by Wey-Yi Guy's avatar Wey-Yi Guy

iwlagn: change led compensation for 6005 and 6030 devices

For both 6005 and 6030 devices, change the led compensation to 57
Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
parent 412b3133
...@@ -511,7 +511,7 @@ static struct iwl_base_params iwl6050_base_params = { ...@@ -511,7 +511,7 @@ static struct iwl_base_params iwl6050_base_params = {
.chain_noise_calib_by_driver = true, .chain_noise_calib_by_driver = true,
.shadow_reg_enable = true, .shadow_reg_enable = true,
}; };
static struct iwl_base_params iwl6000_coex_base_params = { static struct iwl_base_params iwl6000_g2_base_params = {
.eeprom_size = OTP_LOW_IMAGE_SIZE, .eeprom_size = OTP_LOW_IMAGE_SIZE,
.num_of_queues = IWLAGN_NUM_QUEUES, .num_of_queues = IWLAGN_NUM_QUEUES,
.num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES, .num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES,
...@@ -520,7 +520,7 @@ static struct iwl_base_params iwl6000_coex_base_params = { ...@@ -520,7 +520,7 @@ static struct iwl_base_params iwl6000_coex_base_params = {
.use_bsm = false, .use_bsm = false,
.max_ll_items = OTP_MAX_LL_ITEMS_6x00, .max_ll_items = OTP_MAX_LL_ITEMS_6x00,
.shadow_ram_support = true, .shadow_ram_support = true,
.led_compensation = 51, .led_compensation = 57,
.chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS,
.supports_idle = true, .supports_idle = true,
.adv_thermal_throttle = true, .adv_thermal_throttle = true,
...@@ -559,7 +559,7 @@ struct iwl_cfg iwl6005_2agn_cfg = { ...@@ -559,7 +559,7 @@ struct iwl_cfg iwl6005_2agn_cfg = {
.eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION,
.ops = &iwl6000_ops, .ops = &iwl6000_ops,
.mod_params = &iwlagn_mod_params, .mod_params = &iwlagn_mod_params,
.base_params = &iwl6000_base_params, .base_params = &iwl6000_g2_base_params,
.ht_params = &iwl6000_ht_params, .ht_params = &iwl6000_ht_params,
.need_dc_calib = true, .need_dc_calib = true,
.need_temp_offset_calib = true, .need_temp_offset_calib = true,
...@@ -575,7 +575,7 @@ struct iwl_cfg iwl6005_2abg_cfg = { ...@@ -575,7 +575,7 @@ struct iwl_cfg iwl6005_2abg_cfg = {
.eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION,
.ops = &iwl6000_ops, .ops = &iwl6000_ops,
.mod_params = &iwlagn_mod_params, .mod_params = &iwlagn_mod_params,
.base_params = &iwl6000_base_params, .base_params = &iwl6000_g2_base_params,
.need_dc_calib = true, .need_dc_calib = true,
.need_temp_offset_calib = true, .need_temp_offset_calib = true,
.led_mode = IWL_LED_RF_STATE, .led_mode = IWL_LED_RF_STATE,
...@@ -590,7 +590,7 @@ struct iwl_cfg iwl6005_2bg_cfg = { ...@@ -590,7 +590,7 @@ struct iwl_cfg iwl6005_2bg_cfg = {
.eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION,
.ops = &iwl6000_ops, .ops = &iwl6000_ops,
.mod_params = &iwlagn_mod_params, .mod_params = &iwlagn_mod_params,
.base_params = &iwl6000_base_params, .base_params = &iwl6000_g2_base_params,
.need_dc_calib = true, .need_dc_calib = true,
.need_temp_offset_calib = true, .need_temp_offset_calib = true,
.led_mode = IWL_LED_RF_STATE, .led_mode = IWL_LED_RF_STATE,
...@@ -605,7 +605,7 @@ struct iwl_cfg iwl6030_2agn_cfg = { ...@@ -605,7 +605,7 @@ struct iwl_cfg iwl6030_2agn_cfg = {
.eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION,
.ops = &iwl6000g2b_ops, .ops = &iwl6000g2b_ops,
.mod_params = &iwlagn_mod_params, .mod_params = &iwlagn_mod_params,
.base_params = &iwl6000_coex_base_params, .base_params = &iwl6000_g2_base_params,
.bt_params = &iwl6000_bt_params, .bt_params = &iwl6000_bt_params,
.ht_params = &iwl6000_ht_params, .ht_params = &iwl6000_ht_params,
.need_dc_calib = true, .need_dc_calib = true,
...@@ -625,7 +625,7 @@ struct iwl_cfg iwl6030_2abg_cfg = { ...@@ -625,7 +625,7 @@ struct iwl_cfg iwl6030_2abg_cfg = {
.eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION,
.ops = &iwl6000g2b_ops, .ops = &iwl6000g2b_ops,
.mod_params = &iwlagn_mod_params, .mod_params = &iwlagn_mod_params,
.base_params = &iwl6000_coex_base_params, .base_params = &iwl6000_g2_base_params,
.bt_params = &iwl6000_bt_params, .bt_params = &iwl6000_bt_params,
.need_dc_calib = true, .need_dc_calib = true,
.need_temp_offset_calib = true, .need_temp_offset_calib = true,
...@@ -644,7 +644,7 @@ struct iwl_cfg iwl6030_2bgn_cfg = { ...@@ -644,7 +644,7 @@ struct iwl_cfg iwl6030_2bgn_cfg = {
.eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION,
.ops = &iwl6000g2b_ops, .ops = &iwl6000g2b_ops,
.mod_params = &iwlagn_mod_params, .mod_params = &iwlagn_mod_params,
.base_params = &iwl6000_coex_base_params, .base_params = &iwl6000_g2_base_params,
.bt_params = &iwl6000_bt_params, .bt_params = &iwl6000_bt_params,
.ht_params = &iwl6000_ht_params, .ht_params = &iwl6000_ht_params,
.need_dc_calib = true, .need_dc_calib = true,
...@@ -664,7 +664,7 @@ struct iwl_cfg iwl6030_2bg_cfg = { ...@@ -664,7 +664,7 @@ struct iwl_cfg iwl6030_2bg_cfg = {
.eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION,
.ops = &iwl6000g2b_ops, .ops = &iwl6000g2b_ops,
.mod_params = &iwlagn_mod_params, .mod_params = &iwlagn_mod_params,
.base_params = &iwl6000_coex_base_params, .base_params = &iwl6000_g2_base_params,
.bt_params = &iwl6000_bt_params, .bt_params = &iwl6000_bt_params,
.need_dc_calib = true, .need_dc_calib = true,
.need_temp_offset_calib = true, .need_temp_offset_calib = true,
...@@ -683,7 +683,7 @@ struct iwl_cfg iwl1030_bgn_cfg = { ...@@ -683,7 +683,7 @@ struct iwl_cfg iwl1030_bgn_cfg = {
.eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION,
.ops = &iwl6000g2b_ops, .ops = &iwl6000g2b_ops,
.mod_params = &iwlagn_mod_params, .mod_params = &iwlagn_mod_params,
.base_params = &iwl6000_coex_base_params, .base_params = &iwl6000_g2_base_params,
.bt_params = &iwl6000_bt_params, .bt_params = &iwl6000_bt_params,
.ht_params = &iwl6000_ht_params, .ht_params = &iwl6000_ht_params,
.need_dc_calib = true, .need_dc_calib = true,
...@@ -703,7 +703,7 @@ struct iwl_cfg iwl1030_bg_cfg = { ...@@ -703,7 +703,7 @@ struct iwl_cfg iwl1030_bg_cfg = {
.eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION,
.ops = &iwl6000g2b_ops, .ops = &iwl6000g2b_ops,
.mod_params = &iwlagn_mod_params, .mod_params = &iwlagn_mod_params,
.base_params = &iwl6000_coex_base_params, .base_params = &iwl6000_g2_base_params,
.bt_params = &iwl6000_bt_params, .bt_params = &iwl6000_bt_params,
.need_dc_calib = true, .need_dc_calib = true,
.need_temp_offset_calib = true, .need_temp_offset_calib = true,
...@@ -833,7 +833,7 @@ struct iwl_cfg iwl130_bgn_cfg = { ...@@ -833,7 +833,7 @@ struct iwl_cfg iwl130_bgn_cfg = {
.eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION,
.ops = &iwl6000g2b_ops, .ops = &iwl6000g2b_ops,
.mod_params = &iwlagn_mod_params, .mod_params = &iwlagn_mod_params,
.base_params = &iwl6000_coex_base_params, .base_params = &iwl6000_g2_base_params,
.bt_params = &iwl6000_bt_params, .bt_params = &iwl6000_bt_params,
.ht_params = &iwl6000_ht_params, .ht_params = &iwl6000_ht_params,
.need_dc_calib = true, .need_dc_calib = true,
...@@ -852,7 +852,7 @@ struct iwl_cfg iwl130_bg_cfg = { ...@@ -852,7 +852,7 @@ struct iwl_cfg iwl130_bg_cfg = {
.eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION, .eeprom_calib_ver = EEPROM_6000G2_TX_POWER_VERSION,
.ops = &iwl6000g2b_ops, .ops = &iwl6000g2b_ops,
.mod_params = &iwlagn_mod_params, .mod_params = &iwlagn_mod_params,
.base_params = &iwl6000_coex_base_params, .base_params = &iwl6000_g2_base_params,
.bt_params = &iwl6000_bt_params, .bt_params = &iwl6000_bt_params,
.need_dc_calib = true, .need_dc_calib = true,
.led_mode = IWL_LED_RF_STATE, .led_mode = IWL_LED_RF_STATE,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment