#ifndef __MT76x2_EEPROM_H
#define __MT76x2_EEPROM_H
#include "../mt76x02_eeprom.h"
enum mt76x2_cal_channel_group { … };
struct mt76x2_tx_power_info { … };
struct mt76x2_temp_comp { … };
void mt76x2_get_rate_power(struct mt76x02_dev *dev, struct mt76x02_rate_power *t,
struct ieee80211_channel *chan);
void mt76x2_get_power_info(struct mt76x02_dev *dev,
struct mt76x2_tx_power_info *t,
struct ieee80211_channel *chan);
int mt76x2_get_temp_comp(struct mt76x02_dev *dev, struct mt76x2_temp_comp *t);
void mt76x2_read_rx_gain(struct mt76x02_dev *dev);
static inline bool
mt76x2_has_ext_lna(struct mt76x02_dev *dev)
{ … }
static inline bool
mt76x2_temp_tx_alc_enabled(struct mt76x02_dev *dev)
{ … }
static inline bool
mt76x2_tssi_enabled(struct mt76x02_dev *dev)
{ … }
#endif