mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-09 06:43:06 +00:00
rtl8188eu: Remove code for other than USB devices in hal/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
681e680993
commit
2abe025887
13 changed files with 27 additions and 688 deletions
|
@ -1142,11 +1142,7 @@ odm_ra_set_tx_rpt_time(
|
|||
{
|
||||
#if (DM_ODM_SUPPORT_TYPE & (ODM_AP))
|
||||
if (min_rpt_time != 0xffff) {
|
||||
#if defined(CONFIG_PCI_HCI)
|
||||
odm_write_2byte(p_dm_odm, REG_TX_RPT_TIME, min_rpt_time);
|
||||
#elif defined(CONFIG_USB_HCI) || defined(CONFIG_SDIO_HCI)
|
||||
notify_tx_report_interval_change(p_dm_odm->priv, min_rpt_time);
|
||||
#endif
|
||||
}
|
||||
#else
|
||||
odm_write_2byte(p_dm_odm, REG_TX_RPT_TIME, min_rpt_time);
|
||||
|
@ -1154,7 +1150,6 @@ odm_ra_set_tx_rpt_time(
|
|||
|
||||
}
|
||||
|
||||
|
||||
void odm_ra_tx_rpt2_handle_8188e(struct PHY_DM_STRUCT *p_dm_odm,
|
||||
u8 *tx_rpt_buf, __le16 tx_rpt_len,
|
||||
u32 mac_id_valid_entry0,
|
||||
|
|
|
@ -167,11 +167,6 @@ enum rt_spinlock_type {
|
|||
typedef long long s64, *s64 *;
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef CONFIG_PCI_HCI
|
||||
#define DEV_BUS_TYPE RT_PCI_INTERFACE
|
||||
#endif
|
||||
|
||||
#define _TRUE 1
|
||||
#define _FALSE 0
|
||||
|
||||
|
@ -185,51 +180,7 @@ enum rt_spinlock_type {
|
|||
|
||||
#elif (DM_ODM_SUPPORT_TYPE == ODM_CE)
|
||||
#include <drv_types.h>
|
||||
#if 0
|
||||
typedef u8 u8, *u8 *;
|
||||
typedef u16 u16, *u16 *;
|
||||
typedef u32 u32, *u32 *;
|
||||
typedef u64 u64, *u64 *;
|
||||
typedef s8 s8, *s8 *;
|
||||
typedef s16 s16, *s16 *;
|
||||
typedef s32 s32, *s32 *;
|
||||
typedef s64 s64, *s64 *;
|
||||
#elif 0
|
||||
#define u8 u8
|
||||
#define u8 *u8*
|
||||
|
||||
#define u16 u16
|
||||
#define u16 *u16*
|
||||
|
||||
#define u32 u32
|
||||
#define u32 *u32*
|
||||
|
||||
#define u64 u64
|
||||
#define u64* u64*
|
||||
|
||||
#define s8 s8
|
||||
#define s8* s8*
|
||||
|
||||
#define s16 s16
|
||||
#define s16* s16*
|
||||
|
||||
#define s32 s32
|
||||
#define s32* s32*
|
||||
|
||||
#define s64 s64
|
||||
#define s64* s64*
|
||||
|
||||
#endif
|
||||
#ifdef CONFIG_USB_HCI
|
||||
#define DEV_BUS_TYPE RT_USB_INTERFACE
|
||||
#elif defined(CONFIG_PCI_HCI)
|
||||
#define DEV_BUS_TYPE RT_PCI_INTERFACE
|
||||
#elif defined(CONFIG_SDIO_HCI)
|
||||
#define DEV_BUS_TYPE RT_SDIO_INTERFACE
|
||||
#elif defined(CONFIG_GSPI_HCI)
|
||||
#define DEV_BUS_TYPE RT_SDIO_INTERFACE
|
||||
#endif
|
||||
|
||||
#define DEV_BUS_TYPE RT_USB_INTERFACE
|
||||
|
||||
#if defined(__LITTLE_ENDIAN)
|
||||
#define ODM_ENDIAN_TYPE ODM_ENDIAN_LITTLE
|
||||
|
@ -237,11 +188,6 @@ enum rt_spinlock_type {
|
|||
#define ODM_ENDIAN_TYPE ODM_ENDIAN_BIG
|
||||
#endif
|
||||
|
||||
//#define struct sta_info struct sta_info
|
||||
//#define struct sta_info* struct sta_info *
|
||||
|
||||
|
||||
|
||||
#define true _TRUE
|
||||
#define false _FALSE
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue