1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 2 /* Copyright(c) 2007 - 2012 Realtek Corporation. */ 3 4 #ifndef __RTW_AP_H_ 5 #define __RTW_AP_H_ 6 7 #include "osdep_service.h" 8 #include "drv_types.h" 9 10 /* external function */ 11 void rtw_indicate_sta_assoc_event(struct adapter *padapter, 12 struct sta_info *psta); 13 void init_mlme_ap_info(struct adapter *padapter); 14 void free_mlme_ap_info(struct adapter *padapter); 15 void update_beacon(struct adapter *padapter, u8 ie_id, 16 u8 *oui, u8 tx); 17 void add_RATid(struct adapter *padapter, struct sta_info *psta, 18 u8 rssi_level); 19 void expire_timeout_chk(struct adapter *padapter); 20 void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta); 21 void rtw_ap_restore_network(struct adapter *padapter); 22 23 void associated_clients_update(struct adapter *padapter, u8 updated); 24 void bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta); 25 u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta); 26 void sta_info_update(struct adapter *padapter, struct sta_info *psta); 27 u8 ap_free_sta(struct adapter *padapter, struct sta_info *psta, 28 bool active, u16 reason); 29 int rtw_sta_flush(struct adapter *padapter); 30 void start_ap_mode(struct adapter *padapter); 31 void stop_ap_mode(struct adapter *padapter); 32 void update_bmc_sta(struct adapter *padapter); 33 34 #endif 35