#ifndef __MT7996_EEPROM_H
#define __MT7996_EEPROM_H
#include "mt7996.h"
enum mt7996_eeprom_field { … };
#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_CONF2_BAND_SEL …
#define MT_EE_WIFI_CONF1_TX_PATH_BAND0 …
#define MT_EE_WIFI_CONF2_TX_PATH_BAND1 …
#define MT_EE_WIFI_CONF2_TX_PATH_BAND2 …
#define MT_EE_WIFI_CONF3_RX_PATH_BAND0 …
#define MT_EE_WIFI_CONF3_RX_PATH_BAND1 …
#define MT_EE_WIFI_CONF4_RX_PATH_BAND2 …
#define MT_EE_WIFI_CONF4_STREAM_NUM_BAND0 …
#define MT_EE_WIFI_CONF5_STREAM_NUM_BAND1 …
#define MT_EE_WIFI_CONF5_STREAM_NUM_BAND2 …
#define MT_EE_RATE_DELTA_MASK …
#define MT_EE_RATE_DELTA_SIGN …
#define MT_EE_RATE_DELTA_EN …
enum mt7996_eeprom_band { … };
static inline int
mt7996_get_channel_group_5g(int channel)
{ … }
static inline int
mt7996_get_channel_group_6g(int channel)
{ … }
#endif