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
This commit is contained in:
Gururaj Pandurangi
2022-07-27 17:26:46 -07:00
committed by Madan Koyyalamudi
parent 97b9216557
commit 9e4b30c842

View File

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