Bläddra i källkod

qcacmn: Set the min tx rings config param to 1

INI config to set the number of tx rings to 1
or 2 does not take effect since the value of
WLAN_CFG_NUM_TCL_DATA_RINGS_MIN is 3.

Fix is to set WLAN_CFG_NUM_TCL_DATA_RINGS_MIN to 1
to allow for a lower number of tx rings cfg.

Change-Id: Idc7881f75d42fabda5d3ed55e74c9eb784f7705f
CRs-Fixed: 3070272
Yeshwanth Sriram Guntuka 3 år sedan
förälder
incheckning
6c7d7a2b2e
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      wlan_cfg/cfg_dp.h

+ 2 - 1
wlan_cfg/cfg_dp.h

@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
  *
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
@@ -235,7 +236,7 @@
 #define WLAN_CFG_RX_DEFRAG_TIMEOUT_MAX 100
 
 #define WLAN_CFG_NUM_TCL_DATA_RINGS 3
-#define WLAN_CFG_NUM_TCL_DATA_RINGS_MIN 3
+#define WLAN_CFG_NUM_TCL_DATA_RINGS_MIN 1
 #define WLAN_CFG_NUM_TCL_DATA_RINGS_MAX MAX_TCL_DATA_RINGS
 
 #if defined(CONFIG_BERYLLIUM)