Search Linux Wireless

Re: [PATCH 3/3] wifi: ath12k: Request pdev stats from firmware

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

 



On 1/25/25 00:23, Ramya Gnanasekar wrote:
Add support to request pdev stats from firmware through WMI and
print the information

Sample Output:
-------------
cat /sys/kernel/debug/ath12k/pci-0000\:06\:00.0/mac0/fw_stats/pdev_stats

              ath12k PDEV stats
              =================

            Channel noise floor        -85
               Channel TX power        126
                 TX frame count          0
                 RX frame count       8637
                 RX clear count      37424
                    Cycle count    4372024
                PHY error count          0
                 soc drop count          0

           ath12k PDEV TX stats
           ====================

             HTT cookies queued          0
              HTT cookies disp.          0
                    MSDU queued          0
                    MPDU queued          0
                  MSDUs dropped          0
                   Local enqued          0
                    Local freed          0
                      HW queued          0
                   PPDUs reaped          0
                  Num underruns          0
                  PPDUs cleaned          0
                 MPDUs requeued          0
              Excessive retries          0
                        HW rate          0
            Sched self triggers          0
      Dropped due to SW retries          0
        Illegal rate phy errors          0
         PDEV continuous xretry          0
                     TX timeout          9
                    PDEV resets          0
  Stateless TIDs alloc failures          0
                   PHY underrun          0
   MPDU is more than txop limit          0

           ath12k PDEV RX stats
           ====================

          Mid PPDU route change          0
        Tot. number of statuses          0
         Extra frags on rings 0          0
         Extra frags on rings 1          0
         Extra frags on rings 2          0
         Extra frags on rings 3          0
         MSDUs delivered to HTT          0
         MPDUs delivered to HTT          0
       MSDUs delivered to stack          0
       MPDUs delivered to stack          0
                Oversized AMSUs          0
                     PHY errors          0
               PHY errors drops          0
    MPDU errors (FCS, MIC, ENC)          0

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1
Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3

Signed-off-by: Ramya Gnanasekar<ramya.gnanasekar@xxxxxxxxxxxxxxxx>
---

Reviewed-by: Aditya Kumar Singh <aditya.kumar.singh@xxxxxxxxxxxxxxxx>

--
Aditya




[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