소스 검색

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) {
 				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;