1
0

qcacmn: Fix EMLSR support bit assignment in WMI APIs

Fix EMLSR support bit assignment in both vdev start and
peer assoc add params APIs as the macro to set EMLSR cap
bit is not taking effect.

Change-Id: I7d96f4cc65301efa01d84e2afca7d89cdbc5fcf4
CRs-Fixed: 3250857
Este cometimento está contido em:
Gururaj Pandurangi
2022-07-27 17:26:46 -07:00
cometido por Madan Koyyalamudi
ascendente 97b9216557
cometimento 9e4b30c842

Ver ficheiro

@@ -101,8 +101,7 @@ uint8_t *vdev_start_add_mlo_params(uint8_t *buf_ptr,
req->mlo_flags.mlo_enabled);
WMI_MLO_FLAGS_SET_ASSOC_LINK(mlo_params->mlo_flags.mlo_flags,
req->mlo_flags.mlo_assoc_link);
WMI_MLO_FLAGS_SET_EMLSR_SUPPORT(mlo_params->mlo_flags.emlsr_support,
req->mlo_flags.emlsr_support);
mlo_params->mlo_flags.emlsr_support = req->mlo_flags.emlsr_support;
vdev_start_add_mlo_mcast_params(&mlo_params->mlo_flags.mlo_flags,
req);
@@ -245,8 +244,7 @@ uint8_t *peer_assoc_add_mlo_params(uint8_t *buf_ptr,
req->mlo_params.mlo_logical_link_index_valid);
WMI_MLO_FLAGS_SET_PEER_ID_VALID(mlo_params->mlo_flags.mlo_flags,
req->mlo_params.mlo_peer_id_valid);
WMI_MLO_FLAGS_SET_EMLSR_SUPPORT(mlo_params->mlo_flags.emlsr_support,
req->mlo_params.emlsr_support);
mlo_params->mlo_flags.emlsr_support = req->mlo_params.emlsr_support;
mlo_params->mlo_flags.mlo_force_link_inactive =
req->mlo_params.mlo_force_link_inactive;