From: Gianluca Boiano <morf3089@gmail.com>
To: Loic Poulain <loic.poulain@oss.qualcomm.com>
Cc: jjohnson@kernel.org, linux-wireless@vger.kernel.org,
ath10k@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/3] wifi: ath10k: add firmware feature bit to skip channel stats events
Date: Wed, 25 Nov 2026 18:13:29 +0100 [thread overview]
Message-ID: <20261125171411.96431-1-morf3089@gmail.com> (raw)
In-Reply-To: <CAFEp6-3cQBaC1Ob1B8v8ZmQcMd_KfyABXxV81M9u0RkBY=Z0Ng@mail.gmail.com>
Hi Loic,
On Wed, Nov 25, 2026 Loic Poulain wrote:
> Are we handling or using the CHAN_STAT_EVENT data in the driver? If
> so, which event handler or function currently consumes it?
Yes. With WMI_SCAN_CHAN_STAT_EVENT set, the firmware sends
WMI_TLV_CHAN_INFO_EVENTID for each scanned channel.
ath10k_wmi_event_chan_info() handles it and parses it with
ath10k_wmi_tlv_op_pull_ch_info_ev(). The default WCN3990
firmware-5.bin doesn't set single-chan-info-per-channel, so on SDM660
the event goes through ath10k_wmi_event_chan_info_paired(). That fills
ar->survey[] with noise floor, active time and busy time.
ath10k_get_survey() reports ar->survey[] to mac80211 for survey dump
and ACS.
With the bit set, survey data for scanned channels isn't populated on
these devices. I accept that to avoid the firmware crash on every scan.
Regards,
Gianluca
next prev parent reply other threads:[~2026-11-25 17:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-21 19:49 [PATCH 0/3] wifi: ath10k: firmware feature bits for WCN3990 on SDM660 Gianluca Boiano
2026-11-21 19:49 ` [PATCH 1/3] wifi: ath10k: add firmware feature bit to skip channel stats events Gianluca Boiano
2026-11-25 16:42 ` Loic Poulain
2026-11-25 17:13 ` Gianluca Boiano [this message]
2026-11-21 19:49 ` [PATCH 2/3] wifi: ath10k: add firmware feature bit to skip quiet mode Gianluca Boiano
2026-11-21 19:49 ` [PATCH 3/3] wifi: ath10k: add firmware feature bit to force passive scan on 5 GHz Gianluca Boiano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261125171411.96431-1-morf3089@gmail.com \
--to=morf3089@gmail.com \
--cc=ath10k@lists.infradead.org \
--cc=jjohnson@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=loic.poulain@oss.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®