]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Extend QCA vendor command for TSF to enable and disable auto report
authorJia Ding <jiad@codeaurora.org>
Wed, 23 Jun 2021 05:31:08 +0000 (13:31 +0800)
committerJouni Malinen <j@w1.fi>
Wed, 14 Jul 2021 15:18:37 +0000 (18:18 +0300)
Add TSF cmd to enable and disable automatic TSF report from the target
to the host.

Signed-off-by: Jia Ding <jiad@codeaurora.org>
src/common/qca-vendor.h

index dff984ab483a96bc3a8e2a701391f77992e53b7b..47666f04ae7cce409ee508b8692c1eec1797424a 100644 (file)
@@ -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,
 };
 
 /**