mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-07 05:53:06 +00:00
rtl8188eu: Remove _CONFIG_NATIVEAP_MLME_ and CONFIG_NATIVEAP_MLME
The first is never defined. The second is always devined. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
5ded2b3ded
commit
8f5cbefdef
9 changed files with 36 additions and 105 deletions
|
@ -99,10 +99,6 @@
|
|||
#define CONFIG_INTERRUPT_BASED_TXBCN_BCN_OK_ERR
|
||||
#endif
|
||||
|
||||
#define CONFIG_NATIVEAP_MLME
|
||||
#ifndef CONFIG_NATIVEAP_MLME
|
||||
#define CONFIG_HOSTAPD_MLME
|
||||
#endif
|
||||
#define CONFIG_FIND_BEST_CHANNEL
|
||||
//#define CONFIG_NO_WIRELESS_HANDLERS
|
||||
#endif
|
||||
|
|
|
@ -27,14 +27,11 @@
|
|||
|
||||
#ifdef CONFIG_AP_MODE
|
||||
|
||||
//external function
|
||||
extern void rtw_indicate_sta_assoc_event(struct adapter *padapter, struct sta_info *psta);
|
||||
extern void rtw_indicate_sta_disassoc_event(struct adapter *padapter, struct sta_info *psta);
|
||||
|
||||
void rtw_indicate_sta_assoc_event(struct adapter *padapter, struct sta_info *psta);
|
||||
void rtw_indicate_sta_disassoc_event(struct adapter *padapter, struct sta_info *psta);
|
||||
|
||||
void init_mlme_ap_info(struct adapter *padapter);
|
||||
void free_mlme_ap_info(struct adapter *padapter);
|
||||
//void update_BCNTIM(struct adapter *padapter);
|
||||
void rtw_add_bcn_ie(struct adapter *padapter, WLAN_BSSID_EX *pnetwork, u8 index, u8 *data, u8 len);
|
||||
void rtw_remove_bcn_ie(struct adapter *padapter, WLAN_BSSID_EX *pnetwork, u8 index);
|
||||
void update_beacon(struct adapter *padapter, u8 ie_id, u8 *oui, u8 tx);
|
||||
|
@ -46,8 +43,6 @@ void rtw_ap_restore_network(struct adapter *padapter);
|
|||
void rtw_set_macaddr_acl(struct adapter *padapter, int mode);
|
||||
int rtw_acl_add_sta(struct adapter *padapter, u8 *addr);
|
||||
int rtw_acl_remove_sta(struct adapter *padapter, u8 *addr);
|
||||
|
||||
#ifdef CONFIG_NATIVEAP_MLME
|
||||
void associated_clients_update(struct adapter *padapter, u8 updated);
|
||||
void bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta);
|
||||
u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta);
|
||||
|
@ -58,8 +53,9 @@ int rtw_sta_flush(struct adapter *padapter);
|
|||
int rtw_ap_inform_ch_switch(struct adapter *padapter, u8 new_ch, u8 ch_offset);
|
||||
void start_ap_mode(struct adapter *padapter);
|
||||
void stop_ap_mode(struct adapter *padapter);
|
||||
#endif
|
||||
|
||||
#endif //end of CONFIG_AP_MODE
|
||||
|
||||
#endif
|
||||
void update_bmc_sta(struct adapter *padapter);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -461,7 +461,7 @@ struct mlme_priv {
|
|||
u8 *wps_probe_req_ie;
|
||||
u32 wps_probe_req_ie_len;
|
||||
|
||||
#if defined (CONFIG_AP_MODE) && defined (CONFIG_NATIVEAP_MLME)
|
||||
#if defined (CONFIG_AP_MODE)
|
||||
/* Number of associated Non-ERP stations (i.e., stations using 802.11b
|
||||
* in 802.11g BSS) */
|
||||
int num_sta_non_erp;
|
||||
|
@ -519,7 +519,7 @@ struct mlme_priv {
|
|||
u8 update_bcn;
|
||||
|
||||
|
||||
#endif //#if defined (CONFIG_AP_MODE) && defined (CONFIG_NATIVEAP_MLME)
|
||||
#endif //#if defined (CONFIG_AP_MODE)
|
||||
|
||||
#if defined(CONFIG_WFD)
|
||||
|
||||
|
|
|
@ -211,7 +211,6 @@ struct sta_info {
|
|||
|
||||
u8 bpairwise_key_installed;
|
||||
|
||||
#ifdef CONFIG_NATIVEAP_MLME
|
||||
u8 wpa_ie[32];
|
||||
|
||||
u8 nonerp_set;
|
||||
|
@ -220,7 +219,6 @@ struct sta_info {
|
|||
u8 no_ht_gf_set;
|
||||
u8 no_ht_set;
|
||||
u8 ht_20mhz_set;
|
||||
#endif // CONFIG_NATIVEAP_MLME
|
||||
|
||||
#ifdef CONFIG_ATMEL_RC_PATCH
|
||||
u8 flag_atmel_rc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue