qcacld-3.0: Remove WMA_MAX_SUPPORTED_BSS

As part of the effort to use a single definition for the maximum number
of vdevs, replace WMA_MAX_SUPPORTED_BSS with WLAN_MAX_VDEVS.

Change-Id: I7f0bd615b65e21dc0052933d5e194ca650336b42
CRs-Fixed: 2393167
This commit is contained in:
Dustin Brown
2019-02-04 14:49:04 -08:00
committed by nshrivas
父節點 ad06be6199
當前提交 e8d91fc50a
共有 2 個文件被更改,包括 3 次插入8 次删除

查看文件

@@ -64,8 +64,6 @@
#define WMA_MAC_TO_PDEV_MAP(x) ((x) + (1))
#define WMA_PDEV_TO_MAC_MAP(x) ((x) - (1))
#define WMA_MAX_SUPPORTED_BSS SIR_MAX_SUPPORTED_BSS
#define WMA_MAX_MGMT_MPDU_LEN 2000
#define MAX_PRINT_FAILURE_CNT 50
@@ -656,12 +654,9 @@ struct wma_version_info {
* @wow_enable_cmd_sent: is wow enable command sent to fw
* @deauth_enable: is deauth wakeup enable/disable
* @disassoc_enable: is disassoc wakeup enable/disable
* @gtk_pdev_enable: is GTK based wakeup enable/disable
* @gtk_err_enable: is GTK error wakeup enable/disable
* @lphb_cache: lphb cache
*
* This structure stores wow patterns and
* wow related parameters in host.
* This structure stores wow patterns and wow related parameters in host.
*/
struct wma_wow {
bool magic_ptrn_enable;
@@ -669,7 +664,7 @@ struct wma_wow {
bool wow_enable_cmd_sent;
bool deauth_enable;
bool disassoc_enable;
bool gtk_err_enable[WMA_MAX_SUPPORTED_BSS];
bool gtk_err_enable[WLAN_MAX_VDEVS];
};
#ifdef WLAN_FEATURE_11W

查看文件

@@ -3313,7 +3313,7 @@ QDF_STATUS wma_open(struct wlan_objmgr_psoc *psoc,
WMA_LOGE("%s: Failed to get self_gen_frm_pwr", __func__);
wma_handle->self_gen_frm_pwr = self_gen_frm_pwr;
cds_cfg->max_bssid = WMA_MAX_SUPPORTED_BSS;
cds_cfg->max_bssid = WLAN_MAX_VDEVS;
wma_handle->max_station = cds_cfg->max_station;
wma_handle->max_bssid = cds_cfg->max_bssid;