qcacld-3.0: Add code to support modularizing ICNSS ICNSS2 and CNSS2
Add code to support modularizing ICNSS, ICNSS2 and CNSS2. Change-Id: I696715592f6000f2a64f8940f324b699acd5fcf1 CRs-fixed: 2685412
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
#include <linux/pm.h>
|
||||
#include <osapi_linux.h>
|
||||
|
||||
#ifdef CONFIG_CNSS_UTILS
|
||||
#if IS_ENABLED(CONFIG_CNSS_UTILS)
|
||||
#include <net/cnss_utils.h>
|
||||
#endif
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
#define TOTAL_DUMP_SIZE 0x00200000
|
||||
|
||||
#ifdef CONFIG_WCNSS_MEM_PRE_ALLOC
|
||||
#if IS_ENABLED(CONFIG_WCNSS_MEM_PRE_ALLOC)
|
||||
#include <net/cnss_prealloc.h>
|
||||
#endif
|
||||
|
||||
@@ -449,7 +449,7 @@ int pld_get_audio_wlan_timestamp(struct device *dev,
|
||||
uint64_t *ts);
|
||||
#endif /* FEATURE_WLAN_TIME_SYNC_FTM */
|
||||
|
||||
#ifdef CONFIG_CNSS_UTILS
|
||||
#if IS_ENABLED(CONFIG_CNSS_UTILS)
|
||||
/**
|
||||
* pld_set_wlan_unsafe_channel() - Set unsafe channel
|
||||
* @dev: device
|
||||
@@ -836,7 +836,7 @@ int pld_pci_read_config_dword(struct pci_dev *pdev, int offset, uint32_t *val);
|
||||
* Non zero failure code for errors
|
||||
*/
|
||||
int pld_pci_write_config_dword(struct pci_dev *pdev, int offset, uint32_t val);
|
||||
#if defined(CONFIG_WCNSS_MEM_PRE_ALLOC) && defined(FEATURE_SKB_PRE_ALLOC)
|
||||
#if IS_ENABLED(CONFIG_WCNSS_MEM_PRE_ALLOC) && defined(FEATURE_SKB_PRE_ALLOC)
|
||||
|
||||
/**
|
||||
* pld_nbuf_pre_alloc() - get allocated nbuf from platform driver.
|
||||
|
مرجع در شماره جدید
Block a user