#ifndef __RTW8814A_H__
#define __RTW8814A_H__
struct rtw8814au_efuse {
u8 vid[2];
u8 pid[2];
u8 res[4];
u8 mac_addr[ETH_ALEN];
} __packed;
struct rtw8814ae_efuse {
u8 mac_addr[ETH_ALEN];
u8 vid[2];
u8 did[2];
u8 svid[2];
u8 smid[2];
} __packed;
struct rtw8814a_efuse {
__le16 rtl_id;
u8 res0[0x0c];
u8 usb_mode;
u8 res1;
struct rtw_txpwr_idx txpwr_idx_table[4];
u8 channel_plan;
u8 xtal_k;
u8 thermal_meter;
u8 iqk_lck;
u8 pa_type;
u8 lna_type_2g[2];
u8 lna_type_5g[2];
u8 rf_board_option;
u8 res2;
u8 rf_bt_setting;
u8 eeprom_version;
u8 eeprom_customer_id;
u8 tx_bb_swing_setting_2g;
u8 tx_bb_swing_setting_5g;
u8 res3;
u8 trx_antenna_option;
u8 rfe_option;
u8 country_code[2];
u8 res4[3];
union {
struct rtw8814au_efuse u;
struct rtw8814ae_efuse e;
};
u8 res5[0x122];
} __packed;
static_assert(sizeof(struct rtw8814a_efuse) == 512);
extern const struct rtw_chip_info rtw8814a_hw_spec;
#endif