rtl8188eu: Convert typedef WLAN_PWR_CFG to struct wl_pwr_cfg

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2015-03-13 10:59:57 -05:00
parent 752f418bf0
commit 460e260891
5 changed files with 32 additions and 34 deletions

View file

@ -101,8 +101,7 @@ typedef enum _PWRSEQ_CMD_DELAY_UNIT_
PWRSEQ_DELAY_MS,
} PWRSEQ_DELAY_UNIT;
typedef struct _WL_PWR_CFG_
{
struct wl_pwr_cfg {
u16 offset;
u8 cut_msk;
u8 fab_msk:4;
@ -111,8 +110,7 @@ typedef struct _WL_PWR_CFG_
u8 cmd:4;
u8 msk;
u8 value;
} WLAN_PWR_CFG, *PWLAN_PWR_CFG;
};
#define GET_PWR_CFG_OFFSET(__PWR_CMD) __PWR_CMD.offset
#define GET_PWR_CFG_CUT_MASK(__PWR_CMD) __PWR_CMD.cut_msk
@ -132,6 +130,6 @@ u8 HalPwrSeqCmdParsing(
u8 CutVersion,
u8 FabVersion,
u8 InterfaceType,
WLAN_PWR_CFG PwrCfgCmd[]);
struct wl_pwr_cfg PwrCfgCmd[]);
#endif