qcacmn: Add WMI interface to configure EDCA/PIFS param

Add WMI interface(WMI_VDEV_SET_TWT_EDCA_PARAMS_CMDID) to
configure EDCA/PIFS param for LL SAP.

This configuration depends on edca_param_type.
If edca_param_type is 0 then host will configure EDCA param and
send it to firmware via WMI interface.
If edca_param_type is 0 then host will configure PIFS param and
send it to firmware via WMI interface.

Change-Id: I4f2e4120a258cc4a20aabeed503709aa2ceb8ec9
CRs-Fixed: 3349467
This commit is contained in:
Jyoti Kumari
2022-11-25 15:05:21 +05:30
committed by Madan Koyyalamudi
parent 8be9c512fc
commit 44b33e8326
7 changed files with 223 additions and 16 deletions

View File

@@ -5001,4 +5001,18 @@ QDF_STATUS wmi_extract_health_mon_event(
void *ev,
struct wmi_health_mon_params *param);
#endif /* HEALTH_MON_SUPPORT */
/**
* wmi_unified__update_edca_pifs_param() - update EDCA/PIFS params
* @wmi_handle: wmi handle
* @edca_pifs_param: pointer to edca_pifs_vparam struct
*
* This function updates EDCA/PIFS parameters to the target
*
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
*/
QDF_STATUS
wmi_unified_update_edca_pifs_param(
wmi_unified_t wmi_handle,
struct edca_pifs_vparam *edca_pifs_param);
#endif /* _WMI_UNIFIED_API_H_ */