| 1 |
/* SPDX-License-Identifier: GPL-2.0 */ |
| 2 |
/****************************************************************************** |
| 3 |
* |
| 4 |
* Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved. |
| 5 |
* |
| 6 |
******************************************************************************/ |
| 7 |
#ifndef __RTW_AP_H_ |
| 8 |
#define __RTW_AP_H_ |
| 9 |
|
| 10 |
void init_mlme_ap_info(struct adapter *padapter); |
| 11 |
void free_mlme_ap_info(struct adapter *padapter); |
| 12 |
/* void update_BCNTIM(struct adapter *padapter); */ |
| 13 |
void update_beacon(struct adapter *padapter, u8 ie_id, u8 *oui, u8 tx); |
| 14 |
void add_ratid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level); |
| 15 |
void expire_timeout_chk(struct adapter *padapter); |
| 16 |
void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta); |
| 17 |
void start_bss_network(struct adapter *padapter); |
| 18 |
int rtw_check_beacon_data(struct adapter *padapter, u8 *pbuf, int len); |
| 19 |
void rtw_ap_restore_network(struct adapter *padapter); |
| 20 |
void rtw_set_macaddr_acl(struct adapter *padapter, int mode); |
| 21 |
int rtw_acl_add_sta(struct adapter *padapter, u8 *addr); |
| 22 |
void rtw_acl_remove_sta(struct adapter *padapter, u8 *addr); |
| 23 |
|
| 24 |
u8 rtw_ap_set_pairwise_key(struct adapter *padapter, struct sta_info *psta); |
| 25 |
int rtw_ap_set_group_key(struct adapter *padapter, u8 *key, u8 alg, int keyid); |
| 26 |
int rtw_ap_set_wep_key(struct adapter *padapter, u8 *key, u8 keylen, int keyid, u8 set_tx); |
| 27 |
|
| 28 |
void associated_clients_update(struct adapter *padapter, u8 updated); |
| 29 |
void bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta); |
| 30 |
u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta); |
| 31 |
void sta_info_update(struct adapter *padapter, struct sta_info *psta); |
| 32 |
void ap_sta_info_defer_update(struct adapter *padapter, struct sta_info *psta); |
| 33 |
u8 ap_free_sta(struct adapter *padapter, struct sta_info *psta, bool active, u16 reason); |
| 34 |
void rtw_sta_flush(struct adapter *padapter); |
| 35 |
void start_ap_mode(struct adapter *padapter); |
| 36 |
void stop_ap_mode(struct adapter *padapter); |
| 37 |
|
| 38 |
#endif |
| 39 |
void update_bmc_sta(struct adapter *padapter); |