qcacmn: Configure roam trigger bitmap to firmware
Userspace may configure the roam trigger bitmap to WLAN host driver to enable particular roam trigger reasons. Convert the bitmap to the format of firmware trigger reason bitmap and send to firmware. Change-Id: I9fc78c180bd25c995dfd380f80e52e3eb302fce3 CRs-Fixed: 2507611
This commit is contained in:

committed by
nshrivas

parent
31435bbef5
commit
de39f3fc40
@@ -320,3 +320,14 @@ QDF_STATUS wmi_unified_invoke_neighbor_report_cmd(
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
#ifdef WLAN_FEATURE_ROAM_OFFLOAD
|
||||
QDF_STATUS wmi_unified_set_roam_triggers(wmi_unified_t wmi_handle,
|
||||
struct roam_triggers *triggers)
|
||||
{
|
||||
if (wmi_handle->ops->send_set_roam_trigger_cmd)
|
||||
return wmi_handle->ops->send_set_roam_trigger_cmd(wmi_handle,
|
||||
triggers->vdev_id, triggers->trigger_bitmap);
|
||||
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user