1 /******************************************************************************
3 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of version 2 of the GNU General Public License as
7 * published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 ******************************************************************************/
18 #include <osdep_service.h>
19 #include <drv_types.h>
21 #ifdef CONFIG_88EU_AP_MODE
23 /* external function */
24 void rtw_indicate_sta_assoc_event(struct adapter *padapter,
25 struct sta_info *psta);
26 void rtw_indicate_sta_disassoc_event(struct adapter *padapter,
27 struct sta_info *psta);
28 void init_mlme_ap_info(struct adapter *padapter);
29 void free_mlme_ap_info(struct adapter *padapter);
30 void rtw_add_bcn_ie(struct adapter *padapter, struct wlan_bssid_ex *pnetwork,
31 u8 index, u8 *data, u8 len);
32 void rtw_remove_bcn_ie(struct adapter *padapter,
33 struct wlan_bssid_ex *pnetwork, u8 index);
34 void update_beacon(struct adapter *padapter, u8 ie_id,
36 void add_RATid(struct adapter *padapter, struct sta_info *psta,
38 void expire_timeout_chk(struct adapter *padapter);
39 void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta);
40 int rtw_check_beacon_data(struct adapter *padapter, u8 *pbuf, int len);
41 void rtw_set_macaddr_acl(struct adapter *padapter, int mode);
42 int rtw_acl_add_sta(struct adapter *padapter, u8 *addr);
43 int rtw_acl_remove_sta(struct adapter *padapter, u8 *addr);
45 void associated_clients_update(struct adapter *padapter, u8 updated);
46 void bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta);
47 u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta);
48 void sta_info_update(struct adapter *padapter, struct sta_info *psta);
49 void ap_sta_info_defer_update(struct adapter *padapter, struct sta_info *psta);
50 u8 ap_free_sta(struct adapter *padapter, struct sta_info *psta,
51 bool active, u16 reason);
52 int rtw_sta_flush(struct adapter *padapter);
53 void start_ap_mode(struct adapter *padapter);
54 void stop_ap_mode(struct adapter *padapter);
55 #endif /* end of CONFIG_88EU_AP_MODE */