Skip to content

Ath10k qcom 6.18 filter non utf - #990

Open
linghuiwu (linghuiwu-star) wants to merge 2 commits into
qualcomm-linux:qcom-6.18.yfrom
linghuiwu-star:ath-qcom-6.18-filter-non-utf
Open

Ath10k qcom 6.18 filter non utf#990
linghuiwu (linghuiwu-star) wants to merge 2 commits into
qualcomm-linux:qcom-6.18.yfrom
linghuiwu-star:ath-qcom-6.18-filter-non-utf

Conversation

@linghuiwu-star

@linghuiwu-star linghuiwu (linghuiwu-star) commented Aug 20, 2026

Copy link
Copy Markdown

This series backports ath10k FTM TLV test command support to qcom-6.18.y
and filters non-UTF WMI events from the ath10k testmode userspace path.

The series contains two independent commits:

  1. wifi: ath10k: Support for FTM TLV test commands
  2. FROMLIST: wifi: ath10k: filter non-UTF testmode events

The first commit is the qcom-6.18.y backport of PR 912.

The second commit is based on PR 880 and depends on the event handling
introduced by the first commit. It is intentionally kept as a separate
commit so that the two changes can be reviewed independently.

When UTF monitor is enabled, ath10k can receive both UTF and non-UTF WMI
events through the testmode path. Non-UTF events may be forwarded to
userspace and confuse FTM tools that expect only UTF responses.

The second commit forwards only known UTF event IDs and consumes/drops
other WMI events while UTF monitor is active. The existing segmented and
unsegmented FTM TLV event handling from the first commit is preserved.

Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.3.7.c5-00093.2-QCAHLSWMTPL-1

CRs-Fixed:4627410

Loic Poulain and others added 2 commits August 20, 2026 17:09
Existing tools like myftm use 'legacy' test command API. Similarly
to ath11k and ath12k, we want to support raw TLV payload submitted
from the test tool. This requires segmenting the TLV payload and
encapsulating it within a WMI command. The opposite operation needs
to be done upon corresponding event receiving.

Tested-on: WCN3990 hw1.0 WLAN.HL.3.3.7.c2-00931-QCAHLSWMTPLZ-1

Signed-off-by: Loic Poulain <loic.poulain@oss.qualcomm.com>
Link: https://patch.msgid.link/20251020153759.407516-1-loic.poulain@oss.qualcomm.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
(cherry picked from commit 54be197)
When UTF monitor is enabled, ath10k forwards WMI events to nl80211
testmode. Non-UTF events can therefore be delivered to userspace and
confuse FTM tools which expect only UTF responses.

Only forward known UTF event IDs from WMI event namespaces that route
events through ath10k_tm_event_wmi(), and drop other WMI events while UTF
monitor is active. READY events are still handled by the normal WMI
receive path.

Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.3.7.c5-00093.2-QCAHLSWMTPL-1

Signed-off-by: Linghui Wu <linghui.wu@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260730023226.707008-1-linghui.wu@oss.qualcomm.com
@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No CR Numbers Found

Error: No Change Request numbers were found.

Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests.

3 similar comments
@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No CR Numbers Found

Error: No Change Request numbers were found.

Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests.

@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No CR Numbers Found

Error: No Change Request numbers were found.

Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests.

@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No CR Numbers Found

Error: No Change Request numbers were found.

Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests.

@linghuiwu-star linghuiwu (linghuiwu-star) changed the title Ath qcom 6.18 filter non utf Ath10k qcom 6.18 filter non utf Aug 20, 2026
@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: No CR Numbers Found

Error: No Change Request numbers were found.

Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests.

@qswat-orbit-external

Copy link
Copy Markdown

Merge Check Failed: CR Not Eligible for Merge

CR 4627410 is not eligible for merge.

The parent software image for kernel.qli.2.0 is not development complete.

Entity: kernel.qli.2.0
CR: 4627410
Reason: CR_CANNOT_MERGE

Please ensure the CR passes both CCT (ComponentChangeTasks) and ICT (Integration Change Tasks) validations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant