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
This commit is contained in:
Srikanth Marepalli 2022-11-22 20:37:12 +05:30
commit dee1030535

View file

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