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:
Divyajyothi Goparaju
2022-07-20 12:33:24 +05:30
committed by Madan Koyyalamudi
parent 02a498a074
commit 3ec79c4856
6 changed files with 617 additions and 21 deletions

View File

@@ -555,10 +555,14 @@ QDF_STATUS
(*send_pdev_utf_cmd)(wmi_unified_t wmi_handle,
struct pdev_utf_params *param,
uint8_t mac_id);
QDF_STATUS
(*send_pdev_param_cmd)(wmi_unified_t wmi_handle,
struct pdev_params *param,
uint8_t mac_id);
QDF_STATUS
(*send_multiple_pdev_param_cmd)(wmi_unified_t wmi_handle,
struct set_multiple_pdev_vdev_param *params);
QDF_STATUS
(*send_pdev_set_hw_mode_cmd)(wmi_unified_t wmi_handle,
@@ -605,6 +609,10 @@ QDF_STATUS
QDF_STATUS (*send_vdev_set_param_cmd)(wmi_unified_t wmi_handle,
struct vdev_set_params *param);
QDF_STATUS
(*send_multiple_vdev_param_cmd)(wmi_unified_t wmi_handle,
struct set_multiple_pdev_vdev_param *params);
QDF_STATUS (*send_vdev_set_mu_snif_cmd)(wmi_unified_t wmi_handle,
struct vdev_set_mu_snif_param *param);