mbox series

[ath-current,0/4] wifi: ath12k: fixes to firmware stats

Message ID 20250612-ath12k-fw-fixes-v1-0-12f594f3b857@quicinc.com
Headers show
Series wifi: ath12k: fixes to firmware stats | expand

Message

Baochen Qiang June 12, 2025, 1:31 a.m. UTC
We get report [1] that CPU is running in hot loop while requesting
firmware stats, fix it in patch [2/4]. While at it, fix documentation
on back-to-back firmware stats events in patch [1/4], and fix potential
failures due to static variables in patch [3/4]. patch [4/4] fix the
failure when there is no vdev started.

[1] https://lore.kernel.org/ath12k/AS8P190MB120575BBB25FCE697CD7D4988763A@AS8P190MB1205.EURP190.PROD.OUTLOOK.COM/

Signed-off-by: Baochen Qiang <quic_bqiang@quicinc.com>
---
Baochen Qiang (4):
      wifi: ath12k: fix documentation on firmware stats
      wifi: ath12k: avoid burning CPU while waiting for firmware stats
      wifi: ath12k: don't use static variables in ath12k_wmi_fw_stats_process()
      wifi: ath12k: don't wait when there is no vdev started

 drivers/net/wireless/ath/ath12k/core.c |  4 +++-
 drivers/net/wireless/ath/ath12k/core.h |  4 +++-
 drivers/net/wireless/ath/ath12k/mac.c  | 30 +++++++++---------------------
 drivers/net/wireless/ath/ath12k/wmi.c  | 27 ++++++++++++++-------------
 4 files changed, 29 insertions(+), 36 deletions(-)
---
base-commit: 4e89e05afa9fff6e68ec25ba1f21e711d91dcfeb
change-id: 20250611-ath12k-fw-fixes-8e9736701651
prerequisite-message-id: <20250609-ath12k-fw-stats-done-v1-1-2b3624656697@oss.qualcomm.com>
prerequisite-patch-id: 4b16b879aa24110d163279b32576789fa7383913

Best regards,