qcacmn: Define Host based TARGET_TYPE
fwhdr_abstrct: Use Host based TARGET_TYPE instead of firmware defined TARGET_TYPE. It will abstract dependency on bmi_msg.h. Change-Id: I76d744db27df730a3a91a243adfc07fc17d77487 CRs-Fixed: 2140921
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017 The Linux Foundation. All rights reserved.
|
||||
* 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
|
||||
@@ -59,11 +59,12 @@
|
||||
#define GET_WMI_HDL_FROM_PDEV(pdev) ((pdev)->tgt_if_handle)
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef CONFIG_MCL
|
||||
#define TARGET_TYPE_AR900B 9
|
||||
#define TARGET_TYPE_QCA9984 15 /* cascade */
|
||||
#define TARGET_TYPE_IPQ4019 16 /* dakota */
|
||||
#define TARGET_TYPE_QCA9888 17 /* besra */
|
||||
#endif
|
||||
|
||||
typedef struct wlan_objmgr_psoc *(*get_psoc_handle_callback)(
|
||||
void *scn_handle);
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017 The Linux Foundation. All rights reserved.
|
||||
* 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
|
||||
@@ -22,6 +22,7 @@
|
||||
*/
|
||||
|
||||
#include "target_if.h"
|
||||
#include "target_type.h"
|
||||
#ifdef WLAN_ATF_ENABLE
|
||||
#include "target_if_atf.h"
|
||||
#endif
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2011,2017 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2011,2017-2018 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
#include <wlan_tgt_def_config.h>
|
||||
#include <hif.h>
|
||||
#include <target_type.h>
|
||||
#include <hif_hw_version.h>
|
||||
#include <wmi_unified_api.h>
|
||||
#include <target_if_spectral.h>
|
||||
|
Reference in New Issue
Block a user