1
0

qcacmn: Compilation fixes when WLAN_CFR_ENABLE config is enabled

For adrastea targets, enhanced CFR is not supported. When only
CONFIG_WLAN_CFR_ENABLE is set, some compilation errors are
observed as CONFIG_WLAN_ENH_CFR_ENABLE is not set true.

Fix these compilation errors when only CONFIG_WLAN_CFR_ENABLE
is set for targets which do not support enhanced CFR.

Change-Id: I96a769d8f10144033e48e123bb68d48a54cdf8ab
CRs-Fixed: 2706904
Este cometimento está contido em:
Surabhi Vishnoi
2020-06-09 20:26:09 +05:30
cometido por snandini
ascendente 990bafdd4d
cometimento bb9b9ec907
4 ficheiros modificados com 16 adições e 3 eliminações

Ver ficheiro

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2017-2020 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
@@ -75,6 +75,7 @@ enum DBR_MODULE {
DBR_MODULE_MAX,
};
#ifdef WMI_DBR_SUPPORT
/**
* struct direct_buf_rx_data - direct buffer rx data
* @dbr_len: Length of the buffer DMAed
@@ -92,6 +93,7 @@ struct direct_buf_rx_data {
bool meta_data_valid;
struct direct_buf_rx_metadata meta_data;
};
#endif
/**
* struct dbr_module_config - module configuration for dbr