浏览代码

qcacmn: Avoid resetting monitor buf ring size

Increasing the buf ring size for York is leading to memory corruption
issues.

Adding change to partially revert commit, specific for York alone.
I3099f6526aa11b353c8a5178de450d48f141a461

Change-Id: Ia9836bc982590fbeb14021dcc3b7bc7014d2fa36
CRs-Fixed: 3490257
Santosh Anbu 2 年之前
父节点
当前提交
4514cc3d43
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dp/wifi3.0/monitor/dp_mon_filter.c

+ 1 - 1
dp/wifi3.0/monitor/dp_mon_filter.c

@@ -319,7 +319,7 @@ dp_mon_ht2_rx_ring_cfg(struct dp_soc *soc,
 			if (target_type == TARGET_TYPE_QCN9160) {
 			if (target_type == TARGET_TYPE_QCN9160) {
 				hal_ring_hdl =
 				hal_ring_hdl =
 				soc->rx_refill_buf_ring[lmac_id].hal_srng;
 				soc->rx_refill_buf_ring[lmac_id].hal_srng;
-				ring_buf_size = RX_MONITOR_BUFFER_SIZE;
+				ring_buf_size = RX_DATA_BUFFER_SIZE;
 			} else {
 			} else {
 				hal_ring_hdl =
 				hal_ring_hdl =
 					pdev->rx_mac_buf_ring[lmac_id].hal_srng;
 					pdev->rx_mac_buf_ring[lmac_id].hal_srng;