Attention is currently required from: fixeria.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34276 )
Change subject: library: RTP_Emulation: implement new RTPEM_MODE_LOOPBACK
......................................................................
Patch Set 1:
(1 comment)
File library/RTP_Emulation.ttcn:
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34276/comment/1a46d5a9_5203…
PS1, Line 100: var boolean g_loopback := false;
why aren't we simply storing RtpemMode received from the port?
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/34276
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: Iee8f736e1eebc357fc997353ee4b629d24dc09e7
Gerrit-Change-Number: 34276
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 01 Sep 2023 14:19:01 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: laforge, pespin.
arehbein has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/31877 )
Change subject: gm_12_21.h: Add cross-component parameter defaults (NSE timing)
......................................................................
Patch Set 2:
(1 comment)
File include/osmocom/gsm/protocol/gsm_12_21.h:
https://gerrit.osmocom.org/c/libosmocore/+/31877/comment/e1215fd0_2d3cbb28
PS2, Line 294: enum abis_nm_par_defaults {
> it makes no sense to have this as enums, because they are not different types of the same thing nor […]
What's the drawback of using an enum here?
These defaults were hardcoded in existing code. When that wasn't the case I checked with the specs (I think I may even have done that here, not sure anymore though since it's been a while).
For instance:
```
osmo-bsc$ ag -A10 rlc_cfg_default
src/osmo-bsc/bts.c
126:static const struct gprs_rlc_cfg rlc_cfg_default = {
127- .parameter = {
128- [RLC_T3142] = 20,
129- [RLC_T3169] = 5,
130- [RLC_T3191] = 5,
131- [RLC_T3193] = 160, /* 10ms */
132- [RLC_T3195] = 5,
133- [RLC_N3101] = 10,
134- [RLC_N3103] = 4,
135- [RLC_N3105] = 8,
136- [CV_COUNTDOWN] = 15,
```
and the same I think for NSE timers.
I think we had had a short back and forth about this already, iirc I did put these or similar values in the respective header for the standard defining the timers, but you were against that saying it was more related to abis/O&M since it's values communicated over PCU IF and gave pointers to this header or something similar.
Whatever it is... where would you put default values such as these, if not here?
Should we add a centralised `gsm_data.h` to libosmocore that keeps shared values?
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/31877
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I51d1fd8b596523ae2ac8fb6a186ce7a702334c27
Gerrit-Change-Number: 31877
Gerrit-PatchSet: 2
Gerrit-Owner: arehbein <arehbein(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-CC: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 01 Sep 2023 14:00:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment