xref: /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/dhd_mschdbg.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /*
2  * DHD debugability header file
3  *
4  * <<Broadcom-WL-IPTag/Open:>>
5  *
6  * Portions of this code are copyright (c) 2021 Cypress Semiconductor Corporation
7  *
8  * Copyright (C) 1999-2017, Broadcom Corporation
9  *
10  *      Unless you and Broadcom execute a separate written software license
11  * agreement governing use of this software, this software is licensed to you
12  * under the terms of the GNU General Public License version 2 (the "GPL"),
13  * available at http://www.broadcom.com/licenses/GPLv2.php, with the
14  * following added to such license:
15  *
16  *      As a special exception, the copyright holders of this software give you
17  * permission to link this software with independent modules, and to copy and
18  * distribute the resulting executable under terms of your choice, provided that
19  * you also meet, for each linked independent module, the terms and conditions of
20  * the license of that module.  An independent module is a module which is not
21  * derived from this software.  The special exception does not apply to any
22  * modifications of the software.
23  *
24  *      Notwithstanding the above, under no circumstances may you combine this
25  * software in any way with any other Broadcom software provided under a license
26  * other than the GPL, without Broadcom's express prior written consent.
27  *
28  * $Id: dhd_mschdbg.h 571265 2015-07-14 20:50:18Z $
29  */
30 
31 #ifndef _dhd_mschdbg_h_
32 #define _dhd_mschdbg_h_
33 
34 #ifdef SHOW_LOGTRACE
35 extern void wl_mschdbg_event_handler(dhd_pub_t *dhdp, void *raw_event_ptr, int type,
36 	void *data, int len);
37 extern void wl_mschdbg_verboselog_handler(dhd_pub_t *dhdp, void *raw_event_ptr,
38 	prcd_event_log_hdr_t *plog_hdr, uint32 *log_ptr);
39 #endif /* SHOW_LOGTRACE */
40 
41 #endif /* _dhd_mschdbg_h_ */
42