Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

wifi: iwlwifi: remove the mvm prefix from iwl_mvm_ctdp_cmd

This command is not specific to iwlmvm.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20250119210104.04f3afcf9c77.Ic2b6f265d0b4aea25ccc7114d6f48afa621871be@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

authored by

Emmanuel Grumbach and committed by
Johannes Berg
8c2ffc65 2882bf7d

+7 -7
+6 -6
drivers/net/wireless/intel/iwlwifi/fw/api/phy.h
··· 19 19 CMD_DTS_MEASUREMENT_TRIGGER_WIDE = 0x0, 20 20 21 21 /** 22 - * @CTDP_CONFIG_CMD: &struct iwl_mvm_ctdp_cmd 22 + * @CTDP_CONFIG_CMD: &struct iwl_ctdp_cmd 23 23 */ 24 24 CTDP_CONFIG_CMD = 0x03, 25 25 ··· 195 195 } __packed; /* CT_KILL_NOTIFICATION_API_S_VER_1, CT_KILL_NOTIFICATION_API_S_VER_2 */ 196 196 197 197 /** 198 - * enum iwl_mvm_ctdp_cmd_operation - CTDP command operations 198 + * enum iwl_ctdp_cmd_operation - CTDP command operations 199 199 * @CTDP_CMD_OPERATION_START: update the current budget 200 200 * @CTDP_CMD_OPERATION_STOP: stop ctdp 201 201 * @CTDP_CMD_OPERATION_REPORT: get the average budget 202 202 */ 203 - enum iwl_mvm_ctdp_cmd_operation { 203 + enum iwl_ctdp_cmd_operation { 204 204 CTDP_CMD_OPERATION_START = 0x1, 205 205 CTDP_CMD_OPERATION_STOP = 0x2, 206 206 CTDP_CMD_OPERATION_REPORT = 0x4, 207 207 };/* CTDP_CMD_OPERATION_TYPE_E */ 208 208 209 209 /** 210 - * struct iwl_mvm_ctdp_cmd - track and manage the FW power consumption budget 210 + * struct iwl_ctdp_cmd - track and manage the FW power consumption budget 211 211 * 212 - * @operation: see &enum iwl_mvm_ctdp_cmd_operation 212 + * @operation: see &enum iwl_ctdp_cmd_operation 213 213 * @budget: the budget in milliwatt 214 214 * @window_size: defined in API but not used 215 215 */ 216 - struct iwl_mvm_ctdp_cmd { 216 + struct iwl_ctdp_cmd { 217 217 __le32 operation; 218 218 __le32 budget; 219 219 __le32 window_size;
+1 -1
drivers/net/wireless/intel/iwlwifi/mvm/tt.c
··· 506 506 507 507 int iwl_mvm_ctdp_command(struct iwl_mvm *mvm, u32 op, u32 state) 508 508 { 509 - struct iwl_mvm_ctdp_cmd cmd = { 509 + struct iwl_ctdp_cmd cmd = { 510 510 .operation = cpu_to_le32(op), 511 511 .budget = cpu_to_le32(iwl_mvm_cdev_budgets[state]), 512 512 .window_size = 0,