• Rajkumar Manoharan's avatar
    ath10k: fix vdev stats for 10.4 firmware · 1b3fdb50
    Rajkumar Manoharan authored
    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: default avatarRajkumar Manoharan <rmanohar@codeaurora.org>
    Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
    1b3fdb50
core.c 73 KB