rtl8822bu/hal/rtl8822b/usb/rtl8822bu.h
2017-04-02 12:45:14 -06:00

59 lines
1.9 KiB
C

/******************************************************************************
*
* Copyright(c) 2015 - 2016 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
*
*
******************************************************************************/
#ifndef _RTL8822BU_H_
#define _RTL8822BU_H_
#include <drv_types.h> /* PADAPTER, basic_types.h, rtw_xmit.h and etc. */
#define USB_AGG_EN_8822B BIT(7)
/* rtl8822bu_halinit.c */
u32 rtl8822bu_init(PADAPTER);
u32 rtl8822bu_deinit(PADAPTER);
u32 rtl8822bu_inirp_init(PADAPTER);
u32 rtl8822bu_inirp_deinit(PADAPTER);
void rtl8822bu_interface_configure(PADAPTER);
/* rtl8822bu_halmac.c */
int rtl8822bu_halmac_init_adapter(PADAPTER);
/* rtl8822bu_io.c */
/* rtl8822bu_led.c */
void rtl8822bu_initswleds(PADAPTER);
void rtl8822bu_deinitswleds(PADAPTER);
/* rtl8822bu_xmit.c */
#define OFFSET_SZ 0
#define MAX_TX_AGG_PACKET_NUMBER_8822B 0xff
s32 rtl8822bu_init_xmit_priv(PADAPTER);
void rtl8822bu_free_xmit_priv(PADAPTER);
s32 rtl8822bu_mgnt_xmit(PADAPTER, struct xmit_frame *);
s32 rtl8822bu_hal_xmit(PADAPTER, struct xmit_frame *);
s32 rtl8822bu_hal_xmitframe_enqueue(PADAPTER, struct xmit_frame *);
s32 rtl8822bu_hostap_mgnt_xmit_entry(PADAPTER, _pkt *);
/* rtl8822bu_recv.c */
int rtl8822bu_init_recv_priv(PADAPTER);
void rtl8822bu_free_recv_priv(PADAPTER);
#endif /* _RTL8822BU_H_ */