#include <linux/unaligned.h>
#include "mt76x02_eeprom.h"
static int
mt76x02_efuse_read(struct mt76x02_dev *dev, u16 addr, u8 *data,
enum mt76x02_eeprom_modes mode)
{ … }
int mt76x02_eeprom_copy(struct mt76x02_dev *dev,
enum mt76x02_eeprom_field field,
void *dest, int len)
{ … }
EXPORT_SYMBOL_GPL(…);
int mt76x02_get_efuse_data(struct mt76x02_dev *dev, u16 base, void *buf,
int len, enum mt76x02_eeprom_modes mode)
{ … }
EXPORT_SYMBOL_GPL(…);
void mt76x02_eeprom_parse_hw_cap(struct mt76x02_dev *dev)
{ … }
EXPORT_SYMBOL_GPL(…);
bool mt76x02_ext_pa_enabled(struct mt76x02_dev *dev, enum nl80211_band band)
{ … }
EXPORT_SYMBOL_GPL(…);
void mt76x02_get_rx_gain(struct mt76x02_dev *dev, enum nl80211_band band,
u16 *rssi_offset, s8 *lna_2g, s8 *lna_5g)
{ … }
EXPORT_SYMBOL_GPL(…);
u8 mt76x02_get_lna_gain(struct mt76x02_dev *dev,
s8 *lna_2g, s8 *lna_5g,
struct ieee80211_channel *chan)
{ … }
EXPORT_SYMBOL_GPL(…);