Attention is currently required from: fixeria.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/32169 )
Change subject: tests: rename and extend gprs_{bvci_default->params}.vty
......................................................................
Patch Set 1:
(1 comment)
Commit Message:
https://gerrit.osmocom.org/c/osmo-bsc/+/32169/comment/0531defd_878b19f3
PS1, Line 18: The PCU obviously cannot bind to port 0, and will keep re-starting.
why do you say the PCU cannot bind to port 0? I'm not understanding. Binding to port 0 just tells the kernel to pick an available port.
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/32169
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ia02e9a97137eb7724f22526fc3768331b35ac55d
Gerrit-Change-Number: 32169
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, 31 Mar 2023 10:05:11 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/32159 )
Change subject: Move paging queue specific handling to signal callback outside RSL code
......................................................................
Patch Set 1:
(1 comment)
File src/osmo-bsc/paging.c:
https://gerrit.osmocom.org/c/osmo-bsc/+/32159/comment/41980f86_9561a91f
PS1, Line 855: paging_update_buffer_space
This function can be made static now?
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/32159
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Iabc1c29908a5136501d6dc6e60f8777dab511b86
Gerrit-Change-Number: 32159
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 31 Mar 2023 01:46:23 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/32155 )
Change subject: modem: initial SM layer support through libosmo-gprs-sm
......................................................................
Patch Set 2: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/32155
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I9476d93954c7dc348e6f97ca89eaa651f802f9a0
Gerrit-Change-Number: 32155
Gerrit-PatchSet: 2
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, 31 Mar 2023 01:43:57 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/32170 )
Change subject: gprs: use sane default local UDP ports for NSVSs
......................................................................
gprs: use sane default local UDP ports for NSVSs
0 is not a valid bind port for the PCU and can never work. Let's set
default local UDP ports for NSVSs to (23100 + i), because osmo-sgsn
bind()s at 23000 by default and we don't want any conflists.
Change-Id: Ifadc37c6fd9b5fa9cc2e2c31ee82347693d39aec
Related: OS#5979
---
M src/osmo-bsc/bts_sm.c
M tests/gprs_params.vty
2 files changed, 18 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/70/32170/1
diff --git a/src/osmo-bsc/bts_sm.c b/src/osmo-bsc/bts_sm.c
index ca572f1..958e45e 100644
--- a/src/osmo-bsc/bts_sm.c
+++ b/src/osmo-bsc/bts_sm.c
@@ -80,6 +80,8 @@
sizeof(bts_sm->gprs.nse.timer));
for (i = 0; i < ARRAY_SIZE(bts_sm->gprs.nsvc); i++) {
+ /* sane default value for the local UDP port */
+ bts_sm->gprs.nsvc[i].local_port = 23100 + i;
bts_sm->gprs.nsvc[i].bts = bts;
bts_sm->gprs.nsvc[i].id = i;
bts_sm->gprs.nsvc[i].mo.fi = osmo_fsm_inst_alloc(
diff --git a/tests/gprs_params.vty b/tests/gprs_params.vty
index 87c64b1..3edc540 100644
--- a/tests/gprs_params.vty
+++ b/tests/gprs_params.vty
@@ -42,7 +42,7 @@
gprs ns timer tns-alive 3
gprs ns timer tns-alive-retries 10
gprs nsvc 0 nsvci 0
- gprs nsvc 0 local udp port 0
+ gprs nsvc 0 local udp port 23100
gprs nsvc 1 nsvci 0
- gprs nsvc 1 local udp port 0
+ gprs nsvc 1 local udp port 23101
...
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/32170
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ifadc37c6fd9b5fa9cc2e2c31ee82347693d39aec
Gerrit-Change-Number: 32170
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newchange