qcacmn: Add WMI MLO params for peer create command
New TLVs for MLO flags are introduced in peer create WMI command. Add WMI changes to add these TLV in the peer create command. Change-Id: I38a129b30b366b6e3939231699f210d1bac362a1 CRs-Fixed: 2958849
This commit is contained in:

committed by
Madan Koyyalamudi

parent
dcd269c55a
commit
9b1509ec99
@@ -58,6 +58,22 @@ uint8_t *vdev_start_add_mlo_params(uint8_t *buf_ptr,
|
||||
*/
|
||||
uint8_t *vdev_start_add_ml_partner_links(uint8_t *buf_ptr,
|
||||
struct vdev_start_params *req);
|
||||
/**
|
||||
* peer_create_add_mlo_params() - Add MLO params in peer create cmd
|
||||
* @buf_ptr: pointer to peer create cmd buffer.
|
||||
* @req: pointer to peer create request param
|
||||
*
|
||||
* Return: pointer to new offset of cmd buffer
|
||||
*/
|
||||
uint8_t *peer_create_add_mlo_params(uint8_t *buf_ptr,
|
||||
struct peer_create_params *req);
|
||||
/**
|
||||
* peer_create_mlo_params_size() - Get ML params size in peer create
|
||||
* @req: pointer to peer create request param
|
||||
*
|
||||
* Return: size of ML params in peer create cmd
|
||||
*/
|
||||
size_t peer_create_mlo_params_size(struct peer_create_params *req);
|
||||
#else
|
||||
static uint8_t *vdev_create_add_mlo_params(uint8_t *buf_ptr,
|
||||
struct vdev_create_params *param)
|
||||
@@ -89,5 +105,17 @@ static uint8_t *vdev_start_add_ml_partner_links(uint8_t *buf_ptr,
|
||||
WMITLV_SET_HDR(buf_ptr, WMITLV_TAG_ARRAY_STRUC, 0);
|
||||
return buf_ptr + WMI_TLV_HDR_SIZE;
|
||||
}
|
||||
|
||||
static uint8_t *peer_create_add_mlo_params(uint8_t *buf_ptr,
|
||||
struct peer_create_params *req)
|
||||
{
|
||||
WMITLV_SET_HDR(buf_ptr, WMITLV_TAG_ARRAY_STRUC, 0);
|
||||
return buf_ptr + WMI_TLV_HDR_SIZE;
|
||||
}
|
||||
|
||||
static size_t peer_create_mlo_params_size(struct peer_create_params *req)
|
||||
{
|
||||
return WMI_TLV_HDR_SIZE;
|
||||
}
|
||||
#endif /*WLAN_FEATURE_11BE_MLO*/
|
||||
#endif /*_WMI_UNIFIED_11BE_TLV_H_*/
|
||||
|
Reference in New Issue
Block a user