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.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
Sunil Dutt 2022-11-07 17:39:11 +05:30 committed by Jouni Malinen
parent 12f16c27ba
commit 2050130bec

View 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,