소스 검색

qcacld-3.0: Fix LDPC disable issue in HE mode

Check peer and self HE capabilities for LDPC coding and set
the configuration to FW only if both self and peer HE LDPC
capability is set.

Change-Id: Ib462b5ab373062182fce970ffc8b5c0fc6906ded
CRs-Fixed: 2379298
Kiran Kumar Lokere 6 년 전
부모
커밋
eb168a555e
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      core/mac/src/pe/lim/lim_utils.c

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

@@ -6782,7 +6782,10 @@ static void lim_intersect_he_caps(tDot11fIEhe_cap *rcvd_he,
 
 	qdf_mem_copy(peer_he, rcvd_he, sizeof(*peer_he));
 
-	peer_he->fragmentation &= session_he->fragmentation;
+	peer_he->fragmentation = QDF_MIN(session_he->fragmentation,
+					 peer_he->fragmentation);
+
+	peer_he->ldpc_coding &= session_he->ldpc_coding;
 
 	if (session_he->tx_stbc_lt_80mhz && peer_he->rx_stbc_lt_80mhz)
 		peer_he->rx_stbc_lt_80mhz = 1;