mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 22:43:04 +00:00
rtl8188eu: Backport kernel version
This driver was added to the kernel with version 3.12. The changes in that version are now brought back to the GitHub repo. Essentually all of the code is updated. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
868a407435
commit
19db43ecbd
89 changed files with 2026 additions and 5957 deletions
|
@ -27,9 +27,6 @@ enum RTL8188E_H2C_CMD_ID {
|
|||
H2C_COM_SCAN = 0x02,
|
||||
H2C_COM_KEEP_ALIVE = 0x03,
|
||||
H2C_COM_DISCNT_DECISION = 0x04,
|
||||
#ifndef CONFIG_WOWLAN
|
||||
H2C_COM_WWLAN = 0x05,
|
||||
#endif
|
||||
H2C_COM_INIT_OFFLOAD = 0x06,
|
||||
H2C_COM_REMOTE_WAKE_CTL = 0x07,
|
||||
H2C_COM_AP_OFFLOAD = 0x08,
|
||||
|
@ -53,13 +50,6 @@ enum RTL8188E_H2C_CMD_ID {
|
|||
H2C_BT_DAC_SWING_VAL = 0x62,
|
||||
H2C_BT_PSD_RST = 0x63,
|
||||
|
||||
/* Class Remote WakeUp */
|
||||
#ifdef CONFIG_WOWLAN
|
||||
H2C_COM_WWLAN = 0x80,
|
||||
H2C_COM_REMOTE_WAKE_CTRL = 0x81,
|
||||
H2C_COM_AOAC_GLOBAL_INFO = 0x82,
|
||||
#endif
|
||||
|
||||
/* Class */
|
||||
H2C_RESET_TSF = 0xc0,
|
||||
};
|
||||
|
@ -89,9 +79,6 @@ struct H2C_SS_RFOFF_PARAM {
|
|||
|
||||
struct joinbssrpt_parm {
|
||||
u8 OpMode; /* RT_MEDIA_STATUS */
|
||||
#ifdef CONFIG_WOWLAN
|
||||
u8 MacID; /* MACID */
|
||||
#endif /* CONFIG_WOWLAN */
|
||||
};
|
||||
|
||||
struct rsvdpage_loc {
|
||||
|
@ -125,43 +112,11 @@ u8 rtl8188e_set_raid_cmd(struct adapter *padapter, u32 mask);
|
|||
void rtl8188e_Add_RateATid(struct adapter *padapter, u32 bitmap, u8 arg,
|
||||
u8 rssi_level);
|
||||
|
||||
#ifdef CONFIG_P2P
|
||||
#ifdef CONFIG_88EU_P2P
|
||||
void rtl8188e_set_p2p_ps_offload_cmd(struct adapter *adapt, u8 p2p_ps_state);
|
||||
#endif /* CONFIG_P2P */
|
||||
#endif /* CONFIG_88EU_P2P */
|
||||
|
||||
void CheckFwRsvdPageContent(struct adapter *adapt);
|
||||
void rtl8188e_set_FwMediaStatus_cmd(struct adapter *adapt, __le16 mstatus_rpt);
|
||||
|
||||
#ifdef CONFIG_WOWLAN
|
||||
struct setwowlan_parm {
|
||||
u8 mode;
|
||||
u8 gpio_index;
|
||||
u8 gpio_duration;
|
||||
u8 second_mode;
|
||||
u8 reserve;
|
||||
};
|
||||
|
||||
struct setaoac_glocal_info {
|
||||
u8 pairwiseEncAlg;
|
||||
u8 groupEncAlg;
|
||||
};
|
||||
|
||||
#define FW_WOWLAN_FUN_EN BIT(0)
|
||||
#define FW_WOWLAN_PATTERN_MATCH BIT(1)
|
||||
#define FW_WOWLAN_MAGIC_PKT BIT(2)
|
||||
#define FW_WOWLAN_UNICAST BIT(3)
|
||||
#define FW_WOWLAN_ALL_PKT_DROP BIT(4)
|
||||
#define FW_WOWLAN_GPIO_ACTIVE BIT(5)
|
||||
#define FW_WOWLAN_REKEY_WAKEUP BIT(6)
|
||||
#define FW_WOWLAN_DEAUTH_WAKEUP BIT(7)
|
||||
|
||||
#define FW_WOWLAN_GPIO_WAKEUP_EN BIT(0)
|
||||
#define FW_FW_PARSE_MAGIC_PKT BIT(1)
|
||||
|
||||
#define FW_REMOTE_WAKE_CTRL_EN BIT(0)
|
||||
#define FW_REALWOWLAN_EN BIT(5)
|
||||
void rtl8188es_set_wowlan_cmd(struct adapter *adapt, u8 enable);
|
||||
void SetFwRelatedForWoWLAN8188ES(struct adapter *adapt, u8 HostIsGoingtoSleep);
|
||||
|
||||
#endif/* CONFIG_WOWLAN */
|
||||
#endif/* __RTL8188E_CMD_H__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue