|
|
@@ -5103,6 +5103,9 @@ static void ath10k_wmi_10_4_op_rx(struct ath10k *ar, struct sk_buff *skb)
|
|
|
case WMI_10_4_UPDATE_STATS_EVENTID:
|
|
|
ath10k_wmi_event_update_stats(ar, skb);
|
|
|
break;
|
|
|
+ case WMI_10_4_PDEV_TEMPERATURE_EVENTID:
|
|
|
+ ath10k_wmi_event_temperature(ar, skb);
|
|
|
+ break;
|
|
|
default:
|
|
|
ath10k_warn(ar, "Unknown eventid: %d\n", id);
|
|
|
break;
|
|
|
@@ -7599,6 +7602,7 @@ static const struct wmi_ops wmi_10_4_ops = {
|
|
|
/* shared with 10.2 */
|
|
|
.gen_peer_assoc = ath10k_wmi_10_2_op_gen_peer_assoc,
|
|
|
.gen_request_stats = ath10k_wmi_op_gen_request_stats,
|
|
|
+ .gen_pdev_get_temperature = ath10k_wmi_10_2_op_gen_pdev_get_temperature,
|
|
|
};
|
|
|
|
|
|
int ath10k_wmi_attach(struct ath10k *ar)
|