rtl8188eu: Remove typedef statements from include/rtw_mp_ioctl.h

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2015-03-16 20:24:53 -05:00
parent 4547604302
commit 8259a22027
2 changed files with 5 additions and 54 deletions

View file

@ -29,52 +29,11 @@
#include <rtw_efuse.h> #include <rtw_efuse.h>
#include <rtw_mp.h> #include <rtw_mp.h>
/* */ struct mp_rw_reg {
typedef struct CFG_DBG_MSG_STRUCT {
u32 DebugLevel;
u32 DebugComponent_H32;
u32 DebugComponent_L32;
}CFG_DBG_MSG_STRUCT,*PCFG_DBG_MSG_STRUCT;
typedef struct _RW_REG {
u32 offset; u32 offset;
u32 width; u32 width;
u32 value; u32 value;
}mp_rw_reg,RW_Reg, *pRW_Reg; };
/* for OID_RT_PRO_READ16_EEPROM & OID_RT_PRO_WRITE16_EEPROM */
typedef struct _EEPROM_RW_PARAM {
u32 offset;
u16 value;
}eeprom_rw_param,EEPROM_RWParam, *pEEPROM_RWParam;
typedef struct _EFUSE_ACCESS_STRUCT_ {
u16 start_addr;
u16 cnts;
u8 data[0];
}EFUSE_ACCESS_STRUCT, *PEFUSE_ACCESS_STRUCT;
typedef struct _BURST_RW_REG {
u32 offset;
u32 len;
u8 Data[256];
}burst_rw_reg,Burst_RW_Reg, *pBurst_RW_Reg;
typedef struct _USB_VendorReq{
u8 bRequest;
u16 wValue;
u16 wIndex;
u16 wLength;
u8 u8Dir;/* 0:OUT, 1:IN */
u8 u8InData;
}usb_vendor_req, USB_VendorReq, *pUSB_VendorReq;
typedef struct _DR_VARIABLE_STRUCT_ {
u8 offset;
u32 variable;
}DR_VARIABLE_STRUCT;
/* int mp_start_joinbss(struct adapter *padapter, NDIS_802_11_SSID *pssid); */
#define _irqlevel_changed_(a,b) #define _irqlevel_changed_(a,b)
@ -428,14 +387,6 @@ struct rfintfs_parm {
u32 rfintfs; u32 rfintfs;
}; };
typedef struct _mp_xmit_parm_ {
u8 enable;
u32 count;
u16 length;
u8 payload_type;
u8 da[ETH_ALEN];
}MP_XMIT_PARM, *PMP_XMIT_PARM;
struct mp_xmit_packet { struct mp_xmit_packet {
u32 len; u32 len;
u32 mem[MAX_MP_XMITBUF_SZ >> 2]; u32 mem[MAX_MP_XMITBUF_SZ >> 2];

View file

@ -2909,7 +2909,7 @@ _rtw_drvext_hdl_exit:
static void rtw_dbg_mode_hdl(struct adapter *padapter, u32 id, u8 *pdata, u32 len) static void rtw_dbg_mode_hdl(struct adapter *padapter, u32 id, u8 *pdata, u32 len)
{ {
pRW_Reg RegRWStruct; struct mp_rw_reg * RegRWStruct;
struct rf_reg_param *prfreg; struct rf_reg_param *prfreg;
u8 path; u8 path;
u8 offset; u8 offset;
@ -2923,7 +2923,7 @@ static void rtw_dbg_mode_hdl(struct adapter *padapter, u32 id, u8 *pdata, u32 le
DBG_871X("871x_driver is only for normal mode, can't enter mp mode\n"); DBG_871X("871x_driver is only for normal mode, can't enter mp mode\n");
break; break;
case GEN_MP_IOCTL_SUBCODE(READ_REG): case GEN_MP_IOCTL_SUBCODE(READ_REG):
RegRWStruct = (pRW_Reg)pdata; RegRWStruct = (struct mp_rw_reg *)pdata;
switch (RegRWStruct->width) switch (RegRWStruct->width)
{ {
case 1: case 1:
@ -2941,7 +2941,7 @@ static void rtw_dbg_mode_hdl(struct adapter *padapter, u32 id, u8 *pdata, u32 le
break; break;
case GEN_MP_IOCTL_SUBCODE(WRITE_REG): case GEN_MP_IOCTL_SUBCODE(WRITE_REG):
RegRWStruct = (pRW_Reg)pdata; RegRWStruct = (struct mp_rw_reg *)pdata;
switch (RegRWStruct->width) switch (RegRWStruct->width)
{ {
case 1: case 1: