qcacmn: Move out spectral DA files
* Move spectral DA files to a DA specific directory. The new DA specific directory will be under a new git root. * DA:- Direct Attach Change-Id: Ifd1325bd822015a894ff2a67ed4b53dae24e4a28
This commit is contained in:

committed by
nshrivas

parent
e72b7f7e4c
commit
7a1c814bc7
@@ -27,6 +27,7 @@ INCS += -I$(obj)/$(DEPTH)/cmn_dev/umac/dfs/dispatcher/inc
|
|||||||
INCS += -I$(obj)/$(DEPTH)/cmn_dev/os_if/linux/spectral/inc
|
INCS += -I$(obj)/$(DEPTH)/cmn_dev/os_if/linux/spectral/inc
|
||||||
INCS += -I$(obj)/$(DEPTH)/cmn_dev/os_if/linux/scan/inc
|
INCS += -I$(obj)/$(DEPTH)/cmn_dev/os_if/linux/scan/inc
|
||||||
INCS += -I$(obj)/$(DEPTH)/cmn_dev/spectral/core
|
INCS += -I$(obj)/$(DEPTH)/cmn_dev/spectral/core
|
||||||
|
INCS += -I$(obj)/$(DEPTH)/component_dev/direct_attach/spectral/core
|
||||||
INCS += -I$(obj)/$(DEPTH)/cmn_dev/target_if/direct_buf_rx/inc
|
INCS += -I$(obj)/$(DEPTH)/cmn_dev/target_if/direct_buf_rx/inc
|
||||||
INCS += -I$(obj)/$(DEPTH)/cmn_dev/wbuff/inc
|
INCS += -I$(obj)/$(DEPTH)/cmn_dev/wbuff/inc
|
||||||
|
|
||||||
@@ -196,8 +197,7 @@ SPECTRAL_TIF_OBJS += $(DEPTH)/cmn_dev/target_if/spectral/target_if_spectral.o \
|
|||||||
$(DEPTH)/cmn_dev/target_if/spectral/target_if_spectral_phyerr.o \
|
$(DEPTH)/cmn_dev/target_if/spectral/target_if_spectral_phyerr.o \
|
||||||
$(DEPTH)/cmn_dev/target_if/spectral/target_if_spectral_sim.o
|
$(DEPTH)/cmn_dev/target_if/spectral/target_if_spectral_sim.o
|
||||||
|
|
||||||
SPECTRAL_CMN_OBJS += core/spectral_direct_attach.o \
|
SPECTRAL_CMN_OBJS += core/spectral_offload.o \
|
||||||
core/spectral_offload.o \
|
|
||||||
core/spectral_common.o \
|
core/spectral_common.o \
|
||||||
dispatcher/src/wlan_spectral_utils_api.o \
|
dispatcher/src/wlan_spectral_utils_api.o \
|
||||||
dispatcher/src/wlan_spectral_ucfg_api.o \
|
dispatcher/src/wlan_spectral_ucfg_api.o \
|
||||||
@@ -206,6 +206,10 @@ SPECTRAL_CMN_OBJS += core/spectral_direct_attach.o \
|
|||||||
$(DEPTH)/cmn_dev/os_if/linux/spectral/src/wlan_cfg80211_spectral.o \
|
$(DEPTH)/cmn_dev/os_if/linux/spectral/src/wlan_cfg80211_spectral.o \
|
||||||
$(DEPTH)/cmn_dev/os_if/linux/spectral/src/os_if_spectral_netlink.o
|
$(DEPTH)/cmn_dev/os_if/linux/spectral/src/os_if_spectral_netlink.o
|
||||||
|
|
||||||
|
ifeq ($(strip ${DA_SUPPORT}),1)
|
||||||
|
SPECTRAL_CMN_OBJS += $(DEPTH)/component_dev/direct_attach/spectral/core/spectral_direct_attach.o
|
||||||
|
endif
|
||||||
|
|
||||||
qca_spectral-objs += ${SPECTRAL_CMN_OBJS} \
|
qca_spectral-objs += ${SPECTRAL_CMN_OBJS} \
|
||||||
${SPECTRAL_TIF_OBJS} \
|
${SPECTRAL_TIF_OBJS} \
|
||||||
${SPECTRAL_DA_OBJS}
|
${SPECTRAL_DA_OBJS}
|
||||||
|
@@ -18,11 +18,11 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "spectral_cmn_api_i.h"
|
#include "spectral_cmn_api_i.h"
|
||||||
#include "spectral_da_api_i.h"
|
|
||||||
#include "spectral_ol_api_i.h"
|
#include "spectral_ol_api_i.h"
|
||||||
#include <qdf_mem.h>
|
#include <qdf_mem.h>
|
||||||
#include <qdf_types.h>
|
#include <qdf_types.h>
|
||||||
#ifdef CONFIG_WIN
|
#ifdef CONFIG_WIN
|
||||||
|
#include "spectral_da_api_i.h"
|
||||||
#include <osif_private.h>
|
#include <osif_private.h>
|
||||||
#include <wlan_mlme_dispatcher.h>
|
#include <wlan_mlme_dispatcher.h>
|
||||||
#endif /*CONFIG_WIN*/
|
#endif /*CONFIG_WIN*/
|
||||||
|
@@ -1,37 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (c) 2017-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.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef _SPECTRAL_DA_API_I_H_
|
|
||||||
#define _SPECTRAL_DA_API_I_H_
|
|
||||||
|
|
||||||
#include "spectral_defs_i.h"
|
|
||||||
|
|
||||||
/**
|
|
||||||
* spectral_ctx_init_da() - Internal function to initialize spectral context
|
|
||||||
* with direct attach specific functions
|
|
||||||
* @sc : spectral context
|
|
||||||
*
|
|
||||||
* Internal function to initialize spectral context with direct attach
|
|
||||||
* specific functions
|
|
||||||
*
|
|
||||||
* Return : None
|
|
||||||
*/
|
|
||||||
void spectral_ctx_init_da(struct spectral_context *sc);
|
|
||||||
|
|
||||||
#endif /* _SPECTRAL_DA_API_I_H_ */
|
|
@@ -1,49 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (c) 2011,2017-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 "spectral_cmn_api_i.h"
|
|
||||||
#include "../dispatcher/inc/wlan_spectral_tgt_api.h"
|
|
||||||
|
|
||||||
void
|
|
||||||
spectral_ctx_init_da(struct spectral_context *sc)
|
|
||||||
{
|
|
||||||
if (!sc) {
|
|
||||||
spectral_err("spectral context is null!");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
sc->sptrlc_spectral_control = tgt_spectral_control;
|
|
||||||
sc->sptrlc_pdev_spectral_init = tgt_pdev_spectral_init;
|
|
||||||
sc->sptrlc_pdev_spectral_deinit = tgt_pdev_spectral_deinit;
|
|
||||||
sc->sptrlc_set_spectral_config = tgt_set_spectral_config;
|
|
||||||
sc->sptrlc_get_spectral_config = tgt_get_spectral_config;
|
|
||||||
sc->sptrlc_start_spectral_scan = tgt_start_spectral_scan;
|
|
||||||
sc->sptrlc_stop_spectral_scan = tgt_stop_spectral_scan;
|
|
||||||
sc->sptrlc_is_spectral_active = tgt_is_spectral_active;
|
|
||||||
sc->sptrlc_is_spectral_enabled = tgt_is_spectral_enabled;
|
|
||||||
sc->sptrlc_set_debug_level = tgt_set_debug_level;
|
|
||||||
sc->sptrlc_get_debug_level = tgt_get_debug_level;
|
|
||||||
sc->sptrlc_get_spectral_capinfo = tgt_get_spectral_capinfo;
|
|
||||||
sc->sptrlc_get_spectral_diagstats = tgt_get_spectral_diagstats;
|
|
||||||
sc->sptrlc_register_wmi_spectral_cmd_ops =
|
|
||||||
tgt_register_wmi_spectral_cmd_ops;
|
|
||||||
sc->sptrlc_register_netlink_cb = tgt_spectral_register_nl_cb;
|
|
||||||
sc->sptrlc_use_nl_bcast = tgt_spectral_use_nl_bcast;
|
|
||||||
sc->sptrlc_deregister_netlink_cb = tgt_spectral_deregister_nl_cb;
|
|
||||||
sc->sptrlc_process_spectral_report = tgt_spectral_process_report;
|
|
||||||
}
|
|
Reference in New Issue
Block a user