Repository navigation
FROMLIST: wifi: ath12k: Add EHT capabilities to scan probe frame - #1325
GaoleZhangHaha wants to merge 1 commit into
Conversation
ath12k hardware scan Probe Request frames do not include the EHT
Capabilities element. Without this element, an AP cannot identify the
STA as EHT-capable during active scanning and may omit EHT-related
information from its Probe Response. This can result in incomplete scan
information and prevent userspace from correctly determining the AP's
EHT capabilities.
For firmware to include the EHT Capabilities element in scan Probe
Request frames, two conditions are required:
- The scan channel must have WMI_CHAN_INFO_ALLOW_EHT set, which allows
firmware to add the EHT Capabilities element to Probe Request frames.
- The EHT Capabilities element must be configured on the vdev through
WMI_VDEV_SET_IE_CMDID, so firmware can use it when building Probe
Request frames.
Set WMI_CHAN_INFO_ALLOW_EHT for channels when 11be is supported by
firmware and not disabled by ACPI. Also configure the EHT Capabilities
element before each hardware scan when the element is present in the
mac80211 scan IE buffer.
Firmware retains the configured element in the vdev context until it is
replaced or the vdev is deleted. However, ath12k scans may either reuse
an already started vdev or create a temporary scan vdev that is cleaned
up after scan completion. Sending WMI_VDEV_SET_IE_CMDID for each scan
request ensures correct behavior in both cases.
Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c7-00108-QCAHMTSWPL_V1.0_V2.0_SILICONZ_UPSTREAM-3
Signed-off-by: Gaole Zhang <gaole.zhang@oss.qualcomm.com>
|
Merge Check Failed: No Change Task Found No associated change tasks found for CR 4599002 on any of the following entities: Entities:
CR: 4599002 Please ensure the CR has a change task associated with at least one of the entities for this branch. |
PR #1325 — validate-patchPR: #1325
Final Summary
|
PR #1325 — checker-log-analyzerPR: #1325
Detailed report: Full report
|
ath12k hardware scan Probe Request frames do not include the EHT Capabilities element. Without this element, an AP cannot identify the STA as EHT-capable during active scanning and may omit EHT-related information from its Probe Response. This can result in incomplete scan information and prevent userspace from correctly determining the AP's EHT capabilities.
For firmware to include the EHT Capabilities element in scan Probe Request frames, two conditions are required:
Set WMI_CHAN_INFO_ALLOW_EHT for channels when 11be is supported by firmware and not disabled by ACPI. Also configure the EHT Capabilities element before each hardware scan when the element is present in the mac80211 scan IE buffer.
Firmware retains the configured element in the vdev context until it is replaced or the vdev is deleted. However, ath12k scans may either reuse an already started vdev or create a temporary scan vdev that is cleaned up after scan completion. Sending WMI_VDEV_SET_IE_CMDID for each scan request ensures correct behavior in both cases.
Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c7-00108-QCAHMTSWPL_V1.0_V2.0_SILICONZ_UPSTREAM-3
Link: https://lore.kernel.org/all/20261009095538.2718979-1-gaole.zhang@oss.qualcomm.com/
CRs-Fixed: 4599002