From 9e4b30c842158e3ed74552f5e8aca249989147b0 Mon Sep 17 00:00:00 2001 From: Gururaj Pandurangi Date: Wed, 27 Jul 2022 17:26:46 -0700 Subject: [PATCH] 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 --- wmi/src/wmi_unified_11be_tlv.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/wmi/src/wmi_unified_11be_tlv.c b/wmi/src/wmi_unified_11be_tlv.c index af1cedf992..923bcc1652 100644 --- a/wmi/src/wmi_unified_11be_tlv.c +++ b/wmi/src/wmi_unified_11be_tlv.c @@ -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;