1
2
3
4
5
6
7
8
9
10
11
12
13
14
15#ifndef __RTW_AP_H_
16#define __RTW_AP_H_
17
18#include <osdep_service.h>
19#include <drv_types.h>
20
21#ifdef CONFIG_88EU_AP_MODE
22
23
24void rtw_indicate_sta_assoc_event(struct adapter *padapter,
25 struct sta_info *psta);
26void rtw_indicate_sta_disassoc_event(struct adapter *padapter,
27 struct sta_info *psta);
28void init_mlme_ap_info(struct adapter *padapter);
29void free_mlme_ap_info(struct adapter *padapter);
30void rtw_add_bcn_ie(struct adapter *padapter, struct wlan_bssid_ex *pnetwork,
31 u8 index, u8 *data, u8 len);
32void rtw_remove_bcn_ie(struct adapter *padapter,
33 struct wlan_bssid_ex *pnetwork, u8 index);
34void update_beacon(struct adapter *padapter, u8 ie_id,
35 u8 *oui, u8 tx);
36void add_RATid(struct adapter *padapter, struct sta_info *psta,
37 u8 rssi_level);
38void expire_timeout_chk(struct adapter *padapter);
39void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta);
40int rtw_check_beacon_data(struct adapter *padapter, u8 *pbuf, int len);
41void rtw_set_macaddr_acl(struct adapter *padapter, int mode);
42int rtw_acl_add_sta(struct adapter *padapter, u8 *addr);
43int rtw_acl_remove_sta(struct adapter *padapter, u8 *addr);
44
45void associated_clients_update(struct adapter *padapter, u8 updated);
46void bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta);
47u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta);
48void sta_info_update(struct adapter *padapter, struct sta_info *psta);
49void ap_sta_info_defer_update(struct adapter *padapter, struct sta_info *psta);
50u8 ap_free_sta(struct adapter *padapter, struct sta_info *psta,
51 bool active, u16 reason);
52int rtw_sta_flush(struct adapter *padapter);
53void start_ap_mode(struct adapter *padapter);
54void stop_ap_mode(struct adapter *padapter);
55#endif
56
57#endif
58