rjw | 6c1fd8f | 2022-11-30 14:33:01 +0800 | [diff] [blame] | 1 | #ifndef _IDC_EL1RX_STR_H |
| 2 | #define _IDC_EL1RX_STR_H |
| 3 | |
| 4 | #include "kal_general_types.h" |
| 5 | #include "kal_public_defs.h" |
| 6 | #include "global_type.h" |
| 7 | #include "el1_comm_inter_category_public.h" |
| 8 | #include "idc_lte_def.h" |
| 9 | #include "idc_el1rx_enum.h" |
| 10 | #include "el1_enum.h" |
| 11 | #include "abs_time.h" |
| 12 | |
| 13 | typedef struct _el1_ch_idc_freq_ntf_struct |
| 14 | { |
| 15 | LOCAL_PARA_HDR |
| 16 | |
| 17 | EARFCN dlEarfcn[IDC_LTE_CC_NUM]; |
| 18 | EARFCN ulEarfcn[IDC_LTE_CC_NUM]; |
| 19 | LTE_BAND_E band[IDC_LTE_CC_NUM]; |
| 20 | #if ((defined(__IDC_ENABLED__)) && (defined (__IDC_NRTC_ENABLE__))) |
| 21 | el1_idc_power_class_enum powerclass[IDC_LTE_CC_NUM]; |
| 22 | #endif |
| 23 | el1_ch_idc_duplex_mode_enum duplexMode[IDC_LTE_CC_NUM]; |
| 24 | |
| 25 | kal_uint8 srv_num; |
| 26 | kal_uint8 dlBw[IDC_LTE_CC_NUM]; |
| 27 | kal_uint8 ulBw[IDC_LTE_CC_NUM]; |
| 28 | kal_uint16 dlFreq[IDC_LTE_CC_NUM]; |
| 29 | kal_uint16 ulFreq[IDC_LTE_CC_NUM]; |
| 30 | }el1_ch_idc_freq_ntf_struct; |
| 31 | |
| 32 | typedef struct _el1_ch_idc_frame_cfg_ntf_struct |
| 33 | { |
| 34 | LOCAL_PARA_HDR |
| 35 | |
| 36 | kal_uint8 srv_num; |
| 37 | kal_uint8 ulDlCfg[IDC_LTE_CC_NUM]; |
| 38 | kal_uint8 specialSubframeCfg[IDC_LTE_CC_NUM]; |
| 39 | kal_bool isNormalCp[IDC_LTE_CC_NUM]; |
| 40 | }el1_ch_idc_frame_cfg_ntf_struct; |
| 41 | |
| 42 | typedef struct _el1_ch_idc_sch_ntf_struct |
| 43 | { |
| 44 | LOCAL_PARA_HDR |
| 45 | |
| 46 | kal_bool enterSch; |
| 47 | }el1_ch_idc_sch_ntf_struct; |
| 48 | |
| 49 | typedef struct _el1_ch_idc_drx_config_ntf_struct |
| 50 | { |
| 51 | LOCAL_PARA_HDR |
| 52 | |
| 53 | kal_bool isNoDRX; |
| 54 | kal_uint16 onDuration; |
| 55 | kal_uint16 startOffst; |
| 56 | kal_uint16 shortDrxCycle; |
| 57 | kal_uint16 longDrxCycle; |
| 58 | el1_ch_idc_drx_type_enum drxType; |
| 59 | }el1_ch_idc_drx_config_ntf_struct; |
| 60 | |
| 61 | typedef struct _el1_ch_idc_ho_ntf_struct |
| 62 | { |
| 63 | LOCAL_PARA_HDR |
| 64 | |
| 65 | kal_bool isHO; |
| 66 | }el1_ch_idc_ho_ntf_struct; |
| 67 | |
| 68 | typedef struct _idc_el1_phs_rx_protect_status_struct |
| 69 | { |
| 70 | LTE_SIM_INDEX sim_index; |
| 71 | kal_bool active; |
| 72 | kal_uint8 ccIndex; |
| 73 | kal_uint16 freq; |
| 74 | idc_el1_phs_rx_protect_type_enum type; |
| 75 | }idc_el1_phs_rx_protect_status_struct; |
| 76 | |
| 77 | typedef struct _el1_phs_idc_psim_swap_req_struct |
| 78 | { |
| 79 | LOCAL_PARA_HDR |
| 80 | |
| 81 | LTE_SIM_INDEX new_psim_index; |
| 82 | }el1_phs_idc_psim_swap_req_struct; |
| 83 | |
| 84 | typedef struct _idc_el1_phs_rx_gap_susp_req_struct |
| 85 | { |
| 86 | LOCAL_PARA_HDR |
| 87 | |
| 88 | kal_uint8 seq_num; |
| 89 | idc_el1_phs_rx_status_enum rx_status[IDC_LTE_CC_NUM]; |
| 90 | ABS_TICK_TIME gap_endTime[IDC_LTE_CC_NUM]; |
| 91 | }idc_el1_phs_rx_gap_susp_req_struct; |
| 92 | |
| 93 | typedef struct _idc_el1_phs_rx_gap_resu_ind_struct |
| 94 | { |
| 95 | LOCAL_PARA_HDR |
| 96 | |
| 97 | kal_uint8 seq_num; |
| 98 | idc_el1_phs_rx_status_enum rx_status[IDC_LTE_CC_NUM]; |
| 99 | }idc_el1_phs_rx_gap_resu_ind_struct; |
| 100 | |
| 101 | typedef struct _el1_phs_idc_rx_gap_susp_cnf_struct |
| 102 | { |
| 103 | LOCAL_PARA_HDR |
| 104 | |
| 105 | kal_uint8 ack_num; |
| 106 | el1_phs_idc_cnf_status_enum cnf_status; |
| 107 | }el1_phs_idc_rx_gap_susp_cnf_struct; |
| 108 | |
| 109 | typedef struct _idc_el1_phs_wifi_5g_status_ind_struct |
| 110 | { |
| 111 | LOCAL_PARA_HDR |
| 112 | |
| 113 | kal_bool wifi_5g_status; |
| 114 | }idc_el1_phs_wifi_5g_status_ind_struct; |
| 115 | |
| 116 | typedef struct _el1_irt_idc_actv_ntf_struct |
| 117 | { |
| 118 | LOCAL_PARA_HDR |
| 119 | |
| 120 | el1_idc_rat_status_enum lte_rat_status; |
| 121 | el1_rat_set_cause_enum cause; |
| 122 | }el1_irt_idc_actv_ntf_struct; |
| 123 | |
| 124 | typedef struct _idc_el1_phs_psim_swap_cnf_struct |
| 125 | { |
| 126 | LOCAL_PARA_HDR |
| 127 | |
| 128 | LTE_SIM_INDEX sim_index; |
| 129 | }idc_el1_phs_psim_swap_cnf_struct; |
| 130 | #if ((defined(__IDC_ENABLED__)) && (defined (__IDC_NRTC_ENABLE__))) |
| 131 | typedef struct _idc_el1_nrtc_tx_power_breach_threshold_ind_struct |
| 132 | { |
| 133 | LOCAL_PARA_HDR |
| 134 | kal_uint8 cc_idx; |
| 135 | kal_bool breachThreshold; |
| 136 | }idc_el1_nrtc_tx_power_breach_threshold_ind_struct; |
| 137 | #endif |
| 138 | #endif |