qcacmn: Fix full monitor support enable issue

For QCN9000, full monitor is controlled through,
	a. full_mon_mode ini param
	b. QCA_SUPPORT_FULL_MON compile time macro

Currently enabling full monitor is not taken care under
macro QCA_SUPPORT_FULL_MON.

As monitor mode is not supported for 256M profile,
QCA_SUPPORT_FULL_MON is disabled.

Enable full monitor mode when both ini and macro are enabled.

Change-Id: Id5be5f7edc4739423fd74e28bb71a8f3339d87b3
CRs-Fixed: 2744622
This commit is contained in:
Amir
2020-08-07 12:25:43 +05:30
committed by snandini
parent f17e8207ac
commit f6f16ac551

View File

@@ -12819,7 +12819,7 @@ static void dp_soc_cfg_init(struct dp_soc *soc)
soc->lmac_polled_mode = 0;
soc->wbm_release_desc_rx_sg_support = 1;
if (cfg_get(soc->ctrl_psoc, CFG_DP_FULL_MON_MODE))
soc->full_mon_mode = true;
dp_config_full_mon_mode((struct cdp_soc_t *)soc, 1);
break;
case TARGET_TYPE_QCA5018:
wlan_cfg_set_reo_dst_ring_size(soc->wlan_cfg_ctx,