linux/drivers/net/wireless/ath/ath11k
Wen Gong 1b8bb94c06 ath11k: report tx bitrate for iw wlan station dump
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: 78.0 MBit/s MCS 12
tx bitrate: 144.4 MBit/s VHT-MCS 7 short GI VHT-NSS 2
tx bitrate: 286.7 MBit/s HE-MCS 11 HE-NSS 2 HE-GI 0 HE-DCM 0
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@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20211217093722.5739-1-quic_wgong@quicinc.com
2021-12-20 20:29:01 +02:00
..
ahb.c ath11k: Use host CE parameters for CE interrupts configuration 2021-11-26 12:18:55 +02:00
ahb.h
ce.c ath11k: Disabling credit flow for WMI path 2021-11-17 09:28:04 +02:00
ce.h ath11k: Disabling credit flow for WMI path 2021-11-17 09:28:04 +02:00
core.c ath11k: report rssi of each chain to mac80211 for QCA6390/WCN6855 2021-12-20 18:05:29 +02:00
core.h ath11k: report tx bitrate for iw wlan station dump 2021-12-20 20:29:01 +02:00
dbring.c ath11k: add spectral/CFR buffer validation support 2021-12-09 10:14:20 +02:00
dbring.h ath11k: add spectral/CFR buffer validation support 2021-12-09 10:14:20 +02:00
debug.c ath11k: add trace log support 2021-11-17 09:29:34 +02:00
debug.h ath11k: add trace log support 2021-11-17 09:29:34 +02:00
debugfs.c ath11k: report rssi of each chain to mac80211 for QCA6390/WCN6855 2021-12-20 18:05:29 +02:00
debugfs.h ath11k: report rssi of each chain to mac80211 for QCA6390/WCN6855 2021-12-20 18:05:29 +02:00
debugfs_htt_stats.c ath11k: add HTT stats support for new stats 2021-09-28 16:53:15 +03:00
debugfs_htt_stats.h ath11k: add HTT stats support for new stats 2021-09-28 16:53:15 +03:00
debugfs_sta.c ath11k: report tx bitrate for iw wlan station dump 2021-12-20 20:29:01 +02:00
debugfs_sta.h ath11k: report tx bitrate for iw wlan station dump 2021-12-20 20:29:01 +02:00
dp.c ath11k: Process full monitor mode rx support 2021-12-09 10:10:33 +02:00
dp.h ath11k: Process full monitor mode rx support 2021-12-09 10:10:33 +02:00
dp_rx.c ath11k: report tx bitrate for iw wlan station dump 2021-12-20 20:29:01 +02:00
dp_rx.h
dp_tx.c ath11k: report tx bitrate for iw wlan station dump 2021-12-20 20:29:01 +02:00
dp_tx.h ath11k: report tx bitrate for iw wlan station dump 2021-12-20 20:29:01 +02:00
hal.c ath11k: Avoid false DEADLOCK warning reported by lockdep 2021-12-13 11:49:22 +02:00
hal.h ath11k: Avoid false DEADLOCK warning reported by lockdep 2021-12-13 11:49:22 +02:00
hal_desc.h ath11k: add software monitor ring descriptor for full monitor 2021-12-09 10:10:32 +02:00
hal_rx.c ath11k: report tx bitrate for iw wlan station dump 2021-12-20 20:29:01 +02:00
hal_rx.h ath11k: report tx bitrate for iw wlan station dump 2021-12-20 20:29:01 +02:00
hal_tx.c
hal_tx.h
hif.h
htc.c ath11k: Disabling credit flow for WMI path 2021-11-17 09:28:04 +02:00
htc.h ath11k: Disabling credit flow for WMI path 2021-11-17 09:28:04 +02:00
hw.c ath11k: add ab to TARGET_NUM_VDEVS & co 2021-12-14 17:32:33 +02:00
hw.h ath11k: report rssi of each chain to mac80211 for QCA6390/WCN6855 2021-12-20 18:05:29 +02:00
Kconfig
mac.c ath11k: report tx bitrate for iw wlan station dump 2021-12-20 20:29:01 +02:00
mac.h ath11k: report tx bitrate for iw wlan station dump 2021-12-20 20:29:01 +02:00
Makefile
mhi.c wireless-drivers-next patches for v5.17 2021-12-17 07:30:07 -08:00
mhi.h
pci.c ath11k: Use reserved host DDR addresses from DT for PCI devices 2021-12-16 17:33:51 +02:00
pci.h ath11k: refactor multiple MSI vector implementation 2021-11-22 13:11:02 +02:00
peer.c ath11k: fix 4addr multicast packet tx 2021-09-16 12:15:40 +03:00
peer.h ath11k: fix fw crash due to peer get authorized before key install 2021-11-15 11:14:58 +02:00
qmi.c ath11k: Use reserved host DDR addresses from DT for PCI devices 2021-12-16 17:33:51 +02:00
qmi.h ath11k: Use reserved host DDR addresses from DT for PCI devices 2021-12-16 17:33:51 +02:00
reg.c ath11k: add 11d scan offload support 2021-12-08 10:33:31 +02:00
reg.h ath11k: Avoid race during regd updates 2021-09-28 13:57:32 +03:00
rx_desc.h ath11k: add dp support for WCN6855 2021-06-12 13:31:02 +03:00
spectral.c ath11k: add spectral/CFR buffer validation support 2021-12-09 10:14:20 +02:00
spectral.h
testmode.c
testmode.h
testmode_i.h
thermal.c
thermal.h
trace.c ath11k: add trace log support 2021-11-17 09:29:34 +02:00
trace.h ath11k: add trace log support 2021-11-17 09:29:34 +02:00
wmi.c ath11k: fix warning of RCU usage for ath11k_mac_get_arvif_by_vdev_id() 2021-12-20 18:08:09 +02:00
wmi.h ath11k: report rssi of each chain to mac80211 for QCA6390/WCN6855 2021-12-20 18:05:29 +02:00
wow.c
wow.h