]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add a vendor attribute for roam control configuration for full scan
authorSunil Dutt <quic_usdutt@quicinc.com>
Mon, 7 Nov 2022 12:09:11 +0000 (17:39 +0530)
committerJouni Malinen <j@w1.fi>
Mon, 21 Nov 2022 14:49:16 +0000 (16:49 +0200)
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.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/common/qca-vendor.h

index 3b4712f8aba58233d1ccbd0817ddfee3f1c83f54..673f01663abd0304ad0d0965264aba2e3e637a52 100644 (file)
@@ -5126,7 +5126,20 @@ enum qca_vendor_attr_roam_candidate_selection_criteria {
  * @QCA_ATTR_ROAM_CONTROL_HO_DELAY_FOR_RX: u16 value in milliseconds.
  *     Optional parameter. This configuration delays hand-off by the
  *     specified duration to receive pending RX frames from the 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,
@@ -5154,6 +5167,7 @@ enum qca_vendor_attr_roam_control {
        QCA_ATTR_ROAM_CONTROL_SCAN_6G_NON_PSC_DWELL_TIME = 23,
        QCA_ATTR_ROAM_CONTROL_LINKSPEED_THRESHOLD = 24,
        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,