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
2019-01-22 13:44:34 -08:00
зафіксовано nshrivas
джерело 82ee5db9ea
коміт eb168a555e

Переглянути файл

@@ -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;