瀏覽代碼

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;