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

// SPDX-License-Identifier: ISC
/* Copyright (C) 2020 Felix Fietkau <[email protected]> */

#include <linux/random.h>
#include "mt76.h"

const struct nla_policy mt76_tm_policy[NUM_MT76_TM_ATTRS] =;
EXPORT_SYMBOL_GPL();

void mt76_testmode_tx_pending(struct mt76_phy *phy)
{}

static u32
mt76_testmode_max_mpdu_len(struct mt76_phy *phy, u8 tx_rate_mode)
{}

static void
mt76_testmode_free_skb(struct mt76_phy *phy)
{}

int mt76_testmode_alloc_skb(struct mt76_phy *phy, u32 len)
{}
EXPORT_SYMBOL();

static int
mt76_testmode_tx_init(struct mt76_phy *phy)
{}

static void
mt76_testmode_tx_start(struct mt76_phy *phy)
{}

static void
mt76_testmode_tx_stop(struct mt76_phy *phy)
{}

static inline void
mt76_testmode_param_set(struct mt76_testmode_data *td, u16 idx)
{}

static inline bool
mt76_testmode_param_present(struct mt76_testmode_data *td, u16 idx)
{}

static void
mt76_testmode_init_defaults(struct mt76_phy *phy)
{}

static int
__mt76_testmode_set_state(struct mt76_phy *phy, enum mt76_testmode_state state)
{}

int mt76_testmode_set_state(struct mt76_phy *phy, enum mt76_testmode_state state)
{}
EXPORT_SYMBOL();

static int
mt76_tm_get_u8(struct nlattr *attr, u8 *dest, u8 min, u8 max)
{}

int mt76_testmode_cmd(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
		      void *data, int len)
{}
EXPORT_SYMBOL();

static int
mt76_testmode_dump_stats(struct mt76_phy *phy, struct sk_buff *msg)
{}

int mt76_testmode_dump(struct ieee80211_hw *hw, struct sk_buff *msg,
		       struct netlink_callback *cb, void *data, int len)
{}
EXPORT_SYMBOL();