Search Linux Wireless

Re: [PATCH v3] wifi: ath11k: Add rx histogram stats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Maharaja Kennadyrajan <quic_mkenna@xxxxxxxxxxx> wrote:

> Add peer specific debugfs support to store and
> display peer rx stats info like HE, VHT, HT,
> legacy and NSS.
> Also, add a debugfs knob to reset rx stats
> specific to the peer.
> 
> This helps  to debug the throughput related
> issues in the UL traffic(STA to AP) by getting
> the segregated rx_stats info like HE, VHT, HT etc,.
> 
> There is no addition of new debugfs_file here to get
> these segregated stats. The exising rx_stats is enhanced
> to get these stats.
> 
> Usage:
> 
> To print rx stats:
> echo 1 > /sys/kernel/debug/ieee80211/phyX/ath11k/ext_rx_stats
> cat /sys/kernel/debug/ieee80211/phyX/netdev\:wlanX/stations/
>         <peer_mac>/rx_stats
> 
> To reset rx stats:
> echo 1 > /sys/kernel/debug/ieee80211/phyX/netdev\:wlanX/stations/
>         <peer_mac>/reset_rx_stats
> 
> Output:
> 
> RX peer stats:
> Num of MSDUs: 116
> Num of MSDUs with TCP L4: 0
> Num of MSDUs with UDP L4: 0
> Num of MSDUs part of AMPDU: 0
> Num of MSDUs not part of AMPDU: 116
> Num of MSDUs using STBC: 0
> Num of MSDUs beamformed: 0
> Num of MPDUs with FCS ok: 116
> Num of MPDUs with FCS error: 0
> BCC 5 LDPC 111
> preamble: 11A 5 11B 0 11N 0 11AC 111 11AX 0
> reception type: SU 116 MU_MIMO 0 MU_OFDMA 0 MU_OFDMA_MIMO 0
> TID(0-15) Legacy TID(16):0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5
> RX Duration:6459
> 
> RX success packet stats:
> 
> HE packet stats:
> MCS 0: 0        MCS 1: 0        MCS 2: 0        MCS 3: 0        MCS 4: 0        MCS 5: 0
> MCS 6: 0        MCS 7: 0        MCS 8: 0        MCS 9: 0        MCS 10: 0       MCS 11: 0
> 
> VHT packet stats:
> MCS 0: 0        MCS 1: 0        MCS 2: 0        MCS 3: 0        MCS 4: 111
> MCS 5: 0        MCS 6: 0        MCS 7: 0        MCS 8: 0        MCS 9: 0
> 
> HT packet stats:
> MCS 0: 0        MCS 1: 0        MCS 2: 0        MCS 3: 0        MCS 4: 0        MCS 5: 0        MCS 6: 0        MCS 7: 0
> MCS 8: 0        MCS 9: 0        MCS 10: 0       MCS 11: 0       MCS 12: 0       MCS 13: 0       MCS 14: 0       MCS 15: 0
> MCS 16: 0       MCS 17: 0       MCS 18: 0       MCS 19: 0       MCS 20: 0       MCS 21: 0       MCS 22: 0       MCS 23: 0
> MCS 24: 0       MCS 25: 0       MCS 26: 0       MCS 27: 0       MCS 28: 0       MCS 29: 0       MCS 30: 0       MCS 31: 0
> 
> Legacy rate packet stats:
> 1Mbps: 0        2Mbps: 0        5.5Mbps: 0      6Mbps: 5
> 9Mbps: 0        11Mbps: 0       12Mbps: 0       18Mbps: 0
> 18Mbps: 0       24Mbps: 0       36Mbps: 0       48Mbps: 0
> 
> NSS packet stats:
> 1x1: 5 2x2: 0 3x3: 111 4x4: 0 5x5: 0 6x6: 0 7x7: 0 8x8: 0
> 
> GI: 0.8us 5 0.4us 111 1.6us 0 3.2us 0
> BW: 20Mhz 5 40Mhz 0 80Mhz 111 160Mhz 0
> 
> Rate Table (packets):
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0             111               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
> 
> RX success byte stats:
> 
> HE byte stats:
> MCS 0: 0        MCS 1: 0        MCS 2: 0        MCS 3: 0        MCS 4: 0        MCS 5: 0
> MCS 6: 0        MCS 7: 0        MCS 8: 0        MCS 9: 0        MCS 10: 0       MCS 11: 0
> 
> VHT byte stats:
> MCS 0: 0        MCS 1: 0        MCS 2: 0        MCS 3: 0        MCS 4: 12742
> MCS 5: 0        MCS 6: 0        MCS 7: 0        MCS 8: 0        MCS 9: 0
> 
> HT byte stats:
> MCS 0: 0        MCS 1: 0        MCS 2: 0        MCS 3: 0        MCS 4: 0        MCS 5: 0        MCS 6: 0        MCS 7: 0
> MCS 8: 0        MCS 9: 0        MCS 10: 0       MCS 11: 0       MCS 12: 0       MCS 13: 0       MCS 14: 0       MCS 15: 0
> MCS 16: 0       MCS 17: 0       MCS 18: 0       MCS 19: 0       MCS 20: 0       MCS 21: 0       MCS 22: 0       MCS 23: 0
> MCS 24: 0       MCS 25: 0       MCS 26: 0       MCS 27: 0       MCS 28: 0       MCS 29: 0       MCS 30: 0       MCS 31: 0
> 
> Legacy rate byte stats:
> 1Mbps: 0        2Mbps: 0        5.5Mbps: 0      6Mbps: 346
> 9Mbps: 0        11Mbps: 0       12Mbps: 0       18Mbps: 0
> 18Mbps: 0       24Mbps: 0       36Mbps: 0       48Mbps: 0
> 
> NSS byte stats:
> 1x1: 346 2x2: 0 3x3: 12742 4x4: 0 5x5: 0 6x6: 0 7x7: 0 8x8: 0
> 
> GI: 0.8us 346 0.4us 12742 1.6us 0 3.2us 0
> BW: 20Mhz 346 40Mhz 0 80Mhz 12742 160Mhz 0
> 
> Rate Table (bytes):
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0           12742               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
>          0               0               0               0               0               0               0               0
> 
> DCM: 0
> RU: 26: 117 52: 0 106: 0 242: 0 484: 0 996: 0
> 
> Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1
> 
> Signed-off-by: Manikanta Pubbisetty <quic_mpubbise@xxxxxxxxxxx>
> Signed-off-by: Abinaya Kalaiselvan <quic_akalaise@xxxxxxxxxxx>
> Signed-off-by: Maharaja Kennadyrajan <quic_mkenna@xxxxxxxxxxx>

Dropping this, please rebase if still needed.

Patch set to Changes Requested.

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20230427100730.1328970-1-quic_mkenna@xxxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux