qcacmn: Optimize vdev and pdev set param command frequency
Currently host sends many vdev or pdev set param commands separately to firmware. Combine all vdev or pdev set params together where ever possible, send to WMI.Based on service capability WMI_SERVICE_COMBINED_SET_PARAM_SUPPORT, host decides whether to send all set params to firmware at once to reduce number of transactions or need to follow legacy way i.e send params separately one after the other. Change-Id: I0a36dd66a7ccb27f2ecd437cf7b9d08667e27472 CRs-Fixed: 3151418
This commit is contained in:

committed by
Madan Koyyalamudi

parent
02a498a074
commit
3ec79c4856
@@ -892,6 +892,28 @@ QDF_STATUS
|
||||
wmi_unified_vdev_set_param_send(wmi_unified_t wmi_handle,
|
||||
struct vdev_set_params *param);
|
||||
|
||||
/**
|
||||
* wmi_unified_multiple_vdev_param_send() - sends multiple vdev set params
|
||||
* @wmi_handle: handle to WMI.
|
||||
* @params: pointer to hold set_multiple_pdev_vdev_param info.
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS
|
||||
wmi_unified_multiple_vdev_param_send(wmi_unified_t wmi_handle,
|
||||
struct set_multiple_pdev_vdev_param *params);
|
||||
|
||||
/**
|
||||
* wmi_unified_multiple_pdev_param_send() - sends multiple pdev set params
|
||||
* @wmi_handle: handle to WMI.
|
||||
* @params: pointer to hold set_multiple_pdev_vdev_param info
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS
|
||||
wmi_unified_multiple_pdev_param_send(wmi_unified_t wmi_handle,
|
||||
struct set_multiple_pdev_vdev_param *params);
|
||||
|
||||
#ifdef WLAN_FEATURE_ROAM_OFFLOAD
|
||||
/**
|
||||
* wmi_unified_roam_set_param_send() - WMI roam set parameter function
|
||||
|
Reference in New Issue
Block a user