1. 09 Jul, 2024 10 commits
  2. 08 Jul, 2024 6 commits
  3. 04 Jul, 2024 21 commits
  4. 03 Jul, 2024 1 commit
    • Kalle Valo's avatar
      Merge tag 'ath-next-20240702' of git://git.kernel.org/pub/scm/linux/kernel/git/ath/ath · c1cacb01
      Kalle Valo authored
      ath.git patches for v6.11
      
      We have moved to a new group-managed repo, and this is the first pull
      request from that repo, and from me. Fingers crossed...
      
      We have some new features in ath12k along with some cleanups in ath11k
      and ath12k. Also notable are some device-tree changes to allow certain
      ath11k and ath12k devices to work with a new power sequencing
      subsystem.
      
      Major changes:
      
      ath12k
      
      * DebugFS support for datapath statistics
      * WCN7850: support for WoW (Wake on WLAN)
      * WCN7850: device-tree bindings
      
      ath11k
      
      * QCA6390: device-tree bindings
      c1cacb01
  5. 01 Jul, 2024 2 commits
    • Dinesh Karthikeyan's avatar
      wifi: ath12k: Support TQM stats · 5344fc76
      Dinesh Karthikeyan authored
      Add support to request pdev TQM stats from firmware through HTT stats
      type 6. This stat type gives information such as TQM error, MPDU
      related information and TQM pdev stats.
      
      Sample output:
      -------------
      echo 6 > /sys/kernel/debug/ath12k/pci-0000\:06\:00.0/mac0/htt_stats_type
      cat /sys/kernel/debug/ath12k/pci-0000\:06\:00.0/mac0/htt_stats
      
      HTT_TX_TQM_ERROR_STATS_TLV:
      q_empty_failure = 0
      q_not_empty_failure = 0
      add_msdu_failure = 0
      
      TQM_ERROR_RESET_STATS:
      tqm_cache_ctl_err = 0
      tqm_soft_reset = 0
      tqm_reset_total_num_in_use_link_descs = 0
      .....
      
      HTT_TX_TQM_GEN_MPDU_STATS_TLV:
      gen_mpdu_end_reason =  0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, 9:0,
      10:0, 11:0, 12:0, 13:0, 14:0, 15:0, 16:0
      
      HTT_TX_TQM_LIST_MPDU_STATS_TLV:
      list_mpdu_end_reason =  0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, 9:0,
      10:0, 11:0, 12:0
      
      HTT_TX_TQM_LIST_MPDU_CNT_TLV_V:
      list_mpdu_cnt_hist =  0:0, 1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0, 8:0, 9:0
      
      HTT_TX_TQM_PDEV_STATS_TLV_V:
      msdu_count = 0
      mpdu_count = 0
      remove_msdu = 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-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4
      Signed-off-by: default avatarDinesh Karthikeyan <quic_dinek@quicinc.com>
      Signed-off-by: default avatarRoopni Devanathan <quic_rdevanat@quicinc.com>
      Acked-by: default avatarJeff Johnson <quic_jjohnson@quicinc.com>
      Signed-off-by: default avatarKalle Valo <quic_kvalo@quicinc.com>
      Link: https://patch.msgid.link/20240625042217.1303332-4-quic_rdevanat@quicinc.com
      5344fc76
    • Dinesh Karthikeyan's avatar
      wifi: ath12k: Support pdev error stats · cf1187b3
      Dinesh Karthikeyan authored
      Add support to request pdev error stats from firmware through HTT stats
      type 5. This stats type gives information such as list of pdev errors,
      reasons for reset, logging information about recovery, drain and war
      stats. etc.
      
      Sample output:
      -------------
      echo 5 > /sys/kernel/debug/ath12k/pci-0000\:06\:00.0/mac0/htt_stats_type
      cat /sys/kernel/debug/ath12k/pci-0000\:06\:00.0/mac0/htt_stats
      
      HTT_HW_STATS_PDEV_ERRS_TLV:
      mac_id = 0
      tx_abort = 0
      tx_abort_fail_count = 0
      rx_abort = 53
      .....
      
      PDEV_PHY_WARM_RESET_REASONS:
      phy_warm_reset_reason_phy_m3 = 0
      phy_warm_reset_reason_tx_hw_stuck = 0
      phy_warm_reset_reason_num_cca_rx_frame_stuck = 0
      .....
      
      WAL_RX_RECOVERY_STATS:
      wal_rx_recovery_rst_mac_hang_count = 0
      wal_rx_recovery_rst_known_sig_count = 0
      wal_rx_recovery_rst_no_rx_count = 0
      .....
      
      HTT_RX_DEST_DRAIN_STATS:
      rx_dest_drain_rx_descs_leak_prevention_done = 0
      rx_dest_drain_rx_descs_saved_cnt = 0
      rx_dest_drain_rxdma2reo_leak_detected = 0
      .....
      
      HTT_HW_STATS_INTR_MISC_TLV:
      hw_intr_name = AMPI
      mask = 0
      count = 2
      
      HTT_HW_STATS_WHAL_TX_TLV:
      mac_id = 0
      last_unpause_ppdu_id = 0
      hwsch_unpause_wait_tqm_write = 0
      .....
      
      HTT_HW_WAR_STATS_TLV:
      mac_id = 0
      hw_war 0 = 0
      hw_war 1 = 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-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4
      Signed-off-by: default avatarDinesh Karthikeyan <quic_dinek@quicinc.com>
      Signed-off-by: default avatarRoopni Devanathan <quic_rdevanat@quicinc.com>
      Acked-by: default avatarJeff Johnson <quic_jjohnson@quicinc.com>
      Signed-off-by: default avatarKalle Valo <quic_kvalo@quicinc.com>
      Link: https://patch.msgid.link/20240625042217.1303332-3-quic_rdevanat@quicinc.com
      cf1187b3