staging: rtl8192e: Convert typedef WOLPATTERN_TYPE to enum wol_pattern_type
Remove typedef from enum. Rename enum. Rename uses. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
@@ -1835,21 +1835,20 @@ enum rt_rf_power_state {
|
|||||||
#define MAX_WOL_BIT_MASK_SIZE 16
|
#define MAX_WOL_BIT_MASK_SIZE 16
|
||||||
#define MAX_WOL_PATTERN_SIZE 128
|
#define MAX_WOL_PATTERN_SIZE 128
|
||||||
|
|
||||||
typedef enum _WOLPATTERN_TYPE
|
enum wol_pattern_type {
|
||||||
{
|
|
||||||
eNetBIOS = 0,
|
eNetBIOS = 0,
|
||||||
eIPv4IPv6ARP,
|
eIPv4IPv6ARP,
|
||||||
eIPv4IPv6TCPSYN,
|
eIPv4IPv6TCPSYN,
|
||||||
eMACIDOnly,
|
eMACIDOnly,
|
||||||
eNoDefined,
|
eNoDefined,
|
||||||
} WOLPATTERN_TYPE;
|
};
|
||||||
|
|
||||||
struct rt_pm_wol_info {
|
struct rt_pm_wol_info {
|
||||||
u32 PatternId;
|
u32 PatternId;
|
||||||
u32 Mask[4];
|
u32 Mask[4];
|
||||||
u16 CrcRemainder;
|
u16 CrcRemainder;
|
||||||
u8 WFMIndex;
|
u8 WFMIndex;
|
||||||
WOLPATTERN_TYPE PatternType;
|
enum wol_pattern_type PatternType;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct rt_pwr_save_ctrl {
|
struct rt_pwr_save_ctrl {
|
||||||
|
Reference in New Issue
Block a user