lists.osmocom.org
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

gerrit-log

Thread Start a new thread
Download
Threads by month
  • ----- 2026 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2025 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • 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
gerrit-log@lists.osmocom.org

  • 1 participants
  • 97203 discussions
[M] Change in pysim[master]: esim.saip: select a DF created by a GFM PE
by hampushellsberg 01 Dec '26

01 Dec '26
hampushellsberg has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/44216?usp=email ) Change subject: esim.saip: select a DF created by a GFM PE ...................................................................... esim.saip: select a DF created by a GFM PE SAIP V3.4.1 8.3.5: a DF or ADF created by createFCP is selected automatically, and the files that follow are created in it until a filePath selects another DF; an ADF itself is not created within the current DF. ProfileElementGFM.pe2files() kept the path of the last filePath, so those files were placed beside the DF. perform() now returns the current DF after the file it created, and creates a file with a dfName at MF level. The folder osmocom-pysim-saip-gfm-df-select of hampushellsberg-dev/PySIM-upstream-patches on GitHub has the analysis and a repro. Change-Id: I1895083980b87431738438035bd75d682d60da0e --- M pySim/esim/saip/__init__.py M tests/unittests/test_esim_saip.py 2 files changed, 52 insertions(+), 9 deletions(-) git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/16/44216/1 diff --git a/pySim/esim/saip/__init__.py b/pySim/esim/saip/__init__.py index e18ac8a..a2595fb 100644 --- a/pySim/esim/saip/__init__.py +++ b/pySim/esim/saip/__init__.py @@ -880,14 +880,23 @@ def pe2files(self): """Update the "files" member with the contents of the "decoded" member.""" - def perform(self, path: List[int], file_elements): - if len(file_elements): - if self.pe_sequence: - self.pe_sequence.cd(path) - file = File(None, file_elements) - file.path = path - file.pe_name = self.path_str(path + [file.fid]) - self.add_file(file, path + [file.fid]) + def perform(self, path: List[int], file_elements) -> List[int]: + """Create the file; return the current DF after it.""" + if not len(file_elements): + return path + file = File(None, file_elements) + if file.df_name: + # an ADF is not created within the current DF (SAIP V3.4.1 8.3.5) + path = [0x3f00] + if self.pe_sequence: + self.pe_sequence.cd(path) + file.path = path + file.pe_name = self.path_str(path + [file.fid]) + self.add_file(file, path + [file.fid]) + # a created DF/ADF is selected automatically (SAIP V3.4.1 8.3.5) + if file.file_type in ['MF', 'DF', 'ADF']: + return [0x3f00] if file.fid == 0x3f00 else path + [file.fid] + return path logger.debug("="*70 + " " + self.type) #logger.debug(self.decoded) @@ -907,7 +916,7 @@ #logger.debug("filePath %s -> path=%s" % (fmc2[1], path)) elif fmc2[0] == 'createFCP': # new FCP means new file; perform the old one - perform(self, path, file_elements) + path = perform(self, path, file_elements) file_elements = [('fileDescriptor', fmc2[1])] elif fmc2[0] == 'fillFileOffset' or fmc2[0] == 'fillFileContent': file_elements.append(fmc2) diff --git a/tests/unittests/test_esim_saip.py b/tests/unittests/test_esim_saip.py index 5d44de3..a300803 100755 --- a/tests/unittests/test_esim_saip.py +++ b/tests/unittests/test_esim_saip.py @@ -97,6 +97,40 @@ pe = ProfileElement.from_der(asn1.encode('ProfileElement', ('securityDomain', decoded))) self.assertEqual(pe.keys[3].to_saip_dict()['keyCounterValue'], h2b('0000000001')) + def test_gfm_created_df_is_selected(self): + """Test that the files after a DF created by a GFM PE are created in that DF.""" + def fcp(fid, fd, **kwargs): + return ('createFCP', dict(fileDescriptor=h2b(fd), fileID=h2b(fid), + securityAttributesReferenced=b'\x01', **kwargs)) + cmds = [[fcp('7f2f', '7821', pinStatusTemplateDO=h2b('010a')), + fcp('5f01', '7821', pinStatusTemplateDO=h2b('010a')), + fcp('6f01', '4121', efFileSize=b'\x02'), + ('filePath', h2b('7f2f')), + fcp('6f02', '4121', efFileSize=b'\x02')]] + gfm_der = asn1.encode('ProfileElement', ('genericFileManagement', { + 'gfm-header': {'mandated': None, 'identification': 99}, 'fileManagementCMD': cmds})) + tlvs = [] + remainder = self.per_input + while len(remainder): + first_tlv, remainder = bertlv_first_segment(remainder) + tlvs.append(first_tlv) + pes = ProfileElementSequence.from_der(b''.join(tlvs[:-1]) + gfm_der + tlvs[-1]) + gfm = pes.pe_list[-2] + self.assertEqual(sorted(gfm.files.keys()), + ['3F00/7F2F', '3F00/7F2F/5F01', '3F00/7F2F/5F01/6F01', '3F00/7F2F/6F02']) + # an ADF is created at MF level, whatever the current DF + cmds = [[fcp('7f2f', '7821', pinStatusTemplateDO=h2b('010a')), + fcp('7f5f', '7821', dfName=h2b('a000000063504b43532d3135'), + pinStatusTemplateDO=h2b('010a')), + fcp('5031', '4121', efFileSize=b'\x02'), + ('filePath', h2b('7f5f')), + fcp('5032', '4121', efFileSize=b'\x02')]] + gfm_der = asn1.encode('ProfileElement', ('genericFileManagement', { + 'gfm-header': {'mandated': None, 'identification': 99}, 'fileManagementCMD': cmds})) + pes = ProfileElementSequence.from_der(b''.join(tlvs[:-1]) + gfm_der + tlvs[-1]) + self.assertEqual(sorted(pes.pe_list[-2].files.keys()), + ['3F00/7F2F', '3F00/7F5F', '3F00/7F5F/5031', '3F00/7F5F/5032']) + def test_sequence_helpers(self): """Verify that the convenience helpers worked as expected.""" self.assertEqual([x.type for x in self.pes.pe_list], self.expected_pet_list) -- To view, visit https://gerrit.osmocom.org/c/pysim/+/44216?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: I1895083980b87431738438035bd75d682d60da0e Gerrit-Change-Number: 44216 Gerrit-PatchSet: 1 Gerrit-Owner: hampushellsberg <hampushellsberg(a)gmail.com>
1 0
0 0
[S] Change in osmo-ttcn3-hacks[master]: 5gc: Fix N2 HO DataForwardingNotPossible expectancies
by pespin 01 Dec '26

01 Dec '26
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44215?usp=email ) Change subject: 5gc: Fix N2 HO DataForwardingNotPossible expectancies ...................................................................... 5gc: Fix N2 HO DataForwardingNotPossible expectancies open5gs.git e81872963fb32757507a3e28d4372882740c7869 fixed indirect forwarding and in doing so it also fixed how the DataForwardingNotPossible IE was being set. Nowadays open5gs never sends DataForwardingNotPossible because it will always provide either direct or fallback indirect forwarding through the UPF. Change-Id: I478c303cda21d501dc74d8cdb1240798575ce507 --- M 5gc/C5G_Tests.ttcn M 5gc/ConnHdlr.ttcn 2 files changed, 13 insertions(+), 24 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/15/44215/1 diff --git a/5gc/C5G_Tests.ttcn b/5gc/C5G_Tests.ttcn index 3b188c5..89c8988 100644 --- a/5gc/C5G_Tests.ttcn +++ b/5gc/C5G_Tests.ttcn @@ -974,8 +974,7 @@ pti := g_pars.ue_pars.pti, sess_pars := g_pars.ue_pars.sess_pars, kset_id := g_pars.kset_id, - nus := nus, - exp_ho_request_data_forwarding_not_possible := not isvalue(direct_forwarding_avail) + nus := nus }); /* 3GPP TS 23.502 4.9.1.3.2 step 1: */ @@ -1003,7 +1002,7 @@ /* 3GPP TS 23.502 4.9.1.3.2 step 9+10: */ - f_n2_handover_request(ho_n2_pars.exp_ho_request_data_forwarding_not_possible); + f_n2_handover_request(); /* 3GPP TS 23.502 4.9.1.3.3 step 4 */ COORD.receive("HANDOVER_COMMAND_CONFIRM"); @@ -1101,7 +1100,7 @@ f_create_ngap_expect_proc(id_HandoverResourceAllocation, self); /* 3GPP TS 23.502 4.9.1.3.2 step 9+10: */ - f_n2_handover_request(true); + f_n2_handover_request(); /* Expect to get a release on the target gNB due to cancelled Handover: */ as_ngap_handle_UeContextReleaseCmd(exp_cause := mw_cause_radioNetwork(handover_cancelled)); diff --git a/5gc/ConnHdlr.ttcn b/5gc/ConnHdlr.ttcn index a000830..87c330d 100644 --- a/5gc/ConnHdlr.ttcn +++ b/5gc/ConnHdlr.ttcn @@ -134,9 +134,7 @@ ProcedureTransactionIdentifier pti, PDUSessionParams sess_pars, NAS_KeySetIdentifier kset_id, - NG_NAS_UE_State nus /* 3GPP TS 38.423 9.2.1.13 UE Context Information */, - /* Whether to expect received HO Request should contain a DataForwardingNotPossible IE: */ - boolean exp_ho_request_data_forwarding_not_possible + NG_NAS_UE_State nus /* 3GPP TS 38.423 9.2.1.13 UE Context Information */ }; type port ConnHdlr_Coord_PT message @@ -370,14 +368,12 @@ } /* Handle a PDUSessionResourceSetupRequestTransfer and return a Result */ -private function f_pdu_handle_PDUSessionResourceSetupRequestTransfer(NGAP_IEs.PDUSessionResourceSetupRequestTransfer setup_req_transf, - boolean exp_data_forwarding_not_possible) +private function f_pdu_handle_PDUSessionResourceSetupRequestTransfer(NGAP_IEs.PDUSessionResourceSetupRequestTransfer setup_req_transf) runs on ConnHdlr return NGAP_IEs.PDUSessionResourceSetupResponseTransfer { var template (value) UPTransportLayerInformation utla; var template (value) QosFlowPerTNLInformation qos; var NGAP_IEs.PDUSessionResourceSetupResponseTransfer setup_resp_transf; var integer qos_id := 0; - var boolean found_data_forwarding_not_possible := false; for (var integer i := 0; i < lengthof(setup_req_transf.protocolIEs); i := i + 1) { select (setup_req_transf.protocolIEs[i].id) { @@ -389,18 +385,12 @@ case (id_QosFlowSetupRequestList) { var QosFlowSetupRequestList qos_req_li := setup_req_transf.protocolIEs[i].value_.QosFlowSetupRequestList; qos_id := qos_req_li[0].qosFlowIdentifier; - } + } case (id_DataForwardingNotPossible) { - found_data_forwarding_not_possible := true; + Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, + "PDUSessionResourceSetupRequestTransfer: unexpected DataForwardingNotPossible IE received"); + } } - } - } - - if (exp_data_forwarding_not_possible != found_data_forwarding_not_possible) { - Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, - log2str("PDUSessionResourceSetupRequestTransfer: DataForwardingNotPossible IE: received presence ", - found_data_forwarding_not_possible, " vs exp ", - exp_data_forwarding_not_possible)); } /* Prepare Response for it: */ @@ -423,7 +413,7 @@ /* Parse PDUSessionResourceSetupRequestTransfer contained inside InitialContextSetupRequest's PDUSessionResourceSetup Item: */ setup_req_transf := dec_NGAP_PDUSessionResourceSetupRequestTransfer(req.pDUSessionResourceSetupRequestTransfer); - setup_resp_transf := f_pdu_handle_PDUSessionResourceSetupRequestTransfer(setup_req_transf, false); + setup_resp_transf := f_pdu_handle_PDUSessionResourceSetupRequestTransfer(setup_req_transf); setup_trans_enc := enc_NGAP_PDUSessionResourceSetupResponseTransfer(setup_resp_transf) resp := valueof(m_pDUSessionResourceSetupItemCxtRes(req.pDUSessionID, setup_trans_enc)); @@ -496,7 +486,7 @@ /* Parse PDUSessionResourceSetupRequestTransfer contained inside InitialContextSetupRequest's PDUSessionResourceSetup Item: */ setup_req_transf := dec_NGAP_PDUSessionResourceSetupRequestTransfer(req.pDUSessionResourceSetupRequestTransfer); - setup_resp_transf := f_pdu_handle_PDUSessionResourceSetupRequestTransfer(setup_req_transf, false); + setup_resp_transf := f_pdu_handle_PDUSessionResourceSetupRequestTransfer(setup_req_transf); setup_trans_enc := enc_NGAP_PDUSessionResourceSetupResponseTransfer(setup_resp_transf) resp := valueof(m_pDUSessionResourceSetupItemSURes(req.pDUSessionID, setup_trans_enc)); @@ -1185,7 +1175,7 @@ /* 3GPP TS 38.413 9.2.3.4 HANDOVER REQUEST * 3GPP TS 23.502 4.9.1.3.2 step 9+10 */ -function f_n2_handover_request(boolean exp_ho_request_data_forwarding_not_possible := true) runs on ConnHdlr +function f_n2_handover_request() runs on ConnHdlr { var template (value) QosFlowItemWithDataForwarding qos; var template (value) HandoverRequestAcknowledgeTransfer transfer; @@ -1213,7 +1203,7 @@ var NGAP_IEs.PDUSessionResourceSetupRequestTransfer setup_req_transf; var NGAP_IEs.PDUSessionResourceSetupResponseTransfer setup_resp_transf; setup_req_transf := dec_NGAP_PDUSessionResourceSetupRequestTransfer(res_it.handoverRequestTransfer); - setup_resp_transf := f_pdu_handle_PDUSessionResourceSetupRequestTransfer(setup_req_transf, exp_ho_request_data_forwarding_not_possible); + setup_resp_transf := f_pdu_handle_PDUSessionResourceSetupRequestTransfer(setup_req_transf); qos_id := setup_resp_transf.dLQosFlowPerTNLInformation.associatedQosFlowList[0].qosFlowIdentifier; } } -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44215?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I478c303cda21d501dc74d8cdb1240798575ce507 Gerrit-Change-Number: 44215 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de>
1 0
0 0
[XS] Change in osmo-ci[master]: jobs/ttcn3: disable sepp latest for now
by osmith 01 Dec '26

01 Dec '26
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/44214?usp=email ) Change subject: jobs/ttcn3: disable sepp latest for now ...................................................................... jobs/ttcn3: disable sepp latest for now As discussed in the team meeting, let's disable this until we have a new open5gs release as it is currently expected to fail. Change-Id: Iec990920255c1da914604f49fde0653119efdda8 --- M jobs/ttcn3-testsuites-testenv.yml 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/14/44214/1 diff --git a/jobs/ttcn3-testsuites-testenv.yml b/jobs/ttcn3-testsuites-testenv.yml index d9da11f..7270fc1 100644 --- a/jobs/ttcn3-testsuites-testenv.yml +++ b/jobs/ttcn3-testsuites-testenv.yml @@ -559,6 +559,7 @@ - ttcn3-sepp-test-ogs-latest: testsuite: sepp + disabled: true # Until open5gs > v2.8.0 is tagged args: -b osmocom:latest timer: H 13 * * * -- To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/44214?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Change-Id: Iec990920255c1da914604f49fde0653119efdda8 Gerrit-Change-Number: 44214 Gerrit-PatchSet: 1 Gerrit-Owner: osmith <osmith(a)sysmocom.de>
1 0
0 0
[L] Change in libosmocore[master]: gsm: new struct and en/decoding functions for BC-IE
by pespin 01 Dec '26

01 Dec '26
Attention is currently required from: falconia, fixeria. pespin has posted comments on this change by falconia. ( https://gerrit.osmocom.org/c/libosmocore/+/44192?usp=email ) Change subject: gsm: new struct and en/decoding functions for BC-IE ...................................................................... Patch Set 3: Code-Review+1 (1 comment) File include/osmocom/gsm/gsm48_ie.h: https://gerrit.osmocom.org/c/libosmocore/+/44192/comment/67eadd4b_ba5f7b12?… : PS2, Line 25: #define OSMO_BCAP_MAX_SPEECH_VER 9 > We are about to head into 2027, and the specs for GSM have been frozen for what, two decades now? Bu […] Done -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/44192?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: Ie864734fe1dfd1587bafddd4248ce69a7e066525 Gerrit-Change-Number: 44192 Gerrit-PatchSet: 3 Gerrit-Owner: falconia <falcon(a)freecalypso.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Attention: falconia <falcon(a)freecalypso.org> Gerrit-Comment-Date: Tue, 01 Dec 2026 09:51:52 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes Comment-In-Reply-To: pespin <pespin(a)sysmocom.de> Comment-In-Reply-To: falconia <falcon(a)freecalypso.org>
1 0
0 0
[M] Change in libosmocore[master]: gsm BC-IE: add functions for specific rules in each direction
by pespin 01 Dec '26

01 Dec '26
Attention is currently required from: falconia. pespin has posted comments on this change by falconia. ( https://gerrit.osmocom.org/c/libosmocore/+/44193?usp=email ) Change subject: gsm BC-IE: add functions for specific rules in each direction ...................................................................... Patch Set 3: Code-Review+1 (1 comment) Patchset: PS3: In that case I still think it's probably better to have 2 APIs instead of 3: one to encode ms side and one to encode netwrok side. I don't like the APIs having this unnecessary extra strep, but leaving to others to decide. -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/44193?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: If3819b29ea9f9702ffc4f1b7f6dedb21e9ec15de Gerrit-Change-Number: 44193 Gerrit-PatchSet: 3 Gerrit-Owner: falconia <falcon(a)freecalypso.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Attention: falconia <falcon(a)freecalypso.org> Gerrit-Comment-Date: Tue, 01 Dec 2026 09:46:43 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes
1 0
0 0
[S] Change in libosmocore[master]: gsm_04_08.h: add enums for missing fields of BC-IE
by falconia 30 Nov '26

30 Nov '26
falconia has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/44191?usp=email ) Change subject: gsm_04_08.h: add enums for missing fields of BC-IE ...................................................................... gsm_04_08.h: add enums for missing fields of BC-IE Header file <osmocom/gsm/protocol/gsm_04_08.h> already includes enum definitions for most fields in the bearer capability IE of 3GPP TS 24.008 section 10.5.4.5, but a few important fields are missing. While existing struct gsm_mncc_bearer_cap and the corresponding APIs for high-level encoding and decoding of BC-IE do not provide access to these fields, the new structure and API of the next patch do. Change-Id: Ib25b62f9413761d2f9f01de3510c75e7b4131541 --- M include/osmocom/gsm/protocol/gsm_04_08.h 1 file changed, 27 insertions(+), 0 deletions(-) Approvals: Jenkins Builder: Verified pespin: Looks good to me, approved fixeria: Looks good to me, but someone else must approve diff --git a/include/osmocom/gsm/protocol/gsm_04_08.h b/include/osmocom/gsm/protocol/gsm_04_08.h index c3263be..b54d75c 100644 --- a/include/osmocom/gsm/protocol/gsm_04_08.h +++ b/include/osmocom/gsm/protocol/gsm_04_08.h @@ -2158,6 +2158,12 @@ #define GSM48_BCAP_RRQ_SPARE_NETWORK_TO_MS GSM48_BCAP_RRQ_FR_ONLY }; +/* GSM 04.08 Bearer Capability: Structure field in octet 4 */ +enum gsm48_bcap_struct { + GSM48_BCAP_STRUCT_SDU_INTEG = 0, + GSM48_BCAP_STRUCT_UNSTRUCT = 3, +}; + /* GSM 04.08 Bearer Capability: Rate Adaption */ enum gsm48_bcap_ra { GSM48_BCAP_RA_NONE = 0, @@ -2176,6 +2182,18 @@ GSM48_BCAP_SA_X32 = 6, }; +/* GSM 04.08 Bearer Capability: Other Information Transfer Capability */ +enum gsm48_bcap_other_itcap { + GSM48_BCAP_OTHER_ITC_RDI = 0, +}; + +/* GSM 04.08 Bearer Capability: Other Rate Adaption */ +enum gsm48_bcap_other_ra { + GSM48_BCAP_OTHER_RA_V120 = 0, + GSM48_BCAP_OTHER_RA_H223_H245 = 1, + GSM48_BCAP_OTHER_RA_PIAFS = 2, +}; + /* GSM 04.08 Bearer Capability: User Rate */ enum gsm48_bcap_user_rate { GSM48_BCAP_UR_300 = 1, @@ -2245,6 +2263,15 @@ GSM48_BCAP_FNUR_V34_31200 = 11, /*!< 31.2 kbit/s (according to ITU-T Rec. V.34) */ }; +/* GSM 04.08 Bearer Capability: User Information Layer 2 Protocol */ +enum gsm48_bcap_uil2p { + GSM48_BCAP_UIL2P_X25_LINK = 6, + GSM48_BCAP_UIL2P_XON_XOFF = 8, + GSM48_BCAP_UIL2P_VIDEOTEX_PROF1 = 10, + GSM48_BCAP_UIL2P_COP_NO_FLCT = 12, + GSM48_BCAP_UIL2P_X75_CAPI = 13, +}; + /*! GSM 04.08 Bearer Capability: Speech Version Indication * (See also 3GPP TS 24.008, Table 10.5.103 * and 3GPP TS 26.103, Table 4.1 "Support of Codec Types in Radio Access Technologies") */ -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/44191?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: Ib25b62f9413761d2f9f01de3510c75e7b4131541 Gerrit-Change-Number: 44191 Gerrit-PatchSet: 1 Gerrit-Owner: falconia <falcon(a)freecalypso.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: falconia <falcon(a)freecalypso.org> Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
1 0
0 0
[S] Change in libosmocore[master]: gsm_04_08.h: add presentation and screening indicators of calling number
by falconia 30 Nov '26

30 Nov '26
falconia has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/44194?usp=email ) ( 2 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )Change subject: gsm_04_08.h: add presentation and screening indicators of calling number ...................................................................... gsm_04_08.h: add presentation and screening indicators of calling number Calling party BCD number IE of 3GPP TS 24.008 section 10.5.4.9 includes not only the usual TON and NPI fields of number metadata, but also optional presentation and screening indicators. Existing struct gsm_mncc_number has fields for these indicators, and the existing encoding and decoding functions handle them correctly - but code point definitions for these fields are missing. Fill that omission. Change-Id: I0f7228d763dc8eb163ebef940eee9cff7cfc8b70 --- M include/osmocom/gsm/protocol/gsm_04_08.h 1 file changed, 16 insertions(+), 0 deletions(-) Approvals: pespin: Looks good to me, but someone else must approve fixeria: Looks good to me, approved Jenkins Builder: Verified diff --git a/include/osmocom/gsm/protocol/gsm_04_08.h b/include/osmocom/gsm/protocol/gsm_04_08.h index b54d75c..be3275d 100644 --- a/include/osmocom/gsm/protocol/gsm_04_08.h +++ b/include/osmocom/gsm/protocol/gsm_04_08.h @@ -2324,3 +2324,19 @@ GSM48_NPI_CTS = 11, /* reserved */ }; + +/* Table 10.5.120 / 3GPP TS 24.008 Section 10.5.4.9 */ +enum gsm48_present_ind { + GSM48_PRES_ALLOW = 0, + GSM48_PRES_RESTR = 1, + GSM48_PRES_UNAVAIL = 2, + /* reserved */ +}; + +/* Table 10.5.120 / 3GPP TS 24.008 Section 10.5.4.9 */ +enum gsm48_screen_ind { + GSM48_SCRN_USER_NS = 0, + GSM48_SCRN_USER_PASS = 1, + GSM48_SCRN_USER_FAIL = 2, + GSM48_SCRN_NETWORK = 3, +}; -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/44194?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: I0f7228d763dc8eb163ebef940eee9cff7cfc8b70 Gerrit-Change-Number: 44194 Gerrit-PatchSet: 3 Gerrit-Owner: falconia <falcon(a)freecalypso.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: falconia <falcon(a)freecalypso.org> Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
1 0
0 0
[L] Change in libosmocore[master]: gsm: new struct and en/decoding functions for BC-IE
by falconia 30 Nov '26

30 Nov '26
Attention is currently required from: fixeria, pespin. falconia has posted comments on this change by falconia. ( https://gerrit.osmocom.org/c/libosmocore/+/44192?usp=email ) Change subject: gsm: new struct and en/decoding functions for BC-IE ...................................................................... Patch Set 3: (9 comments) File include/osmocom/gsm/gsm48_ie.h: https://gerrit.osmocom.org/c/libosmocore/+/44192/comment/737db031_08ab4149?… : PS2, Line 141: int osmo_gsm48_decode_bcap_ll(struct osmo_bcap_ll *lld, uint8_t ie_len, > OK, I will flip them in the next iteration of this patch. […] Done File src/gsm/gsm48_ie.c: https://gerrit.osmocom.org/c/libosmocore/+/44192/comment/9847c3dc_f188610e?… : PS2, Line 341: if (cp >= endp) : return -EINVAL; > Thanks for the catch! I will definitely fix it. Done https://gerrit.osmocom.org/c/libosmocore/+/44192/comment/728646c3_fadeb199?… : PS2, Line 443: hld->v120_params = lld->octet_5_ext[1]; > Acknowledged Done https://gerrit.osmocom.org/c/libosmocore/+/44192/comment/5212d2c0_7565d89b?… : PS2, Line 630: for (n = 0; n < lld->speech.num_vers; n++) { > Acknowledged Done https://gerrit.osmocom.org/c/libosmocore/+/44192/comment/81f26f57_237dfd5e?… : PS2, Line 647: for (n = 0; n < lld->data.extent_of_5; n++) > Acknowledged Done https://gerrit.osmocom.org/c/libosmocore/+/44192/comment/70e70798_4af318a6?… : PS2, Line 650: for (n = 0; n < lld->data.extent_of_6; n++) > Acknowledged Done https://gerrit.osmocom.org/c/libosmocore/+/44192/comment/ab65ddaf_f58ba8bd?… : PS2, Line 658: if (lv_only) > Acknowledged Done https://gerrit.osmocom.org/c/libosmocore/+/44192/comment/e07477c6_63de00de?… : PS2, Line 665: bcap_enc_trim_6d_6f > Good catch: 6d through 6g was my intent. Done https://gerrit.osmocom.org/c/libosmocore/+/44192/comment/aca388e4_fef89f67?… : PS2, Line 715: if (hld->other_ra == GSM48_BCAP_OTHER_RA_V120) { > Good catch once again - I must have been too sleepy when I wrote this code. Done -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/44192?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: Ie864734fe1dfd1587bafddd4248ce69a7e066525 Gerrit-Change-Number: 44192 Gerrit-PatchSet: 3 Gerrit-Owner: falconia <falcon(a)freecalypso.org> Gerrit-Reviewer: Jenkins Builder Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-CC: pespin <pespin(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Comment-Date: Mon, 30 Nov 2026 17:43:25 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: pespin <pespin(a)sysmocom.de> Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de> Comment-In-Reply-To: falconia <falcon(a)freecalypso.org>
1 0
0 0
[L] Change in libosmocore[master]: gsm: new struct and en/decoding functions for BC-IE
by falconia 30 Nov '26

30 Nov '26
Attention is currently required from: fixeria, pespin. Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/c/libosmocore/+/44192?usp=email to look at the new patch set (#3). The following approvals got outdated and were removed: Verified+1 by Jenkins Builder Change subject: gsm: new struct and en/decoding functions for BC-IE ...................................................................... gsm: new struct and en/decoding functions for BC-IE Legacy struct gsm_mncc_bearer_cap is unable to represent 14.4 kbit/s mode of CSD, which is now supported by Osmocom BSS, and even for the mandatory set of BC-IE octets for all data modes, it lacks some of the bits. Introduce a new set of structures to serve as a replacement, as well as new encoding and decoding functions using the new structs. These new structures and functions were originally developed by American 2G Cooperative as part of Hera MSC back end, interfacing to OsmoMSC via the proposed MNCC raw mode and doing our own encoding and decoding of GSM 04.08 CC messages. The present patch is a small step toward making these ThemWi functional improvements available in pure Osmocom, in addition to Osmocom+ThemWi hybrid. The structures and functions have also been extended to be usable on the mobile side of GSM, in addition to the network side. Change-Id: Ie864734fe1dfd1587bafddd4248ce69a7e066525 --- M include/osmocom/gsm/gsm48_ie.h M src/gsm/gsm48_ie.c M src/gsm/libosmogsm.map 3 files changed, 552 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/92/44192/3 -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/44192?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newpatchset Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: Ie864734fe1dfd1587bafddd4248ce69a7e066525 Gerrit-Change-Number: 44192 Gerrit-PatchSet: 3 Gerrit-Owner: falconia <falcon(a)freecalypso.org> Gerrit-Reviewer: Jenkins Builder Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-CC: pespin <pespin(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
1 0
0 0
[M] Change in libosmocore[master]: gsm BC-IE: add functions for specific rules in each direction
by falconia 30 Nov '26

30 Nov '26
Attention is currently required from: pespin. Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/c/libosmocore/+/44193?usp=email to look at the new patch set (#3). The following approvals got outdated and were removed: Verified+1 by Jenkins Builder Change subject: gsm BC-IE: add functions for specific rules in each direction ...................................................................... gsm BC-IE: add functions for specific rules in each direction 3GPP TS 24.008 section 10.5.4.5 defines not only the format and coding of bearer capability IE, but also a number of specific rules for MS->network and network->MS directions; these rules are often quite different between the two directions. In addition to BC-IE encoding and decoding functions implemented in the previous patch, provide additional functions that apply the specific rules for each direction. Change-Id: If3819b29ea9f9702ffc4f1b7f6dedb21e9ec15de --- M include/osmocom/gsm/gsm48_ie.h M src/gsm/gsm48_ie.c M src/gsm/libosmogsm.map 3 files changed, 150 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/93/44193/3 -- To view, visit https://gerrit.osmocom.org/c/libosmocore/+/44193?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newpatchset Gerrit-Project: libosmocore Gerrit-Branch: master Gerrit-Change-Id: If3819b29ea9f9702ffc4f1b7f6dedb21e9ec15de Gerrit-Change-Number: 44193 Gerrit-PatchSet: 3 Gerrit-Owner: falconia <falcon(a)freecalypso.org> Gerrit-Reviewer: Jenkins Builder Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-CC: pespin <pespin(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de>
1 0
0 0
  • ← Newer
  • 1
  • ...
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • ...
  • 9721
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.