#include "base_datatype_def.txt"
typedef unsigned int uintptr_t;
typedef int intptr_t;
typedef signed char int8_t;
typedef signed short int16_t;
typedef signed int int32_t;
typedef signed long long int64_t;
typedef signed long long intmax_t;
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
typedef unsigned long long uint64_t;
typedef unsigned long long uintmax_t;
typedef int8_t int_fast8_t;
typedef int64_t int_fast64_t;
typedef int8_t int_least8_t;
typedef int16_t int_least16_t;
typedef int32_t int_least32_t;
typedef int64_t int_least64_t;
typedef uint8_t uint_fast8_t;
typedef uint64_t uint_fast64_t;
typedef uint8_t uint_least8_t;
typedef uint16_t uint_least16_t;
typedef uint32_t uint_least32_t;
typedef uint64_t uint_least64_t;
typedef int32_t int_fast16_t;
typedef int32_t int_fast32_t;
typedef uint32_t uint_fast16_t;
typedef uint32_t uint_fast32_t;
typedef struct {
    int8_t param1;
    int8_t param2;
    uint32_t param3;
    uint32_t param4;
    uint8_t param5;
} sample1_type_t;
typedef struct {
    uint8_t mac[6];
} mac_type_t;
typedef struct {
    uint8_t country[2];
} country_type_t;
typedef struct {
    int8_t xo_trim_temp_fine_code[8];
} xo_trim_temp_type_t;
typedef struct {
    uint32_t param1[6];
    uint32_t param2;
    uint8_t param3;
    sample1_type_t param4;
} sample3_type_t;
typedef struct {
    sample1_type_t param1;
    mac_type_t param2;
    sample3_type_t param3;
} sample4_type_t;
typedef struct {
    uint8_t rx_insert_loss[3];
} fe_rx_insert_loss_type_t;
typedef struct {
    uint8_t chip_max_power[1];
    uint8_t target_power[33];
    uint8_t limit_power[56];
    uint8_t sar_power[3];
} fe_tx_power_type_t;
typedef struct {
    uint8_t rx_rssi_comp[3];
} fe_rx_rssi_comp_type_t;
typedef struct {
    uint16_t ref_power[6];
} fe_tx_ref_power_type_t;
typedef struct {
    uint16_t power_curve[9];
} fe_tx_power_curve_type_t;
typedef struct {
    uint16_t curve_factor[6];
} fe_tx_curve_factor_type_t;
typedef struct {
    uint16_t cali_data_len;
    uint8_t cali_data_received;
    uint8_t data[1021];
} fe_cali_data_type_t;
typedef struct {
    uint8_t btc_max_txpower;
} btc_power_type_t;
