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

committed by
Madan Koyyalamudi

parent
9b1509ec99
commit
8b5f8ef911
@@ -74,6 +74,31 @@ uint8_t *peer_create_add_mlo_params(uint8_t *buf_ptr,
|
||||
* Return: size of ML params in peer create cmd
|
||||
*/
|
||||
size_t peer_create_mlo_params_size(struct peer_create_params *req);
|
||||
/**
|
||||
* peer_assoc_mlo_params_size() - Get ML params size in peer assoc
|
||||
* @req: pointer to peer assoc request param
|
||||
*
|
||||
* Return: size of ML params in peer assoc cmd
|
||||
*/
|
||||
size_t peer_assoc_mlo_params_size(struct peer_assoc_params *req);
|
||||
/**
|
||||
* peer_assoc_add_mlo_params() - Add MLO params in peer assoc cmd
|
||||
* @buf_ptr: pointer to peer assoc cmd buffer.
|
||||
* @req: pointer to peer assoc request param
|
||||
*
|
||||
* Return: pointer to new offset of cmd buffer
|
||||
*/
|
||||
uint8_t *peer_assoc_add_mlo_params(uint8_t *buf_ptr,
|
||||
struct peer_assoc_params *req);
|
||||
/**
|
||||
* peer_assoc_add_ml_partner_links() - Add MLO partner links in peer assoc cmd
|
||||
* @buf_ptr: pointer to peer assoc cmd buffer.
|
||||
* @req: pointer to peer assoc request param
|
||||
*
|
||||
* Return: pointer to new offset of cmd buffer
|
||||
*/
|
||||
uint8_t *peer_assoc_add_ml_partner_links(uint8_t *buf_ptr,
|
||||
struct peer_assoc_params *req);
|
||||
#else
|
||||
static uint8_t *vdev_create_add_mlo_params(uint8_t *buf_ptr,
|
||||
struct vdev_create_params *param)
|
||||
@@ -117,5 +142,29 @@ static size_t peer_create_mlo_params_size(struct peer_create_params *req)
|
||||
{
|
||||
return WMI_TLV_HDR_SIZE;
|
||||
}
|
||||
|
||||
static size_t peer_assoc_mlo_params_size(struct peer_assoc_params *req)
|
||||
{
|
||||
size_t peer_assoc_mlo_size =
|
||||
WMI_TLV_HDR_SIZE +
|
||||
WMI_TLV_HDR_SIZE;
|
||||
|
||||
return peer_assoc_mlo_size;
|
||||
}
|
||||
|
||||
static uint8_t *peer_assoc_add_mlo_params(uint8_t *buf_ptr,
|
||||
struct peer_assoc_params *req)
|
||||
{
|
||||
WMITLV_SET_HDR(buf_ptr, WMITLV_TAG_ARRAY_STRUC, 0);
|
||||
return buf_ptr + WMI_TLV_HDR_SIZE;
|
||||
}
|
||||
|
||||
static uint8_t *peer_assoc_add_ml_partner_links(uint8_t *buf_ptr,
|
||||
struct peer_assoc_params *req)
|
||||
{
|
||||
WMITLV_SET_HDR(buf_ptr, WMITLV_TAG_ARRAY_STRUC, 0);
|
||||
return buf_ptr + WMI_TLV_HDR_SIZE;
|
||||
}
|
||||
|
||||
#endif /*WLAN_FEATURE_11BE_MLO*/
|
||||
#endif /*_WMI_UNIFIED_11BE_TLV_H_*/
|
||||
|
Reference in New Issue
Block a user