lists.osmocom.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
June
May
April
March
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
List overview
Download
gerrit-log
August 2022
----- 2025 -----
June 2025
May 2025
April 2025
March 2025
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
gerrit-log@lists.osmocom.org
3 participants
2402 discussions
Start a n
N
ew thread
Change in osmo-ttcn3-hacks[master]: sbcap: Add missing cause types
by pespin
pespin has submitted this change. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28944
) Change subject: sbcap: Add missing cause types ...................................................................... sbcap: Add missing cause types Change-Id: I09526f5ac19c80927b6b8ad1cff874a86e0b3a04 --- M library/sbcap/SBC_AP_Types.ttcn 1 file changed, 19 insertions(+), 1 deletion(-) Approvals: fixeria: Looks good to me, approved pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified diff --git a/library/sbcap/SBC_AP_Types.ttcn b/library/sbcap/SBC_AP_Types.ttcn index cfb043d..4020c96 100644 --- a/library/sbcap/SBC_AP_Types.ttcn +++ b/library/sbcap/SBC_AP_Types.ttcn @@ -10,6 +10,24 @@ /* 3GPP TS 29.168 4.3.4.3.2 Cause */ type enumerated SBC_AP_Cause { - SBC_AP_Cause_message_accepted ('00'O) + SBC_AP_Cause_message_accepted ('00'O), + SBcAP_Cause_parameter_not_recognised ('01'O), + SBcAP_Cause_parameter_value_invalid ('02'O), + SBcAP_Cause_valid_message_not_identified ('03'O), + SBcAP_Cause_tracking_area_not_valid ('04'O), + SBcAP_Cause_unrecognised_message ('05'O), + SBcAP_Cause_missing_mandatory_element ('06'O), + SBcAP_Cause_mME_capacity_exceeded ('07'O), + SBcAP_Cause_mME_memory_exceeded ('08'O), + SBcAP_Cause_warning_broadcast_not_supported ('09'O), + SBcAP_Cause_warning_broadcast_not_operational ('0A'O), + SBcAP_Cause_message_reference_already_used ('0B'O), + SBcAP_Cause_unspecifed_error ('0C'O), + SBcAP_Cause_transfer_syntax_error ('0D'O), + SBcAP_Cause_semantic_error ('0E'O), + SBcAP_Cause_message_not_compatible_with_receiver_state ('0F'O), + SBcAP_Cause_abstract_syntax_error_reject ('10'O), + SBcAP_Cause_abstract_syntax_error_ignore_and_notify ('11'O), + SBcAP_Cause_abstract_syntax_error_falsely_constructed_message ('12'O) } } -- To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28944
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I09526f5ac19c80927b6b8ad1cff874a86e0b3a04 Gerrit-Change-Number: 28944 Gerrit-PatchSet: 2 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-MessageType: merged
2 years, 10 months
1
0
0
0
Change in osmo-ttcn3-hacks[master]: cbc: Test ETWS msg over SBc-AP
by pespin
pespin has submitted this change. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28929
) Change subject: cbc: Test ETWS msg over SBc-AP ...................................................................... cbc: Test ETWS msg over SBc-AP So far only non-emergency CBS messages were tested, which require a slighlty idfferent encoding on the protocol side. Related: OS#4945 Change-Id: I506322fc8a664716db8cd79217c2091b0b926836 --- M cbc/CBC_Tests.ttcn M cbc/MME_ConnectionHandler.ttcn M library/sbcap/SBC_AP_Templates.ttcn 3 files changed, 87 insertions(+), 21 deletions(-) Approvals: fixeria: Looks good to me, approved osmith: Looks good to me, but someone else must approve Jenkins Builder: Verified diff --git a/cbc/CBC_Tests.ttcn b/cbc/CBC_Tests.ttcn index 581298a..83cf07d 100644 --- a/cbc/CBC_Tests.ttcn +++ b/cbc/CBC_Tests.ttcn @@ -653,7 +653,7 @@ f_shutdown_helper(); } -/* Test ETWS message. TS 23.041 9.4.1.2.2 */ +/* Test ETWS message over CBSP. TS 23.041 9.4.1.2.2 */ testcase TC_ecbe_create_delete_etws_bsc() runs on test_CT { f_init(num_bsc := 1); var template (value) BSSMAP_FIELD_CellIdentificationList cell_list_success; @@ -672,6 +672,19 @@ f_shutdown_helper(); } +/* Test ETWS message over SBc-AP. TS 23.041 9.4.1.2.2 */ +testcase TC_ecbe_create_delete_etws_mme() runs on test_CT { + f_init(num_mme := 1); + var template (value) CBS_Message msg := t_CBSmsg(4352 /* Earthquake */, 16753); + msg.channel_ind := omit; + + g_pars_MME[0].start_fn := refers(f_mme_create_and_delete); + g_pars_MME[0].exp_cbs_msg := valueof(msg); + f_start(); + f_create_and_delete(valueof(msg)); + f_shutdown_helper(); +} + control { execute( TC_rx_keepalive() ); execute( TC_rx_keepalive_timeout() ); @@ -688,6 +701,7 @@ execute( TC_concurrent_cbs_msg_mme() ); execute( TC_ecbe_create_delete_etws_bsc() ); + execute( TC_ecbe_create_delete_etws_mme() ); } } diff --git a/cbc/MME_ConnectionHandler.ttcn b/cbc/MME_ConnectionHandler.ttcn index 4bcc853..c49461a 100644 --- a/cbc/MME_ConnectionHandler.ttcn +++ b/cbc/MME_ConnectionHandler.ttcn @@ -102,10 +102,15 @@ runs on MME_ConnHdlr { var template (present) SBC_AP_PDU rx_templ; var SBC_AP_RecvFrom rf; - rx_templ := tr_SBCAP_WRITE_WARNING(int2bit(msg.msg_id, 16), - int2bit(msg.ser_nr, 16), - msg.rep_period, - msg.num_bcast_req); + if (msg_id_is_etws(msg.msg_id)) { + rx_templ := tr_SBCAP_WRITE_WARNING_REQ_ETWS( + int2bit(msg.msg_id, 16), int2bit(msg.ser_nr, 16), + msg.rep_period, msg.num_bcast_req, hex2oct('018'H & int2hex(msg.msg_id - 4352, 1))); + } else { + rx_templ := tr_SBCAP_WRITE_WARNING_REQ_CBS( + int2bit(msg.msg_id, 16), int2bit(msg.ser_nr, 16), + msg.rep_period, msg.num_bcast_req); + } alt { [] SBC_AP[idx].receive(tr_SBC_AP_Recv(g_SBC_AP_conn_id[idx], rx_templ)) -> value rf { log ("received expected req:", rf); diff --git a/library/sbcap/SBC_AP_Templates.ttcn b/library/sbcap/SBC_AP_Templates.ttcn index 0071056..4ca714c 100644 --- a/library/sbcap/SBC_AP_Templates.ttcn +++ b/library/sbcap/SBC_AP_Templates.ttcn @@ -153,15 +153,16 @@ } } +/* 4.3.4.2.1 WRITE-REPLACE WARNING REQUEST */ template (present) SBC_AP_PDU -tr_SBCAP_WRITE_WARNING(template (present) BIT16 p_msg_id, template (present) BIT16 p_ser_nr, - template (present) uint12_t p_rep_per, - template (present) uint16_t p_num_bcast, - template (present) BIT8 dcs := ?, - template (present) octetstring p_msg_content := ?, - template (present) Send_Write_Replace_Warning_Indication send_ind := ?, - template (present) Concurrent_Warning_Message_Indicator concurrent_ind := ? - ) := { +tr_SBCAP_WRITE_WARNING_REQ_CBS(template (present) BIT16 p_msg_id, template (present) BIT16 p_ser_nr, + template (present) uint12_t p_rep_per, + template (present) uint16_t p_num_bcast, + template (present) BIT8 dcs := ?, + template (present) octetstring p_msg_content := ?, + template (present) Send_Write_Replace_Warning_Indication send_ind := ?, + template (present) Concurrent_Warning_Message_Indicator concurrent_ind := ? + ) := { initiatingMessage := { procedureCode := id_Write_Replace_Warning, criticality := reject, @@ -187,15 +188,7 @@ id := SBC_AP_Constants.id_Number_of_Broadcasts_Requested, criticality := reject, value_ := { Number_of_Broadcasts_Requested := p_num_bcast } - }/*, { - id := SBC_AP_Constants.id_Warning_Type, - criticality := ignore, - value_ := { Warning_Type := warn_type } }, { - id := SBC_AP_Constants.id_Warning_Security_Information, - criticality := reject, - value_ := { Warning_Security_Information := ? } - }*/, { id := SBC_AP_Constants.id_Data_Coding_Scheme, criticality := ignore, value_ := { Data_Coding_Scheme := dcs } @@ -224,6 +217,60 @@ } } +template (present) SBC_AP_PDU +tr_SBCAP_WRITE_WARNING_REQ_ETWS(template (present) BIT16 p_msg_id, template (present) BIT16 p_ser_nr, + template (present) uint12_t p_rep_per, + template (present) uint16_t p_num_bcast, + template (present) Warning_Type warn_type := ?, + template (present) Send_Write_Replace_Warning_Indication send_ind := ? + ) := { + initiatingMessage := { + procedureCode := id_Write_Replace_Warning, + criticality := reject, + value_ := { + write_Replace_Warning_Request := { + protocolIEs := { + { + id := SBC_AP_Constants.id_Message_Identifier, + criticality := reject, + value_ := { Message_Identifier := p_msg_id } + }, { + id := SBC_AP_Constants.id_Serial_Number, + criticality := reject, + value_ := { Serial_Number := p_ser_nr } + /* List of TAIs */ + /* Warning Area List */ + }, { + id := SBC_AP_Constants.id_Repetition_Period, + criticality := reject, + value_ := { Repetition_Period := p_rep_per } + /* Extended Repetition Period */ + }, { + id := SBC_AP_Constants.id_Number_of_Broadcasts_Requested, + criticality := reject, + value_ := { Number_of_Broadcasts_Requested := p_num_bcast } + }, { + id := SBC_AP_Constants.id_Warning_Type, + criticality := ignore, + value_ := { Warning_Type := warn_type } + }, { + id := SBC_AP_Constants.id_Warning_Security_Information, + criticality := ignore, + value_ := { Warning_Security_Information := ? } + }, { + id := SBC_AP_Constants.id_Send_Write_Replace_Warning_Indication, + criticality := ignore, + value_ := { Send_Write_Replace_Warning_Indication := send_ind } + } + /* Global eNB ID */ + /* Warning Area Coordinates */ + }, + protocolExtensions := omit + } + } + } +} + /* 4.3.4.2.5 WRITE REPLACE WARNING INDICATION */ template (value) SBC_AP_PDU ts_SBCAP_WRITE_WARNING_IND(template (value) BIT16 p_msg_id, template (value) BIT16 p_ser_nr, 3 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. -- To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28929
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I506322fc8a664716db8cd79217c2091b0b926836 Gerrit-Change-Number: 28929 Gerrit-PatchSet: 5 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-MessageType: merged
2 years, 10 months
1
0
0
0
Change in osmo-ttcn3-hacks[master]: sbcap: Fix spec references in comments
by pespin
pespin has submitted this change. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28930
) Change subject: sbcap: Fix spec references in comments ...................................................................... sbcap: Fix spec references in comments Change-Id: I89bc9d15548e6c709f0e1b614f00bc98ec41d441 --- M library/sbcap/SBC_AP_Templates.ttcn 1 file changed, 2 insertions(+), 1 deletion(-) Approvals: fixeria: Looks good to me, approved Jenkins Builder: Verified diff --git a/library/sbcap/SBC_AP_Templates.ttcn b/library/sbcap/SBC_AP_Templates.ttcn index 4ca714c..68afb58 100644 --- a/library/sbcap/SBC_AP_Templates.ttcn +++ b/library/sbcap/SBC_AP_Templates.ttcn @@ -302,7 +302,7 @@ } } -/* 4.3.4.2.3 STOP WARNING REQUEST */ +/* 4.3.4.2.2 WRITE-REPLACE WARNING RESPONSE */ template (value) SBC_AP_PDU ts_SBCAP_WRITE_WARNING_RESP(template (value) BIT16 p_msg_id, template (value) BIT16 p_ser_nr, template (value) SBC_AP_Cause cause := SBC_AP_Cause_message_accepted) := { @@ -364,6 +364,7 @@ } } +/* 4.3.4.2.3 STOP WARNING REQUEST */ template (present) SBC_AP_PDU tr_SBCAP_STOP_WARNING(template (present) BIT16 p_msg_id, template (present) BIT16 p_ser_nr) := { initiatingMessage := { 1 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. -- To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28930
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I89bc9d15548e6c709f0e1b614f00bc98ec41d441 Gerrit-Change-Number: 28930 Gerrit-PatchSet: 3 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-MessageType: merged
2 years, 10 months
1
0
0
0
Change in osmo-ttcn3-hacks[master]: cbc: Test ETWS msg over CBSP
by pespin
pespin has submitted this change. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28912
) Change subject: cbc: Test ETWS msg over CBSP ...................................................................... cbc: Test ETWS msg over CBSP So far only non-emergency CBS messages were tested, which require a slighlty idfferent encoding on the protocol side. Related: OS#4945 Change-Id: Ie22a00120218a205db11a5622274dcc67435f5de --- M cbc/BSC_ConnectionHandler.ttcn M cbc/CBC_Tests.ttcn M cbc/CBS_Message.ttcn M cbc/ECBE_Components.ttcn M library/CBSP_Templates.ttcn 5 files changed, 153 insertions(+), 13 deletions(-) Approvals: fixeria: Looks good to me, but someone else must approve pespin: Looks good to me, approved osmith: Looks good to me, but someone else must approve Jenkins Builder: Verified diff --git a/cbc/BSC_ConnectionHandler.ttcn b/cbc/BSC_ConnectionHandler.ttcn index a8601a6..804d246 100644 --- a/cbc/BSC_ConnectionHandler.ttcn +++ b/cbc/BSC_ConnectionHandler.ttcn @@ -106,11 +106,20 @@ tx_list := valueof(tx_cell_list); } if (istemplatekind(tx_compl_list, "omit")) { - tx := ts_CBSP_WRITE_CBS_COMPL(msg.msg_id, msg.ser_nr, tx_list, msg.channel_ind); + if (msg_id_is_etws(msg.msg_id)) { + tx := ts_CBSP_WRITE_EMERG_COMPL(msg.msg_id, msg.ser_nr, tx_list); + } else { + tx := ts_CBSP_WRITE_CBS_COMPL(msg.msg_id, msg.ser_nr, tx_list, msg.channel_ind); + } } else { - tx := ts_CBSP_REPLACE_CBS_COMPL(msg.msg_id, msg.ser_nr, msg.old_ser_nr, - valueof(tx_compl_list), tx_list, - msg.channel_ind); + if (msg_id_is_etws(msg.msg_id)) { + tx := ts_CBSP_REPLACE_EMERG_COMPL(msg.msg_id, msg.ser_nr, msg.old_ser_nr, + tx_list); + } else { + tx := ts_CBSP_REPLACE_CBS_COMPL(msg.msg_id, msg.ser_nr, msg.old_ser_nr, + valueof(tx_compl_list), tx_list, + msg.channel_ind); + } } CBSP[idx].send(ts_CBSP_Send(g_cbsp_conn_id[idx], tx)); } @@ -134,13 +143,19 @@ var template CBSP_IEs content_ies := {}; var template (present) CBSP_PDU rx_templ; var CBSP_RecvFrom rf; - for (var integer i := 0; i < lengthof(msg.content); i := i+1) { - //content_ies[i] := tr_CbspMsgContent(msg.content[i].payload, msg.content[i].user_len); - content_ies[i] := tr_CbspMsgContent(?, ?); + if (msg_id_is_etws(msg.msg_id)) { + rx_templ := tr_CBSP_WRITE_EMERG(msg.msg_id, msg.ser_nr, msg.cell_list, 1, + hex2int('180'H) + (msg.msg_id - 4352), + msg.num_bcast_req, 0) + } else { + for (var integer i := 0; i < lengthof(msg.content); i := i+1) { + //content_ies[i] := tr_CbspMsgContent(msg.content[i].payload, msg.content[i].user_len); + content_ies[i] := tr_CbspMsgContent(?, ?); + } + rx_templ := tr_CBSP_WRITE_CBS(msg.msg_id, msg.ser_nr, msg.cell_list, msg.channel_ind, + msg.category, msg.rep_period, msg.num_bcast_req, msg.dcs, + content_ies); } - rx_templ := tr_CBSP_WRITE_CBS(msg.msg_id, msg.ser_nr, msg.cell_list, msg.channel_ind, - msg.category, msg.rep_period, msg.num_bcast_req, msg.dcs, - content_ies); alt { [] CBSP[idx].receive(tr_CBSP_Recv(g_cbsp_conn_id[idx], rx_templ)) -> value rf { var template (value) CBSP_PDU tx; diff --git a/cbc/CBC_Tests.ttcn b/cbc/CBC_Tests.ttcn index fdf3b0f..581298a 100644 --- a/cbc/CBC_Tests.ttcn +++ b/cbc/CBC_Tests.ttcn @@ -653,6 +653,25 @@ f_shutdown_helper(); } +/* Test ETWS message. TS 23.041 9.4.1.2.2 */ +testcase TC_ecbe_create_delete_etws_bsc() runs on test_CT { + f_init(num_bsc := 1); + var template (value) BSSMAP_FIELD_CellIdentificationList cell_list_success; + var template (value) CBS_Message msg := t_CBSmsg(4352 /* Earthquake */, 16752); + msg.channel_ind := omit; + + cell_list_success := ts_BSSMAP_CIL_CGI({ + ts_BSSMAP_CI_CGI('901'H, '70'H, 23, 42), + ts_BSSMAP_CI_CGI('901'H, '70'H, 24, 42) + }); + g_pars_BSC[0].start_fn := refers(f_bsc_create_and_delete); + g_pars_BSC[0].exp_cbs_msg := valueof(msg); + g_pars_BSC[0].cell_list_success := valueof(cell_list_success); + f_start(); + f_create_and_delete(valueof(msg)); + f_shutdown_helper(); +} + control { execute( TC_rx_keepalive() ); execute( TC_rx_keepalive_timeout() ); @@ -667,6 +686,8 @@ execute( TC_ecbe_create_delete_bsc_server() ); execute( TC_ecbe_create_delete_mme_server() ); execute( TC_concurrent_cbs_msg_mme() ); + + execute( TC_ecbe_create_delete_etws_bsc() ); } } diff --git a/cbc/CBS_Message.ttcn b/cbc/CBS_Message.ttcn index 1ce6935..faaa403 100644 --- a/cbc/CBS_Message.ttcn +++ b/cbc/CBS_Message.ttcn @@ -26,7 +26,7 @@ uint16_t ser_nr, uint16_t old_ser_nr optional, BSSMAP_FIELD_CellIdentificationList cell_list, - uint8_t channel_ind, + uint8_t channel_ind optional, CBSP_Category category, uint16_t rep_period, uint16_t num_bcast_req, @@ -39,4 +39,12 @@ }; type record of CBS_MessageContent CBS_MessageContents; +function msg_id_is_etws(uint16_t msg_id) return boolean +{ + if (msg_id >= 4352 and msg_id <= 4359) { + return true; + } + return false; +} + } diff --git a/cbc/ECBE_Components.ttcn b/cbc/ECBE_Components.ttcn index eaf2772..996b17d 100644 --- a/cbc/ECBE_Components.ttcn +++ b/cbc/ECBE_Components.ttcn @@ -35,9 +35,44 @@ return hex2str(oct2hex(inp.payload)); } +private function f_cbs2ecbe_etws(CBS_Message inp, charstring cbe_name) return EcbeCbcMessage +{ + var EcbeWarningTypeDecoded warn_type; + int2enum(inp.msg_id - 4352, warn_type); + + var EcbeCbcMessage ret := { + cbe_name := cbe_name, + category := f_cbs2ecbe_category(inp.category), + repetition_period := inp.rep_period, + num_of_bcast := inp.num_bcast_req, + scope := { scope_plmn := {} }, + smscb_message := { + serial_nr := { + serial_nr_encoded := inp.ser_nr + }, + message_id := inp.msg_id, + payload := { + payload_etws := { + warning_type := { + warning_type_decoded := warn_type + }, + emergency_user_alert := true, + popup_on_display := true, + warning_sec_info := omit + } + } + } + }; + return ret; +} + /* convert from CBS_Message to EcbeCbcMessage */ function f_cbs2ecbe(CBS_Message inp, charstring cbe_name) return EcbeCbcMessage { + if (msg_id_is_etws(inp.msg_id)) { + return f_cbs2ecbe_etws(inp, cbe_name); + } + var EcbeCbcMessage ret := { cbe_name := cbe_name, category := f_cbs2ecbe_category(inp.category), diff --git a/library/CBSP_Templates.ttcn b/library/CBSP_Templates.ttcn index 6ff2742..bcbb7be 100644 --- a/library/CBSP_Templates.ttcn +++ b/library/CBSP_Templates.ttcn @@ -381,6 +381,19 @@ ies[lengthof(ies)] := ts_CbspChannelInd(channel_ind); return ts_CBSP(CBSP_MSGT_WRITE_REPLACE_COMPL, ies); } +function ts_CBSP_WRITE_EMERG_COMPL(uint16_t msg_id, uint16_t new_ser_nr, + template (omit) BSSMAP_FIELD_CellIdentificationList cell_list) +return template (value) CBSP_PDU { + var template (value) CBSP_IEs ies := { + ts_CbspMsgId(msg_id), + ts_NewSerNo(new_ser_nr) + }; + if (not istemplatekind(cell_list, "omit")) { + ies[lengthof(ies)] := ts_CbspCellList(valueof(cell_list)); + } + return ts_CBSP(CBSP_MSGT_WRITE_REPLACE_COMPL, ies); +} + function tr_CBSP_WRITE_CBS_COMPL(template uint16_t msg_id, template uint16_t new_ser_nr, template BSSMAP_FIELD_CellIdentificationList cell_list, template uint8_t channel_ind) @@ -397,8 +410,23 @@ } else if (not istemplatekind(cell_list, "omit")) { ies[lengthof(ies)] := tr_CbspCellList(cell_list); } - if (not istemplatekind(channel_ind, "omit")) { - ies[lengthof(ies)] := tr_CbspChannelInd(channel_ind); + ies[lengthof(ies)] := tr_CbspChannelInd(channel_ind); + return tr_CBSP(CBSP_MSGT_WRITE_REPLACE_COMPL, ies); +} +function tr_CBSP_WRITE_EMERG_COMPL(template uint16_t msg_id, template uint16_t new_ser_nr, + template BSSMAP_FIELD_CellIdentificationList cell_list) +return template CBSP_PDU { + var template CBSP_IEs ies := { + tr_CbspMsgId(msg_id), + tr_NewSerNo(new_ser_nr) + }; + if (istemplatekind(cell_list, "*")) { + testcase.stop("TITAN > 6.5.0 doesn't support this"); + //ies[lengthof(ies)] := tr_CbspCellList ifpresent; + } else if (istemplatekind(cell_list, "?")) { + ies[lengthof(ies)] := tr_CbspCellList(?); + } else if (not istemplatekind(cell_list, "omit")) { + ies[lengthof(ies)] := tr_CbspCellList(cell_list); } return tr_CBSP(CBSP_MSGT_WRITE_REPLACE_COMPL, ies); } @@ -421,6 +449,19 @@ ies[lengthof(ies)] := ts_CbspChannelInd(channel_ind); return ts_CBSP(CBSP_MSGT_WRITE_REPLACE_COMPL, ies); } +function ts_CBSP_REPLACE_EMERG_COMPL(uint16_t msg_id, uint16_t new_ser_nr, uint16_t old_ser_nr, + template (omit) BSSMAP_FIELD_CellIdentificationList cell_list) +return template (value) CBSP_PDU { + var template (value) CBSP_IEs ies := { + ts_CbspMsgId(msg_id), + ts_NewSerNo(new_ser_nr), + ts_OldSerNo(old_ser_nr) + }; + if (not istemplatekind(cell_list, "omit")) { + ies[lengthof(ies)] := ts_CbspCellList(valueof(cell_list)); + } + return ts_CBSP(CBSP_MSGT_WRITE_REPLACE_COMPL, ies); +} function tr_CBSP_REPLACE_CBS_COMPL(template uint16_t msg_id, template uint16_t new_ser_nr, template uint16_t old_ser_nr, template CBSP_IE_NumBcastComplList compl_list, @@ -454,6 +495,26 @@ } return tr_CBSP(CBSP_MSGT_WRITE_REPLACE_COMPL, ies); } +function tr_CBSP_REPLACE_EMERG_COMPL(template uint16_t msg_id, template uint16_t new_ser_nr, + template uint16_t old_ser_nr, + template BSSMAP_FIELD_CellIdentificationList cell_list) +return template CBSP_PDU { + var template CBSP_IEs ies := { + tr_CbspMsgId(msg_id), + tr_NewSerNo(new_ser_nr), + tr_OldSerNo(old_ser_nr) + }; + + if (istemplatekind(cell_list, "*")) { + testcase.stop("TITAN > 6.5.0 doesn't support this"); + //ies[lengthof(ies)] := tr_CbspCellList ifpresent; + } else if (istemplatekind(cell_list, "?")) { + ies[lengthof(ies)] := tr_CbspCellList(?); + } else if (not istemplatekind(cell_list, "omit")) { + ies[lengthof(ies)] := tr_CbspCellList(cell_list); + } + return tr_CBSP(CBSP_MSGT_WRITE_REPLACE_COMPL, ies); +} /* 8.1.3.3 WRITE-REPLACE FAILURE */ -- To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28912
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: Ie22a00120218a205db11a5622274dcc67435f5de Gerrit-Change-Number: 28912 Gerrit-PatchSet: 5 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-MessageType: merged
2 years, 10 months
1
0
0
0
Change in osmo-ttcn3-hacks[master]: sbcap: Add missing cause types
by pespin
pespin has posted comments on this change. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28944
) Change subject: sbcap: Add missing cause types ...................................................................... Patch Set 1: Code-Review+1 -- To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28944
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I09526f5ac19c80927b6b8ad1cff874a86e0b3a04 Gerrit-Change-Number: 28944 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-Comment-Date: Fri, 05 Aug 2022 20:29:21 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
2 years, 10 months
1
0
0
0
Change in osmo-ttcn3-hacks[master]: cbc: Test ETWS msg over CBSP
by pespin
pespin has posted comments on this change. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28912
) Change subject: cbc: Test ETWS msg over CBSP ...................................................................... Patch Set 4: Code-Review+2 -- To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28912
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: Ie22a00120218a205db11a5622274dcc67435f5de Gerrit-Change-Number: 28912 Gerrit-PatchSet: 4 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-Comment-Date: Fri, 05 Aug 2022 20:29:02 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
2 years, 10 months
1
0
0
0
Change in osmo-msc[master]: Add ESME-specific logging
by fixeria
Attention is currently required from: laforge, pespin, daniel, msuraev. fixeria has posted comments on this change. (
https://gerrit.osmocom.org/c/osmo-msc/+/28845
) Change subject: Add ESME-specific logging ...................................................................... Patch Set 14: Code-Review+2 -- To view, visit
https://gerrit.osmocom.org/c/osmo-msc/+/28845
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Change-Id: Ie5ddde762350385f8d18ee1d441584a41b0290ec Gerrit-Change-Number: 28845 Gerrit-PatchSet: 14 Gerrit-Owner: msuraev <msuraev(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de> Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-Attention: laforge <laforge(a)osmocom.org> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Attention: daniel <dwillmann(a)sysmocom.de> Gerrit-Attention: msuraev <msuraev(a)sysmocom.de> Gerrit-Comment-Date: Fri, 05 Aug 2022 19:03:09 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
2 years, 10 months
1
0
0
0
Change in osmo-msc[master]: Introduce libsmpputil
by fixeria
Attention is currently required from: pespin, daniel, msuraev. fixeria has posted comments on this change. (
https://gerrit.osmocom.org/c/osmo-msc/+/28844
) Change subject: Introduce libsmpputil ...................................................................... Patch Set 13: Code-Review+1 -- To view, visit
https://gerrit.osmocom.org/c/osmo-msc/+/28844
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Change-Id: I61910651bc7c188dc2fb67d96189a66a47e7e8fb Gerrit-Change-Number: 28844 Gerrit-PatchSet: 13 Gerrit-Owner: msuraev <msuraev(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de> Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-CC: laforge <laforge(a)osmocom.org> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Attention: daniel <dwillmann(a)sysmocom.de> Gerrit-Attention: msuraev <msuraev(a)sysmocom.de> Gerrit-Comment-Date: Fri, 05 Aug 2022 18:56:10 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
2 years, 10 months
1
0
0
0
Change in osmo-ttcn3-hacks[master]: cbc: Introduce test TC_cell_failure_restart_active_{cbc,mme}
by fixeria
Attention is currently required from: pespin. fixeria has posted comments on this change. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28949
) Change subject: cbc: Introduce test TC_cell_failure_restart_active_{cbc,mme} ...................................................................... Patch Set 1: Code-Review+1 -- To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28949
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I7b1c5275eff56888268601b481e8f8c1dd1bb1b0 Gerrit-Change-Number: 28949 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Comment-Date: Fri, 05 Aug 2022 18:52:38 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
2 years, 10 months
1
0
0
0
Change in osmo-ttcn3-hacks[master]: cbc: Introduce test TC_cell_failure_restart_idle_mme
by fixeria
Attention is currently required from: pespin. fixeria has posted comments on this change. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28948
) Change subject: cbc: Introduce test TC_cell_failure_restart_idle_mme ...................................................................... Patch Set 1: Code-Review+1 -- To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28948
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: Ie0ab3d4fbe1d9a824b1f69ceacbf7dfd4f0d9728 Gerrit-Change-Number: 28948 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Comment-Date: Fri, 05 Aug 2022 18:52:04 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
2 years, 10 months
1
0
0
0
← Newer
1
...
188
189
190
191
192
193
194
...
241
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
Results per page:
10
25
50
100
200