]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: fix vdev stats for 10.4 firmware
authorRajkumar Manoharan <rmanohar@codeaurora.org>
Wed, 28 Mar 2018 09:40:24 +0000 (12:40 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 29 Mar 2018 09:04:12 +0000 (12:04 +0300)
commit7396e0c40ddd10e959d04f0e5640a353d41a6be4
treedc54bae5829c94b714ae557162bcccc550db07c2
parentcc23e2a66fcc1b4b9e11407adf18f4da692130fa
ath10k: fix vdev stats for 10.4 firmware

Currently vdev stats displayed in fw_stats are applicable
only for TLV based firmware and fix it for 10.4 firmware
as of now. The vdev stats in 10.4 firmware is split into two
parts (vdev_stats, vdev_stats_extended). The actual stats
are captured only in extended vdev stats. In order to enable
vdev stats, appropriate feature bit will be set on extended
resource config. As FTM related counters are available only on
newer 10.4 based firmware, these counters will be displayed
only on valid data.

Signed-off-by: Rajkumar Manoharan <rmanohar@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/wmi.c
drivers/net/wireless/ath/ath10k/wmi.h