qcacld-3.0: Update rx ldpc capability based on ini configuration

Update rx ldpc capability based on ini
configuration(gEnableRXLDPC).

Change-Id: Ic160850f4fbba19a8faebc7f0c0545f21834de93
CRs-Fixed: 2677946
This commit is contained in:
Nirav Shah
2020-05-04 12:31:20 +05:30
committed by nshrivas
父節點 deb6257efe
當前提交 5537b67b89
共有 2 個文件被更改,包括 3 次插入2 次删除

查看文件

@@ -3147,7 +3147,7 @@ mlme_update_vht_cap(struct wlan_objmgr_psoc *psoc, struct wma_tgt_vht_cap *cfg)
/* Set HW RX LDPC capability */
hw_rx_ldpc_enabled = !!cfg->vht_rx_ldpc;
if (hw_rx_ldpc_enabled != vht_cap_info->ldpc_coding_cap)
if (vht_cap_info->ldpc_coding_cap && !hw_rx_ldpc_enabled)
vht_cap_info->ldpc_coding_cap = hw_rx_ldpc_enabled;
/* set the Guard interval 80MHz */