#include <linux/firmware.h>
#include "mt7603.h"
#include "mcu.h"
#include "eeprom.h"
#define MCU_SKB_RESERVE …
struct mt7603_fw_trailer { … } __packed;
static int
mt7603_mcu_parse_response(struct mt76_dev *mdev, int cmd,
struct sk_buff *skb, int seq)
{ … }
static int
mt7603_mcu_skb_send_msg(struct mt76_dev *mdev, struct sk_buff *skb,
int cmd, int *wait_seq)
{ … }
static int
mt7603_mcu_init_download(struct mt7603_dev *dev, u32 addr, u32 len)
{ … }
static int
mt7603_mcu_start_firmware(struct mt7603_dev *dev, u32 addr)
{ … }
static int
mt7603_mcu_restart(struct mt76_dev *dev)
{ … }
static int mt7603_load_firmware(struct mt7603_dev *dev)
{ … }
int mt7603_mcu_init(struct mt7603_dev *dev)
{ … }
void mt7603_mcu_exit(struct mt7603_dev *dev)
{ … }
int mt7603_mcu_set_eeprom(struct mt7603_dev *dev)
{ … }
static int mt7603_mcu_set_tx_power(struct mt7603_dev *dev)
{ … }
int mt7603_mcu_set_channel(struct mt7603_dev *dev)
{ … }