qcacmn: Add INI support for packet log buffer size

Add INI parameter "PacketLogBufSize" to populate
packet log buffer size.

Change-Id: Ic9b963a88a6f6d884d5fa3a63b4fed6768ba2fc4
CRs-Fixed: 2611409
This commit is contained in:
Alok Kumar
2020-01-24 16:59:58 +05:30
committed by nshrivas
parent 61df09450e
commit 0265d7917a
4 changed files with 32 additions and 7 deletions

View File

@@ -473,6 +473,8 @@ wlan_cfg_soc_attach(struct cdp_ctrl_objmgr_psoc *psoc)
cfg_get(psoc, CFG_DP_INT_BATCH_THRESHOLD_OTHER);
wlan_cfg_ctx->int_timer_threshold_other =
cfg_get(psoc, CFG_DP_INT_TIMER_THRESHOLD_OTHER);
wlan_cfg_ctx->pktlog_buffer_size =
cfg_get(psoc, CFG_DP_PKTLOG_BUFFER_SIZE);
/* This is default mapping and can be overridden by HW config
* received from FW */