diff options
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-6000.c | 12 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-core.c | 10 |
2 files changed, 13 insertions, 9 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-6000.c b/drivers/net/wireless/iwlwifi/iwl-6000.c index 22676d960d6e..9d430987cc62 100644 --- a/drivers/net/wireless/iwlwifi/iwl-6000.c +++ b/drivers/net/wireless/iwlwifi/iwl-6000.c | |||
@@ -796,7 +796,7 @@ struct iwl_cfg iwl6000g2b_2agn_cfg = { | |||
796 | .supports_idle = true, | 796 | .supports_idle = true, |
797 | .adv_thermal_throttle = true, | 797 | .adv_thermal_throttle = true, |
798 | .support_ct_kill_exit = true, | 798 | .support_ct_kill_exit = true, |
799 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, | 799 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DISABLE, |
800 | .chain_noise_scale = 1000, | 800 | .chain_noise_scale = 1000, |
801 | .monitor_recover_period = IWL_LONG_MONITORING_PERIOD, | 801 | .monitor_recover_period = IWL_LONG_MONITORING_PERIOD, |
802 | .max_event_log_size = 512, | 802 | .max_event_log_size = 512, |
@@ -835,7 +835,7 @@ struct iwl_cfg iwl6000g2b_2abg_cfg = { | |||
835 | .supports_idle = true, | 835 | .supports_idle = true, |
836 | .adv_thermal_throttle = true, | 836 | .adv_thermal_throttle = true, |
837 | .support_ct_kill_exit = true, | 837 | .support_ct_kill_exit = true, |
838 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, | 838 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DISABLE, |
839 | .chain_noise_scale = 1000, | 839 | .chain_noise_scale = 1000, |
840 | .monitor_recover_period = IWL_LONG_MONITORING_PERIOD, | 840 | .monitor_recover_period = IWL_LONG_MONITORING_PERIOD, |
841 | .max_event_log_size = 512, | 841 | .max_event_log_size = 512, |
@@ -876,7 +876,7 @@ struct iwl_cfg iwl6000g2b_2bgn_cfg = { | |||
876 | .supports_idle = true, | 876 | .supports_idle = true, |
877 | .adv_thermal_throttle = true, | 877 | .adv_thermal_throttle = true, |
878 | .support_ct_kill_exit = true, | 878 | .support_ct_kill_exit = true, |
879 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, | 879 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DISABLE, |
880 | .chain_noise_scale = 1000, | 880 | .chain_noise_scale = 1000, |
881 | .monitor_recover_period = IWL_LONG_MONITORING_PERIOD, | 881 | .monitor_recover_period = IWL_LONG_MONITORING_PERIOD, |
882 | .max_event_log_size = 512, | 882 | .max_event_log_size = 512, |
@@ -915,7 +915,7 @@ struct iwl_cfg iwl6000g2b_2bg_cfg = { | |||
915 | .supports_idle = true, | 915 | .supports_idle = true, |
916 | .adv_thermal_throttle = true, | 916 | .adv_thermal_throttle = true, |
917 | .support_ct_kill_exit = true, | 917 | .support_ct_kill_exit = true, |
918 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, | 918 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DISABLE, |
919 | .chain_noise_scale = 1000, | 919 | .chain_noise_scale = 1000, |
920 | .monitor_recover_period = IWL_LONG_MONITORING_PERIOD, | 920 | .monitor_recover_period = IWL_LONG_MONITORING_PERIOD, |
921 | .max_event_log_size = 512, | 921 | .max_event_log_size = 512, |
@@ -956,7 +956,7 @@ struct iwl_cfg iwl6000g2b_bgn_cfg = { | |||
956 | .supports_idle = true, | 956 | .supports_idle = true, |
957 | .adv_thermal_throttle = true, | 957 | .adv_thermal_throttle = true, |
958 | .support_ct_kill_exit = true, | 958 | .support_ct_kill_exit = true, |
959 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, | 959 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DISABLE, |
960 | .chain_noise_scale = 1000, | 960 | .chain_noise_scale = 1000, |
961 | .monitor_recover_period = IWL_LONG_MONITORING_PERIOD, | 961 | .monitor_recover_period = IWL_LONG_MONITORING_PERIOD, |
962 | .max_event_log_size = 512, | 962 | .max_event_log_size = 512, |
@@ -995,7 +995,7 @@ struct iwl_cfg iwl6000g2b_bg_cfg = { | |||
995 | .supports_idle = true, | 995 | .supports_idle = true, |
996 | .adv_thermal_throttle = true, | 996 | .adv_thermal_throttle = true, |
997 | .support_ct_kill_exit = true, | 997 | .support_ct_kill_exit = true, |
998 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, | 998 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DISABLE, |
999 | .chain_noise_scale = 1000, | 999 | .chain_noise_scale = 1000, |
1000 | .monitor_recover_period = IWL_LONG_MONITORING_PERIOD, | 1000 | .monitor_recover_period = IWL_LONG_MONITORING_PERIOD, |
1001 | .max_event_log_size = 512, | 1001 | .max_event_log_size = 512, |
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.c b/drivers/net/wireless/iwlwifi/iwl-core.c index 1921307a23b8..72eda7e8a00d 100644 --- a/drivers/net/wireless/iwlwifi/iwl-core.c +++ b/drivers/net/wireless/iwlwifi/iwl-core.c | |||
@@ -2646,10 +2646,14 @@ static int iwl_check_stuck_queue(struct iwl_priv *priv, int cnt) | |||
2646 | "queue %d, not read %d time\n", | 2646 | "queue %d, not read %d time\n", |
2647 | q->id, | 2647 | q->id, |
2648 | q->repeat_same_read_ptr); | 2648 | q->repeat_same_read_ptr); |
2649 | mod_timer(&priv->monitor_recover, jiffies + | 2649 | if (!priv->cfg->advanced_bt_coexist) { |
2650 | msecs_to_jiffies(IWL_ONE_HUNDRED_MSECS)); | 2650 | mod_timer(&priv->monitor_recover, |
2651 | jiffies + msecs_to_jiffies( | ||
2652 | IWL_ONE_HUNDRED_MSECS)); | ||
2653 | return 1; | ||
2654 | } | ||
2651 | } | 2655 | } |
2652 | return 1; | 2656 | return 0; |
2653 | } else { | 2657 | } else { |
2654 | q->last_read_ptr = q->read_ptr; | 2658 | q->last_read_ptr = q->read_ptr; |
2655 | q->repeat_same_read_ptr = 0; | 2659 | q->repeat_same_read_ptr = 0; |