#ifndef __STA_INFO_H_
#define __STA_INFO_H_
#define IBSS_START_MAC_ID …
#define NUM_STA …
#define NUM_ACL …
struct rtw_wlan_acl_node { … };
struct wlan_acl_pool { … };
struct rssi_sta { … };
struct stainfo_stats { … };
struct sta_info { … };
#define sta_rx_pkts(sta) …
#define sta_rx_data_pkts(sta) …
#define sta_last_rx_data_pkts(sta) …
#define sta_rx_beacon_pkts(sta) …
#define sta_last_rx_beacon_pkts(sta) …
#define sta_rx_probersp_pkts(sta) …
#define sta_last_rx_probersp_pkts(sta) …
#define sta_update_last_rx_pkts(sta) …
#define STA_PKTS_FMT …
struct sta_priv { … };
static inline u32 wifi_mac_hash(u8 *mac)
{ … }
extern u32 _rtw_init_sta_priv(struct sta_priv *pstapriv);
extern u32 _rtw_free_sta_priv(struct sta_priv *pstapriv);
#define stainfo_offset_valid(offset) …
int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta);
struct sta_info *rtw_get_stainfo_by_offset(struct sta_priv *stapriv, int offset);
extern struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr);
extern u32 rtw_free_stainfo(struct adapter *padapter, struct sta_info *psta);
extern void rtw_free_all_stainfo(struct adapter *padapter);
extern struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr);
extern u32 rtw_init_bcmc_stainfo(struct adapter *padapter);
extern struct sta_info *rtw_get_bcmc_stainfo(struct adapter *padapter);
extern u8 rtw_access_ctrl(struct adapter *padapter, u8 *mac_addr);
#endif