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

ath10k: provide provision to get Transmit Power Control stats for 10.4

This patch helps to get the TPC stats for 10.4 fw variants.

Signed-off-by: Maharaja Kennadyrajan <c_mkenna@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>

authored by

Maharaja Kennadyrajan and committed by
Kalle Valo
ac86aa57 b9301505

+4
+4
drivers/net/wireless/ath/ath10k/wmi.c
··· 5397 5397 case WMI_10_4_PDEV_BSS_CHAN_INFO_EVENTID: 5398 5398 ath10k_wmi_event_pdev_bss_chan_info(ar, skb); 5399 5399 break; 5400 + case WMI_10_4_PDEV_TPC_CONFIG_EVENTID: 5401 + ath10k_wmi_event_pdev_tpc_config(ar, skb); 5402 + break; 5400 5403 default: 5401 5404 ath10k_warn(ar, "Unknown eventid: %d\n", id); 5402 5405 break; ··· 8156 8153 .get_vdev_subtype = ath10k_wmi_10_4_op_get_vdev_subtype, 8157 8154 .gen_pdev_bss_chan_info_req = ath10k_wmi_10_2_op_gen_pdev_bss_chan_info, 8158 8155 .gen_echo = ath10k_wmi_op_gen_echo, 8156 + .gen_pdev_get_tpc_config = ath10k_wmi_10_2_4_op_gen_pdev_get_tpc_config, 8159 8157 }; 8160 8158 8161 8159 int ath10k_wmi_attach(struct ath10k *ar)