
This is for adding support for FW offload component. It is responsible to offload all the ini params that are needed by the firmware. To have this component, the new files added are components/fw_offload/dispatcher/inc/cfg_fwol.h components/fw_offload/dispatcher/inc/wlan_fwol_ucfg_api.h components/fw_offload/dispatcher/src/wlan_fwol_ucfg_api.c components/fw_offload/core/inc/wlan_fw_offload_main.h components/fw_offload/core/src/wlan_fw_offload_main.c components/fw_offload/dispatcher/inc/wlan_fw_offload_public_struct.h The fw_offload_main.h is to take care of the public APIs for the component. The corresponding .c file implements the init/deinit of the component. The fw_offload_public_struct.h is to define the public structures needed. The ucfg files are for the APIs that can be called from other components. The cfg_fwol stores the INIs and CFGs. Change-Id: I4405b87e6dec15aa94146f8ec550078c3d03b1e6 CRs-Fixed: 2307837
50 lines
1.3 KiB
C
50 lines
1.3 KiB
C
/*
|
|
* Copyright (c) 2018 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
|
|
* above copyright notice and this permission notice appear in all
|
|
* copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
|
|
* WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
|
|
* WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
|
|
* AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
|
|
* DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
|
|
* PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
|
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#include "cfg_define.h"
|
|
#include "cfg_converged.h"
|
|
#include "cfg_mlme.h"
|
|
#include "cfg_fwol.h"
|
|
|
|
#ifdef CONVERGED_P2P_ENABLE
|
|
#include "wlan_p2p_cfg.h"
|
|
#else
|
|
#define CFG_P2P_ALL
|
|
#endif
|
|
|
|
#ifdef CONVERGED_TDLS_ENABLE
|
|
#include "wlan_tdls_cfg.h"
|
|
#else
|
|
#define CFG_TDLS_ALL
|
|
#endif
|
|
|
|
#ifdef WLAN_FEATURE_NAN_CONVERGENCE
|
|
#include "cfg_nan.h"
|
|
#else
|
|
#define CFG_NAN_ALL
|
|
#endif
|
|
|
|
/* Maintain Alphabetic order here while adding components */
|
|
#define CFG_ALL \
|
|
CFG_CONVERGED_ALL \
|
|
CFG_FWOL_ALL \
|
|
CFG_MLME_ALL \
|
|
CFG_NAN_ALL \
|
|
CFG_P2P_ALL \
|
|
CFG_TDLS_ALL
|