mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-07 05:53:06 +00:00
rtl8188eu: Remove CONFIG_IOCTL_CFG80211
This one is always selected. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
34c3293686
commit
5470a10d13
18 changed files with 29 additions and 344 deletions
|
@ -39,20 +39,8 @@
|
|||
|
||||
#define CONFIG_RTL8188E
|
||||
|
||||
#if defined(CONFIG_PLATFORM_ACTIONS_ATM702X)
|
||||
#ifndef CONFIG_IOCTL_CFG80211
|
||||
#define CONFIG_IOCTL_CFG80211
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_IOCTL_CFG80211
|
||||
//#define RTW_USE_CFG80211_STA_EVENT /* Indecate new sta asoc through cfg80211_new_sta */
|
||||
#define CONFIG_CFG80211_FORCE_COMPATIBLE_2_6_37_UNDER
|
||||
//#define CONFIG_DEBUG_CFG80211
|
||||
//#define CONFIG_DRV_ISSUE_PROV_REQ // IOT FOR S2
|
||||
#define CONFIG_SET_SCAN_DENY_TIMER
|
||||
|
||||
#endif
|
||||
#define CONFIG_CFG80211_FORCE_COMPATIBLE_2_6_37_UNDER
|
||||
#define CONFIG_SET_SCAN_DENY_TIMER
|
||||
|
||||
/*
|
||||
* Internal General Config
|
||||
|
|
|
@ -82,9 +82,7 @@ enum _NIC_VERSION {
|
|||
#include <rtw_br_ext.h>
|
||||
#endif // CONFIG_BR_EXT
|
||||
|
||||
#ifdef CONFIG_IOCTL_CFG80211
|
||||
#include "ioctl_cfg80211.h"
|
||||
#endif //CONFIG_IOCTL_CFG80211
|
||||
#include "ioctl_cfg80211.h"
|
||||
|
||||
#define SPEC_DEV_ID_NONE BIT(0)
|
||||
#define SPEC_DEV_ID_DISABLE_HT BIT(1)
|
||||
|
@ -388,11 +386,9 @@ struct adapter {
|
|||
struct hostapd_priv *phostapdpriv;
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_IOCTL_CFG80211
|
||||
#ifdef CONFIG_P2P
|
||||
struct cfg80211_wifidirect_info cfg80211_wdinfo;
|
||||
#endif //CONFIG_P2P
|
||||
#endif //CONFIG_IOCTL_CFG80211
|
||||
u32 setband;
|
||||
#ifdef CONFIG_P2P
|
||||
struct wifidirect_info wdinfo;
|
||||
|
@ -453,9 +449,7 @@ struct adapter {
|
|||
struct proc_dir_entry *dir_dev;// for proc directory
|
||||
struct proc_dir_entry *dir_odm;
|
||||
|
||||
#ifdef CONFIG_IOCTL_CFG80211
|
||||
struct wireless_dev *rtw_wdev;
|
||||
#endif //CONFIG_IOCTL_CFG80211
|
||||
|
||||
int net_closed;
|
||||
|
||||
|
|
|
@ -68,11 +68,8 @@
|
|||
#include <net/flow.h>
|
||||
#include <net/arp.h>
|
||||
|
||||
#ifdef CONFIG_IOCTL_CFG80211
|
||||
// #include <linux/ieee80211.h>
|
||||
#include <net/ieee80211_radiotap.h>
|
||||
#include <net/cfg80211.h>
|
||||
#endif //CONFIG_IOCTL_CFG80211
|
||||
|
||||
#ifdef CONFIG_TCP_CSUM_OFFLOAD_TX
|
||||
#include <linux/in.h>
|
||||
|
|
|
@ -254,7 +254,6 @@ struct scan_limit_info{
|
|||
#endif //P2P_OP_CHECK_SOCIAL_CH
|
||||
};
|
||||
|
||||
#ifdef CONFIG_IOCTL_CFG80211
|
||||
struct cfg80211_wifidirect_info{
|
||||
_timer remain_on_ch_timer;
|
||||
u8 restore_channel;
|
||||
|
@ -263,7 +262,6 @@ struct cfg80211_wifidirect_info{
|
|||
u64 remain_on_ch_cookie;
|
||||
bool is_ro_ch;
|
||||
};
|
||||
#endif //CONFIG_IOCTL_CFG80211
|
||||
|
||||
struct wifidirect_info{
|
||||
struct adapter* padapter;
|
||||
|
@ -498,14 +496,13 @@ struct mlme_priv {
|
|||
u32 assoc_rsp_len;
|
||||
|
||||
u8 *wps_beacon_ie;
|
||||
//u8 *wps_probe_req_ie;
|
||||
u8 *wps_probe_resp_ie;
|
||||
u8 *wps_assoc_resp_ie; // for CONFIG_IOCTL_CFG80211, this IE could include p2p ie / wfd ie
|
||||
u8 *wps_assoc_resp_ie; // this IE includes p2p ie / wfd ie
|
||||
|
||||
u32 wps_beacon_ie_len;
|
||||
//u32 wps_probe_req_ie_len;
|
||||
u32 wps_probe_resp_ie_len;
|
||||
u32 wps_assoc_resp_ie_len; // for CONFIG_IOCTL_CFG80211, this IE len could include p2p ie / wfd ie
|
||||
u32 wps_assoc_resp_ie_len; // this IE len includes p2p ie / wfd ie
|
||||
|
||||
u8 *p2p_beacon_ie;
|
||||
u8 *p2p_probe_req_ie;
|
||||
|
@ -518,26 +515,13 @@ struct mlme_priv {
|
|||
u32 p2p_probe_resp_ie_len;
|
||||
u32 p2p_go_probe_resp_ie_len; //for GO
|
||||
u32 p2p_assoc_req_ie_len;
|
||||
/*
|
||||
#if defined(CONFIG_P2P) && defined(CONFIG_IOCTL_CFG80211)
|
||||
//u8 *wps_p2p_beacon_ie;
|
||||
u8 *p2p_beacon_ie;
|
||||
u8 *wps_p2p_probe_resp_ie;
|
||||
u8 *wps_p2p_assoc_resp_ie;
|
||||
//u32 wps_p2p_beacon_ie_len;
|
||||
u32 p2p_beacon_ie_len;
|
||||
u32 wps_p2p_probe_resp_ie_len;
|
||||
u32 wps_p2p_assoc_resp_ie_len;
|
||||
#endif
|
||||
*/
|
||||
|
||||
_lock bcn_update_lock;
|
||||
u8 update_bcn;
|
||||
|
||||
|
||||
#endif //#if defined (CONFIG_AP_MODE) && defined (CONFIG_NATIVEAP_MLME)
|
||||
|
||||
#if defined(CONFIG_WFD) && defined(CONFIG_IOCTL_CFG80211)
|
||||
#if defined(CONFIG_WFD)
|
||||
|
||||
u8 *wfd_beacon_ie;
|
||||
u8 *wfd_probe_req_ie;
|
||||
|
|
|
@ -61,11 +61,9 @@ void p2p_ps_wk_hdl(struct adapter *padapter, u8 p2p_ps_state);
|
|||
u8 p2p_ps_wk_cmd(struct adapter*padapter, u8 p2p_ps_state, u8 enqueue);
|
||||
#endif // CONFIG_P2P_PS
|
||||
|
||||
#ifdef CONFIG_IOCTL_CFG80211
|
||||
void rtw_init_cfg80211_wifidirect_info( struct adapter* padapter);
|
||||
int rtw_p2p_check_frames(struct adapter *padapter, const u8 *buf, u32 len, u8 tx);
|
||||
void rtw_append_wfd_ie(struct adapter *padapter, u8 *buf, u32 *len);
|
||||
#endif //CONFIG_IOCTL_CFG80211
|
||||
|
||||
void reset_global_wifidirect_info( struct adapter* padapter );
|
||||
int rtw_init_wifi_display_info(struct adapter* padapter);
|
||||
|
|
|
@ -263,10 +263,8 @@ struct sta_info {
|
|||
|
||||
#endif // CONFIG_AP_MODE
|
||||
|
||||
#ifdef CONFIG_IOCTL_CFG80211
|
||||
u8 *passoc_req;
|
||||
u32 assoc_req_len;
|
||||
#endif
|
||||
|
||||
#ifdef DBG_TRX_STA_PKTS
|
||||
//per AC dbg irp cnts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue