qcacld-3.0: Export CFG_TGT_DEFAULT_BMISS_OFFLOAD_MAX_VDEV

In order to support four STA default interfaces
to be created and up after driver loaded, it
requires setting bmiss_offload_max_vdev=4 to
Hastings fw. So export this variable to be
configurable and can be modified if in need.

Change-Id: I25db5dd72de7d45c6be682891abba711edaf20dd
CRs-Fixed: 3030148
This commit is contained in:
Chaoli Zhou
2021-09-07 11:39:31 +08:00
committed by Gerrit - the friendly Code Review server
parent 9f1ab09dbf
commit c87f453be0
3 changed files with 10 additions and 2 deletions

4
Kbuild
View File

@@ -3864,6 +3864,10 @@ ifdef CONFIG_HTC_MAX_MSG_PER_BUNDLE_TX
ccflags-y += -DCFG_HTC_MAX_MSG_PER_BUNDLE_TX=$(CONFIG_HTC_MAX_MSG_PER_BUNDLE_TX)
endif
ifdef CONFIG_CFG_BMISS_OFFLOAD_MAX_VDEV
ccflags-y += -DCFG_TGT_DEFAULT_BMISS_OFFLOAD_MAX_VDEV=$(CONFIG_CFG_BMISS_OFFLOAD_MAX_VDEV)
endif
ifdef CONFIG_CFG_ROAM_OFFLOAD_MAX_VDEV
ccflags-y += -DCFG_TGT_DEFAULT_ROAM_OFFLOAD_MAX_VDEV=$(CONFIG_CFG_ROAM_OFFLOAD_MAX_VDEV)
endif

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011, 2014-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2011, 2014-2021 The Linux Foundation. All rights reserved.
*
*
*
@@ -126,7 +126,9 @@
#define CFG_TGT_DEFAULT_SCAN_MAX_REQS 0x4
/* maximum number of VDEV that could use BMISS offload */
#ifndef CFG_TGT_DEFAULT_BMISS_OFFLOAD_MAX_VDEV
#define CFG_TGT_DEFAULT_BMISS_OFFLOAD_MAX_VDEV 0x3
#endif
/* maximum number of VDEV offload Roaming to support */
#ifndef CFG_TGT_DEFAULT_ROAM_OFFLOAD_MAX_VDEV

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2013-2021 The Linux Foundation. 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
@@ -167,7 +167,9 @@
#define CFG_TGT_DEFAULT_SCAN_MAX_HANDLERS 0x4
/* maximum number of VDEV that could use BMISS offload */
#ifndef CFG_TGT_DEFAULT_BMISS_OFFLOAD_MAX_VDEV
#define CFG_TGT_DEFAULT_BMISS_OFFLOAD_MAX_VDEV 0x2
#endif
/* maximum number of VDEV offload Roaming to support */
#ifndef CFG_TGT_DEFAULT_ROAM_OFFLOAD_MAX_VDEV