Additional attributes to QCA_WLAN_VENDOR_ATTR_ROAMING_PARAM_CONTROL
Add additional attributes to enum qca_vendor_attr_roam_control to control the roam behavior through QCA_NL80211_VENDOR_SUBCMD_ROAM and QCA_WLAN_VENDOR_ATTR_ROAMING_PARAM_CONTROL. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
8a6a2894d1
commit
fd4a58ccdc
1 changed files with 49 additions and 0 deletions
|
@ -4042,6 +4042,30 @@ enum qca_vendor_attr_scan_freq_list_scheme {
|
||||||
QCA_ATTR_ROAM_CONTROL_SCAN_FREQ_LIST_SCHEME_AFTER_LAST - 1,
|
QCA_ATTR_ROAM_CONTROL_SCAN_FREQ_LIST_SCHEME_AFTER_LAST - 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* enum qca_roam_scan_scheme: Scan scheme
|
||||||
|
*
|
||||||
|
* @QCA_ROAM_SCAN_SCHEME_NO_SCAN: No frequencies specified to scan.
|
||||||
|
* Indicates the driver to not scan on a Roam Trigger scenario, but
|
||||||
|
* disconnect. E.g., on a BTM request from the AP the driver/firmware shall
|
||||||
|
* disconnect from the current connected AP by notifying a failure
|
||||||
|
* code in the BTM response.
|
||||||
|
*
|
||||||
|
* @QCA_ROAM_SCAN_SCHEME_PARTIAL_SCAN: Indicates the driver/firmware to
|
||||||
|
* trigger partial frequency scans. These frequencies are the ones learned
|
||||||
|
* or maintained by the driver based on the probability of finding the
|
||||||
|
* BSSIDs in the ESS for which the roaming is triggered.
|
||||||
|
*
|
||||||
|
* @QCA_ROAM_SCAN_SCHEME_FULL_SCAN: Indicates the driver/firmware to
|
||||||
|
* trigger the scan on all the valid frequencies to find better
|
||||||
|
* candidates to roam.
|
||||||
|
*/
|
||||||
|
enum qca_roam_scan_scheme {
|
||||||
|
QCA_ROAM_SCAN_SCHEME_NO_SCAN = 0,
|
||||||
|
QCA_ROAM_SCAN_SCHEME_PARTIAL_SCAN = 1,
|
||||||
|
QCA_ROAM_SCAN_SCHEME_FULL_SCAN = 2,
|
||||||
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* enum qca_vendor_roam_triggers: Bitmap of roaming triggers
|
* enum qca_vendor_roam_triggers: Bitmap of roaming triggers
|
||||||
*
|
*
|
||||||
|
@ -4233,6 +4257,27 @@ enum qca_vendor_attr_roam_candidate_selection_criteria {
|
||||||
*
|
*
|
||||||
* Clears the selection criteria configured in the driver when specified
|
* Clears the selection criteria configured in the driver when specified
|
||||||
* with clear command.
|
* with clear command.
|
||||||
|
*
|
||||||
|
* @QCA_ATTR_ROAM_CONTROL_SCAN_SCHEME: Unsigned 32-bit value.
|
||||||
|
* Represents value of the scan frequency scheme from enum
|
||||||
|
* qca_roam_scan_scheme.
|
||||||
|
* It's an optional attribute. If this attribute is not configured, the
|
||||||
|
* driver shall proceed with default behavior.
|
||||||
|
*
|
||||||
|
* @QCA_ATTR_ROAM_CONTROL_CONNECTED_RSSI_THRESHOLD: Signed 32-bit value in dBm,
|
||||||
|
* signifying the RSSI threshold of the current connected AP, indicating
|
||||||
|
* the driver to trigger roam only when the current connected AP's RSSI
|
||||||
|
* is less than this threshold.
|
||||||
|
*
|
||||||
|
* @QCA_ATTR_ROAM_CONTROL_CANDIDATE_RSSI_THRESHOLD: Signed 32-bit value in dBm,
|
||||||
|
* signifying the RSSI threshold of the candidate AP, indicating
|
||||||
|
* the driver to trigger roam only to the candidate AP with RSSI
|
||||||
|
* better than this threshold.
|
||||||
|
*
|
||||||
|
* @QCA_ATTR_ROAM_CONTROL_USER_REASON: Unsigned 32-bit value. Represents the
|
||||||
|
* user defined reason code to be sent to the AP in response to AP's
|
||||||
|
* request to trigger the roam if the roaming cannot be triggered.
|
||||||
|
* Applies to all the scenarios of AP assisted roaming (e.g., BTM).
|
||||||
*/
|
*/
|
||||||
enum qca_vendor_attr_roam_control {
|
enum qca_vendor_attr_roam_control {
|
||||||
QCA_ATTR_ROAM_CONTROL_ENABLE = 1,
|
QCA_ATTR_ROAM_CONTROL_ENABLE = 1,
|
||||||
|
@ -4243,6 +4288,10 @@ enum qca_vendor_attr_roam_control {
|
||||||
QCA_ATTR_ROAM_CONTROL_FULL_SCAN_PERIOD = 6,
|
QCA_ATTR_ROAM_CONTROL_FULL_SCAN_PERIOD = 6,
|
||||||
QCA_ATTR_ROAM_CONTROL_TRIGGERS = 7,
|
QCA_ATTR_ROAM_CONTROL_TRIGGERS = 7,
|
||||||
QCA_ATTR_ROAM_CONTROL_SELECTION_CRITERIA = 8,
|
QCA_ATTR_ROAM_CONTROL_SELECTION_CRITERIA = 8,
|
||||||
|
QCA_ATTR_ROAM_CONTROL_SCAN_SCHEME = 9,
|
||||||
|
QCA_ATTR_ROAM_CONTROL_CONNECTED_RSSI_THRESHOLD = 10,
|
||||||
|
QCA_ATTR_ROAM_CONTROL_CANDIDATE_RSSI_THRESHOLD = 11,
|
||||||
|
QCA_ATTR_ROAM_CONTROL_USER_REASON = 12,
|
||||||
|
|
||||||
/* keep last */
|
/* keep last */
|
||||||
QCA_ATTR_ROAM_CONTROL_AFTER_LAST,
|
QCA_ATTR_ROAM_CONTROL_AFTER_LAST,
|
||||||
|
|
Loading…
Reference in a new issue