mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-10 00:04:17 +00:00
Updated to 4.4.1
This commit is contained in:
@@ -27,6 +27,11 @@ u32 build_prov_disc_request_p2p_ie(struct wifidirect_info *pwdinfo, u8 *pbuf, u8
|
||||
u32 build_assoc_resp_p2p_ie(struct wifidirect_info *pwdinfo, u8 *pbuf, u8 status_code);
|
||||
u32 build_deauth_p2p_ie(struct wifidirect_info *pwdinfo, u8 *pbuf);
|
||||
#ifdef CONFIG_WFD
|
||||
int rtw_init_wifi_display_info(_adapter *padapter);
|
||||
void rtw_wfd_enable(_adapter *adapter, bool on);
|
||||
void rtw_wfd_set_ctrl_port(_adapter *adapter, u16 port);
|
||||
void rtw_tdls_wfd_enable(_adapter *adapter, bool on);
|
||||
|
||||
u32 build_probe_req_wfd_ie(struct wifidirect_info *pwdinfo, u8 *pbuf);
|
||||
u32 build_probe_resp_wfd_ie(struct wifidirect_info *pwdinfo, u8 *pbuf, u8 tunneled);
|
||||
u32 build_beacon_wfd_ie(struct wifidirect_info *pwdinfo, u8 *pbuf);
|
||||
@@ -39,7 +44,15 @@ u32 build_assoc_req_wfd_ie(struct wifidirect_info *pwdinfo, u8 *pbuf);
|
||||
u32 build_assoc_resp_wfd_ie(struct wifidirect_info *pwdinfo, u8 *pbuf);
|
||||
u32 build_provdisc_req_wfd_ie(struct wifidirect_info *pwdinfo, u8 *pbuf);
|
||||
u32 build_provdisc_resp_wfd_ie(struct wifidirect_info *pwdinfo, u8 *pbuf);
|
||||
#endif //CONFIG_WFD
|
||||
|
||||
u32 rtw_append_beacon_wfd_ie(_adapter *adapter, u8 *pbuf);
|
||||
u32 rtw_append_probe_req_wfd_ie(_adapter *adapter, u8 *pbuf);
|
||||
u32 rtw_append_probe_resp_wfd_ie(_adapter *adapter, u8 *pbuf);
|
||||
u32 rtw_append_assoc_req_wfd_ie(_adapter *adapter, u8 *pbuf);
|
||||
u32 rtw_append_assoc_resp_wfd_ie(_adapter *adapter, u8 *pbuf);
|
||||
#endif /*CONFIG_WFD */
|
||||
|
||||
void rtw_xframe_chk_wfd_ie(struct xmit_frame *xframe);
|
||||
|
||||
u32 process_probe_req_p2p_ie(struct wifidirect_info *pwdinfo, u8 *pframe, uint len);
|
||||
u32 process_assoc_req_p2p_ie(struct wifidirect_info *pwdinfo, u8 *pframe, uint len, struct sta_info *psta);
|
||||
@@ -51,6 +64,7 @@ u8 process_p2p_group_negotation_req( struct wifidirect_info *pwdinfo, u8 *pframe
|
||||
u8 process_p2p_group_negotation_resp( struct wifidirect_info *pwdinfo, u8 *pframe, uint len );
|
||||
u8 process_p2p_group_negotation_confirm( struct wifidirect_info *pwdinfo, u8 *pframe, uint len );
|
||||
u8 process_p2p_presence_req(struct wifidirect_info *pwdinfo, u8 *pframe, uint len);
|
||||
int process_p2p_cross_connect_ie(PADAPTER padapter, u8 *IEs, u32 IELength);
|
||||
|
||||
void p2p_protocol_wk_hdl(_adapter *padapter, int intCmdType);
|
||||
|
||||
@@ -63,11 +77,9 @@ u8 p2p_ps_wk_cmd(_adapter*padapter, u8 p2p_ps_state, u8 enqueue);
|
||||
#ifdef CONFIG_IOCTL_CFG80211
|
||||
void rtw_init_cfg80211_wifidirect_info( _adapter* padapter);
|
||||
int rtw_p2p_check_frames(_adapter *padapter, const u8 *buf, u32 len, u8 tx);
|
||||
void rtw_append_wfd_ie(_adapter *padapter, u8 *buf, u32 *len);
|
||||
#endif //CONFIG_IOCTL_CFG80211
|
||||
#endif /* CONFIG_IOCTL_CFG80211 */
|
||||
|
||||
void reset_global_wifidirect_info( _adapter* padapter );
|
||||
int rtw_init_wifi_display_info(_adapter* padapter);
|
||||
void rtw_init_wifidirect_timers(_adapter* padapter);
|
||||
void rtw_init_wifidirect_addrs(_adapter* padapter, u8 *dev_addr, u8 *iface_addr);
|
||||
void init_wifidirect_info( _adapter* padapter, enum P2P_ROLE role);
|
||||
@@ -147,6 +159,7 @@ void dbg_rtw_p2p_set_role(struct wifidirect_info *wdinfo, enum P2P_ROLE role, co
|
||||
#define rtw_p2p_findphase_ex_set(wdinfo, value) \
|
||||
(wdinfo)->find_phase_state_exchange_cnt = (value)
|
||||
|
||||
#ifdef CONFIG_P2P
|
||||
//is this find phase exchange for social channel scan?
|
||||
#define rtw_p2p_findphase_ex_is_social(wdinfo) \
|
||||
(wdinfo)->find_phase_state_exchange_cnt >= P2P_FINDPHASE_EX_SOCIAL_FIRST
|
||||
@@ -154,7 +167,13 @@ void dbg_rtw_p2p_set_role(struct wifidirect_info *wdinfo, enum P2P_ROLE role, co
|
||||
//should we need find phase exchange anymore?
|
||||
#define rtw_p2p_findphase_ex_is_needed(wdinfo) \
|
||||
((wdinfo)->find_phase_state_exchange_cnt < P2P_FINDPHASE_EX_MAX && \
|
||||
(wdinfo)->find_phase_state_exchange_cnt != P2P_FINDPHASE_EX_NONE)
|
||||
(wdinfo)->find_phase_state_exchange_cnt != P2P_FINDPHASE_EX_NONE && \
|
||||
!(wdinfo)->rx_invitereq_info.scan_op_ch_only && \
|
||||
!(wdinfo)->p2p_info.scan_op_ch_only)
|
||||
#else
|
||||
#define rtw_p2p_findphase_ex_is_social(wdinfo) 0
|
||||
#define rtw_p2p_findphase_ex_is_needed(wdinfo) 0
|
||||
#endif /* CONFIG_P2P */
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user