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
Šī revīzija ir iekļauta:
Jyoti Kumari
2022-11-25 15:05:21 +05:30
revīziju iesūtīja Madan Koyyalamudi
vecāks 8be9c512fc
revīzija 44b33e8326
7 mainīti faili ar 223 papildinājumiem un 16 dzēšanām

Parādīt failu

@@ -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_ */

Parādīt failu

@@ -9484,4 +9484,13 @@ struct wmi_health_mon_params {
};
#endif /* HEALTH_MON_SUPPORT */
/**
* struct edca_pifs_vparam - edca/pifs param for ll sap
* @vdev_id: vdev id
* @param - pointer to wlan_edca_pifs_param_ie struct
*/
struct edca_pifs_vparam {
uint8_t vdev_id;
struct wlan_edca_pifs_param_ie param;
};
#endif /* _WMI_UNIFIED_PARAM_H_ */

Parādīt failu

@@ -3187,6 +3187,10 @@ QDF_STATUS
void *evt_buf,
struct wmi_health_mon_params *param);
#endif /* HEALTH_MON_SUPPORT */
QDF_STATUS (*send_update_edca_pifs_param_cmd)(
wmi_unified_t wmi_handle,
struct edca_pifs_vparam *edca_pifs_param);
};
/* Forward declaration for psoc*/