#include "mt7615.h"
#include "eeprom.h"
#include "mcu.h"
enum { … };
static const u8 tm_change_map[] = …;
static const u32 reg_backup_list[] = …;
static const struct { … } rf_backup_list[] = …;
static int
mt7615_tm_set_tx_power(struct mt7615_phy *phy)
{ … }
static void
mt7615_tm_reg_backup_restore(struct mt7615_phy *phy)
{ … }
static void
mt7615_tm_init(struct mt7615_phy *phy)
{ … }
static void
mt7615_tm_set_rx_enable(struct mt7615_dev *dev, bool en)
{ … }
static void
mt7615_tm_set_tx_antenna(struct mt7615_phy *phy, bool en)
{ … }
static void
mt7615_tm_set_tx_frames(struct mt7615_phy *phy, bool en)
{ … }
static void
mt7615_tm_update_params(struct mt7615_phy *phy, u32 changed)
{ … }
static int
mt7615_tm_set_state(struct mt76_phy *mphy, enum mt76_testmode_state state)
{ … }
static int
mt7615_tm_set_params(struct mt76_phy *mphy, struct nlattr **tb,
enum mt76_testmode_state new_state)
{ … }
static int
mt7615_tm_dump_stats(struct mt76_phy *mphy, struct sk_buff *msg)
{ … }
const struct mt76_testmode_ops mt7615_testmode_ops = …;