1
0

qcacmn: Featurize EPPING Feature

Featurize EPPING Feature to compile
out in mission mode.

Change-Id: Iecbab88961034a5e5d2ab73b5b577e52cdb17873
CRs-Fixed: 2198847
Este cometimento está contido em:
Nirav Shah
2018-01-17 17:00:31 +05:30
cometido por nshrivas
ascendente 697449805e
cometimento 0d0cce8057
5 ficheiros modificados com 72 adições e 15 eliminações

Ver ficheiro

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014-2017 The Linux Foundation. All rights reserved.
* Copyright (c) 2014-2018 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -42,8 +42,23 @@
#include <qdf_types.h>
/* epping_main signatures */
#ifdef WLAN_FEATURE_EPPING
int epping_open(void);
void epping_close(void);
void epping_disable(void);
int epping_enable(struct device *parent_dev);
#else
static inline int epping_open(void)
{
return QDF_STATUS_E_INVAL;
}
static inline int epping_enable(struct device *parent_dev)
{
return QDF_STATUS_E_INVAL;
}
static inline void epping_close(void) {}
static inline void epping_disable(void) {}
#endif
#endif /* end #ifndef EPPING_MAIN_H */

Ver ficheiro

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014-2017 The Linux Foundation. All rights reserved.
* Copyright (c) 2014-2018 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -73,6 +73,7 @@
#define WLAN_WAIT_TIME_WLANSTART 2000
#endif
#ifdef WLAN_FEATURE_EPPING
static struct epping_context *g_epping_ctx;
/**
@@ -352,3 +353,4 @@ error_end:
bmi_cleanup(ol_ctx);
return A_ERROR;
}
#endif