Browse Source

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 năm trước cách đây
mục cha
commit
4514cc3d43
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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) {
 				hal_ring_hdl =
 				soc->rx_refill_buf_ring[lmac_id].hal_srng;
-				ring_buf_size = RX_MONITOR_BUFFER_SIZE;
+				ring_buf_size = RX_DATA_BUFFER_SIZE;
 			} else {
 				hal_ring_hdl =
 					pdev->rx_mac_buf_ring[lmac_id].hal_srng;