pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmocom-bb/+/31116 )
Change subject: Get rid of openbsc leftover references
......................................................................
Get rid of openbsc leftover references
Get rid of the global variable since it's only used once inside a
function anyway.
Change-Id: I0b4f536b16f3693ef16de8505036943c3a30b1df
---
M src/host/layer23/src/common/main.c
M src/host/layer23/src/mobile/main.c
2 files changed, 12 insertions(+), 18 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/16/31116/1
diff --git a/src/host/layer23/src/common/main.c b/src/host/layer23/src/common/main.c
index 92a4325..d96e080 100644
--- a/src/host/layer23/src/common/main.c
+++ b/src/host/layer23/src/common/main.c
@@ -64,14 +64,6 @@
int (*l23_app_exit)(void) = NULL;
int quit = 0;
-const char *openbsc_copyright =
- "%s"
- "%s\n"
- "License GPLv2+: GNU GPL version 2 or later "
- "<http://gnu.org/licenses/gpl.html>\n"
- "This is free software: you are free to change and redistribute it.\n"
- "There is NO WARRANTY, to the extent permitted by law.\n\n";
-
static void print_usage(const char *app)
{
printf("Usage: %s\n", app);
@@ -210,7 +202,12 @@
{
struct l23_app_info *app;
app = l23_app_info();
- printf(openbsc_copyright,
+
+ printf("%s"
+ "%s\n"
+ "License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>\n"
+ "This is free software: you are free to change and redistribute it.\n"
+ "There is NO WARRANTY, to the extent permitted by law.\n\n",
app && app->copyright ? app->copyright : "",
app && app->contribution ? app->contribution : "");
}
diff --git a/src/host/layer23/src/mobile/main.c b/src/host/layer23/src/mobile/main.c
index 881c283..41baaf3 100644
--- a/src/host/layer23/src/mobile/main.c
+++ b/src/host/layer23/src/mobile/main.c
@@ -74,14 +74,6 @@
const char *debug_default =
"DCS:DNB:DPLMN:DRR:DMM:DSIM:DCC:DMNCC:DSS:DLSMS:DPAG:DSUM:DSAP:DGPS:DMOB:DPRIM:DLUA:DGAPK";
-const char *openbsc_copyright =
- "%s"
- "%s\n"
- "License GPLv2+: GNU GPL version 2 or later "
- "<http://gnu.org/licenses/gpl.html>\n"
- "This is free software: you are free to change and redistribute it.\n"
- "There is NO WARRANTY, to the extent permitted by law.\n\n";
-
static void print_usage(const char *app)
{
printf("Usage: %s\n", app);
@@ -216,7 +208,12 @@
{
struct l23_app_info *app;
app = l23_app_info();
- printf(openbsc_copyright,
+
+ printf("%s"
+ "%s\n"
+ "License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>\n"
+ "This is free software: you are free to change and redistribute it.\n"
+ "There is NO WARRANTY, to the extent permitted by law.\n\n",
app && app->copyright ? app->copyright : "",
app && app->contribution ? app->contribution : "");
}
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/31116
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I0b4f536b16f3693ef16de8505036943c3a30b1df
Gerrit-Change-Number: 31116
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange
Attention is currently required from: laforge, pespin.
dexter has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/31113 )
Change subject: pcuif_proto: add indication to communicate E1 parameters
......................................................................
Patch Set 1:
(4 comments)
Commit Message:
https://gerrit.osmocom.org/c/osmo-bsc/+/31113/comment/8f0bfb53_dda0c6d6
PS1, Line 10: setup. To avioud duplicate configuration the BSC has to communicate the
> "avoid"
Done
Patchset:
PS1:
I have fixed the comments now (in both patches). Will post an updated version with the next push. Unfortunately there are two patches like this with the same change ID. One for osmo-bsc, and one for osmo-pcu. This is an error. I will keep the one for osmo-pcu and abandon the one for osmo-bsc. The patch will then be pushed again with a new change ID.
File include/osmocom/bsc/pcuif_proto.h:
https://gerrit.osmocom.org/c/osmo-bsc/+/31113/comment/1299d256_444bc44e
PS1, Line 263: uint8_t pdch_trx_no;
> this was not yet changed to trx_nr, why?
There are two patches around with the same change id, I have seen it and I will change it.
https://gerrit.osmocom.org/c/osmo-bsc/+/31113/comment/d93ee48e_c69b35e4
PS1, Line 264: uint8_t pdch_ts;
> this was not yet changed to ts_nr, why?
There are two patches around with the same change id, I have seen it and I will change it.
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/31113
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ia7928489130c1205b06bb9b10de0fb1461843301
Gerrit-Change-Number: 31113
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 31 Jan 2023 11:14:33 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: osmith, jolly, pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/31107 )
Change subject: layer23: Integreate mobile further into l23_app
......................................................................
Patch Set 2: Code-Review+1
(3 comments)
File src/host/layer23/src/mobile/app_mobile.c:
https://gerrit.osmocom.org/c/osmocom-bb/+/31107/comment/ab176e6f_ece83209
PS1, Line 495: L23_OPT_ARFCN
> This one should be removed, because the mobile app does not have -a. […]
Done
https://gerrit.osmocom.org/c/osmocom-bb/+/31107/comment/09a26181_8338de38
PS1, Line 499: modem
> copy-paste
Done
https://gerrit.osmocom.org/c/osmocom-bb/+/31107/comment/93fb7a41_74c5886c
PS1, Line 504: copyright
> Copyright (C) 2010-2015 Andreas Eversberg, Sylvain Munaut, Holger Freyther, Harald Welte […]
Done
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/31107
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I3141b6cb4a0482970f434180ef8dda3af1d4aa0c
Gerrit-Change-Number: 31107
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: jolly <andreas(a)eversberg.eu>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: jolly <andreas(a)eversberg.eu>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 31 Jan 2023 11:10:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: fixeria.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/31115 )
Change subject: trxcon: move AMR mode setting to l1sched_lchan_set_amr_cfg()
......................................................................
Patch Set 1:
(1 comment)
File src/host/trxcon/src/trxcon_fsm.c:
https://gerrit.osmocom.org/c/osmocom-bb/+/31115/comment/9aa60d0f_004ca7b3
PS1, Line 453: l1sched_lchan_set_amr_cfg(lchan,
> I think a better idea would be to validate AMR params before trying to apply them here. […]
whatever, what I mean is that you are changing the behavior here silently, marking stuff as applied which wasn't before.
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/31115
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: Ia9504d6194a4aac6256f7d4caf73eb42bb58563e
Gerrit-Change-Number: 31115
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 31 Jan 2023 11:08:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/31115 )
Change subject: trxcon: move AMR mode setting to l1sched_lchan_set_amr_cfg()
......................................................................
Patch Set 1:
(1 comment)
File src/host/trxcon/src/trxcon_fsm.c:
https://gerrit.osmocom.org/c/osmocom-bb/+/31115/comment/dbc93846_5e8450ca
PS1, Line 453: l1sched_lchan_set_amr_cfg(lchan,
> I think a better idea would be to validate AMR params before trying to apply them here. […]
Checking codecs_bitmask != 0 should be enough.
Some additional checks e.g. number of bits set <= 4 can be added too.
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/31115
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: Ia9504d6194a4aac6256f7d4caf73eb42bb58563e
Gerrit-Change-Number: 31115
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 31 Jan 2023 11:08:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment