UPSTREAM: wifi: ath12k: Address issues during beacon stats retrieval #162
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently, retrieving beacon stats is getting failed with timed out error
when multiple BSSes are enabled. This patch series tries to address the
mentioned issue by the following,
#1: Reset the firmware stats only after retrieving the complete stats
#2: Remove the wait timeout to get stats for all enabled BSSes during
beacon stats retrieval.
Manish Dharanenthiran (2):
wifi: ath12k: Make firmware stats reset caller-driven
wifi: ath12k: Fix timeout error during beacon stats retrieval
drivers/net/wireless/ath/ath12k/core.c | 2 --
drivers/net/wireless/ath/ath12k/core.h | 1 -
drivers/net/wireless/ath/ath12k/debugfs.c | 9 +++------
drivers/net/wireless/ath/ath12k/mac.c | 15 ++++++++++-----
drivers/net/wireless/ath/ath12k/wmi.c | 12 +-----------
5 files changed, 14 insertions(+), 25 deletions(-)
https://lore.kernel.org/all/20251031-beacon_stats-v1-0-f52fce7b03ac@qti.qualcomm.com/
CRs-Fixed: 4398576