diff --git a/drivers/staging/rtl8192e/rtllib.h b/drivers/staging/rtl8192e/rtllib.h index 38956948b22079e99990a8ebfa28ff71e95c43c7..49f31ec2646b6a7043f5a2bdf96fbae58b35888f 100644 --- a/drivers/staging/rtl8192e/rtllib.h +++ b/drivers/staging/rtl8192e/rtllib.h @@ -1368,42 +1368,12 @@ enum ips_callback_function { IPS_CALLBACK_JOIN_REQUEST = 2, }; -enum rt_join_action { - RT_JOIN_INFRA = 1, - RT_JOIN_IBSS = 2, - RT_START_IBSS = 3, - RT_NO_ACTION = 4, -}; - -struct ibss_parms { - u16 atimWin; -}; -#define MAX_NUM_RATES 264 - enum rt_rf_power_state { eRfOn, eRfSleep, eRfOff }; -#define MAX_SUPPORT_WOL_PATTERN_NUM 8 - -enum wol_pattern_type { - eNetBIOS = 0, - eIPv4IPv6ARP, - eIPv4IPv6TCPSYN, - eMACIDOnly, - eNoDefined, -}; - -struct rt_pm_wol_info { - u32 PatternId; - u32 Mask[4]; - u16 CrcRemainder; - u8 WFMIndex; - enum wol_pattern_type PatternType; -}; - struct rt_pwr_save_ctrl { bool bInactivePs; @@ -1412,10 +1382,6 @@ struct rt_pwr_save_ctrl { enum rt_rf_power_state eInactivePowerState; enum ips_callback_function ReturnPoint; - enum rt_join_action tmpJoinAction; - u8 tmpSuppRateBuf[MAX_NUM_RATES]; - bool bTmpIbpm; - bool bLeisurePs; u8 LpsIdleCount; u8 RegMaxLPSAwakeIntvl; @@ -1426,8 +1392,6 @@ struct rt_pwr_save_ctrl { bool bFwCtrlLPS; - struct rt_pm_wol_info PmWoLPatternInfo[MAX_SUPPORT_WOL_PATTERN_NUM]; - }; #define RT_RF_CHANGE_SOURCE u32