linux/drivers/net/wireless/mediatek/mt76/mt76x2/mcu.h

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

#ifndef __MT76x2_MCU_H
#define __MT76x2_MCU_H

#include "../mt76x02_mcu.h"

/* Register definitions */
#define MT_MCU_CPU_CTL
#define MT_MCU_CLOCK_CTL
#define MT_MCU_PCIE_REMAP_BASE1
#define MT_MCU_PCIE_REMAP_BASE2
#define MT_MCU_PCIE_REMAP_BASE3

#define MT_MCU_ROM_PATCH_OFFSET
#define MT_MCU_ROM_PATCH_ADDR

#define MT_MCU_ILM_OFFSET

#define MT_MCU_DLM_OFFSET
#define MT_MCU_DLM_ADDR
#define MT_MCU_DLM_ADDR_E3

enum mcu_calibration {};

enum mt76x2_mcu_cr_mode {};

struct mt76x2_tssi_comp {} __packed __aligned();

int mt76x2_mcu_tssi_comp(struct mt76x02_dev *dev,
			 struct mt76x2_tssi_comp *tssi_data);
int mt76x2_mcu_init_gain(struct mt76x02_dev *dev, u8 channel, u32 gain,
			 bool force);

#endif