#include <linux/kernel.h>
#include <linux/irq.h>
#include "mt76x02.h"
#include "mt76x02_mcu.h"
#include "trace.h"
static void mt76x02_pre_tbtt_tasklet(struct tasklet_struct *t)
{ … }
static void mt76x02e_pre_tbtt_enable(struct mt76x02_dev *dev, bool en)
{ … }
static void mt76x02e_beacon_enable(struct mt76x02_dev *dev, bool en)
{ … }
void mt76x02e_init_beacon_config(struct mt76x02_dev *dev)
{ … }
EXPORT_SYMBOL_GPL(…);
static int
mt76x02_init_rx_queue(struct mt76x02_dev *dev, struct mt76_queue *q,
int idx, int n_desc, int bufsize)
{ … }
static void mt76x02_process_tx_status_fifo(struct mt76x02_dev *dev)
{ … }
static void mt76x02_tx_worker(struct mt76_worker *w)
{ … }
static int mt76x02_poll_tx(struct napi_struct *napi, int budget)
{ … }
int mt76x02_dma_init(struct mt76x02_dev *dev)
{ … }
EXPORT_SYMBOL_GPL(…);
void mt76x02_rx_poll_complete(struct mt76_dev *mdev, enum mt76_rxq_id q)
{ … }
EXPORT_SYMBOL_GPL(…);
irqreturn_t mt76x02_irq_handler(int irq, void *dev_instance)
{ … }
EXPORT_SYMBOL_GPL(…);
static void mt76x02_dma_enable(struct mt76x02_dev *dev)
{ … }
void mt76x02_dma_disable(struct mt76x02_dev *dev)
{ … }
EXPORT_SYMBOL_GPL(…);
void mt76x02_mac_start(struct mt76x02_dev *dev)
{ … }
EXPORT_SYMBOL_GPL(…);
static bool mt76x02_tx_hang(struct mt76x02_dev *dev)
{ … }
static void mt76x02_key_sync(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
struct ieee80211_sta *sta,
struct ieee80211_key_conf *key, void *data)
{ … }
static void mt76x02_reset_state(struct mt76x02_dev *dev)
{ … }
static void mt76x02_watchdog_reset(struct mt76x02_dev *dev)
{ … }
void mt76x02_reconfig_complete(struct ieee80211_hw *hw,
enum ieee80211_reconfig_type reconfig_type)
{ … }
EXPORT_SYMBOL_GPL(…);
static void mt76x02_check_tx_hang(struct mt76x02_dev *dev)
{ … }
void mt76x02_wdt_work(struct work_struct *work)
{ … }