/* * Copyright 2013-2020 Software Radio Systems Limited * * This file is part of srsLTE. * * srsLTE is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * srsLTE is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * A copy of the GNU Affero General Public License can be found in * the LICENSE file in the top-level directory of this distribution * and at http://www.gnu.org/licenses/. * */ /******************************************************************************* * * 3GPP TS ASN1 RRC v15.11.0 (2020-09) * ******************************************************************************/ #ifndef SRSASN1_RRC_DLDCCH_MSG_H #define SRSASN1_RRC_DLDCCH_MSG_H #include "dl_ccch_msg.h" #include "security.h" #include "si.h" #include "uecap.h" namespace asn1 { namespace rrc { /******************************************************************************* * Struct Definitions ******************************************************************************/ // SCellConfigCommon-r15 ::= SEQUENCE struct scell_cfg_common_r15_s { bool rr_cfg_common_scell_r15_present = false; bool rr_cfg_ded_scell_r15_present = false; bool ant_info_ded_scell_r15_present = false; rr_cfg_common_scell_r10_s rr_cfg_common_scell_r15; rr_cfg_ded_scell_r10_s rr_cfg_ded_scell_r15; ant_info_ded_v10i0_s ant_info_ded_scell_r15; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // SCellToReleaseListExt-r13 ::= SEQUENCE (SIZE (1..31)) OF INTEGER (1..31) using scell_to_release_list_ext_r13_l = bounded_array; // SL-DiscTxPoolToAddMod-r12 ::= SEQUENCE struct sl_disc_tx_pool_to_add_mod_r12_s { uint8_t pool_id_r12 = 1; sl_disc_res_pool_r12_s pool_r12; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // SL-TF-IndexPair-r12b ::= SEQUENCE struct sl_tf_idx_pair_r12b_s { bool disc_sf_idx_r12b_present = false; bool disc_prb_idx_r12b_present = false; uint8_t disc_sf_idx_r12b = 0; uint8_t disc_prb_idx_r12b = 0; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // SCellGroupToAddMod-r15 ::= SEQUENCE struct scell_group_to_add_mod_r15_s { bool scell_cfg_common_r15_present = false; bool scell_to_release_list_r15_present = false; bool scell_to_add_mod_list_r15_present = false; uint8_t scell_group_idx_r15 = 1; scell_cfg_common_r15_s scell_cfg_common_r15; scell_to_release_list_ext_r13_l scell_to_release_list_r15; scell_to_add_mod_list_ext_r13_l scell_to_add_mod_list_r15; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // SL-DiscTxPoolToAddModList-r12 ::= SEQUENCE (SIZE (1..4)) OF SL-DiscTxPoolToAddMod-r12 using sl_disc_tx_pool_to_add_mod_list_r12_l = dyn_array; // SL-HoppingConfigDisc-r12 ::= SEQUENCE struct sl_hop_cfg_disc_r12_s { struct c_r12_opts { enum options { n1, n5, nulltype } value; typedef uint8_t number_type; std::string to_string() const; uint8_t to_number() const; }; typedef enumerated c_r12_e_; // member variables uint8_t a_r12 = 1; uint8_t b_r12 = 1; c_r12_e_ c_r12; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // SL-TF-IndexPairList-r12b ::= SEQUENCE (SIZE (1..64)) OF SL-TF-IndexPair-r12b using sl_tf_idx_pair_list_r12b_l = dyn_array; // SL-TxPoolToReleaseList-r12 ::= SEQUENCE (SIZE (1..4)) OF INTEGER (1..4) using sl_tx_pool_to_release_list_r12_l = bounded_array; // IKE-Identity-r13 ::= SEQUENCE struct ike_id_r13_s { dyn_octstring id_i_r13; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // IP-Address-r13 ::= CHOICE struct ip_address_r13_c { struct types_opts { enum options { ipv4_r13, ipv6_r13, nulltype } value; typedef uint8_t number_type; std::string to_string() const; uint8_t to_number() const; }; typedef enumerated types; // choice methods ip_address_r13_c() = default; ip_address_r13_c(const ip_address_r13_c& other); ip_address_r13_c& operator=(const ip_address_r13_c& other); ~ip_address_r13_c() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters fixed_bitstring<32>& ipv4_r13() { assert_choice_type("ipv4-r13", type_.to_string(), "IP-Address-r13"); return c.get >(); } fixed_bitstring<128>& ipv6_r13() { assert_choice_type("ipv6-r13", type_.to_string(), "IP-Address-r13"); return c.get >(); } const fixed_bitstring<32>& ipv4_r13() const { assert_choice_type("ipv4-r13", type_.to_string(), "IP-Address-r13"); return c.get >(); } const fixed_bitstring<128>& ipv6_r13() const { assert_choice_type("ipv6-r13", type_.to_string(), "IP-Address-r13"); return c.get >(); } fixed_bitstring<32>& set_ipv4_r13() { set(types::ipv4_r13); return c.get >(); } fixed_bitstring<128>& set_ipv6_r13() { set(types::ipv6_r13); return c.get >(); } private: types type_; choice_buffer_t > c; void destroy_(); }; // PhysicalConfigDedicated-v1370 ::= SEQUENCE struct phys_cfg_ded_v1370_s { bool pucch_cfg_ded_v1370_present = false; pucch_cfg_ded_v1370_s pucch_cfg_ded_v1370; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RAN-AreaConfig-r15 ::= SEQUENCE struct ran_area_cfg_r15_s { using ran_area_code_list_r15_l_ = bounded_array; // member variables bool ran_area_code_list_r15_present = false; fixed_bitstring<24> tac_minus5_gc_r15; ran_area_code_list_r15_l_ ran_area_code_list_r15; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RadioResourceConfigCommonSCell-v1440 ::= SEQUENCE struct rr_cfg_common_scell_v1440_s { struct ul_cfg_v1440_s_ { struct ul_freq_info_v1440_s_ { uint16_t add_spec_emission_scell_v1440 = 33; }; // member variables ul_freq_info_v1440_s_ ul_freq_info_v1440; }; // member variables ul_cfg_v1440_s_ ul_cfg_v1440; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // SCellGroupToAddModList-r15 ::= SEQUENCE (SIZE (1..4)) OF SCellGroupToAddMod-r15 using scell_group_to_add_mod_list_r15_l = dyn_array; // SCellGroupToReleaseList-r15 ::= SEQUENCE (SIZE (1..4)) OF INTEGER (1..4) using scell_group_to_release_list_r15_l = bounded_array; // SL-DiscTxConfigScheduled-r13 ::= SEQUENCE struct sl_disc_tx_cfg_sched_r13_s { bool ext = false; bool disc_tx_cfg_r13_present = false; bool disc_tf_idx_list_r13_present = false; bool disc_hop_cfg_r13_present = false; sl_disc_res_pool_r12_s disc_tx_cfg_r13; sl_tf_idx_pair_list_r12b_l disc_tf_idx_list_r13; sl_hop_cfg_disc_r12_s disc_hop_cfg_r13; // ... // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // SL-DiscTxPoolDedicated-r13 ::= SEQUENCE struct sl_disc_tx_pool_ded_r13_s { bool pool_to_release_list_r13_present = false; bool pool_to_add_mod_list_r13_present = false; sl_tx_pool_to_release_list_r12_l pool_to_release_list_r13; sl_disc_tx_pool_to_add_mod_list_r12_l pool_to_add_mod_list_r13; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // SL-TxPoolToAddMod-r14 ::= SEQUENCE struct sl_tx_pool_to_add_mod_r14_s { uint8_t pool_id_r14 = 1; sl_comm_res_pool_v2x_r14_s pool_r14; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // UplinkPowerControlCommonPSCell-r12 ::= SEQUENCE struct ul_pwr_ctrl_common_ps_cell_r12_s { struct delta_f_pucch_format3_r12_opts { enum options { delta_f_minus1, delta_f0, delta_f1, delta_f2, delta_f3, delta_f4, delta_f5, delta_f6, nulltype } value; typedef int8_t number_type; std::string to_string() const; int8_t to_number() const; }; typedef enumerated delta_f_pucch_format3_r12_e_; struct delta_f_pucch_format1b_cs_r12_opts { enum options { delta_f1, delta_f2, spare2, spare1, nulltype } value; typedef uint8_t number_type; std::string to_string() const; uint8_t to_number() const; }; typedef enumerated delta_f_pucch_format1b_cs_r12_e_; // member variables delta_f_pucch_format3_r12_e_ delta_f_pucch_format3_r12; delta_f_pucch_format1b_cs_r12_e_ delta_f_pucch_format1b_cs_r12; int8_t p0_nominal_pucch_r12 = -127; delta_flist_pucch_s delta_flist_pucch_r12; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // WLAN-SuspendConfig-r14 ::= SEQUENCE struct wlan_suspend_cfg_r14_s { bool wlan_suspend_resume_allowed_r14_present = false; bool wlan_suspend_triggers_status_report_r14_present = false; bool wlan_suspend_resume_allowed_r14 = false; bool wlan_suspend_triggers_status_report_r14 = false; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // LogicalChGroupInfoList-r13 ::= SEQUENCE (SIZE (1..4)) OF SL-PriorityList-r13 using lc_ch_group_info_list_r13_l = dyn_array; // LogicalChGroupInfoList-v1530 ::= SEQUENCE (SIZE (1..4)) OF SL-ReliabilityList-r15 using lc_ch_group_info_list_v1530_l = dyn_array; // MAC-MainConfigSL-r12 ::= SEQUENCE struct mac_main_cfg_sl_r12_s { bool periodic_bsr_timer_sl_present = false; periodic_bsr_timer_r12_e periodic_bsr_timer_sl; retx_bsr_timer_r12_e retx_bsr_timer_sl; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // PLMN-RAN-AreaCell-r15 ::= SEQUENCE struct plmn_ran_area_cell_r15_s { using ran_area_cells_r15_l_ = bounded_array, 32>; // member variables bool plmn_id_r15_present = false; plmn_id_s plmn_id_r15; ran_area_cells_r15_l_ ran_area_cells_r15; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // PLMN-RAN-AreaConfig-r15 ::= SEQUENCE struct plmn_ran_area_cfg_r15_s { using ran_area_r15_l_ = dyn_array; // member variables bool plmn_id_r15_present = false; plmn_id_s plmn_id_r15; ran_area_r15_l_ ran_area_r15; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RRCConnectionReconfiguration-v1530-IEs ::= SEQUENCE struct rrc_conn_recfg_v1530_ies_s { using ded_info_nas_list_r15_l_ = bounded_array; // member variables bool security_cfg_ho_v1530_present = false; bool scell_group_to_release_list_r15_present = false; bool scell_group_to_add_mod_list_r15_present = false; bool ded_info_nas_list_r15_present = false; bool p_max_ue_fr1_r15_present = false; bool smtc_r15_present = false; bool non_crit_ext_present = false; security_cfg_ho_v1530_s security_cfg_ho_v1530; scell_group_to_release_list_r15_l scell_group_to_release_list_r15; scell_group_to_add_mod_list_r15_l scell_group_to_add_mod_list_r15; ded_info_nas_list_r15_l_ ded_info_nas_list_r15; int8_t p_max_ue_fr1_r15 = -30; mtc_ssb_nr_r15_s smtc_r15; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RadioResourceConfigCommonPSCell-r12 ::= SEQUENCE struct rr_cfg_common_ps_cell_r12_s { bool ext = false; rr_cfg_common_scell_r10_s basic_fields_r12; pucch_cfg_common_s pucch_cfg_common_r12; rach_cfg_common_s rach_cfg_common_r12; ul_pwr_ctrl_common_ps_cell_r12_s ul_pwr_ctrl_common_ps_cell_r12; // ... // group 0 copy_ptr ul_pwr_ctrl_common_ps_cell_v1310; // group 1 copy_ptr ul_pwr_ctrl_common_ps_cell_v1530; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RadioResourceConfigCommonPSCell-v12f0 ::= SEQUENCE struct rr_cfg_common_ps_cell_v12f0_s { rr_cfg_common_scell_v10l0_s basic_fields_v12f0; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RadioResourceConfigCommonPSCell-v1440 ::= SEQUENCE struct rr_cfg_common_ps_cell_v1440_s { rr_cfg_common_scell_v1440_s basic_fields_v1440; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RadioResourceConfigDedicatedPSCell-r12 ::= SEQUENCE struct rr_cfg_ded_ps_cell_r12_s { bool ext = false; bool phys_cfg_ded_ps_cell_r12_present = false; bool sps_cfg_r12_present = false; bool naics_info_r12_present = false; phys_cfg_ded_s phys_cfg_ded_ps_cell_r12; sps_cfg_s sps_cfg_r12; naics_assist_info_r12_c naics_info_r12; // ... // group 0 copy_ptr neigh_cells_crs_info_ps_cell_r13; // group 1 copy_ptr sps_cfg_v1430; // group 2 bool crs_intf_mitig_enabled_r15_present = false; copy_ptr sps_cfg_v1530; bool crs_intf_mitig_enabled_r15 = false; copy_ptr neigh_cells_crs_info_r15; // group 3 copy_ptr sps_cfg_v1540; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RadioResourceConfigDedicatedPSCell-v1370 ::= SEQUENCE struct rr_cfg_ded_ps_cell_v1370_s { bool phys_cfg_ded_ps_cell_v1370_present = false; phys_cfg_ded_v1370_s phys_cfg_ded_ps_cell_v1370; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RadioResourceConfigDedicatedPSCell-v13c0 ::= SEQUENCE struct rr_cfg_ded_ps_cell_v13c0_s { phys_cfg_ded_v13c0_s phys_cfg_ded_ps_cell_v13c0; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // SCG-ConfigPartSCG-v13c0 ::= SEQUENCE struct scg_cfg_part_scg_v13c0_s { bool scell_to_add_mod_list_scg_v13c0_present = false; bool scell_to_add_mod_list_scg_ext_v13c0_present = false; scell_to_add_mod_list_v13c0_l scell_to_add_mod_list_scg_v13c0; scell_to_add_mod_list_ext_v13c0_l scell_to_add_mod_list_scg_ext_v13c0; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // SL-DiscTxRefCarrierDedicated-r13 ::= CHOICE struct sl_disc_tx_ref_carrier_ded_r13_c { struct types_opts { enum options { pcell, scell, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods sl_disc_tx_ref_carrier_ded_r13_c() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters uint8_t& scell() { assert_choice_type("sCell", type_.to_string(), "SL-DiscTxRefCarrierDedicated-r13"); return c; } const uint8_t& scell() const { assert_choice_type("sCell", type_.to_string(), "SL-DiscTxRefCarrierDedicated-r13"); return c; } uint8_t& set_scell() { set(types::scell); return c; } private: types type_; uint8_t c; }; // SL-DiscTxResource-r13 ::= CHOICE struct sl_disc_tx_res_r13_c { struct setup_c_ { struct types_opts { enum options { sched_r13, ue_sel_r13, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods setup_c_() = default; setup_c_(const setup_c_& other); setup_c_& operator=(const setup_c_& other); ~setup_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters sl_disc_tx_cfg_sched_r13_s& sched_r13() { assert_choice_type("scheduled-r13", type_.to_string(), "setup"); return c.get(); } sl_disc_tx_pool_ded_r13_s& ue_sel_r13() { assert_choice_type("ue-Selected-r13", type_.to_string(), "setup"); return c.get(); } const sl_disc_tx_cfg_sched_r13_s& sched_r13() const { assert_choice_type("scheduled-r13", type_.to_string(), "setup"); return c.get(); } const sl_disc_tx_pool_ded_r13_s& ue_sel_r13() const { assert_choice_type("ue-Selected-r13", type_.to_string(), "setup"); return c.get(); } sl_disc_tx_cfg_sched_r13_s& set_sched_r13() { set(types::sched_r13); return c.get(); } sl_disc_tx_pool_ded_r13_s& set_ue_sel_r13() { set(types::ue_sel_r13); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; typedef setup_e types; // choice methods sl_disc_tx_res_r13_c() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters setup_c_& setup() { assert_choice_type("setup", type_.to_string(), "SL-DiscTxResource-r13"); return c; } const setup_c_& setup() const { assert_choice_type("setup", type_.to_string(), "SL-DiscTxResource-r13"); return c; } setup_c_& set_setup() { set(types::setup); return c; } private: types type_; setup_c_ c; }; // SL-TxPoolToAddModListV2X-r14 ::= SEQUENCE (SIZE (1..8)) OF SL-TxPoolToAddMod-r14 using sl_tx_pool_to_add_mod_list_v2x_r14_l = dyn_array; // SL-TxPoolToReleaseListV2X-r14 ::= SEQUENCE (SIZE (1..8)) OF INTEGER (1..8) using sl_tx_pool_to_release_list_v2x_r14_l = bounded_array; // SubframeAssignment-r15 ::= ENUMERATED struct sf_assign_r15_opts { enum options { sa0, sa1, sa2, sa3, sa4, sa5, sa6, nulltype } value; typedef uint8_t number_type; std::string to_string() const; uint8_t to_number() const; }; typedef enumerated sf_assign_r15_e; // TunnelConfigLWIP-r13 ::= SEQUENCE struct tunnel_cfg_lwip_r13_s { bool ext = false; ip_address_r13_c ip_address_r13; ike_id_r13_s ike_id_r13; // ... // group 0 bool lwip_counter_r13_present = false; uint32_t lwip_counter_r13 = 0; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // WLAN-MobilityConfig-r13 ::= SEQUENCE struct wlan_mob_cfg_r13_s { struct assoc_timer_r13_opts { enum options { s10, s30, s60, s120, s240, nulltype } value; typedef uint8_t number_type; std::string to_string() const; uint8_t to_number() const; }; typedef enumerated assoc_timer_r13_e_; // member variables bool ext = false; bool wlan_to_release_list_r13_present = false; bool wlan_to_add_list_r13_present = false; bool assoc_timer_r13_present = false; bool success_report_requested_r13_present = false; wlan_id_list_r13_l wlan_to_release_list_r13; wlan_id_list_r13_l wlan_to_add_list_r13; assoc_timer_r13_e_ assoc_timer_r13; // ... // group 0 copy_ptr wlan_suspend_cfg_r14; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // LWA-Config-r13 ::= SEQUENCE struct lwa_cfg_r13_s { bool ext = false; bool lwa_mob_cfg_r13_present = false; bool lwa_wt_counter_r13_present = false; wlan_mob_cfg_r13_s lwa_mob_cfg_r13; uint32_t lwa_wt_counter_r13 = 0; // ... // group 0 bool wt_mac_address_r14_present = false; fixed_octstring<6> wt_mac_address_r14; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // LWIP-Config-r13 ::= SEQUENCE struct lwip_cfg_r13_s { bool ext = false; bool lwip_mob_cfg_r13_present = false; bool tunnel_cfg_lwip_r13_present = false; wlan_mob_cfg_r13_s lwip_mob_cfg_r13; tunnel_cfg_lwip_r13_s tunnel_cfg_lwip_r13; // ... // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // MobilityControlInfoSCG-r12 ::= SEQUENCE struct mob_ctrl_info_scg_r12_s { struct t307_r12_opts { enum options { ms50, ms100, ms150, ms200, ms500, ms1000, ms2000, spare1, nulltype } value; typedef uint16_t number_type; std::string to_string() const; uint16_t to_number() const; }; typedef enumerated t307_r12_e_; // member variables bool ext = false; bool ue_id_scg_r12_present = false; bool rach_cfg_ded_r12_present = false; bool ciphering_algorithm_scg_r12_present = false; t307_r12_e_ t307_r12; fixed_bitstring<16> ue_id_scg_r12; rach_cfg_ded_s rach_cfg_ded_r12; ciphering_algorithm_r12_e ciphering_algorithm_scg_r12; // ... // group 0 bool make_before_break_scg_r14_present = false; copy_ptr rach_skip_scg_r14; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // PLMN-RAN-AreaCellList-r15 ::= SEQUENCE (SIZE (1..8)) OF PLMN-RAN-AreaCell-r15 using plmn_ran_area_cell_list_r15_l = dyn_array; // PLMN-RAN-AreaConfigList-r15 ::= SEQUENCE (SIZE (1..8)) OF PLMN-RAN-AreaConfig-r15 using plmn_ran_area_cfg_list_r15_l = dyn_array; // PSCellToAddMod-r12 ::= SEQUENCE struct ps_cell_to_add_mod_r12_s { struct cell_identif_r12_s_ { uint16_t pci_r12 = 0; uint32_t dl_carrier_freq_r12 = 0; }; // member variables bool ext = false; bool cell_identif_r12_present = false; bool rr_cfg_common_ps_cell_r12_present = false; bool rr_cfg_ded_ps_cell_r12_present = false; uint8_t scell_idx_r12 = 1; cell_identif_r12_s_ cell_identif_r12; rr_cfg_common_ps_cell_r12_s rr_cfg_common_ps_cell_r12; rr_cfg_ded_ps_cell_r12_s rr_cfg_ded_ps_cell_r12; // ... // group 0 copy_ptr ant_info_ded_ps_cell_v1280; // group 1 bool scell_idx_r13_present = false; uint8_t scell_idx_r13 = 1; // group 2 copy_ptr rr_cfg_ded_ps_cell_v1370; // group 3 copy_ptr rr_cfg_ded_ps_cell_v13c0; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // PSCellToAddMod-v12f0 ::= SEQUENCE struct ps_cell_to_add_mod_v12f0_s { bool rr_cfg_common_ps_cell_r12_present = false; rr_cfg_common_ps_cell_v12f0_s rr_cfg_common_ps_cell_r12; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // PSCellToAddMod-v1440 ::= SEQUENCE struct ps_cell_to_add_mod_v1440_s { bool rr_cfg_common_ps_cell_r14_present = false; rr_cfg_common_ps_cell_v1440_s rr_cfg_common_ps_cell_r14; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RCLWI-Config-r13 ::= SEQUENCE struct rclwi_cfg_r13_s { struct cmd_c_ { struct steer_to_wlan_r13_s_ { wlan_id_list_r12_l mob_cfg_r13; }; struct types_opts { enum options { steer_to_wlan_r13, steer_to_lte_r13, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods cmd_c_() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters steer_to_wlan_r13_s_& steer_to_wlan_r13() { assert_choice_type("steerToWLAN-r13", type_.to_string(), "command"); return c; } const steer_to_wlan_r13_s_& steer_to_wlan_r13() const { assert_choice_type("steerToWLAN-r13", type_.to_string(), "command"); return c; } steer_to_wlan_r13_s_& set_steer_to_wlan_r13() { set(types::steer_to_wlan_r13); return c; } private: types type_; steer_to_wlan_r13_s_ c; }; // member variables bool ext = false; cmd_c_ cmd; // ... // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RRCConnectionReconfiguration-v1510-IEs ::= SEQUENCE struct rrc_conn_recfg_v1510_ies_s { struct nr_cfg_r15_c_ { struct setup_s_ { bool nr_secondary_cell_group_cfg_r15_present = false; bool p_max_eutra_r15_present = false; bool endc_release_and_add_r15 = false; dyn_octstring nr_secondary_cell_group_cfg_r15; int8_t p_max_eutra_r15 = -30; }; typedef setup_e types; // choice methods nr_cfg_r15_c_() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters setup_s_& setup() { assert_choice_type("setup", type_.to_string(), "nr-Config-r15"); return c; } const setup_s_& setup() const { assert_choice_type("setup", type_.to_string(), "nr-Config-r15"); return c; } setup_s_& set_setup() { set(types::setup); return c; } private: types type_; setup_s_ c; }; struct tdm_pattern_cfg_r15_c_ { struct setup_s_ { sf_assign_r15_e sf_assign_r15; uint8_t harq_offset_r15 = 0; }; typedef setup_e types; // choice methods tdm_pattern_cfg_r15_c_() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters setup_s_& setup() { assert_choice_type("setup", type_.to_string(), "tdm-PatternConfig-r15"); return c; } const setup_s_& setup() const { assert_choice_type("setup", type_.to_string(), "tdm-PatternConfig-r15"); return c; } setup_s_& set_setup() { set(types::setup); return c; } private: types type_; setup_s_ c; }; // member variables bool nr_cfg_r15_present = false; bool sk_counter_r15_present = false; bool nr_radio_bearer_cfg1_r15_present = false; bool nr_radio_bearer_cfg2_r15_present = false; bool tdm_pattern_cfg_r15_present = false; bool non_crit_ext_present = false; nr_cfg_r15_c_ nr_cfg_r15; uint32_t sk_counter_r15 = 0; dyn_octstring nr_radio_bearer_cfg1_r15; dyn_octstring nr_radio_bearer_cfg2_r15; tdm_pattern_cfg_r15_c_ tdm_pattern_cfg_r15; rrc_conn_recfg_v1530_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // SCG-Configuration-v13c0 ::= CHOICE struct scg_cfg_v13c0_c { struct setup_s_ { bool scg_cfg_part_scg_v13c0_present = false; scg_cfg_part_scg_v13c0_s scg_cfg_part_scg_v13c0; }; typedef setup_e types; // choice methods scg_cfg_v13c0_c() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters setup_s_& setup() { assert_choice_type("setup", type_.to_string(), "SCG-Configuration-v13c0"); return c; } const setup_s_& setup() const { assert_choice_type("setup", type_.to_string(), "SCG-Configuration-v13c0"); return c; } setup_s_& set_setup() { set(types::setup); return c; } private: types type_; setup_s_ c; }; // SCellToReleaseList-r10 ::= SEQUENCE (SIZE (1..4)) OF INTEGER (1..7) using scell_to_release_list_r10_l = bounded_array; // SL-CommTxPoolToAddMod-r12 ::= SEQUENCE struct sl_comm_tx_pool_to_add_mod_r12_s { uint8_t pool_id_r12 = 1; sl_comm_res_pool_r12_s pool_r12; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // SL-CommTxPoolToAddModExt-r13 ::= SEQUENCE struct sl_comm_tx_pool_to_add_mod_ext_r13_s { uint8_t pool_id_v1310 = 5; sl_comm_res_pool_r12_s pool_r13; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // SL-DiscTxResourceInfoPerFreq-r13 ::= SEQUENCE struct sl_disc_tx_res_info_per_freq_r13_s { bool ext = false; bool disc_tx_res_r13_present = false; bool disc_tx_res_ps_r13_present = false; bool disc_tx_ref_carrier_ded_r13_present = false; bool disc_cell_sel_info_r13_present = false; uint32_t disc_tx_carrier_freq_r13 = 0; sl_disc_tx_res_r13_c disc_tx_res_r13; sl_disc_tx_res_r13_c disc_tx_res_ps_r13; sl_disc_tx_ref_carrier_ded_r13_c disc_tx_ref_carrier_ded_r13; cell_sel_info_nfreq_r13_s disc_cell_sel_info_r13; // ... // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // SL-TF-IndexPair-r12 ::= SEQUENCE struct sl_tf_idx_pair_r12_s { bool disc_sf_idx_r12_present = false; bool disc_prb_idx_r12_present = false; uint8_t disc_sf_idx_r12 = 1; uint8_t disc_prb_idx_r12 = 1; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // SL-V2X-ConfigDedicated-r14 ::= SEQUENCE struct sl_v2x_cfg_ded_r14_s { struct comm_tx_res_r14_c_ { struct setup_c_ { struct sched_r14_s_ { bool v2x_sched_pool_r14_present = false; bool mcs_r14_present = false; fixed_bitstring<16> sl_v_rnti_r14; mac_main_cfg_sl_r12_s mac_main_cfg_r14; sl_comm_res_pool_v2x_r14_s v2x_sched_pool_r14; uint8_t mcs_r14 = 0; lc_ch_group_info_list_r13_l lc_ch_group_info_list_r14; }; struct ue_sel_r14_s_ { struct v2x_comm_tx_pool_normal_ded_r14_s_ { bool pool_to_release_list_r14_present = false; bool pool_to_add_mod_list_r14_present = false; bool v2x_comm_tx_pool_sensing_cfg_r14_present = false; sl_tx_pool_to_release_list_v2x_r14_l pool_to_release_list_r14; sl_tx_pool_to_add_mod_list_v2x_r14_l pool_to_add_mod_list_r14; sl_comm_tx_pool_sensing_cfg_r14_s v2x_comm_tx_pool_sensing_cfg_r14; }; // member variables v2x_comm_tx_pool_normal_ded_r14_s_ v2x_comm_tx_pool_normal_ded_r14; }; struct types_opts { enum options { sched_r14, ue_sel_r14, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods setup_c_() = default; setup_c_(const setup_c_& other); setup_c_& operator=(const setup_c_& other); ~setup_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters sched_r14_s_& sched_r14() { assert_choice_type("scheduled-r14", type_.to_string(), "setup"); return c.get(); } ue_sel_r14_s_& ue_sel_r14() { assert_choice_type("ue-Selected-r14", type_.to_string(), "setup"); return c.get(); } const sched_r14_s_& sched_r14() const { assert_choice_type("scheduled-r14", type_.to_string(), "setup"); return c.get(); } const ue_sel_r14_s_& ue_sel_r14() const { assert_choice_type("ue-Selected-r14", type_.to_string(), "setup"); return c.get(); } sched_r14_s_& set_sched_r14() { set(types::sched_r14); return c.get(); } ue_sel_r14_s_& set_ue_sel_r14() { set(types::ue_sel_r14); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; typedef setup_e types; // choice methods comm_tx_res_r14_c_() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters setup_c_& setup() { assert_choice_type("setup", type_.to_string(), "commTxResources-r14"); return c; } const setup_c_& setup() const { assert_choice_type("setup", type_.to_string(), "commTxResources-r14"); return c; } setup_c_& set_setup() { set(types::setup); return c; } private: types type_; setup_c_ c; }; struct comm_tx_res_v1530_c_ { struct setup_c_ { struct sched_v1530_s_ { bool lc_ch_group_info_list_v1530_present = false; bool mcs_r15_present = false; lc_ch_group_info_list_v1530_l lc_ch_group_info_list_v1530; uint8_t mcs_r15 = 0; }; struct ue_sel_v1530_s_ { bool v2x_freq_sel_cfg_list_r15_present = false; sl_v2x_freq_sel_cfg_list_r15_l v2x_freq_sel_cfg_list_r15; }; struct types_opts { enum options { sched_v1530, ue_sel_v1530, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods setup_c_() = default; setup_c_(const setup_c_& other); setup_c_& operator=(const setup_c_& other); ~setup_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters sched_v1530_s_& sched_v1530() { assert_choice_type("scheduled-v1530", type_.to_string(), "setup"); return c.get(); } ue_sel_v1530_s_& ue_sel_v1530() { assert_choice_type("ue-Selected-v1530", type_.to_string(), "setup"); return c.get(); } const sched_v1530_s_& sched_v1530() const { assert_choice_type("scheduled-v1530", type_.to_string(), "setup"); return c.get(); } const ue_sel_v1530_s_& ue_sel_v1530() const { assert_choice_type("ue-Selected-v1530", type_.to_string(), "setup"); return c.get(); } sched_v1530_s_& set_sched_v1530() { set(types::sched_v1530); return c.get(); } ue_sel_v1530_s_& set_ue_sel_v1530() { set(types::ue_sel_v1530); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; typedef setup_e types; // choice methods comm_tx_res_v1530_c_() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters setup_c_& setup() { assert_choice_type("setup", type_.to_string(), "commTxResources-v1530"); return c; } const setup_c_& setup() const { assert_choice_type("setup", type_.to_string(), "commTxResources-v1530"); return c; } setup_c_& set_setup() { set(types::setup); return c; } private: types type_; setup_c_ c; }; // member variables bool ext = false; bool comm_tx_res_r14_present = false; bool v2x_inter_freq_info_list_r14_present = false; bool thres_sl_tx_prioritization_r14_present = false; bool type_tx_sync_r14_present = false; bool cbr_ded_tx_cfg_list_r14_present = false; comm_tx_res_r14_c_ comm_tx_res_r14; sl_inter_freq_info_list_v2x_r14_l v2x_inter_freq_info_list_r14; uint8_t thres_sl_tx_prioritization_r14 = 1; sl_type_tx_sync_r14_e type_tx_sync_r14; sl_cbr_common_tx_cfg_list_r14_s cbr_ded_tx_cfg_list_r14; // ... // group 0 bool slss_tx_multi_freq_r15_present = false; copy_ptr comm_tx_res_v1530; copy_ptr v2x_packet_dupl_cfg_r15; copy_ptr sync_freq_list_r15; // group 1 bool slss_tx_disabled_r15_present = false; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // LWA-Configuration-r13 ::= CHOICE struct lwa_cfg_r13_c { struct setup_s_ { lwa_cfg_r13_s lwa_cfg_r13; }; typedef setup_e types; // choice methods lwa_cfg_r13_c() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters setup_s_& setup() { assert_choice_type("setup", type_.to_string(), "LWA-Configuration-r13"); return c; } const setup_s_& setup() const { assert_choice_type("setup", type_.to_string(), "LWA-Configuration-r13"); return c; } setup_s_& set_setup() { set(types::setup); return c; } private: types type_; setup_s_ c; }; // LWIP-Configuration-r13 ::= CHOICE struct lwip_cfg_r13_c { struct setup_s_ { lwip_cfg_r13_s lwip_cfg_r13; }; typedef setup_e types; // choice methods lwip_cfg_r13_c() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters setup_s_& setup() { assert_choice_type("setup", type_.to_string(), "LWIP-Configuration-r13"); return c; } const setup_s_& setup() const { assert_choice_type("setup", type_.to_string(), "LWIP-Configuration-r13"); return c; } setup_s_& set_setup() { set(types::setup); return c; } private: types type_; setup_s_ c; }; // PowerCoordinationInfo-r12 ::= SEQUENCE struct pwr_coordination_info_r12_s { uint8_t p_menb_r12 = 1; uint8_t p_senb_r12 = 1; uint8_t pwr_ctrl_mode_r12 = 1; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RAN-NotificationAreaInfo-r15 ::= CHOICE struct ran_notif_area_info_r15_c { struct types_opts { enum options { cell_list_r15, ran_area_cfg_list_r15, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods ran_notif_area_info_r15_c() = default; ran_notif_area_info_r15_c(const ran_notif_area_info_r15_c& other); ran_notif_area_info_r15_c& operator=(const ran_notif_area_info_r15_c& other); ~ran_notif_area_info_r15_c() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters plmn_ran_area_cell_list_r15_l& cell_list_r15() { assert_choice_type("cellList-r15", type_.to_string(), "RAN-NotificationAreaInfo-r15"); return c.get(); } plmn_ran_area_cfg_list_r15_l& ran_area_cfg_list_r15() { assert_choice_type("ran-AreaConfigList-r15", type_.to_string(), "RAN-NotificationAreaInfo-r15"); return c.get(); } const plmn_ran_area_cell_list_r15_l& cell_list_r15() const { assert_choice_type("cellList-r15", type_.to_string(), "RAN-NotificationAreaInfo-r15"); return c.get(); } const plmn_ran_area_cfg_list_r15_l& ran_area_cfg_list_r15() const { assert_choice_type("ran-AreaConfigList-r15", type_.to_string(), "RAN-NotificationAreaInfo-r15"); return c.get(); } plmn_ran_area_cell_list_r15_l& set_cell_list_r15() { set(types::cell_list_r15); return c.get(); } plmn_ran_area_cfg_list_r15_l& set_ran_area_cfg_list_r15() { set(types::ran_area_cfg_list_r15); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; // RCLWI-Configuration-r13 ::= CHOICE struct rclwi_cfg_r13_c { struct setup_s_ { rclwi_cfg_r13_s rclwi_cfg_r13; }; typedef setup_e types; // choice methods rclwi_cfg_r13_c() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters setup_s_& setup() { assert_choice_type("setup", type_.to_string(), "RCLWI-Configuration-r13"); return c; } const setup_s_& setup() const { assert_choice_type("setup", type_.to_string(), "RCLWI-Configuration-r13"); return c; } setup_s_& set_setup() { set(types::setup); return c; } private: types type_; setup_s_ c; }; // RRCConnectionReconfiguration-v13c0-IEs ::= SEQUENCE struct rrc_conn_recfg_v13c0_ies_s { bool rr_cfg_ded_v13c0_present = false; bool scell_to_add_mod_list_v13c0_present = false; bool scell_to_add_mod_list_ext_v13c0_present = false; bool scg_cfg_v13c0_present = false; bool non_crit_ext_present = false; rr_cfg_ded_v13c0_s rr_cfg_ded_v13c0; scell_to_add_mod_list_v13c0_l scell_to_add_mod_list_v13c0; scell_to_add_mod_list_ext_v13c0_l scell_to_add_mod_list_ext_v13c0; scg_cfg_v13c0_c scg_cfg_v13c0; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RRCConnectionReconfiguration-v1430-IEs ::= SEQUENCE struct rrc_conn_recfg_v1430_ies_s { bool sl_v2x_cfg_ded_r14_present = false; bool scell_to_add_mod_list_ext_v1430_present = false; bool per_cc_gap_ind_request_r14_present = false; bool sib_type2_ded_r14_present = false; bool non_crit_ext_present = false; sl_v2x_cfg_ded_r14_s sl_v2x_cfg_ded_r14; scell_to_add_mod_list_ext_v1430_l scell_to_add_mod_list_ext_v1430; dyn_octstring sib_type2_ded_r14; rrc_conn_recfg_v1510_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RadioResourceConfigDedicated-v1370 ::= SEQUENCE struct rr_cfg_ded_v1370_s { bool phys_cfg_ded_v1370_present = false; phys_cfg_ded_v1370_s phys_cfg_ded_v1370; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // SCG-ConfigPartSCG-r12 ::= SEQUENCE struct scg_cfg_part_scg_r12_s { bool ext = false; bool rr_cfg_ded_scg_r12_present = false; bool scell_to_release_list_scg_r12_present = false; bool pscell_to_add_mod_r12_present = false; bool scell_to_add_mod_list_scg_r12_present = false; bool mob_ctrl_info_scg_r12_present = false; rr_cfg_ded_scg_r12_s rr_cfg_ded_scg_r12; scell_to_release_list_r10_l scell_to_release_list_scg_r12; ps_cell_to_add_mod_r12_s pscell_to_add_mod_r12; scell_to_add_mod_list_r10_l scell_to_add_mod_list_scg_r12; mob_ctrl_info_scg_r12_s mob_ctrl_info_scg_r12; // ... // group 0 copy_ptr scell_to_release_list_scg_ext_r13; copy_ptr scell_to_add_mod_list_scg_ext_r13; // group 1 copy_ptr scell_to_add_mod_list_scg_ext_v1370; // group 2 copy_ptr pscell_to_add_mod_v1440; // group 3 copy_ptr scell_group_to_release_list_scg_r15; copy_ptr scell_group_to_add_mod_list_scg_r15; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // SCG-ConfigPartSCG-v12f0 ::= SEQUENCE struct scg_cfg_part_scg_v12f0_s { bool pscell_to_add_mod_v12f0_present = false; bool scell_to_add_mod_list_scg_v12f0_present = false; ps_cell_to_add_mod_v12f0_s pscell_to_add_mod_v12f0; scell_to_add_mod_list_v10l0_l scell_to_add_mod_list_scg_v12f0; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // SL-CommTxPoolToAddModList-r12 ::= SEQUENCE (SIZE (1..4)) OF SL-CommTxPoolToAddMod-r12 using sl_comm_tx_pool_to_add_mod_list_r12_l = dyn_array; // SL-CommTxPoolToAddModListExt-r13 ::= SEQUENCE (SIZE (1..4)) OF SL-CommTxPoolToAddModExt-r13 using sl_comm_tx_pool_to_add_mod_list_ext_r13_l = dyn_array; // SL-DiscSysInfoToReportFreqList-r13 ::= SEQUENCE (SIZE (1..8)) OF INTEGER (0..262143) using sl_disc_sys_info_to_report_freq_list_r13_l = bounded_array; // SL-DiscTxInfoInterFreqListAdd-r13 ::= SEQUENCE struct sl_disc_tx_info_inter_freq_list_add_r13_s { using disc_tx_freq_to_add_mod_list_r13_l_ = dyn_array; using disc_tx_freq_to_release_list_r13_l_ = bounded_array; // member variables bool ext = false; bool disc_tx_freq_to_add_mod_list_r13_present = false; bool disc_tx_freq_to_release_list_r13_present = false; disc_tx_freq_to_add_mod_list_r13_l_ disc_tx_freq_to_add_mod_list_r13; disc_tx_freq_to_release_list_r13_l_ disc_tx_freq_to_release_list_r13; // ... // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // SL-GapConfig-r13 ::= SEQUENCE struct sl_gap_cfg_r13_s { sl_gap_pattern_list_r13_l gap_pattern_list_r13; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // SL-TF-IndexPairList-r12 ::= SEQUENCE (SIZE (1..64)) OF SL-TF-IndexPair-r12 using sl_tf_idx_pair_list_r12_l = dyn_array; // SL-TxPoolToReleaseListExt-r13 ::= SEQUENCE (SIZE (1..4)) OF INTEGER (5..8) using sl_tx_pool_to_release_list_ext_r13_l = bounded_array; // FlightPathInfoReportConfig-r15 ::= SEQUENCE struct flight_path_info_report_cfg_r15_s { bool include_time_stamp_r15_present = false; uint8_t max_way_point_num_r15 = 1; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // MeasIdleConfigDedicated-r15 ::= SEQUENCE struct meas_idle_cfg_ded_r15_s { struct meas_idle_dur_r15_opts { enum options { sec10, sec30, sec60, sec120, sec180, sec240, sec300, spare, nulltype } value; typedef uint16_t number_type; std::string to_string() const; uint16_t to_number() const; }; typedef enumerated meas_idle_dur_r15_e_; // member variables bool ext = false; bool meas_idle_carrier_list_eutra_r15_present = false; eutra_carrier_list_r15_l meas_idle_carrier_list_eutra_r15; meas_idle_dur_r15_e_ meas_idle_dur_r15; // ... // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RRC-InactiveConfig-r15 ::= SEQUENCE struct rrc_inactive_cfg_r15_s { struct ran_paging_cycle_r15_opts { enum options { rf32, rf64, rf128, rf256, nulltype } value; typedef uint16_t number_type; std::string to_string() const; uint16_t to_number() const; }; typedef enumerated ran_paging_cycle_r15_e_; struct periodic_rnau_timer_r15_opts { enum options { min5, min10, min20, min30, min60, min120, min360, min720, nulltype } value; typedef uint16_t number_type; std::string to_string() const; uint16_t to_number() const; }; typedef enumerated periodic_rnau_timer_r15_e_; // member variables bool ran_paging_cycle_r15_present = false; bool ran_notif_area_info_r15_present = false; bool periodic_rnau_timer_r15_present = false; bool next_hop_chaining_count_r15_present = false; bool non_crit_ext_present = false; fixed_bitstring<40> full_i_rnti_r15; fixed_bitstring<24> short_i_rnti_r15; ran_paging_cycle_r15_e_ ran_paging_cycle_r15; ran_notif_area_info_r15_c ran_notif_area_info_r15; periodic_rnau_timer_r15_e_ periodic_rnau_timer_r15; uint8_t next_hop_chaining_count_r15 = 0; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RRCConnectionReconfiguration-v1310-IEs ::= SEQUENCE struct rrc_conn_recfg_v1310_ies_s { bool scell_to_release_list_ext_r13_present = false; bool scell_to_add_mod_list_ext_r13_present = false; bool lwa_cfg_r13_present = false; bool lwip_cfg_r13_present = false; bool rclwi_cfg_r13_present = false; bool non_crit_ext_present = false; scell_to_release_list_ext_r13_l scell_to_release_list_ext_r13; scell_to_add_mod_list_ext_r13_l scell_to_add_mod_list_ext_r13; lwa_cfg_r13_c lwa_cfg_r13; lwip_cfg_r13_c lwip_cfg_r13; rclwi_cfg_r13_c rclwi_cfg_r13; rrc_conn_recfg_v1430_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RRCConnectionReconfiguration-v1370-IEs ::= SEQUENCE struct rrc_conn_recfg_v1370_ies_s { bool rr_cfg_ded_v1370_present = false; bool scell_to_add_mod_list_ext_v1370_present = false; bool non_crit_ext_present = false; rr_cfg_ded_v1370_s rr_cfg_ded_v1370; scell_to_add_mod_list_ext_v1370_l scell_to_add_mod_list_ext_v1370; rrc_conn_recfg_v13c0_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RRCConnectionRelease-v1540-IEs ::= SEQUENCE struct rrc_conn_release_v1540_ies_s { bool wait_time_present = false; bool non_crit_ext_present = false; uint8_t wait_time = 1; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // SCG-Configuration-r12 ::= CHOICE struct scg_cfg_r12_c { struct setup_s_ { struct scg_cfg_part_mcg_r12_s_ { bool ext = false; bool scg_counter_r12_present = false; bool pwr_coordination_info_r12_present = false; uint32_t scg_counter_r12 = 0; pwr_coordination_info_r12_s pwr_coordination_info_r12; // ... }; // member variables bool scg_cfg_part_mcg_r12_present = false; bool scg_cfg_part_scg_r12_present = false; scg_cfg_part_mcg_r12_s_ scg_cfg_part_mcg_r12; scg_cfg_part_scg_r12_s scg_cfg_part_scg_r12; }; typedef setup_e types; // choice methods scg_cfg_r12_c() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters setup_s_& setup() { assert_choice_type("setup", type_.to_string(), "SCG-Configuration-r12"); return c; } const setup_s_& setup() const { assert_choice_type("setup", type_.to_string(), "SCG-Configuration-r12"); return c; } setup_s_& set_setup() { set(types::setup); return c; } private: types type_; setup_s_ c; }; // SCG-Configuration-v12f0 ::= CHOICE struct scg_cfg_v12f0_c { struct setup_s_ { bool scg_cfg_part_scg_v12f0_present = false; scg_cfg_part_scg_v12f0_s scg_cfg_part_scg_v12f0; }; typedef setup_e types; // choice methods scg_cfg_v12f0_c() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters setup_s_& setup() { assert_choice_type("setup", type_.to_string(), "SCG-Configuration-v12f0"); return c; } const setup_s_& setup() const { assert_choice_type("setup", type_.to_string(), "SCG-Configuration-v12f0"); return c; } setup_s_& set_setup() { set(types::setup); return c; } private: types type_; setup_s_ c; }; // SL-CommConfig-r12 ::= SEQUENCE struct sl_comm_cfg_r12_s { struct comm_tx_res_r12_c_ { struct setup_c_ { struct sched_r12_s_ { bool mcs_r12_present = false; fixed_bitstring<16> sl_rnti_r12; mac_main_cfg_sl_r12_s mac_main_cfg_r12; sl_comm_res_pool_r12_s sc_comm_tx_cfg_r12; uint8_t mcs_r12 = 0; }; struct ue_sel_r12_s_ { struct comm_tx_pool_normal_ded_r12_s_ { bool pool_to_release_list_r12_present = false; bool pool_to_add_mod_list_r12_present = false; sl_tx_pool_to_release_list_r12_l pool_to_release_list_r12; sl_comm_tx_pool_to_add_mod_list_r12_l pool_to_add_mod_list_r12; }; // member variables comm_tx_pool_normal_ded_r12_s_ comm_tx_pool_normal_ded_r12; }; struct types_opts { enum options { sched_r12, ue_sel_r12, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods setup_c_() = default; setup_c_(const setup_c_& other); setup_c_& operator=(const setup_c_& other); ~setup_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters sched_r12_s_& sched_r12() { assert_choice_type("scheduled-r12", type_.to_string(), "setup"); return c.get(); } ue_sel_r12_s_& ue_sel_r12() { assert_choice_type("ue-Selected-r12", type_.to_string(), "setup"); return c.get(); } const sched_r12_s_& sched_r12() const { assert_choice_type("scheduled-r12", type_.to_string(), "setup"); return c.get(); } const ue_sel_r12_s_& ue_sel_r12() const { assert_choice_type("ue-Selected-r12", type_.to_string(), "setup"); return c.get(); } sched_r12_s_& set_sched_r12() { set(types::sched_r12); return c.get(); } ue_sel_r12_s_& set_ue_sel_r12() { set(types::ue_sel_r12); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; typedef setup_e types; // choice methods comm_tx_res_r12_c_() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters setup_c_& setup() { assert_choice_type("setup", type_.to_string(), "commTxResources-r12"); return c; } const setup_c_& setup() const { assert_choice_type("setup", type_.to_string(), "commTxResources-r12"); return c; } setup_c_& set_setup() { set(types::setup); return c; } private: types type_; setup_c_ c; }; struct comm_tx_res_v1310_c_ { struct setup_c_ { struct sched_v1310_s_ { lc_ch_group_info_list_r13_l lc_ch_group_info_list_r13; bool multiple_tx_r13 = false; }; struct ue_sel_v1310_s_ { struct comm_tx_pool_normal_ded_ext_r13_s_ { bool pool_to_release_list_ext_r13_present = false; bool pool_to_add_mod_list_ext_r13_present = false; sl_tx_pool_to_release_list_ext_r13_l pool_to_release_list_ext_r13; sl_comm_tx_pool_to_add_mod_list_ext_r13_l pool_to_add_mod_list_ext_r13; }; // member variables comm_tx_pool_normal_ded_ext_r13_s_ comm_tx_pool_normal_ded_ext_r13; }; struct types_opts { enum options { sched_v1310, ue_sel_v1310, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods setup_c_() = default; setup_c_(const setup_c_& other); setup_c_& operator=(const setup_c_& other); ~setup_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters sched_v1310_s_& sched_v1310() { assert_choice_type("scheduled-v1310", type_.to_string(), "setup"); return c.get(); } ue_sel_v1310_s_& ue_sel_v1310() { assert_choice_type("ue-Selected-v1310", type_.to_string(), "setup"); return c.get(); } const sched_v1310_s_& sched_v1310() const { assert_choice_type("scheduled-v1310", type_.to_string(), "setup"); return c.get(); } const ue_sel_v1310_s_& ue_sel_v1310() const { assert_choice_type("ue-Selected-v1310", type_.to_string(), "setup"); return c.get(); } sched_v1310_s_& set_sched_v1310() { set(types::sched_v1310); return c.get(); } ue_sel_v1310_s_& set_ue_sel_v1310() { set(types::ue_sel_v1310); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; typedef setup_e types; // choice methods comm_tx_res_v1310_c_() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters setup_c_& setup() { assert_choice_type("setup", type_.to_string(), "commTxResources-v1310"); return c; } const setup_c_& setup() const { assert_choice_type("setup", type_.to_string(), "commTxResources-v1310"); return c; } setup_c_& set_setup() { set(types::setup); return c; } private: types type_; setup_c_ c; }; // member variables bool ext = false; bool comm_tx_res_r12_present = false; comm_tx_res_r12_c_ comm_tx_res_r12; // ... // group 0 bool comm_tx_allow_relay_ded_r13_present = false; copy_ptr comm_tx_res_v1310; bool comm_tx_allow_relay_ded_r13 = false; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // SL-DiscConfig-r12 ::= SEQUENCE struct sl_disc_cfg_r12_s { struct disc_tx_res_r12_c_ { struct setup_c_ { struct sched_r12_s_ { bool disc_tx_cfg_r12_present = false; bool disc_tf_idx_list_r12_present = false; bool disc_hop_cfg_r12_present = false; sl_disc_res_pool_r12_s disc_tx_cfg_r12; sl_tf_idx_pair_list_r12_l disc_tf_idx_list_r12; sl_hop_cfg_disc_r12_s disc_hop_cfg_r12; }; struct ue_sel_r12_s_ { struct disc_tx_pool_ded_r12_s_ { bool pool_to_release_list_r12_present = false; bool pool_to_add_mod_list_r12_present = false; sl_tx_pool_to_release_list_r12_l pool_to_release_list_r12; sl_disc_tx_pool_to_add_mod_list_r12_l pool_to_add_mod_list_r12; }; // member variables bool disc_tx_pool_ded_r12_present = false; disc_tx_pool_ded_r12_s_ disc_tx_pool_ded_r12; }; struct types_opts { enum options { sched_r12, ue_sel_r12, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods setup_c_() = default; setup_c_(const setup_c_& other); setup_c_& operator=(const setup_c_& other); ~setup_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters sched_r12_s_& sched_r12() { assert_choice_type("scheduled-r12", type_.to_string(), "setup"); return c.get(); } ue_sel_r12_s_& ue_sel_r12() { assert_choice_type("ue-Selected-r12", type_.to_string(), "setup"); return c.get(); } const sched_r12_s_& sched_r12() const { assert_choice_type("scheduled-r12", type_.to_string(), "setup"); return c.get(); } const ue_sel_r12_s_& ue_sel_r12() const { assert_choice_type("ue-Selected-r12", type_.to_string(), "setup"); return c.get(); } sched_r12_s_& set_sched_r12() { set(types::sched_r12); return c.get(); } ue_sel_r12_s_& set_ue_sel_r12() { set(types::ue_sel_r12); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; typedef setup_e types; // choice methods disc_tx_res_r12_c_() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters setup_c_& setup() { assert_choice_type("setup", type_.to_string(), "discTxResources-r12"); return c; } const setup_c_& setup() const { assert_choice_type("setup", type_.to_string(), "discTxResources-r12"); return c; } setup_c_& set_setup() { set(types::setup); return c; } private: types type_; setup_c_ c; }; struct disc_tf_idx_list_v1260_c_ { struct setup_s_ { sl_tf_idx_pair_list_r12b_l disc_tf_idx_list_r12b; }; typedef setup_e types; // choice methods disc_tf_idx_list_v1260_c_() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters setup_s_& setup() { assert_choice_type("setup", type_.to_string(), "discTF-IndexList-v1260"); return c; } const setup_s_& setup() const { assert_choice_type("setup", type_.to_string(), "discTF-IndexList-v1260"); return c; } setup_s_& set_setup() { set(types::setup); return c; } private: types type_; setup_s_ c; }; struct disc_tx_res_ps_r13_c_ { struct setup_c_ { struct ue_sel_r13_s_ { sl_disc_tx_pool_ded_r13_s disc_tx_pool_ps_ded_r13; }; struct types_opts { enum options { sched_r13, ue_sel_r13, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods setup_c_() = default; setup_c_(const setup_c_& other); setup_c_& operator=(const setup_c_& other); ~setup_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters sl_disc_tx_cfg_sched_r13_s& sched_r13() { assert_choice_type("scheduled-r13", type_.to_string(), "setup"); return c.get(); } ue_sel_r13_s_& ue_sel_r13() { assert_choice_type("ue-Selected-r13", type_.to_string(), "setup"); return c.get(); } const sl_disc_tx_cfg_sched_r13_s& sched_r13() const { assert_choice_type("scheduled-r13", type_.to_string(), "setup"); return c.get(); } const ue_sel_r13_s_& ue_sel_r13() const { assert_choice_type("ue-Selected-r13", type_.to_string(), "setup"); return c.get(); } sl_disc_tx_cfg_sched_r13_s& set_sched_r13() { set(types::sched_r13); return c.get(); } ue_sel_r13_s_& set_ue_sel_r13() { set(types::ue_sel_r13); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; typedef setup_e types; // choice methods disc_tx_res_ps_r13_c_() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters setup_c_& setup() { assert_choice_type("setup", type_.to_string(), "discTxResourcesPS-r13"); return c; } const setup_c_& setup() const { assert_choice_type("setup", type_.to_string(), "discTxResourcesPS-r13"); return c; } setup_c_& set_setup() { set(types::setup); return c; } private: types type_; setup_c_ c; }; struct disc_tx_inter_freq_info_r13_c_ { struct setup_s_ { bool disc_tx_carrier_freq_r13_present = false; bool disc_tx_ref_carrier_ded_r13_present = false; bool disc_tx_info_inter_freq_list_add_r13_present = false; uint32_t disc_tx_carrier_freq_r13 = 0; sl_disc_tx_ref_carrier_ded_r13_c disc_tx_ref_carrier_ded_r13; sl_disc_tx_info_inter_freq_list_add_r13_s disc_tx_info_inter_freq_list_add_r13; }; typedef setup_e types; // choice methods disc_tx_inter_freq_info_r13_c_() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters setup_s_& setup() { assert_choice_type("setup", type_.to_string(), "discTxInterFreqInfo-r13"); return c; } const setup_s_& setup() const { assert_choice_type("setup", type_.to_string(), "discTxInterFreqInfo-r13"); return c; } setup_s_& set_setup() { set(types::setup); return c; } private: types type_; setup_s_ c; }; struct disc_rx_gap_cfg_r13_c_ { typedef setup_e types; // choice methods disc_rx_gap_cfg_r13_c_() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters sl_gap_cfg_r13_s& setup() { assert_choice_type("setup", type_.to_string(), "discRxGapConfig-r13"); return c; } const sl_gap_cfg_r13_s& setup() const { assert_choice_type("setup", type_.to_string(), "discRxGapConfig-r13"); return c; } sl_gap_cfg_r13_s& set_setup() { set(types::setup); return c; } private: types type_; sl_gap_cfg_r13_s c; }; struct disc_tx_gap_cfg_r13_c_ { typedef setup_e types; // choice methods disc_tx_gap_cfg_r13_c_() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters sl_gap_cfg_r13_s& setup() { assert_choice_type("setup", type_.to_string(), "discTxGapConfig-r13"); return c; } const sl_gap_cfg_r13_s& setup() const { assert_choice_type("setup", type_.to_string(), "discTxGapConfig-r13"); return c; } sl_gap_cfg_r13_s& set_setup() { set(types::setup); return c; } private: types type_; sl_gap_cfg_r13_s c; }; struct disc_sys_info_to_report_cfg_r13_c_ { typedef setup_e types; // choice methods disc_sys_info_to_report_cfg_r13_c_() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters sl_disc_sys_info_to_report_freq_list_r13_l& setup() { assert_choice_type("setup", type_.to_string(), "discSysInfoToReportConfig-r13"); return c; } const sl_disc_sys_info_to_report_freq_list_r13_l& setup() const { assert_choice_type("setup", type_.to_string(), "discSysInfoToReportConfig-r13"); return c; } sl_disc_sys_info_to_report_freq_list_r13_l& set_setup() { set(types::setup); return c; } private: types type_; sl_disc_sys_info_to_report_freq_list_r13_l c; }; // member variables bool ext = false; bool disc_tx_res_r12_present = false; disc_tx_res_r12_c_ disc_tx_res_r12; // ... // group 0 copy_ptr disc_tf_idx_list_v1260; // group 1 bool gap_requests_allowed_ded_r13_present = false; copy_ptr disc_tx_res_ps_r13; copy_ptr disc_tx_inter_freq_info_r13; bool gap_requests_allowed_ded_r13 = false; copy_ptr disc_rx_gap_cfg_r13; copy_ptr disc_tx_gap_cfg_r13; copy_ptr disc_sys_info_to_report_cfg_r13; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // SL-SyncTxControl-r12 ::= SEQUENCE struct sl_sync_tx_ctrl_r12_s { struct network_ctrl_sync_tx_r12_opts { enum options { on, off, nulltype } value; std::string to_string() const; }; typedef enumerated network_ctrl_sync_tx_r12_e_; // member variables bool network_ctrl_sync_tx_r12_present = false; network_ctrl_sync_tx_r12_e_ network_ctrl_sync_tx_r12; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // CandidateServingFreqListNR-r15 ::= SEQUENCE (SIZE (1..32)) OF INTEGER (0..3279165) using candidate_serving_freq_list_nr_r15_l = bounded_array; // RRCConnectionReconfiguration-v1250-IEs ::= SEQUENCE struct rrc_conn_recfg_v1250_ies_s { struct wlan_offload_info_r12_c_ { struct setup_s_ { struct t350_r12_opts { enum options { min5, min10, min20, min30, min60, min120, min180, spare1, nulltype } value; typedef uint8_t number_type; std::string to_string() const; uint8_t to_number() const; }; typedef enumerated t350_r12_e_; // member variables bool t350_r12_present = false; wlan_offload_cfg_r12_s wlan_offload_cfg_ded_r12; t350_r12_e_ t350_r12; }; typedef setup_e types; // choice methods wlan_offload_info_r12_c_() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters setup_s_& setup() { assert_choice_type("setup", type_.to_string(), "wlan-OffloadInfo-r12"); return c; } const setup_s_& setup() const { assert_choice_type("setup", type_.to_string(), "wlan-OffloadInfo-r12"); return c; } setup_s_& set_setup() { set(types::setup); return c; } private: types type_; setup_s_ c; }; // member variables bool wlan_offload_info_r12_present = false; bool scg_cfg_r12_present = false; bool sl_sync_tx_ctrl_r12_present = false; bool sl_disc_cfg_r12_present = false; bool sl_comm_cfg_r12_present = false; bool non_crit_ext_present = false; wlan_offload_info_r12_c_ wlan_offload_info_r12; scg_cfg_r12_c scg_cfg_r12; sl_sync_tx_ctrl_r12_s sl_sync_tx_ctrl_r12; sl_disc_cfg_r12_s sl_disc_cfg_r12; sl_comm_cfg_r12_s sl_comm_cfg_r12; rrc_conn_recfg_v1310_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RRCConnectionReconfiguration-v12f0-IEs ::= SEQUENCE struct rrc_conn_recfg_v12f0_ies_s { bool scg_cfg_v12f0_present = false; bool late_non_crit_ext_present = false; bool non_crit_ext_present = false; scg_cfg_v12f0_c scg_cfg_v12f0; dyn_octstring late_non_crit_ext; rrc_conn_recfg_v1370_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RRCConnectionRelease-v1530-IEs ::= SEQUENCE struct rrc_conn_release_v1530_ies_s { struct cn_type_r15_opts { enum options { epc, fivegc, nulltype } value; typedef uint8_t number_type; std::string to_string() const; uint8_t to_number() const; }; typedef enumerated cn_type_r15_e_; // member variables bool drb_continue_rohc_r15_present = false; bool next_hop_chaining_count_r15_present = false; bool meas_idle_cfg_r15_present = false; bool rrc_inactive_cfg_r15_present = false; bool cn_type_r15_present = false; bool non_crit_ext_present = false; uint8_t next_hop_chaining_count_r15 = 0; meas_idle_cfg_ded_r15_s meas_idle_cfg_r15; rrc_inactive_cfg_r15_s rrc_inactive_cfg_r15; cn_type_r15_e_ cn_type_r15; rrc_conn_release_v1540_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // SystemInfoListGERAN ::= SEQUENCE (SIZE (1..10)) OF OCTET STRING (SIZE (1..23)) using sys_info_list_geran_l = bounded_array, 10>; // TargetMBSFN-Area-r12 ::= SEQUENCE struct target_mbsfn_area_r12_s { bool ext = false; bool mbsfn_area_id_r12_present = false; uint16_t mbsfn_area_id_r12 = 0; uint32_t carrier_freq_r12 = 0; // ... // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // UEInformationRequest-v1530-IEs ::= SEQUENCE struct ue_info_request_v1530_ies_s { bool idle_mode_meas_req_r15_present = false; bool flight_path_info_req_r15_present = false; bool non_crit_ext_present = false; flight_path_info_report_cfg_r15_s flight_path_info_req_r15; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // CellInfoGERAN-r9 ::= SEQUENCE struct cell_info_geran_r9_s { pci_geran_s pci_r9; carrier_freq_geran_s carrier_freq_r9; sys_info_list_geran_l sys_info_r9; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // CellInfoUTRA-FDD-r9 ::= SEQUENCE struct cell_info_utra_fdd_r9_s { uint16_t pci_r9 = 0; dyn_octstring utra_bcch_container_r9; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // CellInfoUTRA-TDD-r10 ::= SEQUENCE struct cell_info_utra_tdd_r10_s { uint8_t pci_r10 = 0; uint16_t carrier_freq_r10 = 0; dyn_octstring utra_bcch_container_r10; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // CellInfoUTRA-TDD-r9 ::= SEQUENCE struct cell_info_utra_tdd_r9_s { uint8_t pci_r9 = 0; dyn_octstring utra_bcch_container_r9; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // DRB-CountMSB-Info ::= SEQUENCE struct drb_count_msb_info_s { uint8_t drb_id = 1; uint32_t count_msb_ul = 0; uint32_t count_msb_dl = 0; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // IDC-Config-r11 ::= SEQUENCE struct idc_cfg_r11_s { struct autonomous_denial_params_r11_s_ { struct autonomous_denial_sfs_r11_opts { enum options { n2, n5, n10, n15, n20, n30, spare2, spare1, nulltype } value; typedef uint8_t number_type; std::string to_string() const; uint8_t to_number() const; }; typedef enumerated autonomous_denial_sfs_r11_e_; struct autonomous_denial_validity_r11_opts { enum options { sf200, sf500, sf1000, sf2000, spare4, spare3, spare2, spare1, nulltype } value; typedef uint16_t number_type; std::string to_string() const; uint16_t to_number() const; }; typedef enumerated autonomous_denial_validity_r11_e_; // member variables autonomous_denial_sfs_r11_e_ autonomous_denial_sfs_r11; autonomous_denial_validity_r11_e_ autonomous_denial_validity_r11; }; struct idc_ind_mrdc_r15_c_ { typedef setup_e types; // choice methods idc_ind_mrdc_r15_c_() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters candidate_serving_freq_list_nr_r15_l& setup() { assert_choice_type("setup", type_.to_string(), "idc-Indication-MRDC-r15"); return c; } const candidate_serving_freq_list_nr_r15_l& setup() const { assert_choice_type("setup", type_.to_string(), "idc-Indication-MRDC-r15"); return c; } candidate_serving_freq_list_nr_r15_l& set_setup() { set(types::setup); return c; } private: types type_; candidate_serving_freq_list_nr_r15_l c; }; // member variables bool ext = false; bool idc_ind_r11_present = false; bool autonomous_denial_params_r11_present = false; autonomous_denial_params_r11_s_ autonomous_denial_params_r11; // ... // group 0 bool idc_ind_ul_ca_r11_present = false; // group 1 bool idc_hardware_sharing_ind_r13_present = false; // group 2 copy_ptr idc_ind_mrdc_r15; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // ObtainLocationConfig-r11 ::= SEQUENCE struct obtain_location_cfg_r11_s { bool obtain_location_r11_present = false; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // PowerPrefIndicationConfig-r11 ::= CHOICE struct pwr_pref_ind_cfg_r11_c { struct setup_s_ { struct pwr_pref_ind_timer_r11_opts { enum options { s0, s0dot5, s1, s2, s5, s10, s20, s30, s60, s90, s120, s300, s600, spare3, spare2, spare1, nulltype } value; typedef float number_type; std::string to_string() const; float to_number() const; std::string to_number_string() const; }; typedef enumerated pwr_pref_ind_timer_r11_e_; // member variables pwr_pref_ind_timer_r11_e_ pwr_pref_ind_timer_r11; }; typedef setup_e types; // choice methods pwr_pref_ind_cfg_r11_c() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters setup_s_& setup() { assert_choice_type("setup", type_.to_string(), "PowerPrefIndicationConfig-r11"); return c; } const setup_s_& setup() const { assert_choice_type("setup", type_.to_string(), "PowerPrefIndicationConfig-r11"); return c; } setup_s_& set_setup() { set(types::setup); return c; } private: types type_; setup_s_ c; }; // RRCConnectionReconfiguration-v10l0-IEs ::= SEQUENCE struct rrc_conn_recfg_v10l0_ies_s { bool mob_ctrl_info_v10l0_present = false; bool scell_to_add_mod_list_v10l0_present = false; bool late_non_crit_ext_present = false; bool non_crit_ext_present = false; mob_ctrl_info_v10l0_s mob_ctrl_info_v10l0; scell_to_add_mod_list_v10l0_l scell_to_add_mod_list_v10l0; dyn_octstring late_non_crit_ext; rrc_conn_recfg_v12f0_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RRCConnectionReconfiguration-v1130-IEs ::= SEQUENCE struct rrc_conn_recfg_v1130_ies_s { bool sib_type1_ded_r11_present = false; bool non_crit_ext_present = false; dyn_octstring sib_type1_ded_r11; rrc_conn_recfg_v1250_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RRCConnectionRelease-v1320-IEs ::= SEQUENCE struct rrc_conn_release_v1320_ies_s { bool resume_id_r13_present = false; bool non_crit_ext_present = false; fixed_bitstring<40> resume_id_r13; rrc_conn_release_v1530_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // ReportProximityConfig-r9 ::= SEQUENCE struct report_proximity_cfg_r9_s { bool proximity_ind_eutra_r9_present = false; bool proximity_ind_utra_r9_present = false; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // TargetMBSFN-AreaList-r12 ::= SEQUENCE (SIZE (0..8)) OF TargetMBSFN-Area-r12 using target_mbsfn_area_list_r12_l = dyn_array; // TrackingAreaCodeList-v1130 ::= SEQUENCE struct tac_list_v1130_s { using plmn_id_per_tac_list_r11_l_ = dyn_array; // member variables plmn_id_per_tac_list_r11_l_ plmn_id_per_tac_list_r11; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // UEInformationRequest-v1250-IEs ::= SEQUENCE struct ue_info_request_v1250_ies_s { bool mob_history_report_req_r12_present = false; bool non_crit_ext_present = false; ue_info_request_v1530_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // AreaConfiguration-v1130 ::= SEQUENCE struct area_cfg_v1130_s { tac_list_v1130_s tac_list_v1130; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // CellInfoListGERAN-r9 ::= SEQUENCE (SIZE (1..32)) OF CellInfoGERAN-r9 using cell_info_list_geran_r9_l = dyn_array; // CellInfoListUTRA-FDD-r9 ::= SEQUENCE (SIZE (1..16)) OF CellInfoUTRA-FDD-r9 using cell_info_list_utra_fdd_r9_l = dyn_array; // CellInfoListUTRA-TDD-r10 ::= SEQUENCE (SIZE (1..16)) OF CellInfoUTRA-TDD-r10 using cell_info_list_utra_tdd_r10_l = dyn_array; // CellInfoListUTRA-TDD-r9 ::= SEQUENCE (SIZE (1..16)) OF CellInfoUTRA-TDD-r9 using cell_info_list_utra_tdd_r9_l = dyn_array; // DRB-CountMSB-InfoListExt-r15 ::= SEQUENCE (SIZE (1..4)) OF DRB-CountMSB-Info using drb_count_msb_info_list_ext_r15_l = dyn_array; // HandoverFromEUTRAPreparationRequest-v1020-IEs ::= SEQUENCE struct ho_from_eutra_prep_request_v1020_ies_s { bool dual_rx_tx_redirect_ind_r10_present = false; bool redirect_carrier_cdma2000_minus1_xrtt_r10_present = false; bool non_crit_ext_present = false; carrier_freq_cdma2000_s redirect_carrier_cdma2000_minus1_xrtt_r10; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // LoggedMeasurementConfiguration-v1250-IEs ::= SEQUENCE struct logged_meas_cfg_v1250_ies_s { bool target_mbsfn_area_list_r12_present = false; bool non_crit_ext_present = false; target_mbsfn_area_list_r12_l target_mbsfn_area_list_r12; logged_meas_cfg_v1530_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // MobilityFromEUTRACommand-v1530-IEs ::= SEQUENCE struct mob_from_eutra_cmd_v1530_ies_s { bool smtc_r15_present = false; bool non_crit_ext_present = false; mtc_ssb_nr_r15_s smtc_r15; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // OtherConfig-r9 ::= SEQUENCE struct other_cfg_r9_s { struct bw_pref_ind_timer_r14_opts { enum options { s0, s0dot5, s1, s2, s5, s10, s20, s30, s60, s90, s120, s300, s600, spare3, spare2, spare1, nulltype } value; typedef float number_type; std::string to_string() const; float to_number() const; std::string to_number_string() const; }; typedef enumerated bw_pref_ind_timer_r14_e_; struct delay_budget_report_cfg_r14_c_ { struct setup_s_ { struct delay_budget_report_prohibit_timer_r14_opts { enum options { s0, s0dot4, s0dot8, s1dot6, s3, s6, s12, s30, nulltype } value; typedef float number_type; std::string to_string() const; float to_number() const; std::string to_number_string() const; }; typedef enumerated delay_budget_report_prohibit_timer_r14_e_; // member variables delay_budget_report_prohibit_timer_r14_e_ delay_budget_report_prohibit_timer_r14; }; typedef setup_e types; // choice methods delay_budget_report_cfg_r14_c_() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters setup_s_& setup() { assert_choice_type("setup", type_.to_string(), "delayBudgetReportingConfig-r14"); return c; } const setup_s_& setup() const { assert_choice_type("setup", type_.to_string(), "delayBudgetReportingConfig-r14"); return c; } setup_s_& set_setup() { set(types::setup); return c; } private: types type_; setup_s_ c; }; struct rlm_report_cfg_r14_c_ { struct setup_s_ { struct rlm_report_timer_r14_opts { enum options { s0, s0dot5, s1, s2, s5, s10, s20, s30, s60, s90, s120, s300, s600, spare3, spare2, spare1, nulltype } value; typedef float number_type; std::string to_string() const; float to_number() const; std::string to_number_string() const; }; typedef enumerated rlm_report_timer_r14_e_; // member variables bool rlm_report_rep_mpdcch_r14_present = false; rlm_report_timer_r14_e_ rlm_report_timer_r14; }; typedef setup_e types; // choice methods rlm_report_cfg_r14_c_() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters setup_s_& setup() { assert_choice_type("setup", type_.to_string(), "rlm-ReportConfig-r14"); return c; } const setup_s_& setup() const { assert_choice_type("setup", type_.to_string(), "rlm-ReportConfig-r14"); return c; } setup_s_& set_setup() { set(types::setup); return c; } private: types type_; setup_s_ c; }; struct overheat_assist_cfg_r14_c_ { struct setup_s_ { struct overheat_ind_prohibit_timer_r14_opts { enum options { s0, s0dot5, s1, s2, s5, s10, s20, s30, s60, s90, s120, s300, s600, spare3, spare2, spare1, nulltype } value; typedef float number_type; std::string to_string() const; float to_number() const; std::string to_number_string() const; }; typedef enumerated overheat_ind_prohibit_timer_r14_e_; // member variables overheat_ind_prohibit_timer_r14_e_ overheat_ind_prohibit_timer_r14; }; typedef setup_e types; // choice methods overheat_assist_cfg_r14_c_() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters setup_s_& setup() { assert_choice_type("setup", type_.to_string(), "overheatingAssistanceConfig-r14"); return c; } const setup_s_& setup() const { assert_choice_type("setup", type_.to_string(), "overheatingAssistanceConfig-r14"); return c; } setup_s_& set_setup() { set(types::setup); return c; } private: types type_; setup_s_ c; }; struct meas_cfg_app_layer_r15_c_ { struct setup_s_ { struct service_type_opts { enum options { qoe, qoemtsi, spare6, spare5, spare4, spare3, spare2, spare1, nulltype } value; std::string to_string() const; }; typedef enumerated service_type_e_; // member variables bounded_octstring<1, 1000> meas_cfg_app_layer_container_r15; service_type_e_ service_type; }; typedef setup_e types; // choice methods meas_cfg_app_layer_r15_c_() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters setup_s_& setup() { assert_choice_type("setup", type_.to_string(), "measConfigAppLayer-r15"); return c; } const setup_s_& setup() const { assert_choice_type("setup", type_.to_string(), "measConfigAppLayer-r15"); return c; } setup_s_& set_setup() { set(types::setup); return c; } private: types type_; setup_s_ c; }; // member variables bool ext = false; bool report_proximity_cfg_r9_present = false; report_proximity_cfg_r9_s report_proximity_cfg_r9; // ... // group 0 copy_ptr idc_cfg_r11; copy_ptr pwr_pref_ind_cfg_r11; copy_ptr obtain_location_cfg_r11; // group 1 bool bw_pref_ind_timer_r14_present = false; bool sps_assist_info_report_r14_present = false; bw_pref_ind_timer_r14_e_ bw_pref_ind_timer_r14; bool sps_assist_info_report_r14 = false; copy_ptr delay_budget_report_cfg_r14; copy_ptr rlm_report_cfg_r14; // group 2 copy_ptr overheat_assist_cfg_r14; // group 3 bool ailc_bit_cfg_r15_present = false; copy_ptr meas_cfg_app_layer_r15; bool ailc_bit_cfg_r15 = false; copy_ptr bt_name_list_cfg_r15; copy_ptr wlan_name_list_cfg_r15; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // PLMN-IdentityList3-r11 ::= SEQUENCE (SIZE (1..16)) OF PLMN-Identity using plmn_id_list3_r11_l = dyn_array; // RRCConnectionReconfiguration-v1020-IEs ::= SEQUENCE struct rrc_conn_recfg_v1020_ies_s { bool scell_to_release_list_r10_present = false; bool scell_to_add_mod_list_r10_present = false; bool non_crit_ext_present = false; scell_to_release_list_r10_l scell_to_release_list_r10; scell_to_add_mod_list_r10_l scell_to_add_mod_list_r10; rrc_conn_recfg_v1130_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RRCConnectionReconfiguration-v10i0-IEs ::= SEQUENCE struct rrc_conn_recfg_v10i0_ies_s { bool ant_info_ded_pcell_v10i0_present = false; bool non_crit_ext_present = false; ant_info_ded_v10i0_s ant_info_ded_pcell_v10i0; rrc_conn_recfg_v10l0_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RRCConnectionRelease-v1020-IEs ::= SEQUENCE struct rrc_conn_release_v1020_ies_s { bool extended_wait_time_r10_present = false; bool non_crit_ext_present = false; uint16_t extended_wait_time_r10 = 1; rrc_conn_release_v1320_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RRCConnectionResume-v1530-IEs ::= SEQUENCE struct rrc_conn_resume_v1530_ies_s { bool full_cfg_r15_present = false; bool non_crit_ext_present = false; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RedirectedCarrierInfo-v9e0 ::= SEQUENCE struct redirected_carrier_info_v9e0_s { uint32_t eutra_v9e0 = 65536; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // UEInformationRequest-v1130-IEs ::= SEQUENCE struct ue_info_request_v1130_ies_s { bool conn_est_fail_report_req_r11_present = false; bool non_crit_ext_present = false; ue_info_request_v1250_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // CarrierInfoNR-r15 ::= SEQUENCE struct carrier_info_nr_r15_s { struct subcarrier_spacing_ssb_r15_opts { enum options { khz15, khz30, khz120, khz240, nulltype } value; typedef uint8_t number_type; std::string to_string() const; uint8_t to_number() const; }; typedef enumerated subcarrier_spacing_ssb_r15_e_; // member variables bool smtc_r15_present = false; uint32_t carrier_freq_r15 = 0; subcarrier_spacing_ssb_r15_e_ subcarrier_spacing_ssb_r15; mtc_ssb_nr_r15_s smtc_r15; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // CellGlobalIdList-r10 ::= SEQUENCE (SIZE (1..32)) OF CellGlobalIdEUTRA using cell_global_id_list_r10_l = dyn_array; // CounterCheck-v1530-IEs ::= SEQUENCE struct counter_check_v1530_ies_s { bool drb_count_msb_info_list_ext_r15_present = false; bool non_crit_ext_present = false; drb_count_msb_info_list_ext_r15_l drb_count_msb_info_list_ext_r15; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // HandoverFromEUTRAPreparationRequest-v920-IEs ::= SEQUENCE struct ho_from_eutra_prep_request_v920_ies_s { bool concurr_prep_cdma2000_hrpd_r9_present = false; bool non_crit_ext_present = false; bool concurr_prep_cdma2000_hrpd_r9 = false; ho_from_eutra_prep_request_v1020_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // LoggedMeasurementConfiguration-v1130-IEs ::= SEQUENCE struct logged_meas_cfg_v1130_ies_s { bool plmn_id_list_r11_present = false; bool area_cfg_v1130_present = false; bool non_crit_ext_present = false; plmn_id_list3_r11_l plmn_id_list_r11; area_cfg_v1130_s area_cfg_v1130; logged_meas_cfg_v1250_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // MobilityFromEUTRACommand-v8d0-IEs ::= SEQUENCE struct mob_from_eutra_cmd_v8d0_ies_s { bool band_ind_present = false; bool non_crit_ext_present = false; band_ind_geran_e band_ind; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // MobilityFromEUTRACommand-v960-IEs ::= SEQUENCE struct mob_from_eutra_cmd_v960_ies_s { bool band_ind_present = false; bool non_crit_ext_present = false; band_ind_geran_e band_ind; mob_from_eutra_cmd_v1530_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RRCConnectionReconfiguration-v8m0-IEs ::= SEQUENCE struct rrc_conn_recfg_v8m0_ies_s { bool late_non_crit_ext_present = false; bool non_crit_ext_present = false; dyn_octstring late_non_crit_ext; rrc_conn_recfg_v10i0_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RRCConnectionReconfiguration-v920-IEs ::= SEQUENCE struct rrc_conn_recfg_v920_ies_s { bool other_cfg_r9_present = false; bool full_cfg_r9_present = false; bool non_crit_ext_present = false; other_cfg_r9_s other_cfg_r9; rrc_conn_recfg_v1020_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RRCConnectionRelease-v920-IEs ::= SEQUENCE struct rrc_conn_release_v920_ies_s { struct cell_info_list_r9_c_ { struct types_opts { enum options { geran_r9, utra_fdd_r9, utra_tdd_r9, /*...*/ utra_tdd_r10, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods cell_info_list_r9_c_() = default; cell_info_list_r9_c_(const cell_info_list_r9_c_& other); cell_info_list_r9_c_& operator=(const cell_info_list_r9_c_& other); ~cell_info_list_r9_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters cell_info_list_geran_r9_l& geran_r9() { assert_choice_type("geran-r9", type_.to_string(), "cellInfoList-r9"); return c.get(); } cell_info_list_utra_fdd_r9_l& utra_fdd_r9() { assert_choice_type("utra-FDD-r9", type_.to_string(), "cellInfoList-r9"); return c.get(); } cell_info_list_utra_tdd_r9_l& utra_tdd_r9() { assert_choice_type("utra-TDD-r9", type_.to_string(), "cellInfoList-r9"); return c.get(); } cell_info_list_utra_tdd_r10_l& utra_tdd_r10() { assert_choice_type("utra-TDD-r10", type_.to_string(), "cellInfoList-r9"); return c.get(); } const cell_info_list_geran_r9_l& geran_r9() const { assert_choice_type("geran-r9", type_.to_string(), "cellInfoList-r9"); return c.get(); } const cell_info_list_utra_fdd_r9_l& utra_fdd_r9() const { assert_choice_type("utra-FDD-r9", type_.to_string(), "cellInfoList-r9"); return c.get(); } const cell_info_list_utra_tdd_r9_l& utra_tdd_r9() const { assert_choice_type("utra-TDD-r9", type_.to_string(), "cellInfoList-r9"); return c.get(); } const cell_info_list_utra_tdd_r10_l& utra_tdd_r10() const { assert_choice_type("utra-TDD-r10", type_.to_string(), "cellInfoList-r9"); return c.get(); } cell_info_list_geran_r9_l& set_geran_r9() { set(types::geran_r9); return c.get(); } cell_info_list_utra_fdd_r9_l& set_utra_fdd_r9() { set(types::utra_fdd_r9); return c.get(); } cell_info_list_utra_tdd_r9_l& set_utra_tdd_r9() { set(types::utra_tdd_r9); return c.get(); } cell_info_list_utra_tdd_r10_l& set_utra_tdd_r10() { set(types::utra_tdd_r10); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; // member variables bool cell_info_list_r9_present = false; bool non_crit_ext_present = false; cell_info_list_r9_c_ cell_info_list_r9; rrc_conn_release_v1020_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RRCConnectionRelease-v9e0-IEs ::= SEQUENCE struct rrc_conn_release_v9e0_ies_s { bool redirected_carrier_info_v9e0_present = false; bool idle_mode_mob_ctrl_info_v9e0_present = false; bool non_crit_ext_present = false; redirected_carrier_info_v9e0_s redirected_carrier_info_v9e0; idle_mode_mob_ctrl_info_v9e0_s idle_mode_mob_ctrl_info_v9e0; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RRCConnectionResume-v1510-IEs ::= SEQUENCE struct rrc_conn_resume_v1510_ies_s { bool sk_counter_r15_present = false; bool nr_radio_bearer_cfg1_r15_present = false; bool nr_radio_bearer_cfg2_r15_present = false; bool non_crit_ext_present = false; uint32_t sk_counter_r15 = 0; dyn_octstring nr_radio_bearer_cfg1_r15; dyn_octstring nr_radio_bearer_cfg2_r15; rrc_conn_resume_v1530_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // SI-OrPSI-GERAN ::= CHOICE struct si_or_psi_geran_c { struct types_opts { enum options { si, psi, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods si_or_psi_geran_c() = default; si_or_psi_geran_c(const si_or_psi_geran_c& other); si_or_psi_geran_c& operator=(const si_or_psi_geran_c& other); ~si_or_psi_geran_c() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters sys_info_list_geran_l& si() { assert_choice_type("si", type_.to_string(), "SI-OrPSI-GERAN"); return c.get(); } sys_info_list_geran_l& psi() { assert_choice_type("psi", type_.to_string(), "SI-OrPSI-GERAN"); return c.get(); } const sys_info_list_geran_l& si() const { assert_choice_type("si", type_.to_string(), "SI-OrPSI-GERAN"); return c.get(); } const sys_info_list_geran_l& psi() const { assert_choice_type("psi", type_.to_string(), "SI-OrPSI-GERAN"); return c.get(); } sys_info_list_geran_l& set_si() { set(types::si); return c.get(); } sys_info_list_geran_l& set_psi() { set(types::psi); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; // TrackingAreaCodeList-r10 ::= SEQUENCE (SIZE (1..8)) OF BIT STRING (SIZE (16)) using tac_list_r10_l = bounded_array, 8>; // UEInformationRequest-v1020-IEs ::= SEQUENCE struct ue_info_request_v1020_ies_s { bool log_meas_report_req_r10_present = false; bool non_crit_ext_present = false; ue_info_request_v1130_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // AreaConfiguration-r10 ::= CHOICE struct area_cfg_r10_c { struct types_opts { enum options { cell_global_id_list_r10, tac_list_r10, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods area_cfg_r10_c() = default; area_cfg_r10_c(const area_cfg_r10_c& other); area_cfg_r10_c& operator=(const area_cfg_r10_c& other); ~area_cfg_r10_c() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters cell_global_id_list_r10_l& cell_global_id_list_r10() { assert_choice_type("cellGlobalIdList-r10", type_.to_string(), "AreaConfiguration-r10"); return c.get(); } tac_list_r10_l& tac_list_r10() { assert_choice_type("trackingAreaCodeList-r10", type_.to_string(), "AreaConfiguration-r10"); return c.get(); } const cell_global_id_list_r10_l& cell_global_id_list_r10() const { assert_choice_type("cellGlobalIdList-r10", type_.to_string(), "AreaConfiguration-r10"); return c.get(); } const tac_list_r10_l& tac_list_r10() const { assert_choice_type("trackingAreaCodeList-r10", type_.to_string(), "AreaConfiguration-r10"); return c.get(); } cell_global_id_list_r10_l& set_cell_global_id_list_r10() { set(types::cell_global_id_list_r10); return c.get(); } tac_list_r10_l& set_tac_list_r10() { set(types::tac_list_r10); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; // CSFBParametersResponseCDMA2000-v8a0-IEs ::= SEQUENCE struct csfb_params_resp_cdma2000_v8a0_ies_s { bool late_non_crit_ext_present = false; bool non_crit_ext_present = false; dyn_octstring late_non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // CellChangeOrder ::= SEQUENCE struct cell_change_order_s { struct t304_opts { enum options { ms100, ms200, ms500, ms1000, ms2000, ms4000, ms8000, ms10000_v1310, nulltype } value; typedef uint16_t number_type; std::string to_string() const; uint16_t to_number() const; }; typedef enumerated t304_e_; struct target_rat_type_c_ { struct geran_s_ { bool network_ctrl_order_present = false; bool sys_info_present = false; pci_geran_s pci; carrier_freq_geran_s carrier_freq; fixed_bitstring<2> network_ctrl_order; si_or_psi_geran_c sys_info; }; struct types_opts { enum options { geran, /*...*/ nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods types type() const { return types::geran; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters geran_s_& geran() { return c; } const geran_s_& geran() const { return c; } private: geran_s_ c; }; // member variables t304_e_ t304; target_rat_type_c_ target_rat_type; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // CounterCheck-v8a0-IEs ::= SEQUENCE struct counter_check_v8a0_ies_s { bool late_non_crit_ext_present = false; bool non_crit_ext_present = false; dyn_octstring late_non_crit_ext; counter_check_v1530_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // DLInformationTransfer-v8a0-IEs ::= SEQUENCE struct dl_info_transfer_v8a0_ies_s { bool late_non_crit_ext_present = false; bool non_crit_ext_present = false; dyn_octstring late_non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // DRB-CountMSB-InfoList ::= SEQUENCE (SIZE (1..11)) OF DRB-CountMSB-Info using drb_count_msb_info_list_l = dyn_array; // E-CSFB-r9 ::= SEQUENCE struct e_csfb_r9_s { struct mob_cdma2000_hrpd_r9_opts { enum options { ho, redirection, nulltype } value; std::string to_string() const; }; typedef enumerated mob_cdma2000_hrpd_r9_e_; // member variables bool msg_cont_cdma2000_minus1_xrtt_r9_present = false; bool mob_cdma2000_hrpd_r9_present = false; bool msg_cont_cdma2000_hrpd_r9_present = false; bool redirect_carrier_cdma2000_hrpd_r9_present = false; dyn_octstring msg_cont_cdma2000_minus1_xrtt_r9; mob_cdma2000_hrpd_r9_e_ mob_cdma2000_hrpd_r9; dyn_octstring msg_cont_cdma2000_hrpd_r9; carrier_freq_cdma2000_s redirect_carrier_cdma2000_hrpd_r9; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // Handover ::= SEQUENCE struct ho_s { struct target_rat_type_opts { enum options { utra, geran, cdma2000_minus1_xrtt, cdma2000_hrpd, nr, eutra, spare2, spare1, /*...*/ nulltype } value; std::string to_string() const; }; typedef enumerated target_rat_type_e_; // member variables bool nas_security_param_from_eutra_present = false; bool sys_info_present = false; target_rat_type_e_ target_rat_type; dyn_octstring target_rat_msg_container; fixed_octstring<1> nas_security_param_from_eutra; si_or_psi_geran_c sys_info; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // HandoverFromEUTRAPreparationRequest-v890-IEs ::= SEQUENCE struct ho_from_eutra_prep_request_v890_ies_s { bool late_non_crit_ext_present = false; bool non_crit_ext_present = false; dyn_octstring late_non_crit_ext; ho_from_eutra_prep_request_v920_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // LoggedMeasurementConfiguration-v1080-IEs ::= SEQUENCE struct logged_meas_cfg_v1080_ies_s { bool late_non_crit_ext_r10_present = false; bool non_crit_ext_present = false; dyn_octstring late_non_crit_ext_r10; logged_meas_cfg_v1130_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // LoggingDuration-r10 ::= ENUMERATED struct logging_dur_r10_opts { enum options { min10, min20, min40, min60, min90, min120, spare2, spare1, nulltype } value; typedef uint8_t number_type; std::string to_string() const; uint8_t to_number() const; }; typedef enumerated logging_dur_r10_e; // LoggingInterval-r10 ::= ENUMERATED struct logging_interv_r10_opts { enum options { ms1280, ms2560, ms5120, ms10240, ms20480, ms30720, ms40960, ms61440, nulltype } value; typedef uint16_t number_type; std::string to_string() const; uint16_t to_number() const; }; typedef enumerated logging_interv_r10_e; // MobilityFromEUTRACommand-v8a0-IEs ::= SEQUENCE struct mob_from_eutra_cmd_v8a0_ies_s { bool late_non_crit_ext_present = false; bool non_crit_ext_present = false; dyn_octstring late_non_crit_ext; mob_from_eutra_cmd_v8d0_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // MobilityFromEUTRACommand-v930-IEs ::= SEQUENCE struct mob_from_eutra_cmd_v930_ies_s { bool late_non_crit_ext_present = false; bool non_crit_ext_present = false; dyn_octstring late_non_crit_ext; mob_from_eutra_cmd_v960_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RN-SubframeConfig-r10 ::= SEQUENCE struct rn_sf_cfg_r10_s { struct sf_cfg_pattern_r10_c_ { struct types_opts { enum options { sf_cfg_pattern_fdd_r10, sf_cfg_pattern_tdd_r10, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods sf_cfg_pattern_r10_c_() = default; sf_cfg_pattern_r10_c_(const sf_cfg_pattern_r10_c_& other); sf_cfg_pattern_r10_c_& operator=(const sf_cfg_pattern_r10_c_& other); ~sf_cfg_pattern_r10_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters fixed_bitstring<8>& sf_cfg_pattern_fdd_r10() { assert_choice_type("subframeConfigPatternFDD-r10", type_.to_string(), "subframeConfigPattern-r10"); return c.get >(); } uint8_t& sf_cfg_pattern_tdd_r10() { assert_choice_type("subframeConfigPatternTDD-r10", type_.to_string(), "subframeConfigPattern-r10"); return c.get(); } const fixed_bitstring<8>& sf_cfg_pattern_fdd_r10() const { assert_choice_type("subframeConfigPatternFDD-r10", type_.to_string(), "subframeConfigPattern-r10"); return c.get >(); } const uint8_t& sf_cfg_pattern_tdd_r10() const { assert_choice_type("subframeConfigPatternTDD-r10", type_.to_string(), "subframeConfigPattern-r10"); return c.get(); } fixed_bitstring<8>& set_sf_cfg_pattern_fdd_r10() { set(types::sf_cfg_pattern_fdd_r10); return c.get >(); } uint8_t& set_sf_cfg_pattern_tdd_r10() { set(types::sf_cfg_pattern_tdd_r10); return c.get(); } private: types type_; choice_buffer_t > c; void destroy_(); }; struct rpdcch_cfg_r10_s_ { struct res_alloc_type_r10_opts { enum options { type0, type1, type2_localized, type2_distributed, spare4, spare3, spare2, spare1, nulltype } value; std::string to_string() const; }; typedef enumerated res_alloc_type_r10_e_; struct res_block_assign_r10_c_ { struct type01_r10_c_ { struct types_opts { enum options { nrb6_r10, nrb15_r10, nrb25_r10, nrb50_r10, nrb75_r10, nrb100_r10, nulltype } value; typedef uint8_t number_type; std::string to_string() const; uint8_t to_number() const; }; typedef enumerated types; // choice methods type01_r10_c_() = default; type01_r10_c_(const type01_r10_c_& other); type01_r10_c_& operator=(const type01_r10_c_& other); ~type01_r10_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters fixed_bitstring<6>& nrb6_r10() { assert_choice_type("nrb6-r10", type_.to_string(), "type01-r10"); return c.get >(); } fixed_bitstring<8>& nrb15_r10() { assert_choice_type("nrb15-r10", type_.to_string(), "type01-r10"); return c.get >(); } fixed_bitstring<13>& nrb25_r10() { assert_choice_type("nrb25-r10", type_.to_string(), "type01-r10"); return c.get >(); } fixed_bitstring<17>& nrb50_r10() { assert_choice_type("nrb50-r10", type_.to_string(), "type01-r10"); return c.get >(); } fixed_bitstring<19>& nrb75_r10() { assert_choice_type("nrb75-r10", type_.to_string(), "type01-r10"); return c.get >(); } fixed_bitstring<25>& nrb100_r10() { assert_choice_type("nrb100-r10", type_.to_string(), "type01-r10"); return c.get >(); } const fixed_bitstring<6>& nrb6_r10() const { assert_choice_type("nrb6-r10", type_.to_string(), "type01-r10"); return c.get >(); } const fixed_bitstring<8>& nrb15_r10() const { assert_choice_type("nrb15-r10", type_.to_string(), "type01-r10"); return c.get >(); } const fixed_bitstring<13>& nrb25_r10() const { assert_choice_type("nrb25-r10", type_.to_string(), "type01-r10"); return c.get >(); } const fixed_bitstring<17>& nrb50_r10() const { assert_choice_type("nrb50-r10", type_.to_string(), "type01-r10"); return c.get >(); } const fixed_bitstring<19>& nrb75_r10() const { assert_choice_type("nrb75-r10", type_.to_string(), "type01-r10"); return c.get >(); } const fixed_bitstring<25>& nrb100_r10() const { assert_choice_type("nrb100-r10", type_.to_string(), "type01-r10"); return c.get >(); } fixed_bitstring<6>& set_nrb6_r10() { set(types::nrb6_r10); return c.get >(); } fixed_bitstring<8>& set_nrb15_r10() { set(types::nrb15_r10); return c.get >(); } fixed_bitstring<13>& set_nrb25_r10() { set(types::nrb25_r10); return c.get >(); } fixed_bitstring<17>& set_nrb50_r10() { set(types::nrb50_r10); return c.get >(); } fixed_bitstring<19>& set_nrb75_r10() { set(types::nrb75_r10); return c.get >(); } fixed_bitstring<25>& set_nrb100_r10() { set(types::nrb100_r10); return c.get >(); } private: types type_; choice_buffer_t > c; void destroy_(); }; struct type2_r10_c_ { struct types_opts { enum options { nrb6_r10, nrb15_r10, nrb25_r10, nrb50_r10, nrb75_r10, nrb100_r10, nulltype } value; typedef uint8_t number_type; std::string to_string() const; uint8_t to_number() const; }; typedef enumerated types; // choice methods type2_r10_c_() = default; type2_r10_c_(const type2_r10_c_& other); type2_r10_c_& operator=(const type2_r10_c_& other); ~type2_r10_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters fixed_bitstring<5>& nrb6_r10() { assert_choice_type("nrb6-r10", type_.to_string(), "type2-r10"); return c.get >(); } fixed_bitstring<7>& nrb15_r10() { assert_choice_type("nrb15-r10", type_.to_string(), "type2-r10"); return c.get >(); } fixed_bitstring<9>& nrb25_r10() { assert_choice_type("nrb25-r10", type_.to_string(), "type2-r10"); return c.get >(); } fixed_bitstring<11>& nrb50_r10() { assert_choice_type("nrb50-r10", type_.to_string(), "type2-r10"); return c.get >(); } fixed_bitstring<12>& nrb75_r10() { assert_choice_type("nrb75-r10", type_.to_string(), "type2-r10"); return c.get >(); } fixed_bitstring<13>& nrb100_r10() { assert_choice_type("nrb100-r10", type_.to_string(), "type2-r10"); return c.get >(); } const fixed_bitstring<5>& nrb6_r10() const { assert_choice_type("nrb6-r10", type_.to_string(), "type2-r10"); return c.get >(); } const fixed_bitstring<7>& nrb15_r10() const { assert_choice_type("nrb15-r10", type_.to_string(), "type2-r10"); return c.get >(); } const fixed_bitstring<9>& nrb25_r10() const { assert_choice_type("nrb25-r10", type_.to_string(), "type2-r10"); return c.get >(); } const fixed_bitstring<11>& nrb50_r10() const { assert_choice_type("nrb50-r10", type_.to_string(), "type2-r10"); return c.get >(); } const fixed_bitstring<12>& nrb75_r10() const { assert_choice_type("nrb75-r10", type_.to_string(), "type2-r10"); return c.get >(); } const fixed_bitstring<13>& nrb100_r10() const { assert_choice_type("nrb100-r10", type_.to_string(), "type2-r10"); return c.get >(); } fixed_bitstring<5>& set_nrb6_r10() { set(types::nrb6_r10); return c.get >(); } fixed_bitstring<7>& set_nrb15_r10() { set(types::nrb15_r10); return c.get >(); } fixed_bitstring<9>& set_nrb25_r10() { set(types::nrb25_r10); return c.get >(); } fixed_bitstring<11>& set_nrb50_r10() { set(types::nrb50_r10); return c.get >(); } fixed_bitstring<12>& set_nrb75_r10() { set(types::nrb75_r10); return c.get >(); } fixed_bitstring<13>& set_nrb100_r10() { set(types::nrb100_r10); return c.get >(); } private: types type_; choice_buffer_t > c; void destroy_(); }; struct types_opts { enum options { type01_r10, type2_r10, /*...*/ nulltype } value; typedef float number_type; std::string to_string() const; float to_number() const; std::string to_number_string() const; }; typedef enumerated types; // choice methods res_block_assign_r10_c_() = default; res_block_assign_r10_c_(const res_block_assign_r10_c_& other); res_block_assign_r10_c_& operator=(const res_block_assign_r10_c_& other); ~res_block_assign_r10_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters type01_r10_c_& type01_r10() { assert_choice_type("type01-r10", type_.to_string(), "resourceBlockAssignment-r10"); return c.get(); } type2_r10_c_& type2_r10() { assert_choice_type("type2-r10", type_.to_string(), "resourceBlockAssignment-r10"); return c.get(); } const type01_r10_c_& type01_r10() const { assert_choice_type("type01-r10", type_.to_string(), "resourceBlockAssignment-r10"); return c.get(); } const type2_r10_c_& type2_r10() const { assert_choice_type("type2-r10", type_.to_string(), "resourceBlockAssignment-r10"); return c.get(); } type01_r10_c_& set_type01_r10() { set(types::type01_r10); return c.get(); } type2_r10_c_& set_type2_r10() { set(types::type2_r10); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; struct demod_rs_r10_c_ { struct no_interleaving_r10_opts { enum options { crs, dmrs, nulltype } value; std::string to_string() const; }; typedef enumerated no_interleaving_r10_e_; struct types_opts { enum options { interleaving_r10, no_interleaving_r10, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods demod_rs_r10_c_() = default; demod_rs_r10_c_(const demod_rs_r10_c_& other); demod_rs_r10_c_& operator=(const demod_rs_r10_c_& other); ~demod_rs_r10_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters no_interleaving_r10_e_& no_interleaving_r10() { assert_choice_type("noInterleaving-r10", type_.to_string(), "demodulationRS-r10"); return c.get(); } const no_interleaving_r10_e_& no_interleaving_r10() const { assert_choice_type("noInterleaving-r10", type_.to_string(), "demodulationRS-r10"); return c.get(); } no_interleaving_r10_e_& set_no_interleaving_r10() { set(types::no_interleaving_r10); return c.get(); } private: types type_; pod_choice_buffer_t c; void destroy_(); }; struct pucch_cfg_r10_c_ { struct tdd_c_ { struct ch_sel_mux_bundling_s_ { using n1_pucch_an_list_r10_l_ = bounded_array; // member variables n1_pucch_an_list_r10_l_ n1_pucch_an_list_r10; }; struct fallback_for_format3_s_ { bool n1_pucch_an_p1_r10_present = false; uint16_t n1_pucch_an_p0_r10 = 0; uint16_t n1_pucch_an_p1_r10 = 0; }; struct types_opts { enum options { ch_sel_mux_bundling, fallback_for_format3, nulltype } value; typedef uint8_t number_type; std::string to_string() const; uint8_t to_number() const; }; typedef enumerated types; // choice methods tdd_c_() = default; tdd_c_(const tdd_c_& other); tdd_c_& operator=(const tdd_c_& other); ~tdd_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters ch_sel_mux_bundling_s_& ch_sel_mux_bundling() { assert_choice_type("channelSelectionMultiplexingBundling", type_.to_string(), "tdd"); return c.get(); } fallback_for_format3_s_& fallback_for_format3() { assert_choice_type("fallbackForFormat3", type_.to_string(), "tdd"); return c.get(); } const ch_sel_mux_bundling_s_& ch_sel_mux_bundling() const { assert_choice_type("channelSelectionMultiplexingBundling", type_.to_string(), "tdd"); return c.get(); } const fallback_for_format3_s_& fallback_for_format3() const { assert_choice_type("fallbackForFormat3", type_.to_string(), "tdd"); return c.get(); } ch_sel_mux_bundling_s_& set_ch_sel_mux_bundling() { set(types::ch_sel_mux_bundling); return c.get(); } fallback_for_format3_s_& set_fallback_for_format3() { set(types::fallback_for_format3); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; struct fdd_s_ { bool n1_pucch_an_p1_r10_present = false; uint16_t n1_pucch_an_p0_r10 = 0; uint16_t n1_pucch_an_p1_r10 = 0; }; struct types_opts { enum options { tdd, fdd, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods pucch_cfg_r10_c_() = default; pucch_cfg_r10_c_(const pucch_cfg_r10_c_& other); pucch_cfg_r10_c_& operator=(const pucch_cfg_r10_c_& other); ~pucch_cfg_r10_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters tdd_c_& tdd() { assert_choice_type("tdd", type_.to_string(), "pucch-Config-r10"); return c.get(); } fdd_s_& fdd() { assert_choice_type("fdd", type_.to_string(), "pucch-Config-r10"); return c.get(); } const tdd_c_& tdd() const { assert_choice_type("tdd", type_.to_string(), "pucch-Config-r10"); return c.get(); } const fdd_s_& fdd() const { assert_choice_type("fdd", type_.to_string(), "pucch-Config-r10"); return c.get(); } tdd_c_& set_tdd() { set(types::tdd); return c.get(); } fdd_s_& set_fdd() { set(types::fdd); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; // member variables bool ext = false; res_alloc_type_r10_e_ res_alloc_type_r10; res_block_assign_r10_c_ res_block_assign_r10; demod_rs_r10_c_ demod_rs_r10; uint8_t pdsch_start_r10 = 1; pucch_cfg_r10_c_ pucch_cfg_r10; // ... }; // member variables bool ext = false; bool sf_cfg_pattern_r10_present = false; bool rpdcch_cfg_r10_present = false; sf_cfg_pattern_r10_c_ sf_cfg_pattern_r10; rpdcch_cfg_r10_s_ rpdcch_cfg_r10; // ... // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RN-SystemInfo-r10 ::= SEQUENCE struct rn_sys_info_r10_s { bool ext = false; bool sib_type1_r10_present = false; bool sib_type2_r10_present = false; dyn_octstring sib_type1_r10; sib_type2_s sib_type2_r10; // ... // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RRCConnectionReconfiguration-v890-IEs ::= SEQUENCE struct rrc_conn_recfg_v890_ies_s { bool late_non_crit_ext_present = false; bool non_crit_ext_present = false; dyn_octstring late_non_crit_ext; rrc_conn_recfg_v920_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RRCConnectionRelease-v890-IEs ::= SEQUENCE struct rrc_conn_release_v890_ies_s { bool late_non_crit_ext_present = false; bool non_crit_ext_present = false; dyn_octstring late_non_crit_ext; rrc_conn_release_v920_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RRCConnectionResume-v1430-IEs ::= SEQUENCE struct rrc_conn_resume_v1430_ies_s { bool other_cfg_r14_present = false; bool rrc_conn_resume_v1510_ies_present = false; other_cfg_r9_s other_cfg_r14; rrc_conn_resume_v1510_ies_s rrc_conn_resume_v1510_ies; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RedirectedCarrierInfo ::= CHOICE struct redirected_carrier_info_c { struct types_opts { enum options { eutra, geran, utra_fdd, utra_tdd, cdma2000_hrpd, cdma2000_minus1x_rtt, // ... utra_tdd_r10, nr_r15, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods redirected_carrier_info_c() = default; redirected_carrier_info_c(const redirected_carrier_info_c& other); redirected_carrier_info_c& operator=(const redirected_carrier_info_c& other); ~redirected_carrier_info_c() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters uint32_t& eutra() { assert_choice_type("eutra", type_.to_string(), "RedirectedCarrierInfo"); return c.get(); } carrier_freqs_geran_s& geran() { assert_choice_type("geran", type_.to_string(), "RedirectedCarrierInfo"); return c.get(); } uint16_t& utra_fdd() { assert_choice_type("utra-FDD", type_.to_string(), "RedirectedCarrierInfo"); return c.get(); } uint16_t& utra_tdd() { assert_choice_type("utra-TDD", type_.to_string(), "RedirectedCarrierInfo"); return c.get(); } carrier_freq_cdma2000_s& cdma2000_hrpd() { assert_choice_type("cdma2000-HRPD", type_.to_string(), "RedirectedCarrierInfo"); return c.get(); } carrier_freq_cdma2000_s& cdma2000_minus1x_rtt() { assert_choice_type("cdma2000-1xRTT", type_.to_string(), "RedirectedCarrierInfo"); return c.get(); } carrier_freq_list_utra_tdd_r10_l& utra_tdd_r10() { assert_choice_type("utra-TDD-r10", type_.to_string(), "RedirectedCarrierInfo"); return c.get(); } carrier_info_nr_r15_s& nr_r15() { assert_choice_type("nr-r15", type_.to_string(), "RedirectedCarrierInfo"); return c.get(); } const uint32_t& eutra() const { assert_choice_type("eutra", type_.to_string(), "RedirectedCarrierInfo"); return c.get(); } const carrier_freqs_geran_s& geran() const { assert_choice_type("geran", type_.to_string(), "RedirectedCarrierInfo"); return c.get(); } const uint16_t& utra_fdd() const { assert_choice_type("utra-FDD", type_.to_string(), "RedirectedCarrierInfo"); return c.get(); } const uint16_t& utra_tdd() const { assert_choice_type("utra-TDD", type_.to_string(), "RedirectedCarrierInfo"); return c.get(); } const carrier_freq_cdma2000_s& cdma2000_hrpd() const { assert_choice_type("cdma2000-HRPD", type_.to_string(), "RedirectedCarrierInfo"); return c.get(); } const carrier_freq_cdma2000_s& cdma2000_minus1x_rtt() const { assert_choice_type("cdma2000-1xRTT", type_.to_string(), "RedirectedCarrierInfo"); return c.get(); } const carrier_freq_list_utra_tdd_r10_l& utra_tdd_r10() const { assert_choice_type("utra-TDD-r10", type_.to_string(), "RedirectedCarrierInfo"); return c.get(); } const carrier_info_nr_r15_s& nr_r15() const { assert_choice_type("nr-r15", type_.to_string(), "RedirectedCarrierInfo"); return c.get(); } uint32_t& set_eutra() { set(types::eutra); return c.get(); } carrier_freqs_geran_s& set_geran() { set(types::geran); return c.get(); } uint16_t& set_utra_fdd() { set(types::utra_fdd); return c.get(); } uint16_t& set_utra_tdd() { set(types::utra_tdd); return c.get(); } carrier_freq_cdma2000_s& set_cdma2000_hrpd() { set(types::cdma2000_hrpd); return c.get(); } carrier_freq_cdma2000_s& set_cdma2000_minus1x_rtt() { set(types::cdma2000_minus1x_rtt); return c.get(); } carrier_freq_list_utra_tdd_r10_l& set_utra_tdd_r10() { set(types::utra_tdd_r10); return c.get(); } carrier_info_nr_r15_s& set_nr_r15() { set(types::nr_r15); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; // ReleaseCause ::= ENUMERATED struct release_cause_opts { enum options { load_balancing_ta_urequired, other, cs_fallback_high_prio_v1020, rrc_suspend_v1320, nulltype } value; std::string to_string() const; }; typedef enumerated release_cause_e; // UEInformationRequest-v930-IEs ::= SEQUENCE struct ue_info_request_v930_ies_s { bool late_non_crit_ext_present = false; bool non_crit_ext_present = false; dyn_octstring late_non_crit_ext; ue_info_request_v1020_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // CSFBParametersResponseCDMA2000-r8-IEs ::= SEQUENCE struct csfb_params_resp_cdma2000_r8_ies_s { bool non_crit_ext_present = false; fixed_bitstring<32> rand; dyn_octstring mob_params; csfb_params_resp_cdma2000_v8a0_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // CounterCheck-r8-IEs ::= SEQUENCE struct counter_check_r8_ies_s { bool non_crit_ext_present = false; drb_count_msb_info_list_l drb_count_msb_info_list; counter_check_v8a0_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // DLInformationTransfer-r15-IEs ::= SEQUENCE struct dl_info_transfer_r15_ies_s { struct ded_info_type_r15_c_ { struct types_opts { enum options { ded_info_nas_r15, ded_info_cdma2000_minus1_xrtt_r15, ded_info_cdma2000_hrpd_r15, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods ded_info_type_r15_c_() = default; ded_info_type_r15_c_(const ded_info_type_r15_c_& other); ded_info_type_r15_c_& operator=(const ded_info_type_r15_c_& other); ~ded_info_type_r15_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters dyn_octstring& ded_info_nas_r15() { assert_choice_type("dedicatedInfoNAS-r15", type_.to_string(), "dedicatedInfoType-r15"); return c.get(); } dyn_octstring& ded_info_cdma2000_minus1_xrtt_r15() { assert_choice_type("dedicatedInfoCDMA2000-1XRTT-r15", type_.to_string(), "dedicatedInfoType-r15"); return c.get(); } dyn_octstring& ded_info_cdma2000_hrpd_r15() { assert_choice_type("dedicatedInfoCDMA2000-HRPD-r15", type_.to_string(), "dedicatedInfoType-r15"); return c.get(); } const dyn_octstring& ded_info_nas_r15() const { assert_choice_type("dedicatedInfoNAS-r15", type_.to_string(), "dedicatedInfoType-r15"); return c.get(); } const dyn_octstring& ded_info_cdma2000_minus1_xrtt_r15() const { assert_choice_type("dedicatedInfoCDMA2000-1XRTT-r15", type_.to_string(), "dedicatedInfoType-r15"); return c.get(); } const dyn_octstring& ded_info_cdma2000_hrpd_r15() const { assert_choice_type("dedicatedInfoCDMA2000-HRPD-r15", type_.to_string(), "dedicatedInfoType-r15"); return c.get(); } dyn_octstring& set_ded_info_nas_r15() { set(types::ded_info_nas_r15); return c.get(); } dyn_octstring& set_ded_info_cdma2000_minus1_xrtt_r15() { set(types::ded_info_cdma2000_minus1_xrtt_r15); return c.get(); } dyn_octstring& set_ded_info_cdma2000_hrpd_r15() { set(types::ded_info_cdma2000_hrpd_r15); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; // member variables bool ded_info_type_r15_present = false; bool time_ref_info_r15_present = false; bool non_crit_ext_present = false; ded_info_type_r15_c_ ded_info_type_r15; time_ref_info_r15_s time_ref_info_r15; dl_info_transfer_v8a0_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // DLInformationTransfer-r8-IEs ::= SEQUENCE struct dl_info_transfer_r8_ies_s { struct ded_info_type_c_ { struct types_opts { enum options { ded_info_nas, ded_info_cdma2000_minus1_xrtt, ded_info_cdma2000_hrpd, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods ded_info_type_c_() = default; ded_info_type_c_(const ded_info_type_c_& other); ded_info_type_c_& operator=(const ded_info_type_c_& other); ~ded_info_type_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters dyn_octstring& ded_info_nas() { assert_choice_type("dedicatedInfoNAS", type_.to_string(), "dedicatedInfoType"); return c.get(); } dyn_octstring& ded_info_cdma2000_minus1_xrtt() { assert_choice_type("dedicatedInfoCDMA2000-1XRTT", type_.to_string(), "dedicatedInfoType"); return c.get(); } dyn_octstring& ded_info_cdma2000_hrpd() { assert_choice_type("dedicatedInfoCDMA2000-HRPD", type_.to_string(), "dedicatedInfoType"); return c.get(); } const dyn_octstring& ded_info_nas() const { assert_choice_type("dedicatedInfoNAS", type_.to_string(), "dedicatedInfoType"); return c.get(); } const dyn_octstring& ded_info_cdma2000_minus1_xrtt() const { assert_choice_type("dedicatedInfoCDMA2000-1XRTT", type_.to_string(), "dedicatedInfoType"); return c.get(); } const dyn_octstring& ded_info_cdma2000_hrpd() const { assert_choice_type("dedicatedInfoCDMA2000-HRPD", type_.to_string(), "dedicatedInfoType"); return c.get(); } dyn_octstring& set_ded_info_nas() { set(types::ded_info_nas); return c.get(); } dyn_octstring& set_ded_info_cdma2000_minus1_xrtt() { set(types::ded_info_cdma2000_minus1_xrtt); return c.get(); } dyn_octstring& set_ded_info_cdma2000_hrpd() { set(types::ded_info_cdma2000_hrpd); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; // member variables bool non_crit_ext_present = false; ded_info_type_c_ ded_info_type; dl_info_transfer_v8a0_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // HandoverFromEUTRAPreparationRequest-r8-IEs ::= SEQUENCE struct ho_from_eutra_prep_request_r8_ies_s { bool rand_present = false; bool mob_params_present = false; bool non_crit_ext_present = false; cdma2000_type_e cdma2000_type; fixed_bitstring<32> rand; dyn_octstring mob_params; ho_from_eutra_prep_request_v890_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // LoggedMeasurementConfiguration-r10-IEs ::= SEQUENCE struct logged_meas_cfg_r10_ies_s { bool area_cfg_r10_present = false; bool non_crit_ext_present = false; trace_ref_r10_s trace_ref_r10; fixed_octstring<2> trace_recording_session_ref_r10; fixed_octstring<1> tce_id_r10; fixed_bitstring<48> absolute_time_info_r10; area_cfg_r10_c area_cfg_r10; logging_dur_r10_e logging_dur_r10; logging_interv_r10_e logging_interv_r10; logged_meas_cfg_v1080_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // MobilityFromEUTRACommand-r8-IEs ::= SEQUENCE struct mob_from_eutra_cmd_r8_ies_s { struct purpose_c_ { struct types_opts { enum options { ho, cell_change_order, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods purpose_c_() = default; purpose_c_(const purpose_c_& other); purpose_c_& operator=(const purpose_c_& other); ~purpose_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters ho_s& ho() { assert_choice_type("handover", type_.to_string(), "purpose"); return c.get(); } cell_change_order_s& cell_change_order() { assert_choice_type("cellChangeOrder", type_.to_string(), "purpose"); return c.get(); } const ho_s& ho() const { assert_choice_type("handover", type_.to_string(), "purpose"); return c.get(); } const cell_change_order_s& cell_change_order() const { assert_choice_type("cellChangeOrder", type_.to_string(), "purpose"); return c.get(); } ho_s& set_ho() { set(types::ho); return c.get(); } cell_change_order_s& set_cell_change_order() { set(types::cell_change_order); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; // member variables bool non_crit_ext_present = false; bool cs_fallback_ind = false; purpose_c_ purpose; mob_from_eutra_cmd_v8a0_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // MobilityFromEUTRACommand-r9-IEs ::= SEQUENCE struct mob_from_eutra_cmd_r9_ies_s { struct purpose_c_ { struct types_opts { enum options { ho, cell_change_order, e_csfb_r9, /*...*/ nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods purpose_c_() = default; purpose_c_(const purpose_c_& other); purpose_c_& operator=(const purpose_c_& other); ~purpose_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters ho_s& ho() { assert_choice_type("handover", type_.to_string(), "purpose"); return c.get(); } cell_change_order_s& cell_change_order() { assert_choice_type("cellChangeOrder", type_.to_string(), "purpose"); return c.get(); } e_csfb_r9_s& e_csfb_r9() { assert_choice_type("e-CSFB-r9", type_.to_string(), "purpose"); return c.get(); } const ho_s& ho() const { assert_choice_type("handover", type_.to_string(), "purpose"); return c.get(); } const cell_change_order_s& cell_change_order() const { assert_choice_type("cellChangeOrder", type_.to_string(), "purpose"); return c.get(); } const e_csfb_r9_s& e_csfb_r9() const { assert_choice_type("e-CSFB-r9", type_.to_string(), "purpose"); return c.get(); } ho_s& set_ho() { set(types::ho); return c.get(); } cell_change_order_s& set_cell_change_order() { set(types::cell_change_order); return c.get(); } e_csfb_r9_s& set_e_csfb_r9() { set(types::e_csfb_r9); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; // member variables bool non_crit_ext_present = false; bool cs_fallback_ind = false; purpose_c_ purpose; mob_from_eutra_cmd_v930_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RNReconfiguration-r10-IEs ::= SEQUENCE struct rn_recfg_r10_ies_s { bool rn_sys_info_r10_present = false; bool rn_sf_cfg_r10_present = false; bool late_non_crit_ext_present = false; bool non_crit_ext_present = false; rn_sys_info_r10_s rn_sys_info_r10; rn_sf_cfg_r10_s rn_sf_cfg_r10; dyn_octstring late_non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RRCConnectionReconfiguration-r8-IEs ::= SEQUENCE struct rrc_conn_recfg_r8_ies_s { using ded_info_nas_list_l_ = bounded_array; // member variables bool meas_cfg_present = false; bool mob_ctrl_info_present = false; bool ded_info_nas_list_present = false; bool rr_cfg_ded_present = false; bool security_cfg_ho_present = false; bool non_crit_ext_present = false; meas_cfg_s meas_cfg; mob_ctrl_info_s mob_ctrl_info; ded_info_nas_list_l_ ded_info_nas_list; rr_cfg_ded_s rr_cfg_ded; security_cfg_ho_s security_cfg_ho; rrc_conn_recfg_v890_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RRCConnectionRelease-r8-IEs ::= SEQUENCE struct rrc_conn_release_r8_ies_s { bool redirected_carrier_info_present = false; bool idle_mode_mob_ctrl_info_present = false; bool non_crit_ext_present = false; release_cause_e release_cause; redirected_carrier_info_c redirected_carrier_info; idle_mode_mob_ctrl_info_s idle_mode_mob_ctrl_info; rrc_conn_release_v890_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RRCConnectionResume-r13-IEs ::= SEQUENCE struct rrc_conn_resume_r13_ies_s { bool rr_cfg_ded_r13_present = false; bool meas_cfg_r13_present = false; bool ant_info_ded_pcell_r13_present = false; bool drb_continue_rohc_r13_present = false; bool late_non_crit_ext_present = false; bool rrc_conn_resume_v1430_ies_present = false; rr_cfg_ded_s rr_cfg_ded_r13; uint8_t next_hop_chaining_count_r13 = 0; meas_cfg_s meas_cfg_r13; ant_info_ded_v10i0_s ant_info_ded_pcell_r13; dyn_octstring late_non_crit_ext; rrc_conn_resume_v1430_ies_s rrc_conn_resume_v1430_ies; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // UEInformationRequest-r9-IEs ::= SEQUENCE struct ue_info_request_r9_ies_s { bool non_crit_ext_present = false; bool rach_report_req_r9 = false; bool rlf_report_req_r9 = false; ue_info_request_v930_ies_s non_crit_ext; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // CSFBParametersResponseCDMA2000 ::= SEQUENCE struct csfb_params_resp_cdma2000_s { struct crit_exts_c_ { struct types_opts { enum options { csfb_params_resp_cdma2000_r8, crit_exts_future, nulltype } value; typedef uint16_t number_type; std::string to_string() const; uint16_t to_number() const; }; typedef enumerated types; // choice methods crit_exts_c_() = default; crit_exts_c_(const crit_exts_c_& other); crit_exts_c_& operator=(const crit_exts_c_& other); ~crit_exts_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters csfb_params_resp_cdma2000_r8_ies_s& csfb_params_resp_cdma2000_r8() { assert_choice_type("csfbParametersResponseCDMA2000-r8", type_.to_string(), "criticalExtensions"); return c.get(); } const csfb_params_resp_cdma2000_r8_ies_s& csfb_params_resp_cdma2000_r8() const { assert_choice_type("csfbParametersResponseCDMA2000-r8", type_.to_string(), "criticalExtensions"); return c.get(); } csfb_params_resp_cdma2000_r8_ies_s& set_csfb_params_resp_cdma2000_r8() { set(types::csfb_params_resp_cdma2000_r8); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; // member variables uint8_t rrc_transaction_id = 0; crit_exts_c_ crit_exts; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // CounterCheck ::= SEQUENCE struct counter_check_s { struct crit_exts_c_ { struct c1_c_ { struct types_opts { enum options { counter_check_r8, spare3, spare2, spare1, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods c1_c_() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters counter_check_r8_ies_s& counter_check_r8() { assert_choice_type("counterCheck-r8", type_.to_string(), "c1"); return c; } const counter_check_r8_ies_s& counter_check_r8() const { assert_choice_type("counterCheck-r8", type_.to_string(), "c1"); return c; } counter_check_r8_ies_s& set_counter_check_r8() { set(types::counter_check_r8); return c; } private: types type_; counter_check_r8_ies_s c; }; typedef c1_or_crit_ext_e types; // choice methods crit_exts_c_() = default; crit_exts_c_(const crit_exts_c_& other); crit_exts_c_& operator=(const crit_exts_c_& other); ~crit_exts_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters c1_c_& c1() { assert_choice_type("c1", type_.to_string(), "criticalExtensions"); return c.get(); } const c1_c_& c1() const { assert_choice_type("c1", type_.to_string(), "criticalExtensions"); return c.get(); } c1_c_& set_c1() { set(types::c1); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; // member variables uint8_t rrc_transaction_id = 0; crit_exts_c_ crit_exts; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // DLInformationTransfer ::= SEQUENCE struct dl_info_transfer_s { struct crit_exts_c_ { struct c1_c_ { struct types_opts { enum options { dl_info_transfer_r8, dl_info_transfer_r15, spare2, spare1, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods c1_c_() = default; c1_c_(const c1_c_& other); c1_c_& operator=(const c1_c_& other); ~c1_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters dl_info_transfer_r8_ies_s& dl_info_transfer_r8() { assert_choice_type("dlInformationTransfer-r8", type_.to_string(), "c1"); return c.get(); } dl_info_transfer_r15_ies_s& dl_info_transfer_r15() { assert_choice_type("dlInformationTransfer-r15", type_.to_string(), "c1"); return c.get(); } const dl_info_transfer_r8_ies_s& dl_info_transfer_r8() const { assert_choice_type("dlInformationTransfer-r8", type_.to_string(), "c1"); return c.get(); } const dl_info_transfer_r15_ies_s& dl_info_transfer_r15() const { assert_choice_type("dlInformationTransfer-r15", type_.to_string(), "c1"); return c.get(); } dl_info_transfer_r8_ies_s& set_dl_info_transfer_r8() { set(types::dl_info_transfer_r8); return c.get(); } dl_info_transfer_r15_ies_s& set_dl_info_transfer_r15() { set(types::dl_info_transfer_r15); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; typedef c1_or_crit_ext_e types; // choice methods crit_exts_c_() = default; crit_exts_c_(const crit_exts_c_& other); crit_exts_c_& operator=(const crit_exts_c_& other); ~crit_exts_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters c1_c_& c1() { assert_choice_type("c1", type_.to_string(), "criticalExtensions"); return c.get(); } const c1_c_& c1() const { assert_choice_type("c1", type_.to_string(), "criticalExtensions"); return c.get(); } c1_c_& set_c1() { set(types::c1); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; // member variables uint8_t rrc_transaction_id = 0; crit_exts_c_ crit_exts; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // HandoverFromEUTRAPreparationRequest ::= SEQUENCE struct ho_from_eutra_prep_request_s { struct crit_exts_c_ { struct c1_c_ { struct types_opts { enum options { ho_from_eutra_prep_request_r8, spare3, spare2, spare1, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods c1_c_() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters ho_from_eutra_prep_request_r8_ies_s& ho_from_eutra_prep_request_r8() { assert_choice_type("handoverFromEUTRAPreparationRequest-r8", type_.to_string(), "c1"); return c; } const ho_from_eutra_prep_request_r8_ies_s& ho_from_eutra_prep_request_r8() const { assert_choice_type("handoverFromEUTRAPreparationRequest-r8", type_.to_string(), "c1"); return c; } ho_from_eutra_prep_request_r8_ies_s& set_ho_from_eutra_prep_request_r8() { set(types::ho_from_eutra_prep_request_r8); return c; } private: types type_; ho_from_eutra_prep_request_r8_ies_s c; }; typedef c1_or_crit_ext_e types; // choice methods crit_exts_c_() = default; crit_exts_c_(const crit_exts_c_& other); crit_exts_c_& operator=(const crit_exts_c_& other); ~crit_exts_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters c1_c_& c1() { assert_choice_type("c1", type_.to_string(), "criticalExtensions"); return c.get(); } const c1_c_& c1() const { assert_choice_type("c1", type_.to_string(), "criticalExtensions"); return c.get(); } c1_c_& set_c1() { set(types::c1); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; // member variables uint8_t rrc_transaction_id = 0; crit_exts_c_ crit_exts; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // LoggedMeasurementConfiguration-r10 ::= SEQUENCE struct logged_meas_cfg_r10_s { struct crit_exts_c_ { struct c1_c_ { struct types_opts { enum options { logged_meas_cfg_r10, spare3, spare2, spare1, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods c1_c_() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters logged_meas_cfg_r10_ies_s& logged_meas_cfg_r10() { assert_choice_type("loggedMeasurementConfiguration-r10", type_.to_string(), "c1"); return c; } const logged_meas_cfg_r10_ies_s& logged_meas_cfg_r10() const { assert_choice_type("loggedMeasurementConfiguration-r10", type_.to_string(), "c1"); return c; } logged_meas_cfg_r10_ies_s& set_logged_meas_cfg_r10() { set(types::logged_meas_cfg_r10); return c; } private: types type_; logged_meas_cfg_r10_ies_s c; }; typedef c1_or_crit_ext_e types; // choice methods crit_exts_c_() = default; crit_exts_c_(const crit_exts_c_& other); crit_exts_c_& operator=(const crit_exts_c_& other); ~crit_exts_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters c1_c_& c1() { assert_choice_type("c1", type_.to_string(), "criticalExtensions"); return c.get(); } const c1_c_& c1() const { assert_choice_type("c1", type_.to_string(), "criticalExtensions"); return c.get(); } c1_c_& set_c1() { set(types::c1); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; // member variables crit_exts_c_ crit_exts; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // MobilityFromEUTRACommand ::= SEQUENCE struct mob_from_eutra_cmd_s { struct crit_exts_c_ { struct c1_c_ { struct types_opts { enum options { mob_from_eutra_cmd_r8, mob_from_eutra_cmd_r9, spare2, spare1, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods c1_c_() = default; c1_c_(const c1_c_& other); c1_c_& operator=(const c1_c_& other); ~c1_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters mob_from_eutra_cmd_r8_ies_s& mob_from_eutra_cmd_r8() { assert_choice_type("mobilityFromEUTRACommand-r8", type_.to_string(), "c1"); return c.get(); } mob_from_eutra_cmd_r9_ies_s& mob_from_eutra_cmd_r9() { assert_choice_type("mobilityFromEUTRACommand-r9", type_.to_string(), "c1"); return c.get(); } const mob_from_eutra_cmd_r8_ies_s& mob_from_eutra_cmd_r8() const { assert_choice_type("mobilityFromEUTRACommand-r8", type_.to_string(), "c1"); return c.get(); } const mob_from_eutra_cmd_r9_ies_s& mob_from_eutra_cmd_r9() const { assert_choice_type("mobilityFromEUTRACommand-r9", type_.to_string(), "c1"); return c.get(); } mob_from_eutra_cmd_r8_ies_s& set_mob_from_eutra_cmd_r8() { set(types::mob_from_eutra_cmd_r8); return c.get(); } mob_from_eutra_cmd_r9_ies_s& set_mob_from_eutra_cmd_r9() { set(types::mob_from_eutra_cmd_r9); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; typedef c1_or_crit_ext_e types; // choice methods crit_exts_c_() = default; crit_exts_c_(const crit_exts_c_& other); crit_exts_c_& operator=(const crit_exts_c_& other); ~crit_exts_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters c1_c_& c1() { assert_choice_type("c1", type_.to_string(), "criticalExtensions"); return c.get(); } const c1_c_& c1() const { assert_choice_type("c1", type_.to_string(), "criticalExtensions"); return c.get(); } c1_c_& set_c1() { set(types::c1); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; // member variables uint8_t rrc_transaction_id = 0; crit_exts_c_ crit_exts; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RNReconfiguration-r10 ::= SEQUENCE struct rn_recfg_r10_s { struct crit_exts_c_ { struct c1_c_ { struct types_opts { enum options { rn_recfg_r10, spare3, spare2, spare1, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods c1_c_() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters rn_recfg_r10_ies_s& rn_recfg_r10() { assert_choice_type("rnReconfiguration-r10", type_.to_string(), "c1"); return c; } const rn_recfg_r10_ies_s& rn_recfg_r10() const { assert_choice_type("rnReconfiguration-r10", type_.to_string(), "c1"); return c; } rn_recfg_r10_ies_s& set_rn_recfg_r10() { set(types::rn_recfg_r10); return c; } private: types type_; rn_recfg_r10_ies_s c; }; typedef c1_or_crit_ext_e types; // choice methods crit_exts_c_() = default; crit_exts_c_(const crit_exts_c_& other); crit_exts_c_& operator=(const crit_exts_c_& other); ~crit_exts_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters c1_c_& c1() { assert_choice_type("c1", type_.to_string(), "criticalExtensions"); return c.get(); } const c1_c_& c1() const { assert_choice_type("c1", type_.to_string(), "criticalExtensions"); return c.get(); } c1_c_& set_c1() { set(types::c1); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; // member variables uint8_t rrc_transaction_id = 0; crit_exts_c_ crit_exts; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RRCConnectionReconfiguration ::= SEQUENCE struct rrc_conn_recfg_s { struct crit_exts_c_ { struct c1_c_ { struct types_opts { enum options { rrc_conn_recfg_r8, spare7, spare6, spare5, spare4, spare3, spare2, spare1, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods c1_c_() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters rrc_conn_recfg_r8_ies_s& rrc_conn_recfg_r8() { assert_choice_type("rrcConnectionReconfiguration-r8", type_.to_string(), "c1"); return c; } const rrc_conn_recfg_r8_ies_s& rrc_conn_recfg_r8() const { assert_choice_type("rrcConnectionReconfiguration-r8", type_.to_string(), "c1"); return c; } rrc_conn_recfg_r8_ies_s& set_rrc_conn_recfg_r8() { set(types::rrc_conn_recfg_r8); return c; } private: types type_; rrc_conn_recfg_r8_ies_s c; }; typedef c1_or_crit_ext_e types; // choice methods crit_exts_c_() = default; crit_exts_c_(const crit_exts_c_& other); crit_exts_c_& operator=(const crit_exts_c_& other); ~crit_exts_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters c1_c_& c1() { assert_choice_type("c1", type_.to_string(), "criticalExtensions"); return c.get(); } const c1_c_& c1() const { assert_choice_type("c1", type_.to_string(), "criticalExtensions"); return c.get(); } c1_c_& set_c1() { set(types::c1); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; // member variables uint8_t rrc_transaction_id = 0; crit_exts_c_ crit_exts; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RRCConnectionRelease ::= SEQUENCE struct rrc_conn_release_s { struct crit_exts_c_ { struct c1_c_ { struct types_opts { enum options { rrc_conn_release_r8, spare3, spare2, spare1, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods c1_c_() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters rrc_conn_release_r8_ies_s& rrc_conn_release_r8() { assert_choice_type("rrcConnectionRelease-r8", type_.to_string(), "c1"); return c; } const rrc_conn_release_r8_ies_s& rrc_conn_release_r8() const { assert_choice_type("rrcConnectionRelease-r8", type_.to_string(), "c1"); return c; } rrc_conn_release_r8_ies_s& set_rrc_conn_release_r8() { set(types::rrc_conn_release_r8); return c; } private: types type_; rrc_conn_release_r8_ies_s c; }; typedef c1_or_crit_ext_e types; // choice methods crit_exts_c_() = default; crit_exts_c_(const crit_exts_c_& other); crit_exts_c_& operator=(const crit_exts_c_& other); ~crit_exts_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters c1_c_& c1() { assert_choice_type("c1", type_.to_string(), "criticalExtensions"); return c.get(); } const c1_c_& c1() const { assert_choice_type("c1", type_.to_string(), "criticalExtensions"); return c.get(); } c1_c_& set_c1() { set(types::c1); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; // member variables uint8_t rrc_transaction_id = 0; crit_exts_c_ crit_exts; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // RRCConnectionResume-r13 ::= SEQUENCE struct rrc_conn_resume_r13_s { struct crit_exts_c_ { struct c1_c_ { struct types_opts { enum options { rrc_conn_resume_r13, spare3, spare2, spare1, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods c1_c_() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters rrc_conn_resume_r13_ies_s& rrc_conn_resume_r13() { assert_choice_type("rrcConnectionResume-r13", type_.to_string(), "c1"); return c; } const rrc_conn_resume_r13_ies_s& rrc_conn_resume_r13() const { assert_choice_type("rrcConnectionResume-r13", type_.to_string(), "c1"); return c; } rrc_conn_resume_r13_ies_s& set_rrc_conn_resume_r13() { set(types::rrc_conn_resume_r13); return c; } private: types type_; rrc_conn_resume_r13_ies_s c; }; typedef c1_or_crit_ext_e types; // choice methods crit_exts_c_() = default; crit_exts_c_(const crit_exts_c_& other); crit_exts_c_& operator=(const crit_exts_c_& other); ~crit_exts_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters c1_c_& c1() { assert_choice_type("c1", type_.to_string(), "criticalExtensions"); return c.get(); } const c1_c_& c1() const { assert_choice_type("c1", type_.to_string(), "criticalExtensions"); return c.get(); } c1_c_& set_c1() { set(types::c1); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; // member variables uint8_t rrc_transaction_id = 0; crit_exts_c_ crit_exts; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // UEInformationRequest-r9 ::= SEQUENCE struct ue_info_request_r9_s { struct crit_exts_c_ { struct c1_c_ { struct types_opts { enum options { ue_info_request_r9, spare3, spare2, spare1, nulltype } value; std::string to_string() const; }; typedef enumerated types; // choice methods c1_c_() = default; void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters ue_info_request_r9_ies_s& ue_info_request_r9() { assert_choice_type("ueInformationRequest-r9", type_.to_string(), "c1"); return c; } const ue_info_request_r9_ies_s& ue_info_request_r9() const { assert_choice_type("ueInformationRequest-r9", type_.to_string(), "c1"); return c; } ue_info_request_r9_ies_s& set_ue_info_request_r9() { set(types::ue_info_request_r9); return c; } private: types type_; ue_info_request_r9_ies_s c; }; typedef c1_or_crit_ext_e types; // choice methods crit_exts_c_() = default; crit_exts_c_(const crit_exts_c_& other); crit_exts_c_& operator=(const crit_exts_c_& other); ~crit_exts_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters c1_c_& c1() { assert_choice_type("c1", type_.to_string(), "criticalExtensions"); return c.get(); } const c1_c_& c1() const { assert_choice_type("c1", type_.to_string(), "criticalExtensions"); return c.get(); } c1_c_& set_c1() { set(types::c1); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; // member variables uint8_t rrc_transaction_id = 0; crit_exts_c_ crit_exts; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; // DL-DCCH-MessageType ::= CHOICE struct dl_dcch_msg_type_c { struct c1_c_ { struct types_opts { enum options { csfb_params_resp_cdma2000, dl_info_transfer, ho_from_eutra_prep_request, mob_from_eutra_cmd, rrc_conn_recfg, rrc_conn_release, security_mode_cmd, ue_cap_enquiry, counter_check, ue_info_request_r9, logged_meas_cfg_r10, rn_recfg_r10, rrc_conn_resume_r13, spare3, spare2, spare1, nulltype } value; typedef uint16_t number_type; std::string to_string() const; uint16_t to_number() const; }; typedef enumerated types; // choice methods c1_c_() = default; c1_c_(const c1_c_& other); c1_c_& operator=(const c1_c_& other); ~c1_c_() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters csfb_params_resp_cdma2000_s& csfb_params_resp_cdma2000() { assert_choice_type("csfbParametersResponseCDMA2000", type_.to_string(), "c1"); return c.get(); } dl_info_transfer_s& dl_info_transfer() { assert_choice_type("dlInformationTransfer", type_.to_string(), "c1"); return c.get(); } ho_from_eutra_prep_request_s& ho_from_eutra_prep_request() { assert_choice_type("handoverFromEUTRAPreparationRequest", type_.to_string(), "c1"); return c.get(); } mob_from_eutra_cmd_s& mob_from_eutra_cmd() { assert_choice_type("mobilityFromEUTRACommand", type_.to_string(), "c1"); return c.get(); } rrc_conn_recfg_s& rrc_conn_recfg() { assert_choice_type("rrcConnectionReconfiguration", type_.to_string(), "c1"); return c.get(); } rrc_conn_release_s& rrc_conn_release() { assert_choice_type("rrcConnectionRelease", type_.to_string(), "c1"); return c.get(); } security_mode_cmd_s& security_mode_cmd() { assert_choice_type("securityModeCommand", type_.to_string(), "c1"); return c.get(); } ue_cap_enquiry_s& ue_cap_enquiry() { assert_choice_type("ueCapabilityEnquiry", type_.to_string(), "c1"); return c.get(); } counter_check_s& counter_check() { assert_choice_type("counterCheck", type_.to_string(), "c1"); return c.get(); } ue_info_request_r9_s& ue_info_request_r9() { assert_choice_type("ueInformationRequest-r9", type_.to_string(), "c1"); return c.get(); } logged_meas_cfg_r10_s& logged_meas_cfg_r10() { assert_choice_type("loggedMeasurementConfiguration-r10", type_.to_string(), "c1"); return c.get(); } rn_recfg_r10_s& rn_recfg_r10() { assert_choice_type("rnReconfiguration-r10", type_.to_string(), "c1"); return c.get(); } rrc_conn_resume_r13_s& rrc_conn_resume_r13() { assert_choice_type("rrcConnectionResume-r13", type_.to_string(), "c1"); return c.get(); } const csfb_params_resp_cdma2000_s& csfb_params_resp_cdma2000() const { assert_choice_type("csfbParametersResponseCDMA2000", type_.to_string(), "c1"); return c.get(); } const dl_info_transfer_s& dl_info_transfer() const { assert_choice_type("dlInformationTransfer", type_.to_string(), "c1"); return c.get(); } const ho_from_eutra_prep_request_s& ho_from_eutra_prep_request() const { assert_choice_type("handoverFromEUTRAPreparationRequest", type_.to_string(), "c1"); return c.get(); } const mob_from_eutra_cmd_s& mob_from_eutra_cmd() const { assert_choice_type("mobilityFromEUTRACommand", type_.to_string(), "c1"); return c.get(); } const rrc_conn_recfg_s& rrc_conn_recfg() const { assert_choice_type("rrcConnectionReconfiguration", type_.to_string(), "c1"); return c.get(); } const rrc_conn_release_s& rrc_conn_release() const { assert_choice_type("rrcConnectionRelease", type_.to_string(), "c1"); return c.get(); } const security_mode_cmd_s& security_mode_cmd() const { assert_choice_type("securityModeCommand", type_.to_string(), "c1"); return c.get(); } const ue_cap_enquiry_s& ue_cap_enquiry() const { assert_choice_type("ueCapabilityEnquiry", type_.to_string(), "c1"); return c.get(); } const counter_check_s& counter_check() const { assert_choice_type("counterCheck", type_.to_string(), "c1"); return c.get(); } const ue_info_request_r9_s& ue_info_request_r9() const { assert_choice_type("ueInformationRequest-r9", type_.to_string(), "c1"); return c.get(); } const logged_meas_cfg_r10_s& logged_meas_cfg_r10() const { assert_choice_type("loggedMeasurementConfiguration-r10", type_.to_string(), "c1"); return c.get(); } const rn_recfg_r10_s& rn_recfg_r10() const { assert_choice_type("rnReconfiguration-r10", type_.to_string(), "c1"); return c.get(); } const rrc_conn_resume_r13_s& rrc_conn_resume_r13() const { assert_choice_type("rrcConnectionResume-r13", type_.to_string(), "c1"); return c.get(); } csfb_params_resp_cdma2000_s& set_csfb_params_resp_cdma2000() { set(types::csfb_params_resp_cdma2000); return c.get(); } dl_info_transfer_s& set_dl_info_transfer() { set(types::dl_info_transfer); return c.get(); } ho_from_eutra_prep_request_s& set_ho_from_eutra_prep_request() { set(types::ho_from_eutra_prep_request); return c.get(); } mob_from_eutra_cmd_s& set_mob_from_eutra_cmd() { set(types::mob_from_eutra_cmd); return c.get(); } rrc_conn_recfg_s& set_rrc_conn_recfg() { set(types::rrc_conn_recfg); return c.get(); } rrc_conn_release_s& set_rrc_conn_release() { set(types::rrc_conn_release); return c.get(); } security_mode_cmd_s& set_security_mode_cmd() { set(types::security_mode_cmd); return c.get(); } ue_cap_enquiry_s& set_ue_cap_enquiry() { set(types::ue_cap_enquiry); return c.get(); } counter_check_s& set_counter_check() { set(types::counter_check); return c.get(); } ue_info_request_r9_s& set_ue_info_request_r9() { set(types::ue_info_request_r9); return c.get(); } logged_meas_cfg_r10_s& set_logged_meas_cfg_r10() { set(types::logged_meas_cfg_r10); return c.get(); } rn_recfg_r10_s& set_rn_recfg_r10() { set(types::rn_recfg_r10); return c.get(); } rrc_conn_resume_r13_s& set_rrc_conn_resume_r13() { set(types::rrc_conn_resume_r13); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; struct types_opts { enum options { c1, msg_class_ext, nulltype } value; typedef uint8_t number_type; std::string to_string() const; uint8_t to_number() const; }; typedef enumerated types; // choice methods dl_dcch_msg_type_c() = default; dl_dcch_msg_type_c(const dl_dcch_msg_type_c& other); dl_dcch_msg_type_c& operator=(const dl_dcch_msg_type_c& other); ~dl_dcch_msg_type_c() { destroy_(); } void set(types::options e = types::nulltype); types type() const { return type_; } SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; // getters c1_c_& c1() { assert_choice_type("c1", type_.to_string(), "DL-DCCH-MessageType"); return c.get(); } const c1_c_& c1() const { assert_choice_type("c1", type_.to_string(), "DL-DCCH-MessageType"); return c.get(); } c1_c_& set_c1() { set(types::c1); return c.get(); } private: types type_; choice_buffer_t c; void destroy_(); }; // DL-DCCH-Message ::= SEQUENCE struct dl_dcch_msg_s { dl_dcch_msg_type_c msg; // sequence methods SRSASN_CODE pack(bit_ref& bref) const; SRSASN_CODE unpack(cbit_ref& bref); void to_json(json_writer& j) const; }; } // namespace rrc } // namespace asn1 #endif // SRSASN1_RRC_DLDCCH_MSG_H