wifi: ath12k: enable service flag for survey dump stats
authorThiraviyam Mariyappan <quic_tmariyap@quicinc.com>
Wed, 10 Apr 2024 08:53:29 +0000 (14:23 +0530)
committerKalle Valo <quic_kvalo@quicinc.com>
Thu, 18 Apr 2024 15:21:48 +0000 (18:21 +0300)
commit0d55f86d0260bc167080374108d918fd523e3ee5
tree2b00b3b3f5798bc229b3a9902c2a256398cbb5a2
parent03a509740b5d29705c12c4f3c6c0a2d6120201a7
wifi: ath12k: enable service flag for survey dump stats

The survey dump statistics does not display channel RX and TX time
properly because the survey flag is not enabled in the firmware service
flag.

If firmware supports enable the service flag "bss_chan_info" in
wmi_resource_config to fetch and print the stats for specific pdev.

Enabling WMI_RSRC_CFG_FLAG1_BSS_CHANNEL_INFO_64 does not have any impact
on WCN7850 since this bit is not utilized by the WCN7850 firmware.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1

Signed-off-by: Thiraviyam Mariyappan <quic_tmariyap@quicinc.com>
Signed-off-by: Karthikeyan Kathirvel <quic_kathirve@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20240410085329.3649572-1-quic_kathirve@quicinc.com
drivers/net/wireless/ath/ath12k/wmi.c
drivers/net/wireless/ath/ath12k/wmi.h