From dee1030535cd88b4442139f609bee75234f225e8 Mon Sep 17 00:00:00 2001 From: Srikanth Marepalli Date: Tue, 22 Nov 2022 20:37:12 +0530 Subject: [PATCH] qcacmn: Add a vendor attribute for roam control configuration for full scan During the roam scan, if there are no desired APs found in the partial frequency list, an immediate full scan on all the supported frequencies is initiated as a fallback. This flag controls the frequency list creation for full scan on the following lines. 1 - Full scan to exclude the frequencies that were already scanned by the previous partial scan. 0 - Full scan to include all the supported frequencies irrespective of the ones already scanned by partial scan. Change-Id: Id48ae28e6d0e719b9db9b2e73bd76f9be1ea0b3e CRs-Fixed: 3343567 --- os_if/linux/qca_vendor.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/os_if/linux/qca_vendor.h b/os_if/linux/qca_vendor.h index 72ad0ddc2d01..f91b3883a940 100644 --- a/os_if/linux/qca_vendor.h +++ b/os_if/linux/qca_vendor.h @@ -3245,6 +3245,19 @@ enum qca_vendor_attr_roam_candidate_selection_criteria { * Optional parameter. This configuration delays hand-off (in msec) by the * specified duration to receive pending rx frames from current BSS. * + * @QCA_ATTR_ROAM_CONTROL_FULL_SCAN_NO_REUSE_PARTIAL_SCAN_FREQ: Unsigned 8-bit + * value. + * During the roam scan, if there are no desired APs found in the partial + * frequency list, an immediate full scan on all the supported frequencies + * is initiated as a fallback. This flag controls the frequency list + * creation for the full scan on the following lines. + * 1 - Full scan to exclude the frequencies that were already scanned by + * the previous partial scan. + * 0 - Full scan to include all the supported frequencies irrespective of + * the ones part of the earlier partial scan. + * If this flag is not specified, a full scan shall include all the + * supported frequencies irrespective of the ones part of an earlier + * partial scan. */ enum qca_vendor_attr_roam_control { QCA_ATTR_ROAM_CONTROL_ENABLE = 1, @@ -3264,6 +3277,7 @@ enum qca_vendor_attr_roam_control { QCA_ATTR_ROAM_CONTROL_CANDIDATE_RSSI_THRESHOLD_5GHZ = 15, QCA_ATTR_ROAM_CONTROL_CANDIDATE_RSSI_THRESHOLD_6GHZ = 16, QCA_ATTR_ROAM_CONTROL_HO_DELAY_FOR_RX = 25, + QCA_ATTR_ROAM_CONTROL_FULL_SCAN_NO_REUSE_PARTIAL_SCAN_FREQ = 26, /* keep last */ QCA_ATTR_ROAM_CONTROL_AFTER_LAST,