소스 검색

qcacld-3.0: Enable UL MU for 5g/6g

UL MU is not enabled in 5G HE capability.

HE global configuration is populated by averaging
all the hardware modes capabilities. UL MU is disabled
in 2G mode so global capability UL MU is disabled.
Modified code to obtain the UL MU capability from 5G specific
capability structure.

Change-Id: I949b121a4ae7e72228ea0efdec08144a8ad85f20
CRs-Fixed: 3065515
Sandeep Puligilla 3 년 전
부모
커밋
4cf1df7ddc
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      core/mac/src/pe/lim/lim_utils.c

+ 5 - 1
core/mac/src/pe/lim/lim_utils.c

@@ -7588,7 +7588,11 @@ void lim_update_session_he_capable(struct mac_context *mac, struct pe_session *s
 	    !mac->mlme_cfg->vht_caps.vht_cap_info.b24ghz_band)
 		session->vhtCapability = 0;
 
-	pe_debug("he_capable: %d", session->he_capable);
+	if (!wlan_reg_is_24ghz_ch_freq(session->curr_op_freq))
+		session->he_config.ul_mu = mac->he_cap_5g.ul_mu;
+
+	pe_debug("he_capable: %d ul mu %d",
+		 session->he_capable, session->he_config.ul_mu);
 }
 
 void lim_update_session_he_capable_chan_switch(struct mac_context *mac,