@ -410,7 +410,7 @@ SRSASN_CODE lc_ch_cfg_s::pack(bit_ref& bref) const
group_flags [ 2 ] | = bit_rate_query_prohibit_timer_r14_present ;
group_flags [ 2 ] | = bit_rate_query_prohibit_timer_r14_present ;
group_flags [ 3 ] | = allowed_tti_lens_r15 . is_present ( ) ;
group_flags [ 3 ] | = allowed_tti_lens_r15 . is_present ( ) ;
group_flags [ 3 ] | = lc_ch_sr_restrict_r15 . is_present ( ) ;
group_flags [ 3 ] | = lc_ch_sr_restrict_r15 . is_present ( ) ;
group_flags [ 3 ] | = ch l _access_prio_r15. is_present ( ) ;
group_flags [ 3 ] | = ch _access_prio_r15. is_present ( ) ;
group_flags [ 3 ] | = lch_cell_restrict_r15_present ;
group_flags [ 3 ] | = lch_cell_restrict_r15_present ;
group_flags . pack ( bref ) ;
group_flags . pack ( bref ) ;
@ -444,7 +444,7 @@ SRSASN_CODE lc_ch_cfg_s::pack(bit_ref& bref) const
HANDLE_CODE ( bref . pack ( allowed_tti_lens_r15 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( allowed_tti_lens_r15 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( lc_ch_sr_restrict_r15 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( lc_ch_sr_restrict_r15 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( ch l _access_prio_r15. is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( ch _access_prio_r15. is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( lch_cell_restrict_r15_present , 1 ) ) ;
HANDLE_CODE ( bref . pack ( lch_cell_restrict_r15_present , 1 ) ) ;
if ( allowed_tti_lens_r15 . is_present ( ) ) {
if ( allowed_tti_lens_r15 . is_present ( ) ) {
HANDLE_CODE ( allowed_tti_lens_r15 - > pack ( bref ) ) ;
HANDLE_CODE ( allowed_tti_lens_r15 - > pack ( bref ) ) ;
@ -452,8 +452,8 @@ SRSASN_CODE lc_ch_cfg_s::pack(bit_ref& bref) const
if ( lc_ch_sr_restrict_r15 . is_present ( ) ) {
if ( lc_ch_sr_restrict_r15 . is_present ( ) ) {
HANDLE_CODE ( lc_ch_sr_restrict_r15 - > pack ( bref ) ) ;
HANDLE_CODE ( lc_ch_sr_restrict_r15 - > pack ( bref ) ) ;
}
}
if ( ch l _access_prio_r15. is_present ( ) ) {
if ( ch _access_prio_r15. is_present ( ) ) {
HANDLE_CODE ( ch l _access_prio_r15- > pack ( bref ) ) ;
HANDLE_CODE ( ch _access_prio_r15- > pack ( bref ) ) ;
}
}
if ( lch_cell_restrict_r15_present ) {
if ( lch_cell_restrict_r15_present ) {
HANDLE_CODE ( lch_cell_restrict_r15 . pack ( bref ) ) ;
HANDLE_CODE ( lch_cell_restrict_r15 . pack ( bref ) ) ;
@ -515,9 +515,9 @@ SRSASN_CODE lc_ch_cfg_s::unpack(cbit_ref& bref)
bool lc_ch_sr_restrict_r15_present ;
bool lc_ch_sr_restrict_r15_present ;
HANDLE_CODE ( bref . unpack ( lc_ch_sr_restrict_r15_present , 1 ) ) ;
HANDLE_CODE ( bref . unpack ( lc_ch_sr_restrict_r15_present , 1 ) ) ;
lc_ch_sr_restrict_r15 . set_present ( lc_ch_sr_restrict_r15_present ) ;
lc_ch_sr_restrict_r15 . set_present ( lc_ch_sr_restrict_r15_present ) ;
bool ch l _access_prio_r15_present;
bool ch _access_prio_r15_present;
HANDLE_CODE ( bref . unpack ( ch l _access_prio_r15_present, 1 ) ) ;
HANDLE_CODE ( bref . unpack ( ch _access_prio_r15_present, 1 ) ) ;
ch l _access_prio_r15. set_present ( ch l _access_prio_r15_present) ;
ch _access_prio_r15. set_present ( ch _access_prio_r15_present) ;
HANDLE_CODE ( bref . unpack ( lch_cell_restrict_r15_present , 1 ) ) ;
HANDLE_CODE ( bref . unpack ( lch_cell_restrict_r15_present , 1 ) ) ;
if ( allowed_tti_lens_r15 . is_present ( ) ) {
if ( allowed_tti_lens_r15 . is_present ( ) ) {
HANDLE_CODE ( allowed_tti_lens_r15 - > unpack ( bref ) ) ;
HANDLE_CODE ( allowed_tti_lens_r15 - > unpack ( bref ) ) ;
@ -525,8 +525,8 @@ SRSASN_CODE lc_ch_cfg_s::unpack(cbit_ref& bref)
if ( lc_ch_sr_restrict_r15 . is_present ( ) ) {
if ( lc_ch_sr_restrict_r15 . is_present ( ) ) {
HANDLE_CODE ( lc_ch_sr_restrict_r15 - > unpack ( bref ) ) ;
HANDLE_CODE ( lc_ch_sr_restrict_r15 - > unpack ( bref ) ) ;
}
}
if ( ch l _access_prio_r15. is_present ( ) ) {
if ( ch _access_prio_r15. is_present ( ) ) {
HANDLE_CODE ( ch l _access_prio_r15- > unpack ( bref ) ) ;
HANDLE_CODE ( ch _access_prio_r15- > unpack ( bref ) ) ;
}
}
if ( lch_cell_restrict_r15_present ) {
if ( lch_cell_restrict_r15_present ) {
HANDLE_CODE ( lch_cell_restrict_r15 . unpack ( bref ) ) ;
HANDLE_CODE ( lch_cell_restrict_r15 . unpack ( bref ) ) ;
@ -570,9 +570,9 @@ void lc_ch_cfg_s::to_json(json_writer& j) const
j . write_fieldname ( " logicalChannelSR-Restriction-r15 " ) ;
j . write_fieldname ( " logicalChannelSR-Restriction-r15 " ) ;
lc_ch_sr_restrict_r15 - > to_json ( j ) ;
lc_ch_sr_restrict_r15 - > to_json ( j ) ;
}
}
if ( ch l _access_prio_r15. is_present ( ) ) {
if ( ch _access_prio_r15. is_present ( ) ) {
j . write_fieldname ( " channel l AccessPriority-r15" ) ;
j . write_fieldname ( " channel AccessPriority-r15" ) ;
ch l _access_prio_r15- > to_json ( j ) ;
ch _access_prio_r15- > to_json ( j ) ;
}
}
if ( lch_cell_restrict_r15_present ) {
if ( lch_cell_restrict_r15_present ) {
j . write_str ( " lch-CellRestriction-r15 " , lch_cell_restrict_r15 . to_string ( ) ) ;
j . write_str ( " lch-CellRestriction-r15 " , lch_cell_restrict_r15 . to_string ( ) ) ;
@ -601,8 +601,8 @@ bool lc_ch_cfg_s::operator==(const lc_ch_cfg_s& other) const
( not allowed_tti_lens_r15 . is_present ( ) or * allowed_tti_lens_r15 = = * other . allowed_tti_lens_r15 ) and
( not allowed_tti_lens_r15 . is_present ( ) or * allowed_tti_lens_r15 = = * other . allowed_tti_lens_r15 ) and
lc_ch_sr_restrict_r15 . is_present ( ) = = other . lc_ch_sr_restrict_r15 . is_present ( ) and
lc_ch_sr_restrict_r15 . is_present ( ) = = other . lc_ch_sr_restrict_r15 . is_present ( ) and
( not lc_ch_sr_restrict_r15 . is_present ( ) or * lc_ch_sr_restrict_r15 = = * other . lc_ch_sr_restrict_r15 ) and
( not lc_ch_sr_restrict_r15 . is_present ( ) or * lc_ch_sr_restrict_r15 = = * other . lc_ch_sr_restrict_r15 ) and
ch l _access_prio_r15. is_present ( ) = = other . ch l _access_prio_r15. is_present ( ) and
ch _access_prio_r15. is_present ( ) = = other . ch _access_prio_r15. is_present ( ) and
( not ch l _access_prio_r15. is_present ( ) or * ch l _access_prio_r15 = = * other . ch l _access_prio_r15) and
( not ch _access_prio_r15. is_present ( ) or * ch _access_prio_r15 = = * other . ch _access_prio_r15) and
lch_cell_restrict_r15_present = = other . lch_cell_restrict_r15_present and
lch_cell_restrict_r15_present = = other . lch_cell_restrict_r15_present and
( not lch_cell_restrict_r15_present or lch_cell_restrict_r15 = = other . lch_cell_restrict_r15 ) ) ) ;
( not lch_cell_restrict_r15_present or lch_cell_restrict_r15 = = other . lch_cell_restrict_r15 ) ) ) ;
}
}
@ -782,11 +782,11 @@ std::string lc_ch_cfg_s::lc_ch_sr_restrict_r15_c_::setup_opts::to_string() const
return convert_enum_idx ( options , 2 , value , " lc_ch_cfg_s::lc_ch_sr_restrict_r15_c_::setup_e_ " ) ;
return convert_enum_idx ( options , 2 , value , " lc_ch_cfg_s::lc_ch_sr_restrict_r15_c_::setup_e_ " ) ;
}
}
void lc_ch_cfg_s : : ch l _access_prio_r15_c_: : set ( types : : options e )
void lc_ch_cfg_s : : ch _access_prio_r15_c_: : set ( types : : options e )
{
{
type_ = e ;
type_ = e ;
}
}
void lc_ch_cfg_s : : ch l _access_prio_r15_c_: : to_json ( json_writer & j ) const
void lc_ch_cfg_s : : ch _access_prio_r15_c_: : to_json ( json_writer & j ) const
{
{
j . start_obj ( ) ;
j . start_obj ( ) ;
switch ( type_ ) {
switch ( type_ ) {
@ -796,11 +796,11 @@ void lc_ch_cfg_s::chl_access_prio_r15_c_::to_json(json_writer& j) const
j . write_int ( " setup " , c ) ;
j . write_int ( " setup " , c ) ;
break ;
break ;
default :
default :
log_invalid_choice_id ( type_ , " lc_ch_cfg_s::ch l _access_prio_r15_c_" ) ;
log_invalid_choice_id ( type_ , " lc_ch_cfg_s::ch _access_prio_r15_c_" ) ;
}
}
j . end_obj ( ) ;
j . end_obj ( ) ;
}
}
SRSASN_CODE lc_ch_cfg_s : : ch l _access_prio_r15_c_: : pack ( bit_ref & bref ) const
SRSASN_CODE lc_ch_cfg_s : : ch _access_prio_r15_c_: : pack ( bit_ref & bref ) const
{
{
type_ . pack ( bref ) ;
type_ . pack ( bref ) ;
switch ( type_ ) {
switch ( type_ ) {
@ -810,12 +810,12 @@ SRSASN_CODE lc_ch_cfg_s::chl_access_prio_r15_c_::pack(bit_ref& bref) const
HANDLE_CODE ( pack_integer ( bref , c , ( uint8_t ) 1u , ( uint8_t ) 4u ) ) ;
HANDLE_CODE ( pack_integer ( bref , c , ( uint8_t ) 1u , ( uint8_t ) 4u ) ) ;
break ;
break ;
default :
default :
log_invalid_choice_id ( type_ , " lc_ch_cfg_s::ch l _access_prio_r15_c_" ) ;
log_invalid_choice_id ( type_ , " lc_ch_cfg_s::ch _access_prio_r15_c_" ) ;
return SRSASN_ERROR_ENCODE_FAIL ;
return SRSASN_ERROR_ENCODE_FAIL ;
}
}
return SRSASN_SUCCESS ;
return SRSASN_SUCCESS ;
}
}
SRSASN_CODE lc_ch_cfg_s : : ch l _access_prio_r15_c_: : unpack ( cbit_ref & bref )
SRSASN_CODE lc_ch_cfg_s : : ch _access_prio_r15_c_: : unpack ( cbit_ref & bref )
{
{
types e ;
types e ;
e . unpack ( bref ) ;
e . unpack ( bref ) ;
@ -827,12 +827,12 @@ SRSASN_CODE lc_ch_cfg_s::chl_access_prio_r15_c_::unpack(cbit_ref& bref)
HANDLE_CODE ( unpack_integer ( c , bref , ( uint8_t ) 1u , ( uint8_t ) 4u ) ) ;
HANDLE_CODE ( unpack_integer ( c , bref , ( uint8_t ) 1u , ( uint8_t ) 4u ) ) ;
break ;
break ;
default :
default :
log_invalid_choice_id ( type_ , " lc_ch_cfg_s::ch l _access_prio_r15_c_" ) ;
log_invalid_choice_id ( type_ , " lc_ch_cfg_s::ch _access_prio_r15_c_" ) ;
return SRSASN_ERROR_DECODE_FAIL ;
return SRSASN_ERROR_DECODE_FAIL ;
}
}
return SRSASN_SUCCESS ;
return SRSASN_SUCCESS ;
}
}
bool lc_ch_cfg_s : : ch l _access_prio_r15_c_: : operator = = ( const ch l _access_prio_r15_c_& other ) const
bool lc_ch_cfg_s : : ch _access_prio_r15_c_: : operator = = ( const ch _access_prio_r15_c_& other ) const
{
{
return type ( ) = = other . type ( ) and c = = other . c ;
return type ( ) = = other . type ( ) and c = = other . c ;
}
}
@ -1340,7 +1340,7 @@ uint8_t crs_assist_info_r13_s::ant_ports_count_r13_opts::to_number() const
// CRS-AssistanceInfo-r15 ::= SEQUENCE
// CRS-AssistanceInfo-r15 ::= SEQUENCE
SRSASN_CODE crs_assist_info_r15_s : : pack ( bit_ref & bref ) const
SRSASN_CODE crs_assist_info_r15_s : : pack ( bit_ref & bref ) const
{
{
HANDLE_CODE ( bref . pack ( crs_intf_mitig_enabled_ minus 15_present, 1 ) ) ;
HANDLE_CODE ( bref . pack ( crs_intf_mitig_enabled_ r 15_present, 1 ) ) ;
HANDLE_CODE ( pack_integer ( bref , pci_r15 , ( uint16_t ) 0u , ( uint16_t ) 503u ) ) ;
HANDLE_CODE ( pack_integer ( bref , pci_r15 , ( uint16_t ) 0u , ( uint16_t ) 503u ) ) ;
@ -1348,7 +1348,7 @@ SRSASN_CODE crs_assist_info_r15_s::pack(bit_ref& bref) const
}
}
SRSASN_CODE crs_assist_info_r15_s : : unpack ( cbit_ref & bref )
SRSASN_CODE crs_assist_info_r15_s : : unpack ( cbit_ref & bref )
{
{
HANDLE_CODE ( bref . unpack ( crs_intf_mitig_enabled_ minus 15_present, 1 ) ) ;
HANDLE_CODE ( bref . unpack ( crs_intf_mitig_enabled_ r 15_present, 1 ) ) ;
HANDLE_CODE ( unpack_integer ( pci_r15 , bref , ( uint16_t ) 0u , ( uint16_t ) 503u ) ) ;
HANDLE_CODE ( unpack_integer ( pci_r15 , bref , ( uint16_t ) 0u , ( uint16_t ) 503u ) ) ;
@ -1358,15 +1358,14 @@ void crs_assist_info_r15_s::to_json(json_writer& j) const
{
{
j . start_obj ( ) ;
j . start_obj ( ) ;
j . write_int ( " physCellId-r15 " , pci_r15 ) ;
j . write_int ( " physCellId-r15 " , pci_r15 ) ;
if ( crs_intf_mitig_enabled_ minus 15_present) {
if ( crs_intf_mitig_enabled_ r 15_present) {
j . write_str ( " crs-IntfMitigEnabled- 15" , " enabled " ) ;
j . write_str ( " crs-IntfMitigEnabled- r 15" , " enabled " ) ;
}
}
j . end_obj ( ) ;
j . end_obj ( ) ;
}
}
bool crs_assist_info_r15_s : : operator = = ( const crs_assist_info_r15_s & other ) const
bool crs_assist_info_r15_s : : operator = = ( const crs_assist_info_r15_s & other ) const
{
{
return pci_r15 = = other . pci_r15 and
return pci_r15 = = other . pci_r15 and crs_intf_mitig_enabled_r15_present = = other . crs_intf_mitig_enabled_r15_present ;
crs_intf_mitig_enabled_minus15_present = = other . crs_intf_mitig_enabled_minus15_present ;
}
}
// NeighCellsInfo-r12 ::= SEQUENCE
// NeighCellsInfo-r12 ::= SEQUENCE
@ -3992,7 +3991,7 @@ SRSASN_CODE drb_to_add_mod_s::pack(bit_ref& bref) const
group_flags [ 2 ] | = lwa_wlan_ac_r14_present ;
group_flags [ 2 ] | = lwa_wlan_ac_r14_present ;
group_flags [ 3 ] | = rlc_cfg_v1510 . is_present ( ) ;
group_flags [ 3 ] | = rlc_cfg_v1510 . is_present ( ) ;
group_flags [ 4 ] | = rlc_cfg_v1530 . is_present ( ) ;
group_flags [ 4 ] | = rlc_cfg_v1530 . is_present ( ) ;
group_flags [ 4 ] | = rlc_bearer_cfg_ dupl _r15. is_present ( ) ;
group_flags [ 4 ] | = rlc_bearer_cfg_ secondary _r15. is_present ( ) ;
group_flags [ 4 ] | = lc_ch_id_r15_present ;
group_flags [ 4 ] | = lc_ch_id_r15_present ;
group_flags . pack ( bref ) ;
group_flags . pack ( bref ) ;
@ -4053,13 +4052,13 @@ SRSASN_CODE drb_to_add_mod_s::pack(bit_ref& bref) const
varlength_field_pack_guard varlen_scope ( bref , false ) ;
varlength_field_pack_guard varlen_scope ( bref , false ) ;
HANDLE_CODE ( bref . pack ( rlc_cfg_v1530 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( rlc_cfg_v1530 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( rlc_bearer_cfg_ dupl _r15. is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( rlc_bearer_cfg_ secondary _r15. is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( lc_ch_id_r15_present , 1 ) ) ;
HANDLE_CODE ( bref . pack ( lc_ch_id_r15_present , 1 ) ) ;
if ( rlc_cfg_v1530 . is_present ( ) ) {
if ( rlc_cfg_v1530 . is_present ( ) ) {
HANDLE_CODE ( rlc_cfg_v1530 - > pack ( bref ) ) ;
HANDLE_CODE ( rlc_cfg_v1530 - > pack ( bref ) ) ;
}
}
if ( rlc_bearer_cfg_ dupl _r15. is_present ( ) ) {
if ( rlc_bearer_cfg_ secondary _r15. is_present ( ) ) {
HANDLE_CODE ( rlc_bearer_cfg_ dupl _r15- > pack ( bref ) ) ;
HANDLE_CODE ( rlc_bearer_cfg_ secondary _r15- > pack ( bref ) ) ;
}
}
if ( lc_ch_id_r15_present ) {
if ( lc_ch_id_r15_present ) {
HANDLE_CODE ( pack_integer ( bref , lc_ch_id_r15 , ( uint8_t ) 32u , ( uint8_t ) 38u ) ) ;
HANDLE_CODE ( pack_integer ( bref , lc_ch_id_r15 , ( uint8_t ) 32u , ( uint8_t ) 38u ) ) ;
@ -4165,15 +4164,15 @@ SRSASN_CODE drb_to_add_mod_s::unpack(cbit_ref& bref)
bool rlc_cfg_v1530_present ;
bool rlc_cfg_v1530_present ;
HANDLE_CODE ( bref . unpack ( rlc_cfg_v1530_present , 1 ) ) ;
HANDLE_CODE ( bref . unpack ( rlc_cfg_v1530_present , 1 ) ) ;
rlc_cfg_v1530 . set_present ( rlc_cfg_v1530_present ) ;
rlc_cfg_v1530 . set_present ( rlc_cfg_v1530_present ) ;
bool rlc_bearer_cfg_ dupl _r15_present;
bool rlc_bearer_cfg_ secondary _r15_present;
HANDLE_CODE ( bref . unpack ( rlc_bearer_cfg_ dupl _r15_present, 1 ) ) ;
HANDLE_CODE ( bref . unpack ( rlc_bearer_cfg_ secondary _r15_present, 1 ) ) ;
rlc_bearer_cfg_ dupl_r15. set_present ( rlc_bearer_cfg_dupl _r15_present) ;
rlc_bearer_cfg_ secondary_r15. set_present ( rlc_bearer_cfg_secondary _r15_present) ;
HANDLE_CODE ( bref . unpack ( lc_ch_id_r15_present , 1 ) ) ;
HANDLE_CODE ( bref . unpack ( lc_ch_id_r15_present , 1 ) ) ;
if ( rlc_cfg_v1530 . is_present ( ) ) {
if ( rlc_cfg_v1530 . is_present ( ) ) {
HANDLE_CODE ( rlc_cfg_v1530 - > unpack ( bref ) ) ;
HANDLE_CODE ( rlc_cfg_v1530 - > unpack ( bref ) ) ;
}
}
if ( rlc_bearer_cfg_ dupl _r15. is_present ( ) ) {
if ( rlc_bearer_cfg_ secondary _r15. is_present ( ) ) {
HANDLE_CODE ( rlc_bearer_cfg_ dupl _r15- > unpack ( bref ) ) ;
HANDLE_CODE ( rlc_bearer_cfg_ secondary _r15- > unpack ( bref ) ) ;
}
}
if ( lc_ch_id_r15_present ) {
if ( lc_ch_id_r15_present ) {
HANDLE_CODE ( unpack_integer ( lc_ch_id_r15 , bref , ( uint8_t ) 32u , ( uint8_t ) 38u ) ) ;
HANDLE_CODE ( unpack_integer ( lc_ch_id_r15 , bref , ( uint8_t ) 32u , ( uint8_t ) 38u ) ) ;
@ -4243,9 +4242,9 @@ void drb_to_add_mod_s::to_json(json_writer& j) const
j . write_fieldname ( " rlc-Config-v1530 " ) ;
j . write_fieldname ( " rlc-Config-v1530 " ) ;
rlc_cfg_v1530 - > to_json ( j ) ;
rlc_cfg_v1530 - > to_json ( j ) ;
}
}
if ( rlc_bearer_cfg_ dupl _r15. is_present ( ) ) {
if ( rlc_bearer_cfg_ secondary _r15. is_present ( ) ) {
j . write_fieldname ( " rlc-BearerConfig Dupl -r15" ) ;
j . write_fieldname ( " rlc-BearerConfig Secondary -r15" ) ;
rlc_bearer_cfg_ dupl _r15- > to_json ( j ) ;
rlc_bearer_cfg_ secondary _r15- > to_json ( j ) ;
}
}
if ( lc_ch_id_r15_present ) {
if ( lc_ch_id_r15_present ) {
j . write_int ( " logicalChannelIdentity-r15 " , lc_ch_id_r15 ) ;
j . write_int ( " logicalChannelIdentity-r15 " , lc_ch_id_r15 ) ;
@ -4283,8 +4282,9 @@ bool drb_to_add_mod_s::operator==(const drb_to_add_mod_s& other) const
( not rlc_cfg_v1510 . is_present ( ) or * rlc_cfg_v1510 = = * other . rlc_cfg_v1510 ) and
( not rlc_cfg_v1510 . is_present ( ) or * rlc_cfg_v1510 = = * other . rlc_cfg_v1510 ) and
rlc_cfg_v1530 . is_present ( ) = = other . rlc_cfg_v1530 . is_present ( ) and
rlc_cfg_v1530 . is_present ( ) = = other . rlc_cfg_v1530 . is_present ( ) and
( not rlc_cfg_v1530 . is_present ( ) or * rlc_cfg_v1530 = = * other . rlc_cfg_v1530 ) and
( not rlc_cfg_v1530 . is_present ( ) or * rlc_cfg_v1530 = = * other . rlc_cfg_v1530 ) and
rlc_bearer_cfg_dupl_r15 . is_present ( ) = = other . rlc_bearer_cfg_dupl_r15 . is_present ( ) and
rlc_bearer_cfg_secondary_r15 . is_present ( ) = = other . rlc_bearer_cfg_secondary_r15 . is_present ( ) and
( not rlc_bearer_cfg_dupl_r15 . is_present ( ) or * rlc_bearer_cfg_dupl_r15 = = * other . rlc_bearer_cfg_dupl_r15 ) and
( not rlc_bearer_cfg_secondary_r15 . is_present ( ) or
* rlc_bearer_cfg_secondary_r15 = = * other . rlc_bearer_cfg_secondary_r15 ) and
lc_ch_id_r15_present = = other . lc_ch_id_r15_present and
lc_ch_id_r15_present = = other . lc_ch_id_r15_present and
( not lc_ch_id_r15_present or lc_ch_id_r15 = = other . lc_ch_id_r15 ) ) ) ;
( not lc_ch_id_r15_present or lc_ch_id_r15 = = other . lc_ch_id_r15 ) ) ) ;
}
}
@ -5584,8 +5584,9 @@ SRSASN_CODE srb_to_add_mod_s::pack(bit_ref& bref) const
ext_groups_packer_guard group_flags ;
ext_groups_packer_guard group_flags ;
group_flags [ 0 ] | = pdcp_ver_change_r15_present ;
group_flags [ 0 ] | = pdcp_ver_change_r15_present ;
group_flags [ 0 ] | = rlc_cfg_v1530 . is_present ( ) ;
group_flags [ 0 ] | = rlc_cfg_v1530 . is_present ( ) ;
group_flags [ 0 ] | = rlc_bearer_cfg_ dupl _r15. is_present ( ) ;
group_flags [ 0 ] | = rlc_bearer_cfg_ secondary _r15. is_present ( ) ;
group_flags [ 0 ] | = srb_id_v1530_present ;
group_flags [ 0 ] | = srb_id_v1530_present ;
group_flags [ 1 ] | = rlc_cfg_v1560 . is_present ( ) ;
group_flags . pack ( bref ) ;
group_flags . pack ( bref ) ;
if ( group_flags [ 0 ] ) {
if ( group_flags [ 0 ] ) {
@ -5593,18 +5594,26 @@ SRSASN_CODE srb_to_add_mod_s::pack(bit_ref& bref) const
HANDLE_CODE ( bref . pack ( pdcp_ver_change_r15_present , 1 ) ) ;
HANDLE_CODE ( bref . pack ( pdcp_ver_change_r15_present , 1 ) ) ;
HANDLE_CODE ( bref . pack ( rlc_cfg_v1530 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( rlc_cfg_v1530 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( rlc_bearer_cfg_ dupl _r15. is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( rlc_bearer_cfg_ secondary _r15. is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( srb_id_v1530_present , 1 ) ) ;
HANDLE_CODE ( bref . pack ( srb_id_v1530_present , 1 ) ) ;
if ( rlc_cfg_v1530 . is_present ( ) ) {
if ( rlc_cfg_v1530 . is_present ( ) ) {
HANDLE_CODE ( rlc_cfg_v1530 - > pack ( bref ) ) ;
HANDLE_CODE ( rlc_cfg_v1530 - > pack ( bref ) ) ;
}
}
if ( rlc_bearer_cfg_ dupl _r15. is_present ( ) ) {
if ( rlc_bearer_cfg_ secondary _r15. is_present ( ) ) {
HANDLE_CODE ( rlc_bearer_cfg_ dupl _r15- > pack ( bref ) ) ;
HANDLE_CODE ( rlc_bearer_cfg_ secondary _r15- > pack ( bref ) ) ;
}
}
if ( srb_id_v1530_present ) {
if ( srb_id_v1530_present ) {
HANDLE_CODE ( pack_integer ( bref , srb_id_v1530 , ( uint8_t ) 4u , ( uint8_t ) 4u ) ) ;
HANDLE_CODE ( pack_integer ( bref , srb_id_v1530 , ( uint8_t ) 4u , ( uint8_t ) 4u ) ) ;
}
}
}
}
if ( group_flags [ 1 ] ) {
varlength_field_pack_guard varlen_scope ( bref , false ) ;
HANDLE_CODE ( bref . pack ( rlc_cfg_v1560 . is_present ( ) , 1 ) ) ;
if ( rlc_cfg_v1560 . is_present ( ) ) {
HANDLE_CODE ( rlc_cfg_v1560 - > pack ( bref ) ) ;
}
}
}
}
return SRSASN_SUCCESS ;
return SRSASN_SUCCESS ;
}
}
@ -5623,7 +5632,7 @@ SRSASN_CODE srb_to_add_mod_s::unpack(cbit_ref& bref)
}
}
if ( ext ) {
if ( ext ) {
ext_groups_unpacker_guard group_flags ( 1 ) ;
ext_groups_unpacker_guard group_flags ( 2 ) ;
group_flags . unpack ( bref ) ;
group_flags . unpack ( bref ) ;
if ( group_flags [ 0 ] ) {
if ( group_flags [ 0 ] ) {
@ -5633,20 +5642,30 @@ SRSASN_CODE srb_to_add_mod_s::unpack(cbit_ref& bref)
bool rlc_cfg_v1530_present ;
bool rlc_cfg_v1530_present ;
HANDLE_CODE ( bref . unpack ( rlc_cfg_v1530_present , 1 ) ) ;
HANDLE_CODE ( bref . unpack ( rlc_cfg_v1530_present , 1 ) ) ;
rlc_cfg_v1530 . set_present ( rlc_cfg_v1530_present ) ;
rlc_cfg_v1530 . set_present ( rlc_cfg_v1530_present ) ;
bool rlc_bearer_cfg_ dupl _r15_present;
bool rlc_bearer_cfg_ secondary _r15_present;
HANDLE_CODE ( bref . unpack ( rlc_bearer_cfg_ dupl _r15_present, 1 ) ) ;
HANDLE_CODE ( bref . unpack ( rlc_bearer_cfg_ secondary _r15_present, 1 ) ) ;
rlc_bearer_cfg_ dupl_r15. set_present ( rlc_bearer_cfg_dupl _r15_present) ;
rlc_bearer_cfg_ secondary_r15. set_present ( rlc_bearer_cfg_secondary _r15_present) ;
HANDLE_CODE ( bref . unpack ( srb_id_v1530_present , 1 ) ) ;
HANDLE_CODE ( bref . unpack ( srb_id_v1530_present , 1 ) ) ;
if ( rlc_cfg_v1530 . is_present ( ) ) {
if ( rlc_cfg_v1530 . is_present ( ) ) {
HANDLE_CODE ( rlc_cfg_v1530 - > unpack ( bref ) ) ;
HANDLE_CODE ( rlc_cfg_v1530 - > unpack ( bref ) ) ;
}
}
if ( rlc_bearer_cfg_ dupl _r15. is_present ( ) ) {
if ( rlc_bearer_cfg_ secondary _r15. is_present ( ) ) {
HANDLE_CODE ( rlc_bearer_cfg_ dupl _r15- > unpack ( bref ) ) ;
HANDLE_CODE ( rlc_bearer_cfg_ secondary _r15- > unpack ( bref ) ) ;
}
}
if ( srb_id_v1530_present ) {
if ( srb_id_v1530_present ) {
HANDLE_CODE ( unpack_integer ( srb_id_v1530 , bref , ( uint8_t ) 4u , ( uint8_t ) 4u ) ) ;
HANDLE_CODE ( unpack_integer ( srb_id_v1530 , bref , ( uint8_t ) 4u , ( uint8_t ) 4u ) ) ;
}
}
}
}
if ( group_flags [ 1 ] ) {
varlength_field_unpack_guard varlen_scope ( bref , false ) ;
bool rlc_cfg_v1560_present ;
HANDLE_CODE ( bref . unpack ( rlc_cfg_v1560_present , 1 ) ) ;
rlc_cfg_v1560 . set_present ( rlc_cfg_v1560_present ) ;
if ( rlc_cfg_v1560 . is_present ( ) ) {
HANDLE_CODE ( rlc_cfg_v1560 - > unpack ( bref ) ) ;
}
}
}
}
return SRSASN_SUCCESS ;
return SRSASN_SUCCESS ;
}
}
@ -5670,13 +5689,17 @@ void srb_to_add_mod_s::to_json(json_writer& j) const
j . write_fieldname ( " rlc-Config-v1530 " ) ;
j . write_fieldname ( " rlc-Config-v1530 " ) ;
rlc_cfg_v1530 - > to_json ( j ) ;
rlc_cfg_v1530 - > to_json ( j ) ;
}
}
if ( rlc_bearer_cfg_ dupl _r15. is_present ( ) ) {
if ( rlc_bearer_cfg_ secondary _r15. is_present ( ) ) {
j . write_fieldname ( " rlc-BearerConfig Dupl -r15" ) ;
j . write_fieldname ( " rlc-BearerConfig Secondary -r15" ) ;
rlc_bearer_cfg_ dupl _r15- > to_json ( j ) ;
rlc_bearer_cfg_ secondary _r15- > to_json ( j ) ;
}
}
if ( srb_id_v1530_present ) {
if ( srb_id_v1530_present ) {
j . write_int ( " srb-Identity-v1530 " , srb_id_v1530 ) ;
j . write_int ( " srb-Identity-v1530 " , srb_id_v1530 ) ;
}
}
if ( rlc_cfg_v1560 . is_present ( ) ) {
j . write_fieldname ( " rlc-Config-v1560 " ) ;
rlc_cfg_v1560 - > to_json ( j ) ;
}
}
}
j . end_obj ( ) ;
j . end_obj ( ) ;
}
}
@ -5685,14 +5708,16 @@ bool srb_to_add_mod_s::operator==(const srb_to_add_mod_s& other) const
return ext = = other . ext and srb_id = = other . srb_id and rlc_cfg_present = = other . rlc_cfg_present and
return ext = = other . ext and srb_id = = other . srb_id and rlc_cfg_present = = other . rlc_cfg_present and
( not rlc_cfg_present or rlc_cfg = = other . rlc_cfg ) and lc_ch_cfg_present = = other . lc_ch_cfg_present and
( not rlc_cfg_present or rlc_cfg = = other . rlc_cfg ) and lc_ch_cfg_present = = other . lc_ch_cfg_present and
( not lc_ch_cfg_present or lc_ch_cfg = = other . lc_ch_cfg ) and
( not lc_ch_cfg_present or lc_ch_cfg = = other . lc_ch_cfg ) and
( not ext or
( not ext or ( pdcp_ver_change_r15_present = = other . pdcp_ver_change_r15_present and
( pdcp_ver_change_r15_present = = other . pdcp_ver_change_r15_present and
rlc_cfg_v1530 . is_present ( ) = = other . rlc_cfg_v1530 . is_present ( ) and
rlc_cfg_v1530 . is_present ( ) = = other . rlc_cfg_v1530 . is_present ( ) and
( not rlc_cfg_v1530 . is_present ( ) or * rlc_cfg_v1530 = = * other . rlc_cfg_v1530 ) and
( not rlc_cfg_v1530 . is_present ( ) or * rlc_cfg_v1530 = = * other . rlc_cfg_v1530 ) and
rlc_bearer_cfg_dupl_r15 . is_present ( ) = = other . rlc_bearer_cfg_dupl_r15 . is_present ( ) and
rlc_bearer_cfg_secondary_r15 . is_present ( ) = = other . rlc_bearer_cfg_secondary_r15 . is_present ( ) and
( not rlc_bearer_cfg_dupl_r15 . is_present ( ) or * rlc_bearer_cfg_dupl_r15 = = * other . rlc_bearer_cfg_dupl_r15 ) and
( not rlc_bearer_cfg_secondary_r15 . is_present ( ) or
* rlc_bearer_cfg_secondary_r15 = = * other . rlc_bearer_cfg_secondary_r15 ) and
srb_id_v1530_present = = other . srb_id_v1530_present and
srb_id_v1530_present = = other . srb_id_v1530_present and
( not srb_id_v1530_present or srb_id_v1530 = = other . srb_id_v1530 ) ) ) ;
( not srb_id_v1530_present or srb_id_v1530 = = other . srb_id_v1530 ) and
rlc_cfg_v1560 . is_present ( ) = = other . rlc_cfg_v1560 . is_present ( ) and
( not rlc_cfg_v1560 . is_present ( ) or * rlc_cfg_v1560 = = * other . rlc_cfg_v1560 ) ) ) ;
}
}
void srb_to_add_mod_s : : rlc_cfg_c_ : : set ( types : : options e )
void srb_to_add_mod_s : : rlc_cfg_c_ : : set ( types : : options e )
@ -7997,8 +8022,8 @@ SRSASN_CODE rr_cfg_ded_s::pack(bit_ref& bref) const
group_flags [ 4 ] | = neigh_cells_crs_info_r13 . is_present ( ) ;
group_flags [ 4 ] | = neigh_cells_crs_info_r13 . is_present ( ) ;
group_flags [ 4 ] | = rlf_timers_and_consts_r13 . is_present ( ) ;
group_flags [ 4 ] | = rlf_timers_and_consts_r13 . is_present ( ) ;
group_flags [ 5 ] | = sps_cfg_v1430 . is_present ( ) ;
group_flags [ 5 ] | = sps_cfg_v1430 . is_present ( ) ;
group_flags [ 6 ] | = srb_to_add_mod_ ext_ list_r15. is_present ( ) ;
group_flags [ 6 ] | = srb_to_add_mod_ list_ex t_r15. is_present ( ) ;
group_flags [ 6 ] | = srb_to_release_ ext_ list_r15_present;
group_flags [ 6 ] | = srb_to_release_ list_ex t_r15_present;
group_flags [ 6 ] | = sps_cfg_v1530 . is_present ( ) ;
group_flags [ 6 ] | = sps_cfg_v1530 . is_present ( ) ;
group_flags [ 6 ] | = crs_intf_mitig_cfg_r15 . is_present ( ) ;
group_flags [ 6 ] | = crs_intf_mitig_cfg_r15 . is_present ( ) ;
group_flags [ 6 ] | = neigh_cells_crs_info_r15 . is_present ( ) ;
group_flags [ 6 ] | = neigh_cells_crs_info_r15 . is_present ( ) ;
@ -8063,19 +8088,19 @@ SRSASN_CODE rr_cfg_ded_s::pack(bit_ref& bref) const
if ( group_flags [ 6 ] ) {
if ( group_flags [ 6 ] ) {
varlength_field_pack_guard varlen_scope ( bref , false ) ;
varlength_field_pack_guard varlen_scope ( bref , false ) ;
HANDLE_CODE ( bref . pack ( srb_to_add_mod_ ext_ list_r15. is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( srb_to_add_mod_ list_ex t_r15. is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( srb_to_release_ ext_ list_r15_present, 1 ) ) ;
HANDLE_CODE ( bref . pack ( srb_to_release_ list_ex t_r15_present, 1 ) ) ;
HANDLE_CODE ( bref . pack ( sps_cfg_v1530 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( sps_cfg_v1530 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( crs_intf_mitig_cfg_r15 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( crs_intf_mitig_cfg_r15 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( neigh_cells_crs_info_r15 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( neigh_cells_crs_info_r15 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( drb_to_add_mod_list_r15 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( drb_to_add_mod_list_r15 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( drb_to_release_list_r15 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( drb_to_release_list_r15 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( dummy . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( dummy . is_present ( ) , 1 ) ) ;
if ( srb_to_add_mod_ ext_ list_r15. is_present ( ) ) {
if ( srb_to_add_mod_ list_ex t_r15. is_present ( ) ) {
HANDLE_CODE ( pack_fixed_seq_of ( bref , & ( * srb_to_add_mod_ ext_ list_r15) [ 0 ] , srb_to_add_mod_ ext_ list_r15- > size ( ) ) ) ;
HANDLE_CODE ( pack_fixed_seq_of ( bref , & ( * srb_to_add_mod_ list_ex t_r15) [ 0 ] , srb_to_add_mod_ list_ex t_r15- > size ( ) ) ) ;
}
}
if ( srb_to_release_ ext_ list_r15_present) {
if ( srb_to_release_ list_ex t_r15_present) {
HANDLE_CODE ( pack_integer ( bref , srb_to_release_ ext_ list_r15, ( uint8_t ) 4u , ( uint8_t ) 4u ) ) ;
HANDLE_CODE ( pack_integer ( bref , srb_to_release_ list_ex t_r15, ( uint8_t ) 4u , ( uint8_t ) 4u ) ) ;
}
}
if ( sps_cfg_v1530 . is_present ( ) ) {
if ( sps_cfg_v1530 . is_present ( ) ) {
HANDLE_CODE ( sps_cfg_v1530 - > pack ( bref ) ) ;
HANDLE_CODE ( sps_cfg_v1530 - > pack ( bref ) ) ;
@ -8209,10 +8234,10 @@ SRSASN_CODE rr_cfg_ded_s::unpack(cbit_ref& bref)
if ( group_flags [ 6 ] ) {
if ( group_flags [ 6 ] ) {
varlength_field_unpack_guard varlen_scope ( bref , false ) ;
varlength_field_unpack_guard varlen_scope ( bref , false ) ;
bool srb_to_add_mod_ ext_ list_r15_present;
bool srb_to_add_mod_ list_ex t_r15_present;
HANDLE_CODE ( bref . unpack ( srb_to_add_mod_ ext_ list_r15_present, 1 ) ) ;
HANDLE_CODE ( bref . unpack ( srb_to_add_mod_ list_ex t_r15_present, 1 ) ) ;
srb_to_add_mod_ ext_ list_r15. set_present ( srb_to_add_mod_ ext_ list_r15_present) ;
srb_to_add_mod_ list_ex t_r15. set_present ( srb_to_add_mod_ list_ex t_r15_present) ;
HANDLE_CODE ( bref . unpack ( srb_to_release_ ext_ list_r15_present, 1 ) ) ;
HANDLE_CODE ( bref . unpack ( srb_to_release_ list_ex t_r15_present, 1 ) ) ;
bool sps_cfg_v1530_present ;
bool sps_cfg_v1530_present ;
HANDLE_CODE ( bref . unpack ( sps_cfg_v1530_present , 1 ) ) ;
HANDLE_CODE ( bref . unpack ( sps_cfg_v1530_present , 1 ) ) ;
sps_cfg_v1530 . set_present ( sps_cfg_v1530_present ) ;
sps_cfg_v1530 . set_present ( sps_cfg_v1530_present ) ;
@ -8231,11 +8256,11 @@ SRSASN_CODE rr_cfg_ded_s::unpack(cbit_ref& bref)
bool dummy_present ;
bool dummy_present ;
HANDLE_CODE ( bref . unpack ( dummy_present , 1 ) ) ;
HANDLE_CODE ( bref . unpack ( dummy_present , 1 ) ) ;
dummy . set_present ( dummy_present ) ;
dummy . set_present ( dummy_present ) ;
if ( srb_to_add_mod_ ext_ list_r15. is_present ( ) ) {
if ( srb_to_add_mod_ list_ex t_r15. is_present ( ) ) {
HANDLE_CODE ( unpack_fixed_seq_of ( & ( * srb_to_add_mod_ ext_ list_r15) [ 0 ] , bref , srb_to_add_mod_ ext_ list_r15- > size ( ) ) ) ;
HANDLE_CODE ( unpack_fixed_seq_of ( & ( * srb_to_add_mod_ list_ex t_r15) [ 0 ] , bref , srb_to_add_mod_ list_ex t_r15- > size ( ) ) ) ;
}
}
if ( srb_to_release_ ext_ list_r15_present) {
if ( srb_to_release_ list_ex t_r15_present) {
HANDLE_CODE ( unpack_integer ( srb_to_release_ ext_ list_r15, bref , ( uint8_t ) 4u , ( uint8_t ) 4u ) ) ;
HANDLE_CODE ( unpack_integer ( srb_to_release_ list_ex t_r15, bref , ( uint8_t ) 4u , ( uint8_t ) 4u ) ) ;
}
}
if ( sps_cfg_v1530 . is_present ( ) ) {
if ( sps_cfg_v1530 . is_present ( ) ) {
HANDLE_CODE ( sps_cfg_v1530 - > unpack ( bref ) ) ;
HANDLE_CODE ( sps_cfg_v1530 - > unpack ( bref ) ) ;
@ -8334,15 +8359,15 @@ void rr_cfg_ded_s::to_json(json_writer& j) const
j . write_fieldname ( " sps-Config-v1430 " ) ;
j . write_fieldname ( " sps-Config-v1430 " ) ;
sps_cfg_v1430 - > to_json ( j ) ;
sps_cfg_v1430 - > to_json ( j ) ;
}
}
if ( srb_to_add_mod_ ext_ list_r15. is_present ( ) ) {
if ( srb_to_add_mod_ list_ex t_r15. is_present ( ) ) {
j . start_array ( " srb-ToAddMod Ext List-r15" ) ;
j . start_array ( " srb-ToAddMod ListEx t-r15" ) ;
for ( const auto & e1 : * srb_to_add_mod_ ext_ list_r15) {
for ( const auto & e1 : * srb_to_add_mod_ list_ex t_r15) {
e1 . to_json ( j ) ;
e1 . to_json ( j ) ;
}
}
j . end_array ( ) ;
j . end_array ( ) ;
}
}
if ( srb_to_release_ ext_ list_r15_present) {
if ( srb_to_release_ list_ex t_r15_present) {
j . write_int ( " srb-ToRelease Ext List-r15" , srb_to_release_ ext_ list_r15) ;
j . write_int ( " srb-ToRelease ListEx t-r15" , srb_to_release_ list_ex t_r15) ;
}
}
if ( sps_cfg_v1530 . is_present ( ) ) {
if ( sps_cfg_v1530 . is_present ( ) ) {
j . write_fieldname ( " sps-Config-v1530 " ) ;
j . write_fieldname ( " sps-Config-v1530 " ) ;
@ -8497,10 +8522,10 @@ void rr_cfg_ded_s::crs_intf_mitig_cfg_r15_c_::setup_c_::to_json(json_writer& j)
{
{
j . start_obj ( ) ;
j . start_obj ( ) ;
switch ( type_ ) {
switch ( type_ ) {
case types : : crs_intf_mitig_enabled _minus15 :
case types : : crs_intf_mitig_enabled :
break ;
break ;
case types : : crs_intf_mitig_num_prbs _r15 :
case types : : crs_intf_mitig_num_prbs :
j . write_str ( " crs-IntfMitigNumPRBs -r15 " , c . to_string ( ) ) ;
j . write_str ( " crs-IntfMitigNumPRBs " , c . to_string ( ) ) ;
break ;
break ;
default :
default :
log_invalid_choice_id ( type_ , " rr_cfg_ded_s::crs_intf_mitig_cfg_r15_c_::setup_c_ " ) ;
log_invalid_choice_id ( type_ , " rr_cfg_ded_s::crs_intf_mitig_cfg_r15_c_::setup_c_ " ) ;
@ -8511,9 +8536,9 @@ SRSASN_CODE rr_cfg_ded_s::crs_intf_mitig_cfg_r15_c_::setup_c_::pack(bit_ref& bre
{
{
type_ . pack ( bref ) ;
type_ . pack ( bref ) ;
switch ( type_ ) {
switch ( type_ ) {
case types : : crs_intf_mitig_enabled _minus15 :
case types : : crs_intf_mitig_enabled :
break ;
break ;
case types : : crs_intf_mitig_num_prbs _r15 :
case types : : crs_intf_mitig_num_prbs :
HANDLE_CODE ( c . pack ( bref ) ) ;
HANDLE_CODE ( c . pack ( bref ) ) ;
break ;
break ;
default :
default :
@ -8528,9 +8553,9 @@ SRSASN_CODE rr_cfg_ded_s::crs_intf_mitig_cfg_r15_c_::setup_c_::unpack(cbit_ref&
e . unpack ( bref ) ;
e . unpack ( bref ) ;
set ( e ) ;
set ( e ) ;
switch ( type_ ) {
switch ( type_ ) {
case types : : crs_intf_mitig_enabled _minus15 :
case types : : crs_intf_mitig_enabled :
break ;
break ;
case types : : crs_intf_mitig_num_prbs _r15 :
case types : : crs_intf_mitig_num_prbs :
HANDLE_CODE ( c . unpack ( bref ) ) ;
HANDLE_CODE ( c . unpack ( bref ) ) ;
break ;
break ;
default :
default :
@ -8540,17 +8565,17 @@ SRSASN_CODE rr_cfg_ded_s::crs_intf_mitig_cfg_r15_c_::setup_c_::unpack(cbit_ref&
return SRSASN_SUCCESS ;
return SRSASN_SUCCESS ;
}
}
std : : string rr_cfg_ded_s : : crs_intf_mitig_cfg_r15_c_ : : setup_c_ : : crs_intf_mitig_num_prbs_ r15_ opts: : to_string ( ) const
std : : string rr_cfg_ded_s : : crs_intf_mitig_cfg_r15_c_ : : setup_c_ : : crs_intf_mitig_num_prbs_ opts: : to_string ( ) const
{
{
static const char * options [ ] = { " n6 " , " n24 " } ;
static const char * options [ ] = { " n6 " , " n24 " } ;
return convert_enum_idx (
return convert_enum_idx (
options , 2 , value , " rr_cfg_ded_s::crs_intf_mitig_cfg_r15_c_::setup_c_::crs_intf_mitig_num_prbs_ r15_ e_" ) ;
options , 2 , value , " rr_cfg_ded_s::crs_intf_mitig_cfg_r15_c_::setup_c_::crs_intf_mitig_num_prbs_ e_" ) ;
}
}
uint8_t rr_cfg_ded_s : : crs_intf_mitig_cfg_r15_c_ : : setup_c_ : : crs_intf_mitig_num_prbs_ r15_ opts: : to_number ( ) const
uint8_t rr_cfg_ded_s : : crs_intf_mitig_cfg_r15_c_ : : setup_c_ : : crs_intf_mitig_num_prbs_ opts: : to_number ( ) const
{
{
static const uint8_t options [ ] = { 6 , 24 } ;
static const uint8_t options [ ] = { 6 , 24 } ;
return map_enum_number (
return map_enum_number (
options , 2 , value , " rr_cfg_ded_s::crs_intf_mitig_cfg_r15_c_::setup_c_::crs_intf_mitig_num_prbs_ r15_ e_" ) ;
options , 2 , value , " rr_cfg_ded_s::crs_intf_mitig_cfg_r15_c_::setup_c_::crs_intf_mitig_num_prbs_ e_" ) ;
}
}
// PDCCH-CandidateReductionValue-r14 ::= ENUMERATED
// PDCCH-CandidateReductionValue-r14 ::= ENUMERATED
@ -11399,7 +11424,7 @@ SRSASN_CODE phys_cfg_ded_scell_r10_s::pack(bit_ref& bref) const
group_flags [ 6 ] | = csi_rs_cfg_v1480 . is_present ( ) ;
group_flags [ 6 ] | = csi_rs_cfg_v1480 . is_present ( ) ;
group_flags [ 7 ] | = phys_cfg_ded_stti_r15 . is_present ( ) ;
group_flags [ 7 ] | = phys_cfg_ded_stti_r15 . is_present ( ) ;
group_flags [ 7 ] | = pdsch_cfg_ded_v1530 . is_present ( ) ;
group_flags [ 7 ] | = pdsch_cfg_ded_v1530 . is_present ( ) ;
group_flags [ 7 ] | = cqi_report_cfg_v1530 . is_present ( ) ;
group_flags [ 7 ] | = dummy . is_present ( ) ;
group_flags [ 7 ] | = cqi_report_cfg_scell_r15 . is_present ( ) ;
group_flags [ 7 ] | = cqi_report_cfg_scell_r15 . is_present ( ) ;
group_flags [ 7 ] | = cqi_short_cfg_scell_r15 . is_present ( ) ;
group_flags [ 7 ] | = cqi_short_cfg_scell_r15 . is_present ( ) ;
group_flags [ 7 ] | = csi_rs_cfg_v1530 . is_present ( ) ;
group_flags [ 7 ] | = csi_rs_cfg_v1530 . is_present ( ) ;
@ -11408,6 +11433,7 @@ SRSASN_CODE phys_cfg_ded_scell_r10_s::pack(bit_ref& bref) const
group_flags [ 7 ] | = pusch_cfg_ded_v1530 . is_present ( ) ;
group_flags [ 7 ] | = pusch_cfg_ded_v1530 . is_present ( ) ;
group_flags [ 7 ] | = semi_static_cfi_cfg_r15 . is_present ( ) ;
group_flags [ 7 ] | = semi_static_cfi_cfg_r15 . is_present ( ) ;
group_flags [ 7 ] | = blind_pdsch_repeat_cfg_r15 . is_present ( ) ;
group_flags [ 7 ] | = blind_pdsch_repeat_cfg_r15 . is_present ( ) ;
group_flags [ 8 ] | = spucch_cfg_v1550 . is_present ( ) ;
group_flags . pack ( bref ) ;
group_flags . pack ( bref ) ;
if ( group_flags [ 0 ] ) {
if ( group_flags [ 0 ] ) {
@ -11621,7 +11647,7 @@ SRSASN_CODE phys_cfg_ded_scell_r10_s::pack(bit_ref& bref) const
HANDLE_CODE ( bref . pack ( phys_cfg_ded_stti_r15 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( phys_cfg_ded_stti_r15 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( pdsch_cfg_ded_v1530 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( pdsch_cfg_ded_v1530 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( cqi_report_cfg_v1530 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( dummy . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( cqi_report_cfg_scell_r15 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( cqi_report_cfg_scell_r15 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( cqi_short_cfg_scell_r15 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( cqi_short_cfg_scell_r15 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( csi_rs_cfg_v1530 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( csi_rs_cfg_v1530 . is_present ( ) , 1 ) ) ;
@ -11636,8 +11662,8 @@ SRSASN_CODE phys_cfg_ded_scell_r10_s::pack(bit_ref& bref) const
if ( pdsch_cfg_ded_v1530 . is_present ( ) ) {
if ( pdsch_cfg_ded_v1530 . is_present ( ) ) {
HANDLE_CODE ( pdsch_cfg_ded_v1530 - > pack ( bref ) ) ;
HANDLE_CODE ( pdsch_cfg_ded_v1530 - > pack ( bref ) ) ;
}
}
if ( cqi_report_cfg_v1530 . is_present ( ) ) {
if ( dummy . is_present ( ) ) {
HANDLE_CODE ( cqi_report_cfg_v1530 - > pack ( bref ) ) ;
HANDLE_CODE ( dummy - > pack ( bref ) ) ;
}
}
if ( cqi_report_cfg_scell_r15 . is_present ( ) ) {
if ( cqi_report_cfg_scell_r15 . is_present ( ) ) {
HANDLE_CODE ( cqi_report_cfg_scell_r15 - > pack ( bref ) ) ;
HANDLE_CODE ( cqi_report_cfg_scell_r15 - > pack ( bref ) ) ;
@ -11664,6 +11690,14 @@ SRSASN_CODE phys_cfg_ded_scell_r10_s::pack(bit_ref& bref) const
HANDLE_CODE ( blind_pdsch_repeat_cfg_r15 - > pack ( bref ) ) ;
HANDLE_CODE ( blind_pdsch_repeat_cfg_r15 - > pack ( bref ) ) ;
}
}
}
}
if ( group_flags [ 8 ] ) {
varlength_field_pack_guard varlen_scope ( bref , false ) ;
HANDLE_CODE ( bref . pack ( spucch_cfg_v1550 . is_present ( ) , 1 ) ) ;
if ( spucch_cfg_v1550 . is_present ( ) ) {
HANDLE_CODE ( spucch_cfg_v1550 - > pack ( bref ) ) ;
}
}
}
}
return SRSASN_SUCCESS ;
return SRSASN_SUCCESS ;
}
}
@ -11723,7 +11757,7 @@ SRSASN_CODE phys_cfg_ded_scell_r10_s::unpack(cbit_ref& bref)
}
}
if ( ext ) {
if ( ext ) {
ext_groups_unpacker_guard group_flags ( 8 ) ;
ext_groups_unpacker_guard group_flags ( 9 ) ;
group_flags . unpack ( bref ) ;
group_flags . unpack ( bref ) ;
if ( group_flags [ 0 ] ) {
if ( group_flags [ 0 ] ) {
@ -12027,9 +12061,9 @@ SRSASN_CODE phys_cfg_ded_scell_r10_s::unpack(cbit_ref& bref)
bool pdsch_cfg_ded_v1530_present ;
bool pdsch_cfg_ded_v1530_present ;
HANDLE_CODE ( bref . unpack ( pdsch_cfg_ded_v1530_present , 1 ) ) ;
HANDLE_CODE ( bref . unpack ( pdsch_cfg_ded_v1530_present , 1 ) ) ;
pdsch_cfg_ded_v1530 . set_present ( pdsch_cfg_ded_v1530_present ) ;
pdsch_cfg_ded_v1530 . set_present ( pdsch_cfg_ded_v1530_present ) ;
bool cqi_report_cfg_v1530 _present;
bool dummy _present;
HANDLE_CODE ( bref . unpack ( cqi_report_cfg_v1530 _present, 1 ) ) ;
HANDLE_CODE ( bref . unpack ( dummy _present, 1 ) ) ;
cqi_report_cfg_v1530. set_present ( cqi_report_cfg_v1530 _present) ;
dummy. set_present ( dummy _present) ;
bool cqi_report_cfg_scell_r15_present ;
bool cqi_report_cfg_scell_r15_present ;
HANDLE_CODE ( bref . unpack ( cqi_report_cfg_scell_r15_present , 1 ) ) ;
HANDLE_CODE ( bref . unpack ( cqi_report_cfg_scell_r15_present , 1 ) ) ;
cqi_report_cfg_scell_r15 . set_present ( cqi_report_cfg_scell_r15_present ) ;
cqi_report_cfg_scell_r15 . set_present ( cqi_report_cfg_scell_r15_present ) ;
@ -12060,8 +12094,8 @@ SRSASN_CODE phys_cfg_ded_scell_r10_s::unpack(cbit_ref& bref)
if ( pdsch_cfg_ded_v1530 . is_present ( ) ) {
if ( pdsch_cfg_ded_v1530 . is_present ( ) ) {
HANDLE_CODE ( pdsch_cfg_ded_v1530 - > unpack ( bref ) ) ;
HANDLE_CODE ( pdsch_cfg_ded_v1530 - > unpack ( bref ) ) ;
}
}
if ( cqi_report_cfg_v1530 . is_present ( ) ) {
if ( dummy . is_present ( ) ) {
HANDLE_CODE ( cqi_report_cfg_v1530 - > unpack ( bref ) ) ;
HANDLE_CODE ( dummy - > unpack ( bref ) ) ;
}
}
if ( cqi_report_cfg_scell_r15 . is_present ( ) ) {
if ( cqi_report_cfg_scell_r15 . is_present ( ) ) {
HANDLE_CODE ( cqi_report_cfg_scell_r15 - > unpack ( bref ) ) ;
HANDLE_CODE ( cqi_report_cfg_scell_r15 - > unpack ( bref ) ) ;
@ -12088,6 +12122,16 @@ SRSASN_CODE phys_cfg_ded_scell_r10_s::unpack(cbit_ref& bref)
HANDLE_CODE ( blind_pdsch_repeat_cfg_r15 - > unpack ( bref ) ) ;
HANDLE_CODE ( blind_pdsch_repeat_cfg_r15 - > unpack ( bref ) ) ;
}
}
}
}
if ( group_flags [ 8 ] ) {
varlength_field_unpack_guard varlen_scope ( bref , false ) ;
bool spucch_cfg_v1550_present ;
HANDLE_CODE ( bref . unpack ( spucch_cfg_v1550_present , 1 ) ) ;
spucch_cfg_v1550 . set_present ( spucch_cfg_v1550_present ) ;
if ( spucch_cfg_v1550 . is_present ( ) ) {
HANDLE_CODE ( spucch_cfg_v1550 - > unpack ( bref ) ) ;
}
}
}
}
return SRSASN_SUCCESS ;
return SRSASN_SUCCESS ;
}
}
@ -12365,9 +12409,9 @@ void phys_cfg_ded_scell_r10_s::to_json(json_writer& j) const
j . write_fieldname ( " pdsch-ConfigDedicated-v1530 " ) ;
j . write_fieldname ( " pdsch-ConfigDedicated-v1530 " ) ;
pdsch_cfg_ded_v1530 - > to_json ( j ) ;
pdsch_cfg_ded_v1530 - > to_json ( j ) ;
}
}
if ( cqi_report_cfg_v1530 . is_present ( ) ) {
if ( dummy . is_present ( ) ) {
j . write_fieldname ( " cqi-ReportConfig-v1530 " ) ;
j . write_fieldname ( " dummy " ) ;
cqi_report_cfg_v1530 - > to_json ( j ) ;
dummy - > to_json ( j ) ;
}
}
if ( cqi_report_cfg_scell_r15 . is_present ( ) ) {
if ( cqi_report_cfg_scell_r15 . is_present ( ) ) {
j . write_fieldname ( " cqi-ReportConfigSCell-r15 " ) ;
j . write_fieldname ( " cqi-ReportConfigSCell-r15 " ) ;
@ -12401,6 +12445,10 @@ void phys_cfg_ded_scell_r10_s::to_json(json_writer& j) const
j . write_fieldname ( " blindPDSCH-Repetition-Config-r15 " ) ;
j . write_fieldname ( " blindPDSCH-Repetition-Config-r15 " ) ;
blind_pdsch_repeat_cfg_r15 - > to_json ( j ) ;
blind_pdsch_repeat_cfg_r15 - > to_json ( j ) ;
}
}
if ( spucch_cfg_v1550 . is_present ( ) ) {
j . write_fieldname ( " spucch-Config-v1550 " ) ;
spucch_cfg_v1550 - > to_json ( j ) ;
}
}
}
j . end_obj ( ) ;
j . end_obj ( ) ;
}
}
@ -12560,8 +12608,7 @@ bool phys_cfg_ded_scell_r10_s::operator==(const phys_cfg_ded_scell_r10_s& other)
( not phys_cfg_ded_stti_r15 . is_present ( ) or * phys_cfg_ded_stti_r15 = = * other . phys_cfg_ded_stti_r15 ) and
( not phys_cfg_ded_stti_r15 . is_present ( ) or * phys_cfg_ded_stti_r15 = = * other . phys_cfg_ded_stti_r15 ) and
pdsch_cfg_ded_v1530 . is_present ( ) = = other . pdsch_cfg_ded_v1530 . is_present ( ) and
pdsch_cfg_ded_v1530 . is_present ( ) = = other . pdsch_cfg_ded_v1530 . is_present ( ) and
( not pdsch_cfg_ded_v1530 . is_present ( ) or * pdsch_cfg_ded_v1530 = = * other . pdsch_cfg_ded_v1530 ) and
( not pdsch_cfg_ded_v1530 . is_present ( ) or * pdsch_cfg_ded_v1530 = = * other . pdsch_cfg_ded_v1530 ) and
cqi_report_cfg_v1530 . is_present ( ) = = other . cqi_report_cfg_v1530 . is_present ( ) and
dummy . is_present ( ) = = other . dummy . is_present ( ) and ( not dummy . is_present ( ) or * dummy = = * other . dummy ) and
( not cqi_report_cfg_v1530 . is_present ( ) or * cqi_report_cfg_v1530 = = * other . cqi_report_cfg_v1530 ) and
cqi_report_cfg_scell_r15 . is_present ( ) = = other . cqi_report_cfg_scell_r15 . is_present ( ) and
cqi_report_cfg_scell_r15 . is_present ( ) = = other . cqi_report_cfg_scell_r15 . is_present ( ) and
( not cqi_report_cfg_scell_r15 . is_present ( ) or
( not cqi_report_cfg_scell_r15 . is_present ( ) or
* cqi_report_cfg_scell_r15 = = * other . cqi_report_cfg_scell_r15 ) and
* cqi_report_cfg_scell_r15 = = * other . cqi_report_cfg_scell_r15 ) and
@ -12580,7 +12627,9 @@ bool phys_cfg_ded_scell_r10_s::operator==(const phys_cfg_ded_scell_r10_s& other)
( not semi_static_cfi_cfg_r15 . is_present ( ) or * semi_static_cfi_cfg_r15 = = * other . semi_static_cfi_cfg_r15 ) and
( not semi_static_cfi_cfg_r15 . is_present ( ) or * semi_static_cfi_cfg_r15 = = * other . semi_static_cfi_cfg_r15 ) and
blind_pdsch_repeat_cfg_r15 . is_present ( ) = = other . blind_pdsch_repeat_cfg_r15 . is_present ( ) and
blind_pdsch_repeat_cfg_r15 . is_present ( ) = = other . blind_pdsch_repeat_cfg_r15 . is_present ( ) and
( not blind_pdsch_repeat_cfg_r15 . is_present ( ) or
( not blind_pdsch_repeat_cfg_r15 . is_present ( ) or
* blind_pdsch_repeat_cfg_r15 = = * other . blind_pdsch_repeat_cfg_r15 ) ) ) ;
* blind_pdsch_repeat_cfg_r15 = = * other . blind_pdsch_repeat_cfg_r15 ) and
spucch_cfg_v1550 . is_present ( ) = = other . spucch_cfg_v1550 . is_present ( ) and
( not spucch_cfg_v1550 . is_present ( ) or * spucch_cfg_v1550 = = * other . spucch_cfg_v1550 ) ) ) ;
}
}
void phys_cfg_ded_scell_r10_s : : pucch_scell_c_ : : set ( types : : options e )
void phys_cfg_ded_scell_r10_s : : pucch_scell_c_ : : set ( types : : options e )
@ -13974,7 +14023,8 @@ SRSASN_CODE drb_to_add_mod_scg_r12_s::pack(bit_ref& bref) const
group_flags [ 0 ] | = rlc_cfg_v1430 . is_present ( ) ;
group_flags [ 0 ] | = rlc_cfg_v1430 . is_present ( ) ;
group_flags [ 1 ] | = lc_ch_id_scg_r15_present ;
group_flags [ 1 ] | = lc_ch_id_scg_r15_present ;
group_flags [ 1 ] | = rlc_cfg_v1530 . is_present ( ) ;
group_flags [ 1 ] | = rlc_cfg_v1530 . is_present ( ) ;
group_flags [ 1 ] | = rlc_bearer_cfg_dupl_r15 . is_present ( ) ;
group_flags [ 1 ] | = rlc_bearer_cfg_secondary_r15 . is_present ( ) ;
group_flags [ 2 ] | = rlc_cfg_v1560 . is_present ( ) ;
group_flags . pack ( bref ) ;
group_flags . pack ( bref ) ;
if ( group_flags [ 0 ] ) {
if ( group_flags [ 0 ] ) {
@ -13990,15 +14040,23 @@ SRSASN_CODE drb_to_add_mod_scg_r12_s::pack(bit_ref& bref) const
HANDLE_CODE ( bref . pack ( lc_ch_id_scg_r15_present , 1 ) ) ;
HANDLE_CODE ( bref . pack ( lc_ch_id_scg_r15_present , 1 ) ) ;
HANDLE_CODE ( bref . pack ( rlc_cfg_v1530 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( rlc_cfg_v1530 . is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( rlc_bearer_cfg_ dupl _r15. is_present ( ) , 1 ) ) ;
HANDLE_CODE ( bref . pack ( rlc_bearer_cfg_ secondary _r15. is_present ( ) , 1 ) ) ;
if ( lc_ch_id_scg_r15_present ) {
if ( lc_ch_id_scg_r15_present ) {
HANDLE_CODE ( pack_integer ( bref , lc_ch_id_scg_r15 , ( uint8_t ) 32u , ( uint8_t ) 38u ) ) ;
HANDLE_CODE ( pack_integer ( bref , lc_ch_id_scg_r15 , ( uint8_t ) 32u , ( uint8_t ) 38u ) ) ;
}
}
if ( rlc_cfg_v1530 . is_present ( ) ) {
if ( rlc_cfg_v1530 . is_present ( ) ) {
HANDLE_CODE ( rlc_cfg_v1530 - > pack ( bref ) ) ;
HANDLE_CODE ( rlc_cfg_v1530 - > pack ( bref ) ) ;
}
}
if ( rlc_bearer_cfg_dupl_r15 . is_present ( ) ) {
if ( rlc_bearer_cfg_secondary_r15 . is_present ( ) ) {
HANDLE_CODE ( rlc_bearer_cfg_dupl_r15 - > pack ( bref ) ) ;
HANDLE_CODE ( rlc_bearer_cfg_secondary_r15 - > pack ( bref ) ) ;
}
}
if ( group_flags [ 2 ] ) {
varlength_field_pack_guard varlen_scope ( bref , false ) ;
HANDLE_CODE ( bref . pack ( rlc_cfg_v1560 . is_present ( ) , 1 ) ) ;
if ( rlc_cfg_v1560 . is_present ( ) ) {
HANDLE_CODE ( rlc_cfg_v1560 - > pack ( bref ) ) ;
}
}
}
}
}
}
@ -14031,7 +14089,7 @@ SRSASN_CODE drb_to_add_mod_scg_r12_s::unpack(cbit_ref& bref)
}
}
if ( ext ) {
if ( ext ) {
ext_groups_unpacker_guard group_flags ( 2 ) ;
ext_groups_unpacker_guard group_flags ( 3 ) ;
group_flags . unpack ( bref ) ;
group_flags . unpack ( bref ) ;
if ( group_flags [ 0 ] ) {
if ( group_flags [ 0 ] ) {
@ -14051,17 +14109,27 @@ SRSASN_CODE drb_to_add_mod_scg_r12_s::unpack(cbit_ref& bref)
bool rlc_cfg_v1530_present ;
bool rlc_cfg_v1530_present ;
HANDLE_CODE ( bref . unpack ( rlc_cfg_v1530_present , 1 ) ) ;
HANDLE_CODE ( bref . unpack ( rlc_cfg_v1530_present , 1 ) ) ;
rlc_cfg_v1530 . set_present ( rlc_cfg_v1530_present ) ;
rlc_cfg_v1530 . set_present ( rlc_cfg_v1530_present ) ;
bool rlc_bearer_cfg_ dupl _r15_present;
bool rlc_bearer_cfg_ secondary _r15_present;
HANDLE_CODE ( bref . unpack ( rlc_bearer_cfg_ dupl _r15_present, 1 ) ) ;
HANDLE_CODE ( bref . unpack ( rlc_bearer_cfg_ secondary _r15_present, 1 ) ) ;
rlc_bearer_cfg_ dupl_r15. set_present ( rlc_bearer_cfg_dupl _r15_present) ;
rlc_bearer_cfg_ secondary_r15. set_present ( rlc_bearer_cfg_secondary _r15_present) ;
if ( lc_ch_id_scg_r15_present ) {
if ( lc_ch_id_scg_r15_present ) {
HANDLE_CODE ( unpack_integer ( lc_ch_id_scg_r15 , bref , ( uint8_t ) 32u , ( uint8_t ) 38u ) ) ;
HANDLE_CODE ( unpack_integer ( lc_ch_id_scg_r15 , bref , ( uint8_t ) 32u , ( uint8_t ) 38u ) ) ;
}
}
if ( rlc_cfg_v1530 . is_present ( ) ) {
if ( rlc_cfg_v1530 . is_present ( ) ) {
HANDLE_CODE ( rlc_cfg_v1530 - > unpack ( bref ) ) ;
HANDLE_CODE ( rlc_cfg_v1530 - > unpack ( bref ) ) ;
}
}
if ( rlc_bearer_cfg_dupl_r15 . is_present ( ) ) {
if ( rlc_bearer_cfg_secondary_r15 . is_present ( ) ) {
HANDLE_CODE ( rlc_bearer_cfg_dupl_r15 - > unpack ( bref ) ) ;
HANDLE_CODE ( rlc_bearer_cfg_secondary_r15 - > unpack ( bref ) ) ;
}
}
if ( group_flags [ 2 ] ) {
varlength_field_unpack_guard varlen_scope ( bref , false ) ;
bool rlc_cfg_v1560_present ;
HANDLE_CODE ( bref . unpack ( rlc_cfg_v1560_present , 1 ) ) ;
rlc_cfg_v1560 . set_present ( rlc_cfg_v1560_present ) ;
if ( rlc_cfg_v1560 . is_present ( ) ) {
HANDLE_CODE ( rlc_cfg_v1560 - > unpack ( bref ) ) ;
}
}
}
}
}
}
@ -14102,9 +14170,13 @@ void drb_to_add_mod_scg_r12_s::to_json(json_writer& j) const
j . write_fieldname ( " rlc-Config-v1530 " ) ;
j . write_fieldname ( " rlc-Config-v1530 " ) ;
rlc_cfg_v1530 - > to_json ( j ) ;
rlc_cfg_v1530 - > to_json ( j ) ;
}
}
if ( rlc_bearer_cfg_dupl_r15 . is_present ( ) ) {
if ( rlc_bearer_cfg_secondary_r15 . is_present ( ) ) {
j . write_fieldname ( " rlc-BearerConfigDupl-r15 " ) ;
j . write_fieldname ( " rlc-BearerConfigSecondary-r15 " ) ;
rlc_bearer_cfg_dupl_r15 - > to_json ( j ) ;
rlc_bearer_cfg_secondary_r15 - > to_json ( j ) ;
}
if ( rlc_cfg_v1560 . is_present ( ) ) {
j . write_fieldname ( " rlc-Config-v1560 " ) ;
rlc_cfg_v1560 - > to_json ( j ) ;
}
}
}
}
j . end_obj ( ) ;
j . end_obj ( ) ;
@ -14686,6 +14758,7 @@ SRSASN_CODE rr_cfg_ded_scg_r12_s::pack(bit_ref& bref) const
group_flags [ 0 ] | = drb_to_add_mod_list_scg_r15 . is_present ( ) ;
group_flags [ 0 ] | = drb_to_add_mod_list_scg_r15 . is_present ( ) ;
group_flags [ 1 ] | = srb_to_add_mod_list_scg_r15 . is_present ( ) ;
group_flags [ 1 ] | = srb_to_add_mod_list_scg_r15 . is_present ( ) ;
group_flags [ 1 ] | = srb_to_release_list_scg_r15 . is_present ( ) ;
group_flags [ 1 ] | = srb_to_release_list_scg_r15 . is_present ( ) ;
group_flags [ 2 ] | = drb_to_release_list_scg_r15 . is_present ( ) ;
group_flags . pack ( bref ) ;
group_flags . pack ( bref ) ;
if ( group_flags [ 0 ] ) {
if ( group_flags [ 0 ] ) {
@ -14708,6 +14781,14 @@ SRSASN_CODE rr_cfg_ded_scg_r12_s::pack(bit_ref& bref) const
HANDLE_CODE ( pack_dyn_seq_of ( bref , * srb_to_release_list_scg_r15 , 1 , 2 , integer_packer < uint8_t > ( 1 , 2 ) ) ) ;
HANDLE_CODE ( pack_dyn_seq_of ( bref , * srb_to_release_list_scg_r15 , 1 , 2 , integer_packer < uint8_t > ( 1 , 2 ) ) ) ;
}
}
}
}
if ( group_flags [ 2 ] ) {
varlength_field_pack_guard varlen_scope ( bref , false ) ;
HANDLE_CODE ( bref . pack ( drb_to_release_list_scg_r15 . is_present ( ) , 1 ) ) ;
if ( drb_to_release_list_scg_r15 . is_present ( ) ) {
HANDLE_CODE ( pack_dyn_seq_of ( bref , * drb_to_release_list_scg_r15 , 1 , 15 , integer_packer < uint8_t > ( 1 , 32 ) ) ) ;
}
}
}
}
return SRSASN_SUCCESS ;
return SRSASN_SUCCESS ;
}
}
@ -14729,7 +14810,7 @@ SRSASN_CODE rr_cfg_ded_scg_r12_s::unpack(cbit_ref& bref)
}
}
if ( ext ) {
if ( ext ) {
ext_groups_unpacker_guard group_flags ( 2 ) ;
ext_groups_unpacker_guard group_flags ( 3 ) ;
group_flags . unpack ( bref ) ;
group_flags . unpack ( bref ) ;
if ( group_flags [ 0 ] ) {
if ( group_flags [ 0 ] ) {
@ -14758,6 +14839,16 @@ SRSASN_CODE rr_cfg_ded_scg_r12_s::unpack(cbit_ref& bref)
HANDLE_CODE ( unpack_dyn_seq_of ( * srb_to_release_list_scg_r15 , bref , 1 , 2 , integer_packer < uint8_t > ( 1 , 2 ) ) ) ;
HANDLE_CODE ( unpack_dyn_seq_of ( * srb_to_release_list_scg_r15 , bref , 1 , 2 , integer_packer < uint8_t > ( 1 , 2 ) ) ) ;
}
}
}
}
if ( group_flags [ 2 ] ) {
varlength_field_unpack_guard varlen_scope ( bref , false ) ;
bool drb_to_release_list_scg_r15_present ;
HANDLE_CODE ( bref . unpack ( drb_to_release_list_scg_r15_present , 1 ) ) ;
drb_to_release_list_scg_r15 . set_present ( drb_to_release_list_scg_r15_present ) ;
if ( drb_to_release_list_scg_r15 . is_present ( ) ) {
HANDLE_CODE ( unpack_dyn_seq_of ( * drb_to_release_list_scg_r15 , bref , 1 , 15 , integer_packer < uint8_t > ( 1 , 32 ) ) ) ;
}
}
}
}
return SRSASN_SUCCESS ;
return SRSASN_SUCCESS ;
}
}
@ -14801,6 +14892,13 @@ void rr_cfg_ded_scg_r12_s::to_json(json_writer& j) const
}
}
j . end_array ( ) ;
j . end_array ( ) ;
}
}
if ( drb_to_release_list_scg_r15 . is_present ( ) ) {
j . start_array ( " drb-ToReleaseListSCG-r15 " ) ;
for ( const auto & e1 : * drb_to_release_list_scg_r15 ) {
j . write_int ( e1 ) ;
}
j . end_array ( ) ;
}
}
}
j . end_obj ( ) ;
j . end_obj ( ) ;
}
}