qcacld-3.0: Define DBR_MULTI_SRNG_ENABLE under correct feature flags

Currently host driver defines DBR_MULTI_SRNG_ENABLE as true if
CONFIG_CNSS_QCA6750 is not defined or CONFIG_CNSS_WCN6450 is not
defined. For any of these chipsets any one of these feature flags
will not be defined which lead to incorrect feature flag
initialization for DBR_MULTI_SRNG_ENABLE.
Because of the above issue, host driver load fails.

To address above issue, define DBR_MULTI_SRNG_ENABLE feature flag
only if both CONFIG_CNSS_QCA6750 and CONFIG_CNSS_WCN6450 are not
defined.

Change-Id: Ia569a71a558c2d1f71d35ae683c22cf4632c3c50
CRs-Fixed: 3717340
This commit is contained in:
Ashish Kumar Dhanotiya
2024-01-27 13:30:01 +05:30
committed by Vishvanath Singh
parent 835ed10593
commit c23cec4ff7

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved. * Copyright (c) 2023-2024, Qualcomm Innovation Center, Inc. All rights reserved.
* *
* Permission to use, copy, modify, and/or distribute this software for any * Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above * purpose with or without fee is hereby granted, provided that the above
@@ -278,13 +278,7 @@
#define WMI_DBR_SUPPORT (1) #define WMI_DBR_SUPPORT (1)
#endif #endif
#ifndef CONFIG_CNSS_QCA6750 #if !defined(CONFIG_CNSS_QCA6750) && !defined(CONFIG_CNSS_WCN6450)
#ifdef CONFIG_DIRECT_BUF_RX_ENABLE
#define DBR_MULTI_SRNG_ENABLE (1)
#endif
#endif
#ifndef CONFIG_CNSS_WCN6450
#ifdef CONFIG_DIRECT_BUF_RX_ENABLE #ifdef CONFIG_DIRECT_BUF_RX_ENABLE
#define DBR_MULTI_SRNG_ENABLE (1) #define DBR_MULTI_SRNG_ENABLE (1)
#endif #endif