mirror of
https://github.com/RinCat/RTL88x2BU-Linux-Driver.git
synced 2024-11-10 01:02:50 +00:00
66 lines
2.1 KiB
C
66 lines
2.1 KiB
C
/******************************************************************************
|
|
*
|
|
* Copyright(c) 2015 - 2017 Realtek Corporation.
|
|
*
|
|
* 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.
|
|
*
|
|
*****************************************************************************/
|
|
#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)
|
|
|
|
#ifdef CONFIG_LPS_LCLK
|
|
/* for CONFIG_LPS_LCLK setting in rtl8822bu_ops.c */
|
|
#define REG_USB_HRPWM_8822B 0xFE58
|
|
#define REG_USB_HCPWM_8822B 0xFE57
|
|
#endif /* CONFIG_LPS_LCLK */
|
|
|
|
/* 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 */
|
|
#ifdef CONFIG_RTW_SW_LED
|
|
/* rtl8822bu_led.c */
|
|
void rtl8822bu_initswleds(PADAPTER);
|
|
void rtl8822bu_deinitswleds(PADAPTER);
|
|
#endif
|
|
/* 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 *);
|
|
#ifdef CONFIG_RTW_MGMT_QUEUE
|
|
s32 rtl8822bu_hal_mgmt_xmitframe_enqueue(PADAPTER, struct xmit_frame *);
|
|
#endif
|
|
s32 rtl8822bu_hal_xmitframe_enqueue(PADAPTER, struct xmit_frame *);
|
|
s32 rtl8822bu_hostap_mgnt_xmit_entry(PADAPTER, _pkt *);
|
|
#ifdef CONFIG_XMIT_THREAD_MODE
|
|
s32 rtl8822bu_xmit_buf_handler(PADAPTER);
|
|
#endif /* CONFIG_XMIT_THREAD_MODE */
|
|
|
|
/* rtl8822bu_recv.c */
|
|
int rtl8822bu_init_recv_priv(PADAPTER);
|
|
void rtl8822bu_free_recv_priv(PADAPTER);
|
|
|
|
#endif /* _RTL8822BU_H_ */
|