#include "mt7601u.h"
#include "eeprom.h"
#include "trace.h"
#include "mcu.h"
#include "initvals.h"
static void
mt7601u_set_wlan_state(struct mt7601u_dev *dev, u32 val, bool enable)
{ … }
static void mt7601u_chip_onoff(struct mt7601u_dev *dev, bool enable, bool reset)
{ … }
static void mt7601u_reset_csr_bbp(struct mt7601u_dev *dev)
{ … }
static void mt7601u_init_usb_dma(struct mt7601u_dev *dev)
{ … }
static int mt7601u_init_bbp(struct mt7601u_dev *dev)
{ … }
static void
mt76_init_beacon_offsets(struct mt7601u_dev *dev)
{ … }
static int mt7601u_write_mac_initvals(struct mt7601u_dev *dev)
{ … }
static int mt7601u_init_wcid_mem(struct mt7601u_dev *dev)
{ … }
static int mt7601u_init_key_mem(struct mt7601u_dev *dev)
{ … }
static int mt7601u_init_wcid_attr_mem(struct mt7601u_dev *dev)
{ … }
static void mt7601u_reset_counters(struct mt7601u_dev *dev)
{ … }
int mt7601u_mac_start(struct mt7601u_dev *dev)
{ … }
static void mt7601u_mac_stop_hw(struct mt7601u_dev *dev)
{ … }
void mt7601u_mac_stop(struct mt7601u_dev *dev)
{ … }
static void mt7601u_stop_hardware(struct mt7601u_dev *dev)
{ … }
int mt7601u_init_hardware(struct mt7601u_dev *dev)
{ … }
void mt7601u_cleanup(struct mt7601u_dev *dev)
{ … }
struct mt7601u_dev *mt7601u_alloc_device(struct device *pdev)
{ … }
#define CHAN2G(_idx, _freq) …
static const struct ieee80211_channel mt76_channels_2ghz[] = …;
#define CCK_RATE(_idx, _rate) …
#define OFDM_RATE(_idx, _rate) …
static struct ieee80211_rate mt76_rates[] = …;
static int
mt76_init_sband(struct mt7601u_dev *dev, struct ieee80211_supported_band *sband,
const struct ieee80211_channel *chan, int n_chan,
struct ieee80211_rate *rates, int n_rates)
{ … }
static int
mt76_init_sband_2g(struct mt7601u_dev *dev)
{ … }
int mt7601u_register_device(struct mt7601u_dev *dev)
{ … }