/drivers/staging/rtl8712/xmit_osdep.h

https://bitbucket.org/wisechild/galaxy-nexus · C++ Header · 38 lines · 31 code · 7 blank · 0 comment · 0 complexity · 69c98c6bd40c601fcc981f7ed8ce9adb MD5 · raw file

  1. #ifndef __XMIT_OSDEP_H_
  2. #define __XMIT_OSDEP_H_
  3. #include "osdep_service.h"
  4. #include "drv_types.h"
  5. struct pkt_file {
  6. _pkt *pkt;
  7. u32 pkt_len; /*the remainder length of the open_file*/
  8. _buffer *cur_buffer;
  9. u8 *buf_start;
  10. u8 *cur_addr;
  11. u32 buf_len;
  12. };
  13. #define NR_XMITFRAME 256
  14. struct xmit_priv;
  15. struct pkt_attrib;
  16. struct sta_xmit_priv;
  17. struct xmit_frame;
  18. struct xmit_buf;
  19. int r8712_xmit_entry(_pkt *pkt, struct net_device *pnetdev);
  20. int r8712_xmit_resource_alloc(struct _adapter *padapter,
  21. struct xmit_buf *pxmitbuf);
  22. void r8712_xmit_resource_free(struct _adapter *padapter,
  23. struct xmit_buf *pxmitbuf);
  24. void r8712_set_qos(struct pkt_file *ppktfile,
  25. struct pkt_attrib *pattrib);
  26. void _r8712_open_pktfile(_pkt *pktptr, struct pkt_file *pfile);
  27. uint _r8712_pktfile_read(struct pkt_file *pfile, u8 *rmem, uint rlen);
  28. sint r8712_endofpktfile(struct pkt_file *pfile);
  29. void r8712_xmit_complete(struct _adapter *padapter,
  30. struct xmit_frame *pxframe);
  31. #endif