Attention is currently required from: pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/28032 )
Change subject: Drop duplicate function helper
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/28032
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Idac049d07bf105b85a71af2f15f56552c453a370
Gerrit-Change-Number: 28032
Gerrit-PatchSet: 1
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: Wed, 04 May 2022 09:58:30 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/28031 )
Change subject: paging: Remove TODO comment
......................................................................
paging: Remove TODO comment
That function is used to get the number of paging groups, so it doesn't
apply here.
Change-Id: I980c0961e86d9464235ea9c403adba6b0eded58e
---
M src/osmo-bsc/paging.c
1 file changed, 0 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/31/28031/1
diff --git a/src/osmo-bsc/paging.c b/src/osmo-bsc/paging.c
index 90a0d12..e7a0ee2 100644
--- a/src/osmo-bsc/paging.c
+++ b/src/osmo-bsc/paging.c
@@ -641,7 +641,6 @@
/*! Estimate available_slots credit over a time period, used when below CCCH Load Indication Threshold */
uint16_t paging_estimate_available_slots(struct gsm_bts *bts, unsigned int time_span_s)
{
- /* TODO: use gsm48_number_of_paging_subchannels() instead? */
unsigned int n_pag_blocks = gsm0502_get_n_pag_blocks(&bts->si_common.chan_desc);
uint16_t available_slots = n_pag_blocks * time_span_s * 1000000 / GSM51_MFRAME_DURATION_us;
LOG_BTS(bts, DPAG, LOGL_DEBUG, "Estimated %u paging available_slots over %u seconds\n",
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/28031
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I980c0961e86d9464235ea9c403adba6b0eded58e
Gerrit-Change-Number: 28031
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange
Attention is currently required from: lynxis lazus.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-remsim/+/28027 )
Change subject: server: Detect duplicate client/bankd connection; drop new ones
......................................................................
Patch Set 2:
(1 comment)
Patchset:
PS2:
> I'm not talking about rogue actors, but about an accidential misconfiguration. […]
Another reason to drop the new one is to avoid neverending ping-pong between two clients. If they both re-connect and you always use the new one, you will have a different client connected to the reader/slot every few seconds. If the old one prevails, then at least one client owns the card until it releases it (or times out), at which point they both have a chance of grabbing it, and whoever wins will then remain owning that slot/card.
--
To view, visit https://gerrit.osmocom.org/c/osmo-remsim/+/28027
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-Change-Id: I00387dbc19d689415470e2f08df08a47a78b81c0
Gerrit-Change-Number: 28027
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Comment-Date: Wed, 04 May 2022 08:48:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Comment-In-Reply-To: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-MessageType: comment
pespin has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-abis/+/28024 )
Change subject: stats: add site_id scope to ipa-rsl tcp stat names
......................................................................
stats: add site_id scope to ipa-rsl tcp stat names
Multiple IPA units can have the same bts_id but scoping by their
site_ids will make them unique. This also clarifies the "bts"
number being communicated. It is not the bts configuration index
in osmo-bsc.cfg, it is the bts id specified in the vty line:
bts X
ipa unit-id SITE BTS
Change-Id: I3b44319fb4bc6a812800001c58dfe1a664645b43
---
M src/input/ipaccess.c
1 file changed, 3 insertions(+), 3 deletions(-)
Approvals:
Jenkins Builder: Verified
pespin: Looks good to me, approved
diff --git a/src/input/ipaccess.c b/src/input/ipaccess.c
index 8dc1008..9659b36 100644
--- a/src/input/ipaccess.c
+++ b/src/input/ipaccess.c
@@ -296,7 +296,7 @@
struct e1inp_ts *ts;
struct osmo_fd *newbfd;
struct e1inp_line *new_line;
- char tcp_stat_name[32];
+ char tcp_stat_name[64];
sign_link =
line->ops->sign_link_up(&unit_data, line,
@@ -343,8 +343,8 @@
"could not register FD\n");
goto err;
}
- snprintf(tcp_stat_name, sizeof(tcp_stat_name), "bts.%u.ipa-rsl.%u",
- unit_data.bts_id, unit_data.trx_id);
+ snprintf(tcp_stat_name, sizeof(tcp_stat_name), "site.%u.bts.%u.ipa-rsl.%u",
+ unit_data.site_id, unit_data.bts_id, unit_data.trx_id);
osmo_stats_tcp_osmo_fd_register(newbfd, tcp_stat_name);
e1i_ts = ipaccess_line_ts(newbfd, new_line);
--
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/28024
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: I3b44319fb4bc6a812800001c58dfe1a664645b43
Gerrit-Change-Number: 28024
Gerrit-PatchSet: 2
Gerrit-Owner: iedemam <michael(a)kapsulate.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged