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 version number from iwl_dts_measurement_notif_v2

No need to carry the version number in the structure name if this is the
latest version available.

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.9d218a5c4f6b.I9de3e424be48d66994cde3684ce7e9e99456067d@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

authored by

Emmanuel Grumbach and committed by
Johannes Berg
55e52a3b 8c2ffc65

+5 -5
+1 -1
drivers/net/wireless/intel/iwlwifi/fw/api/commands.h
··· 502 502 /** 503 503 * @DTS_MEASUREMENT_NOTIFICATION: 504 504 * &struct iwl_dts_measurement_notif_v1 or 505 - * &struct iwl_dts_measurement_notif_v2 505 + * &struct iwl_dts_measurement_notif 506 506 */ 507 507 DTS_MEASUREMENT_NOTIFICATION = 0xdd, 508 508
+3 -3
drivers/net/wireless/intel/iwlwifi/fw/api/phy.h
··· 55 55 /** 56 56 * @DTS_MEASUREMENT_NOTIF_WIDE: 57 57 * &struct iwl_dts_measurement_notif_v1 or 58 - * &struct iwl_dts_measurement_notif_v2 58 + * &struct iwl_dts_measurement_notif 59 59 */ 60 60 DTS_MEASUREMENT_NOTIF_WIDE = 0xFF, 61 61 }; ··· 152 152 } __packed; /* TEMPERATURE_MEASUREMENT_TRIGGER_NTFY_S_VER_1*/ 153 153 154 154 /** 155 - * struct iwl_dts_measurement_notif_v2 - measurements notification 155 + * struct iwl_dts_measurement_notif - measurements notification 156 156 * 157 157 * @temp: the measured temperature 158 158 * @voltage: the measured voltage 159 159 * @threshold_idx: the trip index that was crossed 160 160 */ 161 - struct iwl_dts_measurement_notif_v2 { 161 + struct iwl_dts_measurement_notif { 162 162 __le32 temp; 163 163 __le32 voltage; 164 164 __le32 threshold_idx;
+1 -1
drivers/net/wireless/intel/iwlwifi/mvm/tt.c
··· 105 105 void iwl_mvm_temp_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb) 106 106 { 107 107 struct iwl_rx_packet *pkt = rxb_addr(rxb); 108 - struct iwl_dts_measurement_notif_v2 *notif_v2; 108 + struct iwl_dts_measurement_notif *notif_v2; 109 109 int len = iwl_rx_packet_payload_len(pkt); 110 110 int temp; 111 111 u32 ths_crossed;