소스 검색

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
Gururaj Pandurangi 3 년 전
부모
커밋
9e4b30c842
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 4
      wmi/src/wmi_unified_11be_tlv.c

+ 2 - 4
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;