linux/drivers/net/wireless/mediatek/mt7601u/eeprom.h

/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (C) 2014 Felix Fietkau <[email protected]>
 * Copyright (C) 2015 Jakub Kicinski <[email protected]>
 */

#ifndef __MT7601U_EEPROM_H
#define __MT7601U_EEPROM_H

struct mt7601u_dev;

#define MT7601U_EE_MAX_VER
#define MT7601U_EEPROM_SIZE

#define MT7601U_DEFAULT_TX_POWER

enum mt76_eeprom_field {};

#define MT_EE_NIC_CONF_0_RX_PATH
#define MT_EE_NIC_CONF_0_TX_PATH
#define MT_EE_NIC_CONF_0_BOARD_TYPE

#define MT_EE_NIC_CONF_1_HW_RF_CTRL
#define MT_EE_NIC_CONF_1_TEMP_TX_ALC
#define MT_EE_NIC_CONF_1_LNA_EXT_2G
#define MT_EE_NIC_CONF_1_LNA_EXT_5G
#define MT_EE_NIC_CONF_1_TX_ALC_EN

#define MT_EE_NIC_CONF_2_RX_STREAM
#define MT_EE_NIC_CONF_2_TX_STREAM
#define MT_EE_NIC_CONF_2_HW_ANTDIV
#define MT_EE_NIC_CONF_2_XTAL_OPTION
#define MT_EE_NIC_CONF_2_TEMP_DISABLE
#define MT_EE_NIC_CONF_2_COEX_METHOD

#define MT_EE_TX_POWER_BYRATE(i)

#define MT_EFUSE_USAGE_MAP_SIZE

enum mt7601u_eeprom_access_modes {};

struct power_per_rate  {};

/* Power per rate - one value per two rates */
struct mt7601u_rate_power {};

struct reg_channel_bounds {};

struct mt7601u_eeprom_params {};

int mt7601u_eeprom_init(struct mt7601u_dev *dev);

static inline u32 s6_validate(u32 reg)
{}

static inline int s6_to_int(u32 reg)
{}

static inline u32 int_to_s6(int val)
{}

#endif