linux/drivers/staging/rtl8188eu/include/xmit_osdep.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0 */
   2/******************************************************************************
   3 *
   4 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
   5 *
   6 ******************************************************************************/
   7#ifndef __XMIT_OSDEP_H_
   8#define __XMIT_OSDEP_H_
   9
  10#include <osdep_service.h>
  11#include <drv_types.h>
  12
  13#define NR_XMITFRAME    256
  14
  15struct xmit_priv;
  16struct pkt_attrib;
  17struct sta_xmit_priv;
  18struct xmit_frame;
  19struct xmit_buf;
  20
  21int rtw_xmit_entry(struct sk_buff *pkt, struct  net_device *pnetdev);
  22
  23void rtw_os_xmit_schedule(struct adapter *padapter);
  24
  25int rtw_os_xmit_resource_alloc(struct adapter *padapter,
  26                               struct xmit_buf *pxmitbuf, u32 alloc_sz);
  27void rtw_os_xmit_resource_free(struct xmit_buf *pxmitbuf);
  28
  29void rtw_os_pkt_complete(struct adapter *padapter, struct sk_buff *pkt);
  30void rtw_os_xmit_complete(struct adapter *padapter,
  31                          struct xmit_frame *pxframe);
  32
  33#endif /* __XMIT_OSDEP_H_ */
  34