#include "testmode.h"
#include <net/netlink.h>
#include <linux/firmware.h>
#include "debug.h"
#include "wmi.h"
#include "hif.h"
#include "hw.h"
#include "core.h"
#include "testmode_i.h"
static const struct nla_policy ath10k_tm_policy[ATH10K_TM_ATTR_MAX + 1] = …;
bool ath10k_tm_event_wmi(struct ath10k *ar, u32 cmd_id, struct sk_buff *skb)
{ … }
static int ath10k_tm_cmd_get_version(struct ath10k *ar, struct nlattr *tb[])
{ … }
static int ath10k_tm_fetch_utf_firmware_api_1(struct ath10k *ar,
struct ath10k_fw_file *fw_file)
{ … }
static int ath10k_tm_fetch_firmware(struct ath10k *ar)
{ … }
static int ath10k_tm_cmd_utf_start(struct ath10k *ar, struct nlattr *tb[])
{ … }
static void __ath10k_tm_cmd_utf_stop(struct ath10k *ar)
{ … }
static int ath10k_tm_cmd_utf_stop(struct ath10k *ar, struct nlattr *tb[])
{ … }
static int ath10k_tm_cmd_wmi(struct ath10k *ar, struct nlattr *tb[])
{ … }
int ath10k_tm_cmd(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
void *data, int len)
{ … }
void ath10k_testmode_destroy(struct ath10k *ar)
{ … }