qcacmn: Add roam set param command for roam params

This change introduces the new roam set param WMI command to set
the roam params from host to FW.
Also added a fail_bssid param in wmi_roam_result TLV to know the
roam failed AP BSSID from the FW.
Added a new vendor command event for sending roam events stats
attributes to userspace.

Change-Id: I7a08635a7912cbd940d90a2d62433296740ad913
CRs-Fixed: 3050799
This commit is contained in:
Srikanth Marepalli
2021-10-18 23:31:51 +05:30
committed by Madan Koyyalamudi
parent 742b2805c0
commit a4128d5887
6 changed files with 86 additions and 0 deletions

View File

@@ -863,6 +863,26 @@ QDF_STATUS
wmi_unified_vdev_set_param_send(wmi_unified_t wmi_handle,
struct vdev_set_params *param);
#ifdef WLAN_FEATURE_ROAM_OFFLOAD
/**
* wmi_unified_roam_set_param_send() - WMI roam set parameter function
* @wmi_handle: handle to WMI.
* @roam_param: pointer to hold roam set parameter
*
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
*/
QDF_STATUS
wmi_unified_roam_set_param_send(wmi_unified_t wmi_handle,
struct vdev_set_params *roam_param);
#else
static inline QDF_STATUS
wmi_unified_roam_set_param_send(wmi_unified_t wmi_handle,
struct vdev_set_params *roam_param)
{
return QDF_STATUS_SUCCESS;
}
#endif
/**
* wmi_unified_sifs_trigger_send() - WMI vdev sifs trigger parameter function
* @wmi_handle: handle to WMI.