FROMLIST: wifi: ath10k: filter non-UTF testmode events - #880
Conversation
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
|
Merge Check Failed: No Change Task Found No associated change tasks found for CR 4627410 on any of the following entities: Entities:
CR: 4627410 Please ensure the CR has a change task associated with at least one of the entities for this branch. |
🔨 Build Failure Analysis — PR #880PR: #880
VerdictBoth errors are introduced by this PR. The patch references a WMI event ID constant that does not exist in the kernel headers. 📎 Detailed analysis: Full report |
🔨 Build Failure Analysis — PR #880PR: #880
VerdictBoth errors are introduced by this PR. The constant 📎 Detailed analysis: Full report |
|
Hi @qualcomm-linux/qualcomm-kernel-maint, Could you please help review and approve this PR when you get a chance? Thanks. |
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
Link: https://lore.kernel.org/r/20260730023226.707008-1-linghui.wu@oss.qualcomm.com
CRs-Fixed:4627410