From 84f6492eacc257ad4ba71225007fc13e8cdfe048 Mon Sep 17 00:00:00 2001 From: Jia Ding Date: Wed, 23 Jun 2021 13:31:08 +0800 Subject: [PATCH] Extend QCA vendor command for TSF to enable and disable auto report Add TSF cmd to enable and disable automatic TSF report from the target to the host. Signed-off-by: Jia Ding --- src/common/qca-vendor.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index dff984ab4..47666f04a 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -1730,11 +1730,22 @@ enum qca_vendor_attr_tsf_cmd { * @QCA_TSF_CAPTURE: Initiate TSF Capture * @QCA_TSF_GET: Get TSF capture value * @QCA_TSF_SYNC_GET: Initiate TSF capture and return with captured value + * @QCA_TSF_AUTO_REPORT_ENABLE: Used in STA mode only. Once set, the target + * will automatically send TSF report to the host. To query + * QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_UPLINK_DELAY, this operation needs to be + * initiated first. + * @QCA_TSF_AUTO_REPORT_DISABLE: Used in STA mode only. Once set, the target + * will not automatically send TSF report to the host. If + * QCA_TSF_AUTO_REPORT_ENABLE is initiated and + * QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_UPLINK_DELAY is not queried anymore, this + * operation needs to be initiated. */ enum qca_tsf_cmd { QCA_TSF_CAPTURE, QCA_TSF_GET, QCA_TSF_SYNC_GET, + QCA_TSF_AUTO_REPORT_ENABLE, + QCA_TSF_AUTO_REPORT_DISABLE, }; /**