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:
@@ -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
|
||||
|
@@ -712,17 +712,6 @@ struct wmi_invoke_neighbor_report_params {
|
||||
struct wlan_ssid ssid;
|
||||
};
|
||||
|
||||
/**
|
||||
* struct roam_triggers - vendor configured roam triggers
|
||||
* @vdev_id: vdev id
|
||||
* @trigger_bitmap: vendor configured roam trigger bitmap as
|
||||
* defined @enum roam_control_trigger_reason
|
||||
*/
|
||||
struct roam_triggers {
|
||||
uint32_t vdev_id;
|
||||
uint32_t trigger_bitmap;
|
||||
};
|
||||
|
||||
/**
|
||||
* set_pcl_cmd_params - Set PCL command params
|
||||
* @vdev_id: Vdev id
|
||||
|
Reference in New Issue
Block a user