1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * RTL8188EU monitor interface
4  *
5  * Copyright (C) 2015 Jakub Sitnicki
6  */
7 
8 /*
9  * Monitor interface receives all transmitted and received IEEE 802.11
10  * frames, both Data and Management, and passes them up to userspace
11  * preserving the WLAN headers.
12  */
13 
14 #ifndef _MON_H_
15 #define _MON_H_
16 
17 struct net_device;
18 struct recv_frame;
19 struct xmit_frame;
20 
21 struct net_device *rtl88eu_mon_init(void);
22 void rtl88eu_mon_deinit(struct net_device *dev);
23 
24 void rtl88eu_mon_recv_hook(struct net_device *dev, struct recv_frame *frame);
25 void rtl88eu_mon_xmit_hook(struct net_device *dev, struct xmit_frame *frame,
26 			   uint frag_len);
27 
28 #endif /* _MON_H_ */
29