mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
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:
parent
deb6257efe
commit
5537b67b89
2 changed files with 3 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -1753,7 +1753,8 @@ static void hdd_update_tgt_ht_cap(struct hdd_context *hdd_ctx,
|
|||
ht_cap_info.rx_stbc = cfg->ht_rx_stbc;
|
||||
|
||||
/* Set the LDPC capability */
|
||||
ht_cap_info.adv_coding_cap = cfg->ht_rx_ldpc;
|
||||
if (ht_cap_info.adv_coding_cap && !cfg->ht_rx_ldpc)
|
||||
ht_cap_info.adv_coding_cap = cfg->ht_rx_ldpc;
|
||||
|
||||
if (ht_cap_info.short_gi_20_mhz && !cfg->ht_sgi_20)
|
||||
ht_cap_info.short_gi_20_mhz = cfg->ht_sgi_20;
|
||||
|
|
|
|||
Loading…
Reference in a new issue