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