]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
QCA vendor command: Add TA max duration attribute for OCB configure
authorZhaoyang Liu <zhaoyang@codeaurora.org>
Sun, 19 Mar 2017 06:40:00 +0000 (14:40 +0800)
committerJouni Malinen <j@w1.fi>
Mon, 27 Mar 2017 14:19:38 +0000 (17:19 +0300)
Add attribute for TA max duration after last TA received. So that local
time is synchromous to other communicating OCB STAs. If the duration
expires, OCB STA without UTC time source is not in sync to other STAs
and stop scheduling DSRC channel switch after max duration.

Signed-off-by: Zhaoyang Liu <zhaoyang@codeaurora.org>
Signed-off-by: Ferry Zhou <tianguiz@codeaurora.org>
src/common/qca-vendor.h

index a9ddb611058ea25bfcf836e5ea78277cf4ae1c2f..1df0dd99f4a6382f343a15dfe4ee5e2f2a6a130f 100644 (file)
@@ -774,6 +774,9 @@ enum qca_wlan_vendor_attr_data_offload_ind {
  *     OCB_CONFIG_FLAG_80211_FRAME_MODE
  * @QCA_WLAN_VENDOR_ATTR_OCB_SET_CONFIG_DEF_TX_PARAM: Default TX parameters to
  *     use in the case that a packet is sent without a TX control header
+ * @QCA_WLAN_VENDOR_ATTR_OCB_SET_CONFIG_TA_MAX_DURATION: Max duration after the
+ *     last TA received that the local time set by TA is synchronous to other
+ *     communicating OCB STAs.
  */
 enum qca_wlan_vendor_attr_ocb_set_config {
        QCA_WLAN_VENDOR_ATTR_OCB_SET_CONFIG_INVALID = 0,
@@ -785,6 +788,7 @@ enum qca_wlan_vendor_attr_ocb_set_config {
        QCA_WLAN_VENDOR_ATTR_OCB_SET_CONFIG_NDL_ACTIVE_STATE_ARRAY = 6,
        QCA_WLAN_VENDOR_ATTR_OCB_SET_CONFIG_FLAGS = 7,
        QCA_WLAN_VENDOR_ATTR_OCB_SET_CONFIG_DEF_TX_PARAM = 8,
+       QCA_WLAN_VENDOR_ATTR_OCB_SET_CONFIG_TA_MAX_DURATION = 9,
        QCA_WLAN_VENDOR_ATTR_OCB_SET_CONFIG_AFTER_LAST,
        QCA_WLAN_VENDOR_ATTR_OCB_SET_CONFIG_MAX =
        QCA_WLAN_VENDOR_ATTR_OCB_SET_CONFIG_AFTER_LAST - 1