xref: /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/include/rtw_hwsim_intf.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /*
2*4882a593Smuzhiyun  * Copyright(c) 2018 Realtek Corporation. All rights reserved.
3*4882a593Smuzhiyun  *
4*4882a593Smuzhiyun  * This program is free software; you can redistribute it and/or modify it
5*4882a593Smuzhiyun  * under the terms of version 2 of the GNU General Public License as
6*4882a593Smuzhiyun  * published by the Free Software Foundation.
7*4882a593Smuzhiyun  *
8*4882a593Smuzhiyun  * This program is distributed in the hope that it will be useful, but WITHOUT
9*4882a593Smuzhiyun  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10*4882a593Smuzhiyun  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11*4882a593Smuzhiyun  * more details.
12*4882a593Smuzhiyun  *
13*4882a593Smuzhiyun  * You should have received a copy of the GNU General Public License along with
14*4882a593Smuzhiyun  * this program; if not, write to the Free Software Foundation, Inc.,
15*4882a593Smuzhiyun  * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
16*4882a593Smuzhiyun  */
17*4882a593Smuzhiyun 
18*4882a593Smuzhiyun #ifndef __RTW_HWSIM_INTF_H_
19*4882a593Smuzhiyun #define __RTW_HWSIM_INTF_H_
20*4882a593Smuzhiyun 
21*4882a593Smuzhiyun #include <linux/skbuff.h>
22*4882a593Smuzhiyun 
23*4882a593Smuzhiyun #include <drv_types.h>
24*4882a593Smuzhiyun 
25*4882a593Smuzhiyun int rtw_hwsim_medium_tx(struct _ADAPTER *adapter, const void *tx_ctx,
26*4882a593Smuzhiyun                         u8 *buf, size_t buflen);
27*4882a593Smuzhiyun 
28*4882a593Smuzhiyun void rtw_hwsim_medium_pre_netif_rx(struct sk_buff *skb);
29*4882a593Smuzhiyun 
30*4882a593Smuzhiyun 
31*4882a593Smuzhiyun #endif	/* __RTW_HWSIM_INTF_H__ */
32