[iwlwifi][uprev] remove call to mvm/tt.c
The new code doesn't require the tt.c any more.
Bug: b/299517585
Tested: NUC7 is still working.
Change-Id: I5fbe23c1e6e445b60678b0299e7c67d90edd8105
Reviewed-on: https://fuchsia-review.googlesource.com/c/drivers/wlan/intel/iwlwifi/+/913253
Reviewed-by: Zhiyi Chen <zhiyichen@google.com>
Commit-Queue: Louis Lo <yjlou@google.com>
diff --git a/third_party/iwlwifi/mvm/fw.c b/third_party/iwlwifi/mvm/fw.c
index 3709b58..6f8ec30 100644
--- a/third_party/iwlwifi/mvm/fw.c
+++ b/third_party/iwlwifi/mvm/fw.c
@@ -1476,32 +1476,18 @@
}
#ifdef CONFIG_THERMAL
- if (iwl_mvm_is_tt_in_fw(mvm)) {
- /* in order to give the responsibility of ct-kill and
- * TX backoff to FW we need to send empty temperature reporting
- * cmd during init time
- */
- iwl_mvm_send_temp_report_ths_cmd(mvm);
- } else {
- /* Initialize tx backoffs to the minimal possible */
- iwl_mvm_tt_tx_backoff(mvm, 0);
- }
+ /* TODO: read the budget from BIOS / Platform NVM */
- /* TODO: read the budget from BIOS / Platform NVM */
-
- /*
- * In case there is no budget from BIOS / Platform NVM the default
- * budget should be 2000mW (cooling state 0).
- */
- if (iwl_mvm_is_ctdp_supported(mvm)) {
- ret = iwl_mvm_ctdp_command(mvm, CTDP_CMD_OPERATION_START, mvm->cooling_dev.cur_state);
- if (ret) {
- goto error;
- }
- }
-#else
- /* Initialize tx backoffs to the minimal possible */
- iwl_mvm_tt_tx_backoff(mvm, 0);
+ /*
+ * In case there is no budget from BIOS / Platform NVM the default
+ * budget should be 2000mW (cooling state 0).
+ */
+ if (iwl_mvm_is_ctdp_supported(mvm)) {
+ ret = iwl_mvm_ctdp_command(mvm, CTDP_CMD_OPERATION_START,
+ mvm->cooling_dev.cur_state);
+ if (ret)
+ goto error;
+ }
#endif
ret = iwl_mvm_config_ltr(mvm);