mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-06 21:43:06 +00:00
rtl8188eu: Revert part of 76e49ee
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
76e49eeec2
commit
eac0a699d8
16 changed files with 1004 additions and 86 deletions
|
@ -51,8 +51,24 @@ enum _EFUSE_DEF_TYPE {
|
|||
};
|
||||
|
||||
/* E-Fuse */
|
||||
#ifdef CONFIG_RTL8192D
|
||||
#define EFUSE_MAP_SIZE 256
|
||||
#endif
|
||||
#ifdef CONFIG_RTL8192C
|
||||
#define EFUSE_MAP_SIZE 128
|
||||
#endif
|
||||
#ifdef CONFIG_RTL8723A
|
||||
#define EFUSE_MAP_SIZE 256
|
||||
#endif
|
||||
#ifdef CONFIG_RTL8188E
|
||||
#define EFUSE_MAP_SIZE 512
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_RTL8188E
|
||||
#define EFUSE_MAX_SIZE 256
|
||||
#else
|
||||
#define EFUSE_MAX_SIZE 512
|
||||
#endif
|
||||
/* end of E-Fuse */
|
||||
|
||||
#define EFUSE_MAX_MAP_LEN 256
|
||||
|
|
|
@ -182,7 +182,19 @@ struct mp_tx
|
|||
_thread_hdl_ PktTxThread;
|
||||
};
|
||||
|
||||
#if defined(CONFIG_RTL8192C) || defined(CONFIG_RTL8192D) || defined(CONFIG_RTL8723A) || defined(CONFIG_RTL8188E)
|
||||
#ifdef CONFIG_RTL8192C
|
||||
#include <Hal8192CPhyCfg.h>
|
||||
#endif
|
||||
#ifdef CONFIG_RTL8192D
|
||||
#include <Hal8192DPhyCfg.h>
|
||||
#endif
|
||||
#ifdef CONFIG_RTL8723A
|
||||
#include <Hal8723APhyCfg.h>
|
||||
#endif
|
||||
#ifdef CONFIG_RTL8188E
|
||||
#include <Hal8188EPhyCfg.h>
|
||||
#endif
|
||||
|
||||
#define MP_MAX_LINES 1000
|
||||
#define MP_MAX_LINES_BYTES 256
|
||||
|
@ -323,6 +335,8 @@ typedef struct _MPT_CONTEXT
|
|||
u1Byte mptOutBuf[100];
|
||||
|
||||
}MPT_CONTEXT, *PMPT_CONTEXT;
|
||||
#endif
|
||||
//#endif
|
||||
|
||||
//#define RTPRIV_IOCTL_MP ( SIOCIWFIRSTPRIV + 0x17)
|
||||
enum {
|
||||
|
|
|
@ -32,7 +32,18 @@ struct sreset_priv {
|
|||
unsigned long last_tx_complete_time;
|
||||
};
|
||||
|
||||
#ifdef CONFIG_RTL8192C
|
||||
#include <rtl8192c_hal.h>
|
||||
#endif
|
||||
#ifdef CONFIG_RTL8192D
|
||||
#include <rtl8192d_hal.h>
|
||||
#endif
|
||||
#ifdef CONFIG_RTL8723A
|
||||
#include <rtl8723a_hal.h>
|
||||
#endif
|
||||
#ifdef CONFIG_RTL8188E
|
||||
#include <rtl8188e_hal.h>
|
||||
#endif
|
||||
|
||||
#define WIFI_STATUS_SUCCESS 0
|
||||
#define USB_VEN_REQ_CMD_FAIL BIT0
|
||||
|
|
|
@ -20,11 +20,27 @@
|
|||
#ifndef __USB_HAL_H__
|
||||
#define __USB_HAL_H__
|
||||
|
||||
#ifdef CONFIG_RTL8192C
|
||||
void rtl8192cu_set_hal_ops(_adapter * padapter);
|
||||
#define hal_set_hal_ops rtl8192cu_set_hal_ops
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_RTL8192D
|
||||
void rtl8192du_set_hal_ops(_adapter * padapter);
|
||||
#define hal_set_hal_ops rtl8192du_set_hal_ops
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_RTL8723A
|
||||
void rtl8723au_set_hal_ops(_adapter * padapter);
|
||||
#define hal_set_hal_ops rtl8723au_set_hal_ops
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_RTL8188E
|
||||
void rtl8188eu_set_hal_ops(_adapter * padapter);
|
||||
#define hal_set_hal_ops rtl8188eu_set_hal_ops
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_INTEL_PROXIM
|
||||
extern _adapter *rtw_usb_get_sw_pointer(void);
|
||||
#endif //CONFIG_INTEL_PROXIM
|
||||
|
||||
#endif //__USB_HAL_H__
|
||||
|
|
|
@ -55,10 +55,53 @@ enum{
|
|||
#include <usb_ops_linux.h>
|
||||
#endif //PLATFORM_LINUX
|
||||
|
||||
#ifdef CONFIG_RTL8192C
|
||||
void rtl8192cu_set_hw_type(_adapter *padapter);
|
||||
#define hal_set_hw_type rtl8192cu_set_hw_type
|
||||
|
||||
void rtl8192cu_set_intf_ops(struct _io_ops *pops);
|
||||
#define usb_set_intf_ops rtl8192cu_set_intf_ops
|
||||
|
||||
void rtl8192cu_recv_tasklet(void *priv);
|
||||
|
||||
void rtl8192cu_xmit_tasklet(void *priv);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_RTL8723A
|
||||
void rtl8723au_set_hw_type(_adapter *padapter);
|
||||
#define hal_set_hw_type rtl8723au_set_hw_type
|
||||
|
||||
void rtl8723au_set_intf_ops(struct _io_ops *pops);
|
||||
#define usb_set_intf_ops rtl8723au_set_intf_ops
|
||||
|
||||
void rtl8192cu_recv_tasklet(void *priv);
|
||||
|
||||
void rtl8192cu_xmit_tasklet(void *priv);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_RTL8192D
|
||||
void rtl8192du_set_hw_type(_adapter *padapter);
|
||||
#define hal_set_hw_type rtl8192du_set_hw_type
|
||||
void rtl8192du_set_intf_ops(struct _io_ops *pops);
|
||||
#define usb_set_intf_ops rtl8192du_set_intf_ops
|
||||
#ifndef PLATFORM_FREEBSD
|
||||
void rtl8192du_recv_tasklet(void *priv);
|
||||
#else // PLATFORM_FREEBSD
|
||||
void rtl8192du_recv_tasklet(void *priv, int npending);
|
||||
#ifdef CONFIG_RX_INDICATE_QUEUE
|
||||
void rtw_rx_indicate_tasklet(void *priv, int npending);
|
||||
#endif // CONFIG_RX_INDICATE_QUEUE
|
||||
#endif // PLATFORM_FREEBSD
|
||||
|
||||
void rtl8192du_xmit_tasklet(void *priv);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_RTL8188E
|
||||
void rtl8188eu_set_hw_type(_adapter *padapter);
|
||||
#define hal_set_hw_type rtl8188eu_set_hw_type
|
||||
void rtl8188eu_set_intf_ops(struct _io_ops *pops);
|
||||
#define usb_set_intf_ops rtl8188eu_set_intf_ops
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Increase and check if the continual_urb_error of this @param dvobjprive is larger than MAX_CONTINUAL_URB_ERR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue