From b8f6b0713a61e3d9c60161405e025a99021af98f Mon Sep 17 00:00:00 2001 From: Krishna Rao Date: Fri, 14 Feb 2020 17:55:40 +0530 Subject: [PATCH] Add attribute for dwell time in QCA vendor scan Add an attribute QCA_WLAN_VENDOR_ATTR_SCAN_DWELL_TIME for specifying dwell time in the QCA vendor scan command. This is a common value which applies across all frequencies requested in the scan. Signed-off-by: Jouni Malinen --- src/common/qca-vendor.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 1f2233d7a..8a56ab7bf 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -1716,6 +1716,9 @@ enum qca_vendor_element_id { * randomisation * @QCA_WLAN_VENDOR_ATTR_SCAN_BSSID: 6-byte MAC address representing the * specific BSSID to scan for. + * @QCA_WLAN_VENDOR_ATTR_SCAN_DWELL_TIME: Unsigned 64-bit dwell time in + * microseconds. This is a common value which applies across all + * frequencies specified by QCA_WLAN_VENDOR_ATTR_SCAN_FREQUENCIES. */ enum qca_wlan_vendor_attr_scan { QCA_WLAN_VENDOR_ATTR_SCAN_INVALID_PARAM = 0, @@ -1730,6 +1733,7 @@ enum qca_wlan_vendor_attr_scan { QCA_WLAN_VENDOR_ATTR_SCAN_MAC = 9, QCA_WLAN_VENDOR_ATTR_SCAN_MAC_MASK = 10, QCA_WLAN_VENDOR_ATTR_SCAN_BSSID = 11, + QCA_WLAN_VENDOR_ATTR_SCAN_DWELL_TIME = 12, QCA_WLAN_VENDOR_ATTR_SCAN_AFTER_LAST, QCA_WLAN_VENDOR_ATTR_SCAN_MAX = QCA_WLAN_VENDOR_ATTR_SCAN_AFTER_LAST - 1 -- 2.39.2