소스 검색

qcacmn: Change tx mon ring sizes

Change tx monitor ring sizes and make minor fix when getting the
number of entries.

Change-Id: Iec458d88948556f7007d4fa33bf082c8ee089064
CRs-Fixed: 3206170
Nandha Kishore Easwaran 3 년 전
부모
커밋
77f302907b
2개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 1
      dp/wifi3.0/monitor/2.0/dp_tx_mon_2.0.c
  2. 2 2
      wlan_cfg/cfg_dp.h

+ 2 - 1
dp/wifi3.0/monitor/2.0/dp_tx_mon_2.0.c

@@ -228,7 +228,8 @@ dp_tx_mon_buf_desc_pool_init(struct dp_soc *soc)
 	uint32_t num_entries;
 
 	num_entries =
-		wlan_cfg_get_dp_soc_rx_mon_buf_ring_size(soc->wlan_cfg_ctx);
+		wlan_cfg_get_dp_soc_tx_mon_buf_ring_size(soc->wlan_cfg_ctx);
+
 	return dp_mon_desc_pool_init(&mon_soc_be->tx_desc_mon, num_entries);
 }
 

+ 2 - 2
wlan_cfg/cfg_dp.h

@@ -342,7 +342,7 @@
 #define WLAN_CFG_RXDMA_MONITOR_BUF_RING_SIZE_MIN 16
 #define WLAN_CFG_RXDMA_MONITOR_BUF_RING_SIZE_MAX 8192
 
-#define WLAN_CFG_TX_MONITOR_BUF_RING_SIZE 8192
+#define WLAN_CFG_TX_MONITOR_BUF_RING_SIZE 4096
 #define WLAN_CFG_TX_MONITOR_BUF_RING_SIZE_MIN 16
 #define WLAN_CFG_TX_MONITOR_BUF_RING_SIZE_MAX 8192
 
@@ -352,7 +352,7 @@
 
 #define WLAN_CFG_TX_MONITOR_DST_RING_SIZE 2048
 #define WLAN_CFG_TX_MONITOR_DST_RING_SIZE_MIN 48
-#define WLAN_CFG_TX_MONITOR_DST_RING_SIZE_MAX 4096
+#define WLAN_CFG_TX_MONITOR_DST_RING_SIZE_MAX 8192
 
 #define WLAN_CFG_RXDMA_MONITOR_STATUS_RING_SIZE 1024
 #define WLAN_CFG_RXDMA_MONITOR_STATUS_RING_SIZE_MIN 16