#define pr_fmt(fmt) …
#include "core.h"
#include "hif-ops.h"
#include "cfg80211.h"
#include "target.h"
#include "debug.h"
struct ath6kl_sta *ath6kl_find_sta(struct ath6kl_vif *vif, u8 *node_addr)
{ … }
struct ath6kl_sta *ath6kl_find_sta_by_aid(struct ath6kl *ar, u8 aid)
{ … }
static void ath6kl_add_new_sta(struct ath6kl_vif *vif, u8 *mac, u16 aid,
u8 *wpaie, size_t ielen, u8 keymgmt,
u8 ucipher, u8 auth, u8 apsd_info)
{ … }
static void ath6kl_sta_cleanup(struct ath6kl *ar, u8 i)
{ … }
static u8 ath6kl_remove_sta(struct ath6kl *ar, u8 *mac, u16 reason)
{ … }
enum htc_endpoint_id ath6kl_ac2_endpoint_id(void *devt, u8 ac)
{ … }
struct ath6kl_cookie *ath6kl_alloc_cookie(struct ath6kl *ar)
{ … }
void ath6kl_cookie_init(struct ath6kl *ar)
{ … }
void ath6kl_cookie_cleanup(struct ath6kl *ar)
{ … }
void ath6kl_free_cookie(struct ath6kl *ar, struct ath6kl_cookie *cookie)
{ … }
int ath6kl_diag_read32(struct ath6kl *ar, u32 address, u32 *value)
{ … }
int ath6kl_diag_write32(struct ath6kl *ar, u32 address, __le32 value)
{ … }
int ath6kl_diag_read(struct ath6kl *ar, u32 address, void *data, u32 length)
{ … }
int ath6kl_diag_write(struct ath6kl *ar, u32 address, void *data, u32 length)
{ … }
int ath6kl_read_fwlogs(struct ath6kl *ar)
{ … }
static void ath6kl_install_static_wep_keys(struct ath6kl_vif *vif)
{ … }
void ath6kl_connect_ap_mode_bss(struct ath6kl_vif *vif, u16 channel)
{ … }
void ath6kl_connect_ap_mode_sta(struct ath6kl_vif *vif, u16 aid, u8 *mac_addr,
u8 keymgmt, u8 ucipher, u8 auth,
u8 assoc_req_len, u8 *assoc_info, u8 apsd_info)
{ … }
void disconnect_timer_handler(struct timer_list *t)
{ … }
void ath6kl_disconnect(struct ath6kl_vif *vif)
{ … }
void ath6kl_ready_event(void *devt, u8 *datap, u32 sw_ver, u32 abi_ver,
enum wmi_phy_cap cap)
{ … }
void ath6kl_scan_complete_evt(struct ath6kl_vif *vif, int status)
{ … }
static int ath6kl_commit_ch_switch(struct ath6kl_vif *vif, u16 channel)
{ … }
static void ath6kl_check_ch_switch(struct ath6kl *ar, u16 channel)
{ … }
void ath6kl_connect_event(struct ath6kl_vif *vif, u16 channel, u8 *bssid,
u16 listen_int, u16 beacon_int,
enum network_type net_type, u8 beacon_ie_len,
u8 assoc_req_len, u8 assoc_resp_len,
u8 *assoc_info)
{ … }
void ath6kl_tkip_micerr_event(struct ath6kl_vif *vif, u8 keyid, bool ismcast)
{ … }
static void ath6kl_update_target_stats(struct ath6kl_vif *vif, u8 *ptr, u32 len)
{ … }
static void ath6kl_add_le32(__le32 *var, __le32 val)
{ … }
void ath6kl_tgt_stats_event(struct ath6kl_vif *vif, u8 *ptr, u32 len)
{ … }
void ath6kl_wakeup_event(void *dev)
{ … }
void ath6kl_txpwr_rx_evt(void *devt, u8 tx_pwr)
{ … }
void ath6kl_pspoll_event(struct ath6kl_vif *vif, u8 aid)
{ … }
void ath6kl_dtimexpiry_event(struct ath6kl_vif *vif)
{ … }
void ath6kl_disconnect_event(struct ath6kl_vif *vif, u8 reason, u8 *bssid,
u8 assoc_resp_len, u8 *assoc_info,
u16 prot_reason_status)
{ … }
struct ath6kl_vif *ath6kl_vif_first(struct ath6kl *ar)
{ … }
static int ath6kl_open(struct net_device *dev)
{ … }
static int ath6kl_close(struct net_device *dev)
{ … }
static int ath6kl_set_features(struct net_device *dev,
netdev_features_t features)
{ … }
static void ath6kl_set_multicast_list(struct net_device *ndev)
{ … }
static const struct net_device_ops ath6kl_netdev_ops = …;
void init_netdev(struct net_device *dev)
{ … }