qcacld-3.0: Reduce MAX_BBS and MAX_PEERs for Genoa
Max 3 BSS sessions and 10 peers are required in Genoa. To support this, reduce SIR_MAX_SUPPORTED_BSS to 3 and SIR_SAP_MAX_NUM_PEERS to 10. Change-Id: Ic773b5b38193d446288321c2dfd740f6de57704e CRs-Fixed: 2283825
This commit is contained in:
8
Kbuild
8
Kbuild
@@ -2138,6 +2138,14 @@ ifdef CONFIG_CFG_NUM_OF_TDLS_CONN_TABLE_ENTRIES
|
|||||||
ccflags-y += -DCFG_TGT_NUM_TDLS_CONN_TABLE_ENTRIES=$(CONFIG_CFG_NUM_OF_TDLS_CONN_TABLE_ENTRIES)
|
ccflags-y += -DCFG_TGT_NUM_TDLS_CONN_TABLE_ENTRIES=$(CONFIG_CFG_NUM_OF_TDLS_CONN_TABLE_ENTRIES)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifdef CONFIG_SIR_MAX_SUPPORTED_BSS
|
||||||
|
ccflags-y += -DSIR_MAX_SUPPORTED_BSS=$(CONFIG_SIR_MAX_SUPPORTED_BSS)
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifdef CONFIG_SIR_SAP_MAX_NUM_PEERS
|
||||||
|
ccflags-y += -DSIR_SAP_MAX_NUM_PEERS=$(CONFIG_SIR_SAP_MAX_NUM_PEERS)
|
||||||
|
endif
|
||||||
|
|
||||||
KBUILD_CPPFLAGS += $(cppflags-y)
|
KBUILD_CPPFLAGS += $(cppflags-y)
|
||||||
|
|
||||||
# Currently, for versions of gcc which support it, the kernel Makefile
|
# Currently, for versions of gcc which support it, the kernel Makefile
|
||||||
|
@@ -154,4 +154,12 @@ CONFIG_CFG_NUM_OF_ADDITIONAL_FW_PEERS := 0
|
|||||||
|
|
||||||
# Number of TDLS peers that each Tdls vdev can track
|
# Number of TDLS peers that each Tdls vdev can track
|
||||||
CONFIG_CFG_NUM_OF_TDLS_CONN_TABLE_ENTRIES := 4
|
CONFIG_CFG_NUM_OF_TDLS_CONN_TABLE_ENTRIES := 4
|
||||||
|
|
||||||
|
#Number of BSS sessions at a time, used for allocating memory should never be
|
||||||
|
#less then number of vdevs - INI
|
||||||
|
CONFIG_SIR_MAX_SUPPORTED_BSS := 3
|
||||||
|
|
||||||
|
#Number of STA sessions max connected to our SAP, used for allocating memory
|
||||||
|
#should never be less then number of max peers - INI
|
||||||
|
CONFIG_SIR_SAP_MAX_NUM_PEERS := 10
|
||||||
###################################
|
###################################
|
||||||
|
@@ -50,7 +50,9 @@ typedef struct sAniSirGlobal *tpAniSirGlobal;
|
|||||||
#include <dot11f.h>
|
#include <dot11f.h>
|
||||||
#include "wlan_policy_mgr_api.h"
|
#include "wlan_policy_mgr_api.h"
|
||||||
|
|
||||||
|
#ifndef SIR_MAX_SUPPORTED_BSS
|
||||||
#define SIR_MAX_SUPPORTED_BSS 5
|
#define SIR_MAX_SUPPORTED_BSS 5
|
||||||
|
#endif
|
||||||
|
|
||||||
#define OFFSET_OF(structType, fldName) (&((structType *)0)->fldName)
|
#define OFFSET_OF(structType, fldName) (&((structType *)0)->fldName)
|
||||||
|
|
||||||
@@ -113,7 +115,9 @@ typedef uint8_t tSirVersionString[SIR_VERSION_STRING_LEN];
|
|||||||
#define MAX_PEER_STA 12
|
#define MAX_PEER_STA 12
|
||||||
|
|
||||||
/* Maximum number of peers for SAP */
|
/* Maximum number of peers for SAP */
|
||||||
|
#ifndef SIR_SAP_MAX_NUM_PEERS
|
||||||
#define SIR_SAP_MAX_NUM_PEERS 32
|
#define SIR_SAP_MAX_NUM_PEERS 32
|
||||||
|
#endif
|
||||||
|
|
||||||
#define SIR_KRK_KEY_LEN 16
|
#define SIR_KRK_KEY_LEN 16
|
||||||
#define SIR_BTK_KEY_LEN 32
|
#define SIR_BTK_KEY_LEN 32
|
||||||
|
Reference in New Issue
Block a user