#include "mt7921.h"
#include "mcu.h"
enum mt7921_testmode_attr { … };
struct mt7921_tm_cmd { … };
struct mt7921_tm_evt { … };
static const struct nla_policy mt7921_tm_policy[NUM_MT7921_TM_ATTRS] = …;
static int
mt7921_tm_set(struct mt792x_dev *dev, struct mt7921_tm_cmd *req)
{ … }
static int
mt7921_tm_query(struct mt792x_dev *dev, struct mt7921_tm_cmd *req,
struct mt7921_tm_evt *evt_resp)
{ … }
int mt7921_testmode_cmd(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
void *data, int len)
{ … }
int mt7921_testmode_dump(struct ieee80211_hw *hw, struct sk_buff *msg,
struct netlink_callback *cb, void *data, int len)
{ … }