Kaynağa Gözat

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 yıl önce
ebeveyn
işleme
eb168a555e
1 değiştirilmiş dosya ile 4 ekleme ve 1 silme
  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;