linux/drivers/net/wireless/mediatek/mt76/mt7915/eeprom.h

/* SPDX-License-Identifier: ISC */
/* Copyright (C) 2020 MediaTek Inc. */

#ifndef __MT7915_EEPROM_H
#define __MT7915_EEPROM_H

#include "mt7915.h"

struct cal_data {};

enum mt7915_eeprom_field {};

#define MT_EE_WIFI_CAL_GROUP
#define MT_EE_WIFI_CAL_DPD_2G
#define MT_EE_WIFI_CAL_DPD_5G
#define MT_EE_WIFI_CAL_DPD_6G
#define MT_EE_WIFI_CAL_DPD
#define MT_EE_CAL_UNIT
#define MT_EE_CAL_GROUP_SIZE_7915
#define MT_EE_CAL_GROUP_SIZE_7916
#define MT_EE_CAL_GROUP_SIZE_7975
#define MT_EE_CAL_GROUP_SIZE_7976
#define MT_EE_CAL_GROUP_SIZE_7916_6G
#define MT_EE_CAL_DPD_SIZE_V1
#define MT_EE_CAL_DPD_SIZE_V2
#define MT_EE_CAL_DPD_SIZE_V2_7981

#define MT_EE_WIFI_CONF0_TX_PATH
#define MT_EE_WIFI_CONF0_BAND_SEL
#define MT_EE_WIFI_CONF1_BAND_SEL
#define MT_EE_WIFI_CONF_STREAM_NUM
#define MT_EE_WIFI_CONF3_TX_PATH_B0
#define MT_EE_WIFI_CONF3_TX_PATH_B1
#define MT_EE_WIFI_CONF7_TSSI0_2G
#define MT_EE_WIFI_CONF7_TSSI0_5G
#define MT_EE_WIFI_CONF7_TSSI1_5G

#define MT_EE_RATE_DELTA_MASK
#define MT_EE_RATE_DELTA_SIGN
#define MT_EE_RATE_DELTA_EN

enum mt7915_adie_sku {};

enum mt7915_eeprom_band {};

enum {};

enum mt7915_sku_rate_group {};

static inline int
mt7915_get_channel_group_5g(int channel, bool is_7976)
{}

static inline int
mt7915_get_channel_group_6g(int channel)
{}

static inline bool
mt7915_tssi_enabled(struct mt7915_dev *dev, enum nl80211_band band)
{}

static inline u32
mt7915_get_cal_group_size(struct mt7915_dev *dev)
{}

static inline u32
mt7915_get_cal_dpd_size(struct mt7915_dev *dev)
{}

extern const u8 mt7915_sku_group_len[MAX_SKU_RATE_GROUP_NUM];

#endif