Commit Graph

230 Commits

Author SHA1 Message Date
Vadim Yanitskiy 398a2cad8a templates: osmo-mgw.cfg.tmpl: address deprecation warnings
This commit fixes the following deprecation warnings:

range must end at an odd port number, autocorrecting port (16000) to: 16001
% Deprecated 'sdp audio-payload number <0-255>' config no longer has any effect
% Deprecated 'sdp audio-payload name NAME' config no longer has any effect

Change-Id: I98549abf8dd726fcc67a1de6a5f8bee64558883d
2023-06-21 19:01:15 +07:00
Vadim Yanitskiy 54f1900ce3 templates: osmo-bsc.cfg.tmpl: migrate to separate 'mgw' node
This commit fixes the following deprecation warnings:

% MGCP commands outside of 'mgw' nodes are deprecated.
  You should consider reading the User Manual and migrating to 'mgw' node.

Change-Id: Ic2b3c8a6775b6a34bfc03e0643a34772ae789139
2023-06-21 18:57:21 +07:00
Vadim Yanitskiy f44f6f7a20 templates: osmo-bsc.cfg.tmpl: remove deprecated no-op params
This patch eliminates the following deprecation warnings:

% deprecated: 'ip.access rtp-base' has no effect, RTP is handled by the MGW
Please do not use legacy config 'mgw endpoint-range' (the range can no longer be defined by the MGCP client)

Change-Id: I64f6a26a3ae347083968c12855357de10baabc59
2023-06-21 18:42:49 +07:00
Vadim Yanitskiy a3de114364 templates: also fix asp config in osmo-{bsc,sgsn}.cfg.tmpl
In change [1] I attempted to fix osmo-gsm-tester_virtual, but I did
not notice that the same problem also was in osmo-bsc.cfg.tmpl.

Also add the missing params to osmo-sgsn.cfg.tmpl.

Change-Id: I7b3adfa131a9dbb867b9ae68615da27191b021e5
Related: [1] Ie29589b46c65707089ff2b22c3b139b7b435cc95
2023-06-21 18:28:26 +07:00
Vadim Yanitskiy 395322589d templates: fix osmo-msc.cfg.tmpl: add 'role asp', 'sctp-role client'
This commit fixes osmo-gsm-tester_virtual, which currently fails
because osmo-msc is unable to start:

DLSCCP NOTICE sccp_user.c:656 OsmoMSC-A-Iu: Requesting an SCCP
              simple client on ASP asp-clnt-OsmoMSC-A configured
              with 'sctp-role server'
DLSCCP ERROR sccp_user.c:661 OsmoMSC-A-Iu: Requesting an SCCP
             simple client on ASP asp-clnt-OsmoMSC-A configured
             with 'sctp-role server' but no matching xUA server
             was configured!

Change-Id: Ie29589b46c65707089ff2b22c3b139b7b435cc95
2023-06-19 16:33:56 +07:00
Pau Espin eb0e007827 osmo-mobile.cfg.tmpl: Improve logging
Change-Id: I5fc07bd9332f6adac67b108f712fb99ee7cb3439
2023-04-12 17:10:56 +02:00
Oliver Smith bfc438bb2b templates: osmo-msc: modernize
Configure the mgw in the mgw node, and drop the obsolete commands
endpoint-range and bts-base.

Fix for:
| Error occurred during reading the below line:
|  mgw bts-base 8000
|
| % MGCP commands outside of 'mgw' nodes are deprecated. You should consider reading User Manual and migrating to 'mgw' node.

Change-Id: I077c4cd4c593da776a306117ad2a898a82d91064
2022-12-01 15:28:36 +01:00
Pau Espin 24a405f3e2 open5gs: Fix GTP-U addr binding
Change-Id: I8c91a9c4a07f4229cb4ae9af61d94e720d81a961
2021-05-12 19:37:33 +02:00
Pau Espin be5156c5c1 open5gs: Pre-configure tun device for UPF
open5gs requires the tun device to be pre-created and pre-configured
before using it. A ticket was opened in order to allow upfd itself
configuring it in [1]

[1] https://github.com/open5gs/open5gs/issues/899

Change-Id: I3b1857f09017cacee1c86f41dae1463c11b50490
2021-05-12 19:36:18 +02:00
Andre Puschmann 74588e9c35 open5gs_mme: set short network name
Change-Id: Ifd7a78e35fb47cc5a96452fe93d8ab305359d7bd
2021-05-10 21:51:31 +02:00
Andre Puschmann 5a2f05aaa4 srsenb: enable S1AP pcaps as well when PCAPs are configured
this stores the S1AP pcaps in an own file but uses
the same switch to enable them.

Change-Id: If24048d61d8dff0b9b31aff9ed6995342830ebf8
2021-05-10 21:51:31 +02:00
Andre Puschmann faa8e7c1d4 open5gs: lower default log level to info
Change-Id: I15aaac5838bdb9d271a850b959a3a8fb4a56a313
2021-05-10 21:51:31 +02:00
Andre Puschmann e87a05624d srsue.conf.tmpl: tidy up config file
no functional changes, just remove whitespaces and newlines

Change-Id: Ib58d3591cc51c11c9e496f6510ebffb91ee71345
2021-05-10 16:56:31 +02:00
Andre Puschmann 7879143d34 amarisoftue: solve conflict of sample rate param in rf_driver
move sample_rate setting into rf_driver template that is shared
between enb and ue

Change-Id: Icc8042c3eec2a1e8bfc6823c06430c1cb18355b7
2021-05-05 20:06:48 +02:00
Andre Puschmann 8d37a9857d amarisoft_ltemme.cfg.tmpl: enable ENDC support in config template
patch also remove the UE forwarding option which isn't used anymore in the MME.

Change-Id: Ia1628e6674b124806e3cd59c5b190d27f6ba4403
2021-05-05 14:26:57 +02:00
Andre Puschmann 6c985372a1 ms_srs: add 5G NSA support
extend the MS to allow for NR carriers

Change-Id: I7de9f867e7e32d0ab4f74eb7661928175f6c1a16
2021-05-05 14:26:57 +02:00
Andre Puschmann 6e081aa1dc amarisoft_enb: add NR support
this patch adds the ability to configure NR cells with
Amarisoft eNB. It adds the new DRB-NR template and updates
the normal enb.cfg template to allow using it as LTE only
or with NR cells (5G NSA).

Change-Id: Ia27bbc6db5920ce14bacabe8043601aa2adaa5fe
2021-05-05 14:26:56 +02:00
Andre Puschmann 9b419f32ae srsenb.conf.tmpl: use LTE sample rates when Lime is found in rf args
the lime doesn't work well with the shorter sample rates the eNB
uses by default.

Change-Id: I2d3dbdf5ff62980854ef67b20469f072ce31612e
2021-05-03 13:50:11 +02:00
Andre Puschmann fcd9752c25 srsue.conf.tmpl: set srate param with the X310
Change-Id: Icb04ed51ace97d4467558639aeb3f556dbe8678a
2021-05-03 13:50:11 +02:00
Andre Puschmann 374a175c81 amarisoft_rf_driver.cfg.tmpl: only set trx offset for B210
all other RF devices do not required any offset

Change-Id: Id4c5f0bede5b09d59237cdd6a959a3663f1a1b37
2021-05-03 13:50:11 +02:00
Andre Puschmann 5e08075fa3 enb_amarisoft: add "sdr" as rf_dev_type and rx_ant parameter
this allows to use the Amarisoft PCIe cards with OGT

Change-Id: Ia373a78f59538d6dfca390431f85a7af26c9d914
2021-05-03 13:50:11 +02:00
Andre Puschmann dbdc1c8443 srsue.conf.tmpl: update args for 21.04 changes to include NSA
this also removes the entire help text around arguments (that
were very outdated already) and only leaves the actual values with changes.

Change-Id: Icb9e8e7b1c68cf024db3a7273af791f017c32003
2021-05-03 13:43:44 +02:00
Andre Puschmann 02b4223854 srsenb_drb.conf.tmpl: decrease pollPDU for QCI9
due to internal PDU buffering between PDCP/RLC the poll frequency
needs to be increase to get quicker feedback.

Change-Id: I4114fb36e675b3f91c471558f716276ab24f1db5
2021-05-03 13:43:44 +02:00
AlaiaL 9e025a36a9 amarisoft_ltemme.cfg.tmpl: add gbr to the template
newer version of the amarisoft mme requires the GBR to be set

Change-Id: Ib0b046ea9fcc26b6bbe03461ca6308acc35175d1
2021-05-03 13:43:44 +02:00
Andre Puschmann 31ecf59ffd ms_amarisoft: extend AmariUE to support custom frequency bands
this patch adds generic support for custom frequency bands to the ms class.
it then extends the config template for AmariUE to use them.
we set the default values for EARFCNs for DL/UL to the old values.

Change-Id: I7b2250e13fc1161be1a1d73a4348f07b31c0f724
2021-05-03 13:43:44 +02:00
AlaiaL a17140fee4 enb_srs: add support for eNB traces
this patch adds support for srsENB event tracing. it provides
a cfg scenario to enable it.

Change-Id: Icb2342acac5db87a0889cbf1b6c7bb1ad26c16fa
2021-05-03 13:43:44 +02:00
Andre Puschmann c7737e6388 ms_srs: add resource scheme to configure fixed DL and UL freq
this config option overwrites the EARFCN config that is typically
used to tell the UE the bands to scan for cells. When custom
frequencies are used, this option allows to set them explicitly.

Change-Id: Ice070ea6755e273d916db2dc941068d33bbe206a
2021-05-03 13:43:44 +02:00
Andre Puschmann 0e72f9de5f amarisoft_mme: use/expose count paramter from MS config for MME
the UEs count param, if specified, is mapped into the config
values of the EPC so it can be used for template rendering.

Since we only have one count parameter, its added to the first
subscriber. 1 is the default value and its used when no count
param is specified.

this allows to run the Amarisoft UE simulator with the Amarisoft EPC
without having to create subscriber entries for each simulated UE.

Change-Id: I29885791f716c204d0b6f18ba134885bae853b6f
2021-05-03 10:54:57 +02:00
Pau Espin d776059deb open5gs: Avoid use of non-standard ports
Despite open5gs allowing to change the GTP ports in the config file, in
reality changing those values to something else than the standard prot
will fail. Hence, we must use the standard port. As a result, we must
use different IP addresses in each process to avoid ip+port collisions.
Let's use some loopback addresses which shouldn't require extra
configuration on the host, and still only requiring 1 run_node as per
existing EPCs, with the limitation that only 1 open5gs EPC instance can
be run at one in a given run_node.

Related: https://github.com/open5gs/open5gs/issues/897
Change-Id: Id3062c6ad9d6de4c6066547e1e46edad5da285c1
2021-04-12 13:45:02 +02:00
Pau Espin 0696c60812 Initial Open5GS support
Change-Id: Iff8b88dc22d8f156572839abb48b0c1377c55e33
2021-03-30 14:17:47 +02:00
Andre Puschmann fcdff4bcfe ms_srs: add force_ul_amplitude config
this allows to overwrite the PHY export option phy.force_ul_amplitude

Change-Id: I255f027433944c1739c89757609f0dcc3b8aa7cb
2021-03-16 18:10:26 +01:00
Andre Puschmann 1bba2891c5 ms_srs: turn tx/rx_gain into INT and make them optional
when they are greater than 0 they are written as config paramter.
if they are -1 they are disbaled and automatic gain calibration is
used.

Change-Id: I473ff3ae679784178574d2f76b612dbf77180490
2021-03-16 18:09:49 +01:00
Francisco b04f135d32 srsenb_sib.conf.tmpl: reduce the default size of the PUCCH
optimized PUCCH config

Change-Id: I45ae7c33f9d1df20df37c0fe6c3d73aa85ae1b31
2021-03-16 18:04:40 +01:00
David Rupprecht f4ff058ee2 srsue.conf.tmpl: Adjust ue.config template for new pcap path
Change-Id: I4af6abaa3973652a12f571d88bca59cd443704f3
2021-03-16 18:04:40 +01:00
Andre Puschmann c487f7438c ms_srs: add config scheme to select NAS log level
we've provided only all_log_level so far but sometimes it's needed
to select the level per layer. This patch adds the ability
to do so for the NAS layer in the UE.

Change-Id: Iab2bce65e8af81f6d344849c97952e6441cb2846
2021-03-16 18:04:40 +01:00
Andre Puschmann 2bc8311ea7 srsenb_drb.conf.tmpl: add QCI10 with infinit PDCP discard timer
copy of QCI9 params but with infinit PDCP discard to avoid SDU drops
at PDCP

Change-Id: I64a74d09cc1a55ba21a7be7b5cc203e56bba3b10
2021-03-16 18:04:40 +01:00
Andre Puschmann 3cecad8ebf amarisoft_drb.cfg.tmpl: add additional QCI10 with infinit PDCP discard timer
also set QCI9 to 150ms to match default srsENB config

Change-Id: I60cc1390480142bd5bb516934c9f30b6122496d5
2021-03-16 18:04:40 +01:00
Andre Puschmann 88727efa10 srsenb_drb.conf.tmpl: set PDCP discard timer to 150ms for QCI9
srsENB now supports PDCP discard so we set it to a sane value.
Also enable status reporting for UL.

Change-Id: Ib6ad0ff57b95a1f220f87c1ede0f6eacc5fb21ff
2021-03-16 18:04:40 +01:00
Pau Espin 5ff071833a osmo-sgsn: Fix template cfg to work with NS2 implementation
See following HOW-TO to update existing configs:
https://osmocom.org/projects/libosmocore/wiki/Network_service_(NS)

Change-Id: I391c977ca20ef185db6b1f17912608acaa13e87f
2021-03-08 11:31:59 +01:00
Andre Puschmann 7aa14e45f4 srsue.conf.tmpl: reduce nof PHY threads to 2 for ZMQ
we've detected a possible race condition during the Msg3
transmission that caused the thread that sets the Msg3 grant
to be delayed. The PHY worker that executed TTI+2 finished
by that time already and didn't even see the pending UL grant.

This is issue is more likely to happen on loaded system,
for example when running parallel ZMQ jobs. We therefore decided
to reduce the number of parallel PHY workers to 2 so the issue
is circumvented.

Change-Id: Ibdb42a1705d87b6d343201458c8fe397398802bc
2021-02-08 17:48:09 +01:00
Andre Puschmann d1732d7820 srsepc.conf.tmpl: double value of T3413 (paging timer)
we've already incrased the t3413 value in 9c7fd618d2
but realized it may still be too low in some cases.

we set it to 12s now.

Change-Id: I9c3c59c0ff8f539a44b420f8ba31eea016c211ce
2021-02-08 17:48:09 +01:00
Nils Fürste a81801558e enb: Set cipher and integrity via scenario file
This patch enables setting cipher and integrity algorithms
in Amarisoft eNB and srsENB via scenario files. If no
settings are defined following defaults are applied:
- Cipher algorithm: EEA0, EEA2, EEA1
- Integrity algorithm: EIA2, EIA1, EIA0

Example of setting cipher algorithms:
- 4g:srsue-rftype@uhd+srsenb-rftype@uhd+mod-enb-cipher@eea1+mod-enb-cipher@eea0+mod-enb-nprb@6

Change-Id: I595206b7d49016fb6d0aec175c828d9537c53886
2021-02-08 17:48:09 +01:00
Andre Puschmann 4cb9ab5671 srsenb.conf.tmpl: set nof_of_prach_threds to 0 for ZMQ
this executed the PRACH search in the main thread so
PHY workers and PRACH processing don't diverge in loaded
scenarios

Change-Id: I97eddb5f9ca682251ded1f73093c2d0a49462bd6
2021-01-07 20:43:48 +01:00
Andre Puschmann 9c7fd618d2 srsepc.conf.tmpl: increase default value of T3413 (paging timer)
we've seen that the default value of 2s might be a bit tight.
the value is network dependent so no real default value exists.
however, 6s seems to be a good compromise.

Change-Id: Icc75ee048c2cc605ab26c4c87a039519998f7e57
2021-01-07 20:43:47 +01:00
Andre Puschmann 1d1c0bfed9 srsue.conf.tmpl: disable TTI stats for ZMQ
since ZMQ runs are not using wall clock anyway, measuring
TTI execution isn't useful, disable it therefore to avoid
misleading warnings.

Change-Id: I5c2cb0abcfce0ee67806f6611356f4d5d180541d
2021-01-07 16:30:25 +01:00
Andre Puschmann 507c60ca0c srsue.conf.tmpl: reorder conditions for setting RRC release
the order of checks needs to go from high to low, i.e. the higher
release feature (e.g. qam256) needs to be checked and set first.

in theory it should also be possible to have a CA-capable UE
that does not support QAM256, but for srsUE we announce both anyway.

Change-Id: I2fa49f0cb5d80db412a811ceeb380359c8ad67a7
2021-01-07 16:30:25 +01:00
Andre Puschmann a7725fcedf srsenb_drb.conf.tmpl: add QCI1 DRB config
use default QCI1 config for real-time voice traffic

Change-Id: I43f408b1a3c172a5eb8327f03df49801e063e5cd
2021-01-07 16:30:25 +01:00
Neels Hofmeyr b5a3d6732a cfg templates: log level and source basename last, log no category-hex
Makes for saner log output in stderr files.

Change-Id: I2755beffd18d6779367c04e4aaaed119d66eb3be
2020-12-10 23:03:27 +00:00
Andre Puschmann 65a9e741ad ms_amarisoft: fix various regressions
this patch fixes some regressions in the Amarisoft UE class,
the config template, etc. that have been undetected bc we never
executed tests with it.

Change-Id: I397e675a4018acf3372a3b7e29fd864703b2b919
2020-11-23 12:33:52 +01:00
Andre Puschmann 3166b6353e enb: add QAM64 support for UL
* add new UE feature
* enable in srsue.conf.templ
* add new table for maximum rates
* add config scenario to enable SIB option for QAM64

Change-Id: I6ac2c9989a761e91b93d76c2507f55f0140b202d
2020-11-20 11:50:43 +01:00