#include "testmode.h"
#include <linux/pm_runtime.h>
#include <linux/slab.h>
#include <net/genetlink.h>
#include "wlcore.h"
#include "debug.h"
#include "acx.h"
#include "io.h"
#define WL1271_TM_MAX_DATA_LENGTH …
enum wl1271_tm_commands { … };
#define WL1271_TM_CMD_MAX …
enum wl1271_tm_attrs { … };
#define WL1271_TM_ATTR_MAX …
static struct nla_policy wl1271_tm_policy[WL1271_TM_ATTR_MAX + 1] = …;
static int wl1271_tm_cmd_test(struct wl1271 *wl, struct nlattr *tb[])
{ … }
static int wl1271_tm_cmd_interrogate(struct wl1271 *wl, struct nlattr *tb[])
{ … }
static int wl1271_tm_cmd_configure(struct wl1271 *wl, struct nlattr *tb[])
{ … }
static int wl1271_tm_detect_fem(struct wl1271 *wl, struct nlattr *tb[])
{ … }
static int wl1271_tm_cmd_set_plt_mode(struct wl1271 *wl, struct nlattr *tb[])
{ … }
static int wl12xx_tm_cmd_get_mac(struct wl1271 *wl, struct nlattr *tb[])
{ … }
int wl1271_tm_cmd(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
void *data, int len)
{ … }