Parse peer stats from pktlog packets and update the tx rate
information
per STA. This way user space can query about transmit rate with iw:
everything works ok, ath10k_update_per_peer_tx_stats() is called and
ath10k_sta fields are updated correctly
but tx bitrate is still 6 MBit/s in station dump
Hope CONFIG_MAC80211_DEBUGFS is enabled in your build.
Please Run ping traffic and see and 'station dump'
This feature should not depend on debugfs. Why is it needed? In patch 1
you already moved pktlog_filter to struct ath10k, does it need
something
else as well?
ATH10K updates tx rate from this callback,
.sta_statistics = ath10k_sta_statistics,
This callback is defined under CONFIG_MAC80211_DEBUGFS.
Thanks,
Anil.