linux/drivers/net/wireless/ath/ath10k
Wen Gong e39f32afc6 ath10k: add wmi service peer stat info for wmi tlv
ath10k_sta_statistics is used to report info for iw wlan0 link,
it check ath10k_peer_stats_enabled, and ath10k_peer_stats_enabled
check WMI_SERVICE_PEER_STATS bit of ar->wmi.svc_map. SVCMAP() for
WMI_SERVICE_PEER_STATS was defined only for wmi_10x_svc_map and
wmi_10_4_svc_map interfaces, it missed in wmi_tlv_svc_map, so it is
not usable for iw wlan0 link for wmi tlv interface.

If firmware report WMI_TLV_SERVICE_PEER_STATS_INFO for wmi tlv, then
enable the WMI_SERVICE_PEER_STATS bit in ath10k, and then it pass check
in ath10k_peer_stats_enabled and ath10k_sta_statistics pass check.

Tested-on: QCA6174 hw3.2 SDIO WLAN.RMH.4.4.1-00048
Tested-on: QCA6174 hw3.2 PCI WLAN.RM.4.4.1-00110-QCARMSWP-1

Signed-off-by: Wen Gong <wgong@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1597312029-32348-2-git-send-email-wgong@codeaurora.org
2020-08-15 10:05:12 +03:00
..
ahb.c
ahb.h
bmi.c ath10k: fix possible memory leak in ath10k_bmi_lz_data_large() 2020-05-04 11:52:07 +03:00
bmi.h
ce.c ath10k: Wait until copy complete is actually done before completing 2020-06-16 11:11:03 +03:00
ce.h ath10k: Replace zero-length array with flexible-array 2020-05-11 15:36:31 +03:00
core.c ath10k: add rx bitrate report for SDIO 2020-04-28 12:12:31 +03:00
core.h ath10k: Replace zero-length array with flexible-array 2020-05-11 15:36:31 +03:00
coredump.c
coredump.h ath10k: Replace zero-length array with flexible-array 2020-05-11 15:36:31 +03:00
debug.c ath10k: enable rx duration report default for wmi tlv 2020-04-27 08:01:25 +03:00
debug.h ath10k: Replace zero-length array with flexible-array 2020-05-11 15:36:31 +03:00
debugfs_sta.c
hif.h ath10k: hif: make send_complete_check op optional 2020-04-21 15:04:02 +03:00
htc.c ath10k: drop the TX packet which size exceed credit size for sdio 2020-04-23 07:55:53 +03:00
htc.h ath10k: enable alt data of TX path for sdio 2020-04-22 09:43:32 +03:00
htt.c ath10k: add htt TX bundle for sdio 2020-04-22 09:43:29 +03:00
htt.h ath10k: fix gcc-10 zero-length-bounds warnings 2020-05-12 10:33:04 +03:00
htt_rx.c ath10k: check idx validity in __ath10k_htt_rx_ring_fill_n() 2020-07-20 20:10:16 +03:00
htt_tx.c ath10k: Acquire tx_lock in tx error paths 2020-06-09 09:23:15 +03:00
hw.c
hw.h ath10k: Replace zero-length array with flexible-array 2020-05-11 15:36:31 +03:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
mac.c ath10k: provide survey info as accumulated data 2020-06-16 11:15:53 +03:00
mac.h
Makefile
p2p.c
p2p.h
pci.c ath10k: pci: fix memcpy size of bmi response 2020-06-23 10:43:17 +03:00
pci.h ath10k: fix ath10k_pci struct layout 2020-05-12 10:33:13 +03:00
qmi.c ath10k: Skip handling del_server during driver exit 2020-05-11 15:30:37 +03:00
qmi.h ath10k: Remove ath10k_qmi_register_service_notifier() declaration 2020-05-30 17:18:29 +03:00
qmi_wlfw_v01.c
qmi_wlfw_v01.h
rx_desc.h
sdio.c ath10k: start recovery process when payload length exceeds max htc length for sdio 2020-08-14 18:37:15 +03:00
sdio.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-06-03 16:27:18 -07:00
snoc.c ath10k: Add support for targets without trustzone 2020-05-05 10:36:03 +03:00
snoc.h ath10k: Add support for targets without trustzone 2020-05-05 10:36:03 +03:00
spectral.c
spectral.h
swap.c
swap.h
targaddrs.h
testmode.c
testmode.h
testmode_i.h
thermal.c
thermal.h
trace.c
trace.h
txrx.c
txrx.h
usb.c ath10k: hif: make send_complete_check op optional 2020-04-21 15:04:02 +03:00
usb.h
wmi-ops.h ath10k: Remove msdu from idr when management pkt send fails 2020-05-11 15:32:28 +03:00
wmi-tlv.c ath10k: fix __le32 warning in ath10k_wmi_tlv_op_gen_request_peer_stats_info() 2020-05-11 15:34:10 +03:00
wmi-tlv.h ath10k: add wmi service peer stat info for wmi tlv 2020-08-15 10:05:12 +03:00
wmi.c ath10k: Fix typo in warning messages 2020-04-15 11:01:52 +03:00
wmi.h ath10k: Replace zero-length array with flexible-array 2020-05-11 15:36:31 +03:00
wow.c
wow.h