usb_hal.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /******************************************************************************
  2. *
  3. * Copyright(c) 2007 - 2017 Realtek Corporation.
  4. *
  5. * This program is free software; you can redistribute it and/or modify it
  6. * under the terms of version 2 of the GNU General Public License as
  7. * published by the Free Software Foundation.
  8. *
  9. * This program is distributed in the hope that it will be useful, but WITHOUT
  10. * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11. * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  12. * more details.
  13. *
  14. *****************************************************************************/
  15. #ifndef __USB_HAL_H__
  16. #define __USB_HAL_H__
  17. int usb_init_recv_priv(_adapter *padapter, u16 ini_in_buf_sz);
  18. void usb_free_recv_priv(_adapter *padapter, u16 ini_in_buf_sz);
  19. #ifdef CONFIG_FW_C2H_REG
  20. void usb_c2h_hisr_hdl(_adapter *adapter, u8 *buf);
  21. #endif
  22. u8 rtw_set_hal_ops(_adapter *padapter);
  23. #ifdef CONFIG_RTL8188E
  24. void rtl8188eu_set_hal_ops(_adapter *padapter);
  25. #endif
  26. #if defined(CONFIG_RTL8812A) || defined(CONFIG_RTL8821A)
  27. void rtl8812au_set_hal_ops(_adapter *padapter);
  28. #endif
  29. #ifdef CONFIG_RTL8192E
  30. void rtl8192eu_set_hal_ops(_adapter *padapter);
  31. #endif
  32. #ifdef CONFIG_RTL8723B
  33. void rtl8723bu_set_hal_ops(_adapter *padapter);
  34. #endif
  35. #ifdef CONFIG_RTL8814A
  36. void rtl8814au_set_hal_ops(_adapter *padapter);
  37. #endif /* CONFIG_RTL8814A */
  38. #ifdef CONFIG_RTL8188F
  39. void rtl8188fu_set_hal_ops(_adapter *padapter);
  40. #endif
  41. #ifdef CONFIG_RTL8188GTV
  42. void rtl8188gtvu_set_hal_ops(_adapter *padapter);
  43. #endif
  44. #ifdef CONFIG_RTL8703B
  45. void rtl8703bu_set_hal_ops(_adapter *padapter);
  46. #endif
  47. #ifdef CONFIG_RTL8723D
  48. void rtl8723du_set_hal_ops(_adapter *padapter);
  49. #endif
  50. #ifdef CONFIG_RTL8710B
  51. void rtl8710bu_set_hal_ops(_adapter *padapter);
  52. #endif
  53. #ifdef CONFIG_RTL8192F
  54. void rtl8192fu_set_hal_ops(_adapter *padapter);
  55. #endif /* CONFIG_RTL8192F */
  56. #ifdef CONFIG_INTEL_PROXIM
  57. extern _adapter *rtw_usb_get_sw_pointer(void);
  58. #endif /* CONFIG_INTEL_PROXIM */
  59. #endif /* __USB_HAL_H__ */