From: Zhaoyang Liu Date: Sun, 19 Mar 2017 06:40:00 +0000 (+0800) Subject: QCA vendor command: Add TA max duration attribute for OCB configure X-Git-Tag: hostap_2_7~1420 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1275958873aaea06f8f2cc6142082a2acfc96334;p=thirdparty%2Fhostap.git QCA vendor command: Add TA max duration attribute for OCB configure 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 Signed-off-by: Ferry Zhou --- diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index a9ddb6110..1df0dd99f 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -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