diff options
author | Johannes Berg <johannes.berg@intel.com> | 2018-10-30 09:47:52 -0400 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2019-01-29 09:10:31 -0500 |
commit | 3a894a9f319f0b4a36857683c4caacc371a40d25 (patch) | |
tree | efd6708298400d2889e060a1bc8110fd2ce4edc2 /drivers/net/wireless/intel/iwlwifi/mvm/ops.c | |
parent | fba8248e7e67b7e1098e69284aeccbcb2110fa86 (diff) |
iwlwifi: remove TOF implementation
This is an ancient (~2015) implementation that no longer matches
the firmware in any way, and most likely never worked. Remove all
of it so it can be reintroduced properly.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/ops.c')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/mvm/ops.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/ops.c b/drivers/net/wireless/intel/iwlwifi/mvm/ops.c index ee2ef3f0042c..93b7cc5910fe 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/ops.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/ops.c | |||
@@ -301,8 +301,6 @@ static const struct iwl_rx_handlers iwl_mvm_rx_handlers[] = { | |||
301 | RX_HANDLER_ASYNC_LOCKED), | 301 | RX_HANDLER_ASYNC_LOCKED), |
302 | RX_HANDLER(MFUART_LOAD_NOTIFICATION, iwl_mvm_rx_mfuart_notif, | 302 | RX_HANDLER(MFUART_LOAD_NOTIFICATION, iwl_mvm_rx_mfuart_notif, |
303 | RX_HANDLER_SYNC), | 303 | RX_HANDLER_SYNC), |
304 | RX_HANDLER(TOF_NOTIFICATION, iwl_mvm_tof_resp_handler, | ||
305 | RX_HANDLER_ASYNC_LOCKED), | ||
306 | RX_HANDLER_GRP(DEBUG_GROUP, MFU_ASSERT_DUMP_NTF, | 304 | RX_HANDLER_GRP(DEBUG_GROUP, MFU_ASSERT_DUMP_NTF, |
307 | iwl_mvm_mfu_assert_dump_notif, RX_HANDLER_SYNC), | 305 | iwl_mvm_mfu_assert_dump_notif, RX_HANDLER_SYNC), |
308 | RX_HANDLER_GRP(PROT_OFFLOAD_GROUP, STORED_BEACON_NTF, | 306 | RX_HANDLER_GRP(PROT_OFFLOAD_GROUP, STORED_BEACON_NTF, |
@@ -329,8 +327,6 @@ static const struct iwl_hcmd_names iwl_mvm_legacy_names[] = { | |||
329 | HCMD_NAME(SCAN_REQ_UMAC), | 327 | HCMD_NAME(SCAN_REQ_UMAC), |
330 | HCMD_NAME(SCAN_ABORT_UMAC), | 328 | HCMD_NAME(SCAN_ABORT_UMAC), |
331 | HCMD_NAME(SCAN_COMPLETE_UMAC), | 329 | HCMD_NAME(SCAN_COMPLETE_UMAC), |
332 | HCMD_NAME(TOF_CMD), | ||
333 | HCMD_NAME(TOF_NOTIFICATION), | ||
334 | HCMD_NAME(BA_WINDOW_STATUS_NOTIFICATION_ID), | 330 | HCMD_NAME(BA_WINDOW_STATUS_NOTIFICATION_ID), |
335 | HCMD_NAME(ADD_STA_KEY), | 331 | HCMD_NAME(ADD_STA_KEY), |
336 | HCMD_NAME(ADD_STA), | 332 | HCMD_NAME(ADD_STA), |
@@ -846,8 +842,6 @@ iwl_op_mode_mvm_start(struct iwl_trans *trans, const struct iwl_cfg *cfg, | |||
846 | if (iwl_mvm_is_d0i3_supported(mvm)) | 842 | if (iwl_mvm_is_d0i3_supported(mvm)) |
847 | iwl_trans_unref(mvm->trans); | 843 | iwl_trans_unref(mvm->trans); |
848 | 844 | ||
849 | iwl_mvm_tof_init(mvm); | ||
850 | |||
851 | iwl_mvm_toggle_tx_ant(mvm, &mvm->mgmt_last_antenna_idx); | 845 | iwl_mvm_toggle_tx_ant(mvm, &mvm->mgmt_last_antenna_idx); |
852 | 846 | ||
853 | return op_mode; | 847 | return op_mode; |
@@ -913,8 +907,6 @@ static void iwl_op_mode_mvm_stop(struct iwl_op_mode *op_mode) | |||
913 | 907 | ||
914 | cancel_delayed_work_sync(&mvm->tcm.work); | 908 | cancel_delayed_work_sync(&mvm->tcm.work); |
915 | 909 | ||
916 | iwl_mvm_tof_clean(mvm); | ||
917 | |||
918 | iwl_fw_runtime_free(&mvm->fwrt); | 910 | iwl_fw_runtime_free(&mvm->fwrt); |
919 | mutex_destroy(&mvm->mutex); | 911 | mutex_destroy(&mvm->mutex); |
920 | mutex_destroy(&mvm->d0i3_suspend_mutex); | 912 | mutex_destroy(&mvm->d0i3_suspend_mutex); |