]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add QCA vendor attribute to skip recently scanned channels
authorPurushottam Kushwaha <quic_pkushwah@quicinc.com>
Tue, 30 Jul 2024 13:31:51 +0000 (19:01 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 1 Aug 2024 17:16:50 +0000 (20:16 +0300)
Add a new vendor attribute
QCA_WLAN_VENDOR_ATTR_SCAN_SKIP_CHANNEL_RECENCY_PERIOD for sub command
QCA_NL80211_VENDOR_SUBCMD_TRIGGER_SCAN to skip the recently scanned
channels within specified time (in ms), thus reducing the number of
channels for requested scan.

Signed-off-by: Purushottam Kushwaha <quic_pkushwah@quicinc.com>
src/common/qca-vendor.h

index f5dc60c591744d55ae2fd8d8f3d127a186ab0885..89b5c92603bdfa0daeeab7c96890b6cfb8c32fbe 100644 (file)
@@ -2700,6 +2700,9 @@ enum qca_wlan_vendor_scan_priority {
  *     when AP is operating as MLD to specify which link is requesting the
  *     scan or which link the scan result is for. No need of this attribute
  *     in other cases.
+ * @QCA_WLAN_VENDOR_ATTR_SCAN_SKIP_CHANNEL_RECENCY_PERIOD: Optional (u32). Skip
+ *     scanning channels which are scanned recently within configured time
+ *     (in ms).
  */
 enum qca_wlan_vendor_attr_scan {
        QCA_WLAN_VENDOR_ATTR_SCAN_INVALID_PARAM = 0,
@@ -2718,6 +2721,7 @@ enum qca_wlan_vendor_attr_scan {
        QCA_WLAN_VENDOR_ATTR_SCAN_PRIORITY = 13,
        QCA_WLAN_VENDOR_ATTR_SCAN_PAD = 14,
        QCA_WLAN_VENDOR_ATTR_SCAN_LINK_ID = 15,
+       QCA_WLAN_VENDOR_ATTR_SCAN_SKIP_CHANNEL_RECENCY_PERIOD = 16,
        QCA_WLAN_VENDOR_ATTR_SCAN_AFTER_LAST,
        QCA_WLAN_VENDOR_ATTR_SCAN_MAX =
        QCA_WLAN_VENDOR_ATTR_SCAN_AFTER_LAST - 1