| #ifndef __IDC_NVRAM_DEF_H__ |
| #define __IDC_NVRAM_DEF_H__ |
| |
| #if defined(CHIP10992) |
| |
| |
| #ifdef __cplusplus |
| extern "C" |
| { |
| #endif /* __cplusplus */ |
| |
| #include "nvram_defs.h" |
| #include "nvram_enums.h" |
| |
| |
| // LID Enums |
| typedef enum |
| { |
| NVRAM_EF_IDC_NRTC_STATIC_INFO_LID = NVRAM_LID_GRP_IDC(0), |
| |
| NVRAM_EF_IDC_LAST_LID = NVRAM_LID_GRP_IDC(63) |
| }nvram_lid_idc_enum; |
| |
| |
| // Data Structure of Each LID |
| |
| /* psd_characteristics */ |
| typedef struct |
| { |
| kal_uint32 freq_offset; |
| kal_int32 power; |
| }nvram_idc_psd_tuples_struct; |
| |
| typedef struct |
| { |
| kal_uint32 interpolate_points_num; |
| nvram_idc_psd_tuples_struct psd_tuples; |
| }nvram_idc_nrtc_psd_characteristics_struct; |
| |
| /* filter_characteristics */ |
| typedef enum |
| { |
| NVRAM_IDC_FILTER_TYPE_RX = 0, |
| NVRAM_IDC_FILTER_TYPE_TX = 1, |
| NVRAM_IDC_FILTER_TYPE_NUM = 2 |
| }nvram_idc_filter_type_enum; |
| |
| typedef struct |
| { |
| kal_uint32 frequency; |
| kal_int32 attenuation; |
| }nvram_idc_filter_tuples_struct; |
| |
| typedef struct |
| { |
| nvram_idc_filter_type_enum filter_type; |
| kal_uint32 band; |
| kal_uint32 interpolate_points_num; |
| nvram_idc_filter_tuples_struct filter_tuples; |
| }nvram_idc_nrtc_filter_characteristics_struct; |
| |
| /* static_info */ |
| typedef struct |
| { |
| kal_int32 modem_noise_figure; |
| kal_int32 modem_max_tx_power; |
| nvram_idc_nrtc_psd_characteristics_struct modem_psd_characteristics; |
| |
| kal_uint32 filter_characteristics_element_count; |
| nvram_idc_nrtc_filter_characteristics_struct modem_filter_characteristics; |
| } nvram_ef_idc_nrtc_static_info_struct; |
| |
| |
| // VERNO |
| #define NVRAM_EF_IDC_NRTC_STATIC_INFO_LID_VERNO "000" |
| |
| |
| // HASH Key |
| #define NVRAM_EF_IDC_NRTC_STATIC_INFO_LID_HASH 0x96F146D0 |
| |
| |
| // Size and Total |
| #define NVRAM_EF_IDC_NRTC_STATIC_INFO_SIZE (sizeof(nvram_ef_idc_nrtc_static_info_struct)) |
| #define NVRAM_EF_IDC_NRTC_STATIC_INFO_TOTAL 1 |
| |
| |
| |
| #ifdef __cplusplus |
| } |
| #endif |
| #endif |
| |
| #endif /* __IDC_NVRAM_DEF_H__ */ |