[PATCH ath-next] wifi: ath12k: Use HTT_TCL_METADATA_VER_V1 in FTM mode
Vasanthakumar Thiagarajan
vasanthakumar.thiagarajan at oss.qualcomm.com
Mon Jul 14 20:00:56 PDT 2025
On 7/11/2025 9:24 AM, Aaradhana Sahu wrote:
> Currently host sends HTT_TCL_METADATA_VER_V2 to the firmware
> regardless of the operating mode (Mission or FTM).
>
> Firmware expects additional software information (like peer ID, vdev
> ID, and link ID) in Tx packets when HTT_TCL_METADATA_VER_V2 is set.
> However, in FTM (Factory Test Mode) mode, no vdev is created on the
> host side (this is expected). As a result, the firmware fails to find
> the expected vdev during packet processing and ends up dropping
> packets.
>
> To fix this, send HTT_TCL_METADATA_VER_V1 in FTM mode because FTM
> mode doesn't support HTT_TCL_METADATA_VER_V2.
>
> Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.5-01651-QCAHKSWPL_SILICONZ-1
>
> Fixes: 5d964966bd3f ("wifi: ath12k: Update HTT_TCL_METADATA version and bit mask definitions")
> Signed-off-by: Aaradhana Sahu <aaradhana.sahu at oss.qualcomm.com>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan at oss.qualcomm.com>
More information about the ath12k
mailing list