diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/ops.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/ops.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/ops.c b/drivers/net/wireless/iwlwifi/mvm/ops.c index fe40922a6b0d..80121e41ca22 100644 --- a/drivers/net/wireless/iwlwifi/mvm/ops.c +++ b/drivers/net/wireless/iwlwifi/mvm/ops.c | |||
@@ -82,7 +82,6 @@ | |||
82 | #include "rs.h" | 82 | #include "rs.h" |
83 | #include "fw-api-scan.h" | 83 | #include "fw-api-scan.h" |
84 | #include "time-event.h" | 84 | #include "time-event.h" |
85 | #include "iwl-fw-error-dump.h" | ||
86 | 85 | ||
87 | #define DRV_DESCRIPTION "The new Intel(R) wireless AGN driver for Linux" | 86 | #define DRV_DESCRIPTION "The new Intel(R) wireless AGN driver for Linux" |
88 | MODULE_DESCRIPTION(DRV_DESCRIPTION); | 87 | MODULE_DESCRIPTION(DRV_DESCRIPTION); |
@@ -234,6 +233,7 @@ static const struct iwl_rx_handlers iwl_mvm_rx_handlers[] = { | |||
234 | iwl_mvm_rx_ant_coupling_notif, true), | 233 | iwl_mvm_rx_ant_coupling_notif, true), |
235 | 234 | ||
236 | RX_HANDLER(TIME_EVENT_NOTIFICATION, iwl_mvm_rx_time_event_notif, false), | 235 | RX_HANDLER(TIME_EVENT_NOTIFICATION, iwl_mvm_rx_time_event_notif, false), |
236 | RX_HANDLER(MCC_CHUB_UPDATE_CMD, iwl_mvm_rx_chub_update_mcc, true), | ||
237 | 237 | ||
238 | RX_HANDLER(EOSP_NOTIFICATION, iwl_mvm_rx_eosp_notif, false), | 238 | RX_HANDLER(EOSP_NOTIFICATION, iwl_mvm_rx_eosp_notif, false), |
239 | 239 | ||
@@ -358,6 +358,7 @@ static const char *const iwl_mvm_cmd_strings[REPLY_MAX] = { | |||
358 | CMD(TDLS_CHANNEL_SWITCH_CMD), | 358 | CMD(TDLS_CHANNEL_SWITCH_CMD), |
359 | CMD(TDLS_CHANNEL_SWITCH_NOTIFICATION), | 359 | CMD(TDLS_CHANNEL_SWITCH_NOTIFICATION), |
360 | CMD(TDLS_CONFIG_CMD), | 360 | CMD(TDLS_CONFIG_CMD), |
361 | CMD(MCC_UPDATE_CMD), | ||
361 | }; | 362 | }; |
362 | #undef CMD | 363 | #undef CMD |
363 | 364 | ||
@@ -871,8 +872,8 @@ static void iwl_mvm_fw_error_dump_wk(struct work_struct *work) | |||
871 | 872 | ||
872 | /* start recording again if the firmware is not crashed */ | 873 | /* start recording again if the firmware is not crashed */ |
873 | WARN_ON_ONCE((!test_bit(STATUS_FW_ERROR, &mvm->trans->status)) && | 874 | WARN_ON_ONCE((!test_bit(STATUS_FW_ERROR, &mvm->trans->status)) && |
874 | mvm->fw->dbg_dest_tlv && | 875 | mvm->fw->dbg_dest_tlv && |
875 | iwl_mvm_start_fw_dbg_conf(mvm, mvm->fw_dbg_conf)); | 876 | iwl_mvm_start_fw_dbg_conf(mvm, mvm->fw_dbg_conf)); |
876 | 877 | ||
877 | mutex_unlock(&mvm->mutex); | 878 | mutex_unlock(&mvm->mutex); |
878 | 879 | ||
@@ -1270,6 +1271,10 @@ static void iwl_mvm_d0i3_exit_work(struct work_struct *wk) | |||
1270 | iwl_free_resp(&get_status_cmd); | 1271 | iwl_free_resp(&get_status_cmd); |
1271 | out: | 1272 | out: |
1272 | iwl_mvm_d0i3_enable_tx(mvm, qos_seq); | 1273 | iwl_mvm_d0i3_enable_tx(mvm, qos_seq); |
1274 | |||
1275 | /* the FW might have updated the regdomain */ | ||
1276 | iwl_mvm_update_changed_regdom(mvm); | ||
1277 | |||
1273 | iwl_mvm_unref(mvm, IWL_MVM_REF_EXIT_WORK); | 1278 | iwl_mvm_unref(mvm, IWL_MVM_REF_EXIT_WORK); |
1274 | mutex_unlock(&mvm->mutex); | 1279 | mutex_unlock(&mvm->mutex); |
1275 | } | 1280 | } |