qcacld-3.0: Send roam triggers from vendor cmd to firmware

Userspace can configure different roam control params as
defined in qca_vendor_attr_roam_control through the roam subcmd
QCA_NL80211_VENDOR_SUBCMD_ROAM and the below attributes:
QCA_ATTR_ROAM_CONTROL_SCAN_FREQ_SCHEME
QCA_ATTR_ROAM_CONTROL_CONNECTED_RSSI_THRESHOLD
QCA_ATTR_ROAM_CONTROL_CANDIDATE_RSSI_THRESHOLD
QCA_ATTR_ROAM_CONTROL_USER_REASON

Send value of above attribute to fw through command
WMI_ROAM_ENABLE_DISABLE_TRIGGER_REASON_CMDID for trigger
reason WMI_ROAM_TRIGGER_REASON_BTM_WTC.

Change-Id: I17502eebab56652192164144b7ebdadb32033117
CRs-Fixed: 2729119
This commit is contained in:
Abhinav Kumar
2020-07-06 15:04:52 +05:30
committed by snandini
parent 87a292e54a
commit c871ecddbd
17 changed files with 469 additions and 178 deletions

View File

@@ -178,7 +178,7 @@ wmi_unified_roam_invoke_cmd(wmi_unified_t wmi_handle,
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
*/
QDF_STATUS wmi_unified_set_roam_triggers(wmi_unified_t wmi_handle,
struct roam_triggers *triggers);
struct wlan_roam_triggers *triggers);
/**
* wmi_unified_send_disconnect_roam_params() - Send disconnect roam trigger