xref: /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_macdbg.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /* D11 macdbg function prototypes for Broadcom 802.11abgn
2  * Networking Adapter Device Drivers.
3  *
4  * Broadcom Proprietary and Confidential. Copyright (C) 2020,
5  * All Rights Reserved.
6  *
7  * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom;
8  * the contents of this file may not be disclosed to third parties,
9  * copied or duplicated in any form, in whole or in part, without
10  * the prior written permission of Broadcom.
11  *
12  *
13  * <<Broadcom-WL-IPTag/Proprietary:>>
14  *
15  * $Id: dhd_macdbg.h 649388 2016-07-15 22:54:42Z shinuk $
16  */
17 
18 #ifndef _dhd_macdbg_h_
19 #define _dhd_macdbg_h_
20 #ifdef BCMDBG
21 #include <dngl_stats.h>
22 #include <dhd.h>
23 
24 extern int dhd_macdbg_attach(dhd_pub_t *dhdp);
25 extern void dhd_macdbg_detach(dhd_pub_t *dhdp);
26 extern void dhd_macdbg_event_handler(dhd_pub_t *dhdp, uint32 reason,
27 	uint8 *event_data, uint32 datalen);
28 extern int dhd_macdbg_dumpmac(dhd_pub_t *dhdp, char *buf, int buflen, int *outbuflen, bool dump_x);
29 extern int dhd_macdbg_pd11regs(dhd_pub_t *dhdp, char *params, int plen, char *buf, int buflen);
30 extern int dhd_macdbg_reglist(dhd_pub_t *dhdp, char *buf, int buflen);
31 extern int dhd_macdbg_dumpsvmp(dhd_pub_t *dhdp, char *buf, int buflen, int *outbuflen);
32 extern int dhd_macdbg_psvmpmems(dhd_pub_t *dhdp, char *params, int plen, char *buf, int buflen);
33 #endif /* BCMDBG */
34 #endif /* _dhd_macdbg_h_ */
35