瀏覽代碼

qcacmn: Set max rings of DIR_BUF_RX_DMA_SRC to 2

In HSP platform, ring index 0 is for spectral scan, and ring idex 1 is
for CFR capture. Extend max rings to 2 and support CFR capture.

Change-Id: I02b39dd626b67172123bc5e77173d50a132fc735
CRs-Fixed: 2634636
Wu Gao 9 年之前
父節點
當前提交
20380e9491
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      hal/wifi3.0/qca6490/hal_6490.c

+ 5 - 1
hal/wifi3.0/qca6490/hal_6490.c

@@ -1899,7 +1899,11 @@ struct hal_hw_srng_config hw_srng_table_6490[] = {
 	},
 	{ /* DIR_BUF_RX_DMA_SRC */
 		.start_ring_id = HAL_SRNG_DIR_BUF_RX_SRC_DMA_RING,
-		.max_rings = 1,
+		/*
+		 * one ring is for spectral scan
+		 * the other is for cfr
+		 */
+		.max_rings = 2,
 		.entry_size = 2,
 		.lmac_ring = TRUE,
 		.ring_dir = HAL_SRNG_SRC_RING,