#define pr_fmt(fmt) …
#include <linux/moduleparam.h>
#include <linux/errno.h>
#include <linux/export.h>
#include <linux/of.h>
#include <linux/mmc/sdio_func.h>
#include <linux/vmalloc.h>
#include "core.h"
#include "cfg80211.h"
#include "target.h"
#include "debug.h"
#include "hif-ops.h"
#include "htc-ops.h"
static const struct ath6kl_hw hw_list[] = …;
#define WLAN_CONFIG_KEEP_ALIVE_INTERVAL …
#define WLAN_CONFIG_DISCONNECT_TIMEOUT …
#define ATH6KL_DATA_OFFSET …
struct sk_buff *ath6kl_buf_alloc(int size)
{ … }
void ath6kl_init_profile_info(struct ath6kl_vif *vif)
{ … }
static int ath6kl_set_host_app_area(struct ath6kl *ar)
{ … }
static inline void set_ac2_ep_map(struct ath6kl *ar,
u8 ac,
enum htc_endpoint_id ep)
{ … }
static int ath6kl_connectservice(struct ath6kl *ar,
struct htc_service_connect_req *con_req,
char *desc)
{ … }
static int ath6kl_init_service_ep(struct ath6kl *ar)
{ … }
void ath6kl_init_control_info(struct ath6kl_vif *vif)
{ … }
static int ath6kl_set_htc_params(struct ath6kl *ar, u32 mbox_isr_yield_val,
u8 htc_ctrl_buf)
{ … }
static int ath6kl_target_config_wlan_params(struct ath6kl *ar, int idx)
{ … }
int ath6kl_configure_target(struct ath6kl *ar)
{ … }
static int ath6kl_get_fw(struct ath6kl *ar, const char *filename,
u8 **fw, size_t *fw_len)
{ … }
#ifdef CONFIG_OF
static bool check_device_tree(struct ath6kl *ar)
{ … }
#else
static bool check_device_tree(struct ath6kl *ar)
{
return false;
}
#endif
static int ath6kl_fetch_board_file(struct ath6kl *ar)
{ … }
static int ath6kl_fetch_otp_file(struct ath6kl *ar)
{ … }
static int ath6kl_fetch_testmode_file(struct ath6kl *ar)
{ … }
static int ath6kl_fetch_fw_file(struct ath6kl *ar)
{ … }
static int ath6kl_fetch_patch_file(struct ath6kl *ar)
{ … }
static int ath6kl_fetch_testscript_file(struct ath6kl *ar)
{ … }
static int ath6kl_fetch_fw_api1(struct ath6kl *ar)
{ … }
static int ath6kl_fetch_fw_apin(struct ath6kl *ar, const char *name)
{ … }
int ath6kl_init_fetch_firmwares(struct ath6kl *ar)
{ … }
static int ath6kl_upload_board_file(struct ath6kl *ar)
{ … }
static int ath6kl_upload_otp(struct ath6kl *ar)
{ … }
static int ath6kl_upload_firmware(struct ath6kl *ar)
{ … }
static int ath6kl_upload_patch(struct ath6kl *ar)
{ … }
static int ath6kl_upload_testscript(struct ath6kl *ar)
{ … }
static int ath6kl_init_upload(struct ath6kl *ar)
{ … }
int ath6kl_init_hw_params(struct ath6kl *ar)
{ … }
static const char *ath6kl_init_get_hif_name(enum ath6kl_hif_type type)
{ … }
static const struct fw_capa_str_map { … } fw_capa_map[] = …;
static const char *ath6kl_init_get_fw_capa_name(unsigned int id)
{ … }
static void ath6kl_init_get_fwcaps(struct ath6kl *ar, char *buf, size_t buf_len)
{ … }
static int ath6kl_init_hw_reset(struct ath6kl *ar)
{ … }
static int __ath6kl_init_hw_start(struct ath6kl *ar)
{ … }
int ath6kl_init_hw_start(struct ath6kl *ar)
{ … }
static int __ath6kl_init_hw_stop(struct ath6kl *ar)
{ … }
int ath6kl_init_hw_stop(struct ath6kl *ar)
{ … }
void ath6kl_init_hw_restart(struct ath6kl *ar)
{ … }
void ath6kl_stop_txrx(struct ath6kl *ar)
{ … }
EXPORT_SYMBOL(…);