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:

committed by
Madan Koyyalamudi

parent
742b2805c0
commit
a4128d5887
@@ -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.
|
||||
|
@@ -7665,12 +7665,14 @@ struct wmi_roam_scan_data {
|
||||
* @status: 0 - Roaming is success ; 1 - Roaming failed ;
|
||||
* 2 - No roam
|
||||
* @fail_reason: One of WMI_ROAM_FAIL_REASON_ID
|
||||
* @fail_bssid: BSSID of the last attempted roam failed AP
|
||||
*/
|
||||
struct wmi_roam_result {
|
||||
bool present;
|
||||
uint32_t timestamp;
|
||||
uint32_t status;
|
||||
uint32_t fail_reason;
|
||||
struct qdf_mac_addr fail_bssid;
|
||||
};
|
||||
|
||||
#define WLAN_11KV_TYPE_BTM_REQ 1
|
||||
|
@@ -1092,6 +1092,9 @@ QDF_STATUS (*send_pdev_set_pcl_cmd)(wmi_unified_t wmi_handle,
|
||||
#ifdef WLAN_FEATURE_ROAM_OFFLOAD
|
||||
QDF_STATUS (*send_vdev_set_pcl_cmd)(wmi_unified_t wmi_handle,
|
||||
struct set_pcl_cmd_params *params);
|
||||
|
||||
QDF_STATUS (*send_roam_set_param_cmd)(wmi_unified_t wmi_handle,
|
||||
struct vdev_set_params *roam_param);
|
||||
#endif
|
||||
|
||||
#ifdef WLAN_POLICY_MGR_ENABLE
|
||||
|
Reference in New Issue
Block a user