linux/drivers/net/wireless/mediatek/mt76/mt76x2/usb_mcu.c

// SPDX-License-Identifier: ISC
/*
 * Copyright (C) 2018 Lorenzo Bianconi <[email protected]>
 */

#include <linux/firmware.h>

#include "mt76x2u.h"
#include "eeprom.h"
#include "../mt76x02_usb.h"

#define MT_CMD_HDR_LEN

#define MCU_FW_URB_MAX_PAYLOAD
#define MCU_ROM_PATCH_MAX_PAYLOAD

#define MT76U_MCU_ILM_OFFSET
#define MT76U_MCU_DLM_OFFSET
#define MT76U_MCU_ROM_PATCH_OFFSET

static void mt76x2u_mcu_load_ivb(struct mt76x02_dev *dev)
{}

static void mt76x2u_mcu_enable_patch(struct mt76x02_dev *dev)
{}

static void mt76x2u_mcu_reset_wmt(struct mt76x02_dev *dev)
{}

static int mt76x2u_mcu_load_rom_patch(struct mt76x02_dev *dev)
{}

static int mt76x2u_mcu_load_firmware(struct mt76x02_dev *dev)
{}

int mt76x2u_mcu_fw_init(struct mt76x02_dev *dev)
{}

int mt76x2u_mcu_init(struct mt76x02_dev *dev)
{}