2022-06-08 23:46:35 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
|
|
|
|
/* Copyright(c) 2007 - 2012 Realtek Corporation. */
|
|
|
|
|
2013-05-19 04:28:07 +00:00
|
|
|
#ifndef __RTW_AP_H_
|
|
|
|
#define __RTW_AP_H_
|
|
|
|
|
2022-06-08 23:46:35 +00:00
|
|
|
#include "osdep_service.h"
|
|
|
|
#include "drv_types.h"
|
2013-05-19 04:28:07 +00:00
|
|
|
|
2013-08-12 04:36:23 +00:00
|
|
|
/* external function */
|
2013-08-15 03:03:17 +00:00
|
|
|
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);
|
2013-07-27 01:08:39 +00:00
|
|
|
void init_mlme_ap_info(struct adapter *padapter);
|
|
|
|
void free_mlme_ap_info(struct adapter *padapter);
|
2013-08-15 03:03:17 +00:00
|
|
|
void update_beacon(struct adapter *padapter, u8 ie_id,
|
|
|
|
u8 *oui, u8 tx);
|
|
|
|
void add_RATid(struct adapter *padapter, struct sta_info *psta,
|
|
|
|
u8 rssi_level);
|
2013-07-27 01:08:39 +00:00
|
|
|
void expire_timeout_chk(struct adapter *padapter);
|
|
|
|
void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta);
|
2014-11-19 20:32:12 +00:00
|
|
|
void rtw_ap_restore_network(struct adapter *padapter);
|
2013-05-19 04:28:07 +00:00
|
|
|
|
2013-07-27 01:08:39 +00:00
|
|
|
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);
|
|
|
|
void sta_info_update(struct adapter *padapter, struct sta_info *psta);
|
2013-08-15 03:03:17 +00:00
|
|
|
u8 ap_free_sta(struct adapter *padapter, struct sta_info *psta,
|
|
|
|
bool active, u16 reason);
|
2013-07-27 01:08:39 +00:00
|
|
|
int rtw_sta_flush(struct adapter *padapter);
|
|
|
|
void start_ap_mode(struct adapter *padapter);
|
|
|
|
void stop_ap_mode(struct adapter *padapter);
|
2014-11-19 20:32:12 +00:00
|
|
|
void update_bmc_sta(struct adapter *padapter);
|
2013-05-19 04:28:07 +00:00
|
|
|
|
|
|
|
#endif
|