akolli@xxxxxxxxxxxxxxxx wrote: > From: Anilkumar Kolli <akolli@xxxxxxxxxxxxxxxx> > > Per peer tx stats are part of 'HTT_10_4_T2H_MSG_TYPE_PEER_STATS' > event, Firmware sends one HTT event for every four PPDUs. > HTT payload has success pkts/bytes, failed pkts/bytes, retry > pkts/bytes and rate info per ppdu. > Peer stats are enabled through 'WMI_SERVICE_PEER_STATS', > which are nowadays enabled by default. > > Parse peer stats and update the tx rate information per STA. > > tx rate, Peer stats are tested on QCA4019 with Firmware version > 10.4-3.2.1-00028. > > Signed-off-by: Anilkumar Kolli <akolli@xxxxxxxxxxxxxxxx> I see a new sparse warning: drivers/net/wireless/ath/ath10k/htt_rx.c:2290:17: warning: incorrect type in assignment (different base types) drivers/net/wireless/ath/ath10k/htt_rx.c:2290:17: expected int [signed] peer_id drivers/net/wireless/ath/ath10k/htt_rx.c:2290:17: got restricted __le16 [usertype] peer_id 2 patches set to Changes Requested. 9381691 [PATCHv2,1/2] ath10k: add per peer htt tx stats support for 10.4 9381693 [PATCHv2,2/2] ath10k: add support for per sta tx bitrate -- https://patchwork.kernel.org/patch/9381691/ Documentation about submitting wireless patches and checking status from patchwork: https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches