Wen Gong <quic_wgong@xxxxxxxxxxx> writes: > HTT_T2H_MSG_TYPE_PPDU_STATS_IND is a message which include the ppdu > info, currently it is not report from firmware for ath11k, then the > tx bitrate of "iw wlan0 station dump" always show an invalid value > "tx bitrate: 6.0 MBit/s". > > To address the issue, this is to parse the info of tx complete report > from firmware and indicate the tx rate to mac80211. > > After that, "iw wlan0 station dump" show the correct tx bit rate such > as "tx bitrate: 1921.5 MBit/s 160MHz HE-MCS 9 HE-NSS 2 HE-GI 0 HE-DCM 0". > > Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1 > > Signed-off-by: Wen Gong <quic_wgong@xxxxxxxxxxx> I briefly tested this and tx rate didn't look correct to me: $ iw wlan0 link Connected to xx (on wlan0) SSID: <censored> freq: 2442 RX: 8838 bytes (80 packets) TX: 1551 bytes (15 packets) signal: -104 dBm rx bitrate: 39.0 MBit/s MCS 4 tx bitrate: (unknown) MCS 253 I guess the signal isn't correct either, are you planning to fix it also at some point? Also I see new warnings with this patch: [ 174.373905] ath11k_pci 0000:06:00.0: failed to find the peer by id 14 [ 174.386303] ath11k_pci 0000:06:00.0: failed to find the peer by id 14 [ 174.388733] ath11k_pci 0000:06:00.0: failed to find the peer by id 14 [ 174.472723] ath11k_pci 0000:06:00.0: failed to find the peer by id 14 [ 174.573331] ath11k_pci 0000:06:00.0: failed to find the peer by id 14 [ 174.838234] ath11k_pci 0000:06:00.0: failed to find the peer by id 14 [ 174.881577] ath11k_pci 0000:06:00.0: failed to find the peer by id 14 [ 174.985640] ath11k_pci 0000:06:00.0: failed to find the peer by id 14 [ 175.076154] ath11k_pci 0000:06:00.0: failed to find the peer by id 14 [ 175.113921] ath11k_pci 0000:06:00.0: failed to find the peer by id 14 [ 180.206378] ath11k_warn: 34 callbacks suppressed [ 180.206396] ath11k_pci 0000:06:00.0: failed to find the peer by id 14 -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches