linux/drivers/net/wireless/mediatek/mt76/mt7915/testmode.c

// SPDX-License-Identifier: ISC
/* Copyright (C) 2020 MediaTek Inc. */

#include "mt7915.h"
#include "mac.h"
#include "mcu.h"
#include "testmode.h"

enum {};

static const u8 tm_change_map[] =;

struct reg_band {};

#define REG_BAND(_list, _reg)
#define REG_BAND_IDX(_list, _reg, _idx)

#define TM_REG_MAX_ID
static struct reg_band reg_backup_list[TM_REG_MAX_ID];


static int
mt7915_tm_set_tx_power(struct mt7915_phy *phy)
{}

static int
mt7915_tm_set_freq_offset(struct mt7915_phy *phy, bool en, u32 val)
{}

static int
mt7915_tm_mode_ctrl(struct mt7915_dev *dev, bool enable)
{}

static int
mt7915_tm_set_trx(struct mt7915_phy *phy, int type, bool en)
{}

static int
mt7915_tm_clean_hwq(struct mt7915_phy *phy, u8 wcid)
{}

static int
mt7915_tm_set_slot_time(struct mt7915_phy *phy, u8 slot_time, u8 sifs)
{}

static int
mt7915_tm_set_tam_arb(struct mt7915_phy *phy, bool enable, bool mu)
{}

static int
mt7915_tm_set_wmm_qid(struct mt7915_phy *phy, u8 qid, u8 aifs, u8 cw_min,
		      u16 cw_max, u16 txop)
{}

static int
mt7915_tm_set_ipg_params(struct mt7915_phy *phy, u32 ipg, u8 mode)
{}

static int
mt7915_tm_set_tx_len(struct mt7915_phy *phy, u32 tx_time)
{}

static void
mt7915_tm_reg_backup_restore(struct mt7915_phy *phy)
{}

static void
mt7915_tm_init(struct mt7915_phy *phy, bool en)
{}

static void
mt7915_tm_update_channel(struct mt7915_phy *phy)
{}

static void
mt7915_tm_set_tx_frames(struct mt7915_phy *phy, bool en)
{}

static void
mt7915_tm_set_rx_frames(struct mt7915_phy *phy, bool en)
{}

static int
mt7915_tm_rf_switch_mode(struct mt7915_dev *dev, u32 oper)
{}

static int
mt7915_tm_set_tx_cont(struct mt7915_phy *phy, bool en)
{}

static void
mt7915_tm_update_params(struct mt7915_phy *phy, u32 changed)
{}

static int
mt7915_tm_set_state(struct mt76_phy *mphy, enum mt76_testmode_state state)
{}

static int
mt7915_tm_set_params(struct mt76_phy *mphy, struct nlattr **tb,
		     enum mt76_testmode_state new_state)
{}

static int
mt7915_tm_dump_stats(struct mt76_phy *mphy, struct sk_buff *msg)
{}

const struct mt76_testmode_ops mt7915_testmode_ops =;