提交 6898f7d1 编写于 作者: M Mateusz Kulikowski 提交者: Greg Kroah-Hartman

staging: rtl8192e: Remove rt_pwr_save_ctrl members

Following members were removed:
- tmpJoinAction
- tmpSuppRateBuf
- bTmpIbpm

As a consequence several unused defines/enums/structs were
also removed from rtllib.h
Signed-off-by: NMateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 7f5678ee
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册