Projects
osmocom:nightly
osmo-bsc
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 310
View file
osmo-bsc.spec
Changed
@@ -17,14 +17,14 @@ %define _lto_cflags %{nil} Name: osmo-bsc -Requires: osmocom-nightly = 202304250026 -Version: 1.10.0.144.7123.202304250026 +Requires: osmocom-nightly = 202304260026 +Version: 1.10.0.146.1619.202304260026 Release: 0 Summary: OsmoBSC: Osmocom's Base Station Controller for 2G CS mobile networks License: AGPL-3.0-or-later AND GPL-2.0-or-later Group: Hardware/Mobile URL: https://osmocom.org/projects/osmobsc -Source: osmo-bsc_1.10.0.144.7123.202304250026.tar.xz +Source: osmo-bsc_1.10.0.146.1619.202304260026.tar.xz Source1: rpmlintrc BuildRequires: automake >= 1.9 BuildRequires: libtool >= 2 @@ -49,7 +49,7 @@ OsmoBSC: Osmocom's Base Station Controller for 2G circuit-switched mobile networks. %package abisip-find -Requires: osmocom-nightly = 202304250026 +Requires: osmocom-nightly = 202304260026 Summary: CLI utility to find ip.access compatible BTS License: GPL-2.0-or-later Group: Productivity/Telephony/Utilities @@ -58,7 +58,7 @@ Command line utility to find ip.access compatible BTS. %package ipaccess-utils -Requires: osmocom-nightly = 202304250026 +Requires: osmocom-nightly = 202304260026 Summary: Command line utilities for ip.access nanoBTS License: GPL-2.0-or-later Group: Productivity/Telephony/Utilities @@ -69,7 +69,7 @@ and ipaccess-proxy. %package bs11-utils -Requires: osmocom-nightly = 202304250026 +Requires: osmocom-nightly = 202304260026 Summary: Command line utilities for Siemens BS-11 BTS License: GPL-2.0-or-later Group: Productivity/Telephony/Utilities @@ -80,7 +80,7 @@ public telephone network as frequency standard for the E1 line. %package meas-utils -Requires: osmocom-nightly = 202304250026 +Requires: osmocom-nightly = 202304260026 Summary: Command line utilities for OsmoBSC's measurement reports License: GPL-2.0-or-later Group: Productivity/Telephony/Utilities
View file
osmo-bsc_1.10.0.144.7123.202304250026.dsc -> osmo-bsc_1.10.0.146.1619.202304260026.dsc
Changed
@@ -2,7 +2,7 @@ Source: osmo-bsc Binary: osmo-bsc, osmo-bsc-dbg, abisip-find, osmo-bsc-ipaccess-utils, osmo-bsc-bs11-utils, osmo-bsc-meas-utils, osmo-bsc-doc Architecture: any all -Version: 1.10.0.144.7123.202304250026 +Version: 1.10.0.146.1619.202304260026 Maintainer: Osmocom team <openbsc@lists.osmocom.org> Homepage: https://projects.osmocom.org/projects/osmo-bsc Standards-Version: 3.9.8 @@ -18,8 +18,8 @@ osmo-bsc-ipaccess-utils deb net extra arch=any osmo-bsc-meas-utils deb net extra arch=any Checksums-Sha1: - 25facf2d9421fc1db8ec6d21be0e8eab1b7d5522 601000 osmo-bsc_1.10.0.144.7123.202304250026.tar.xz + 16b838bca10985dff55ec72c7d2afa2e537e4905 601052 osmo-bsc_1.10.0.146.1619.202304260026.tar.xz Checksums-Sha256: - a1eb58fd323daa73c1ca08cb6bb77b12e2077e3dc8311f7e36992385330bc645 601000 osmo-bsc_1.10.0.144.7123.202304250026.tar.xz + e8a2cdb894932eeb5c8fd3d7d9f42418476eb9b26d9ac297eaa990ab4fab700a 601052 osmo-bsc_1.10.0.146.1619.202304260026.tar.xz Files: - 448bca92bf78975d231a498f176d15fa 601000 osmo-bsc_1.10.0.144.7123.202304250026.tar.xz + 8299bfc97190feec1809d33d526b1495 601052 osmo-bsc_1.10.0.146.1619.202304260026.tar.xz
View file
osmo-bsc_1.10.0.144.7123.202304250026.tar.xz/.tarball-version -> osmo-bsc_1.10.0.146.1619.202304260026.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -1.10.0.144-7123.202304250026 +1.10.0.146-1619.202304260026
View file
osmo-bsc_1.10.0.144.7123.202304250026.tar.xz/contrib/osmo-bsc.spec.in -> osmo-bsc_1.10.0.146.1619.202304260026.tar.xz/contrib/osmo-bsc.spec.in
Changed
@@ -17,7 +17,7 @@ %define _lto_cflags %{nil} Name: osmo-bsc -Requires: osmocom-nightly = 202304250026 +Requires: osmocom-nightly = 202304260026 Version: @VERSION@ Release: 0 Summary: OsmoBSC: Osmocom's Base Station Controller for 2G CS mobile networks @@ -48,7 +48,7 @@ OsmoBSC: Osmocom's Base Station Controller for 2G circuit-switched mobile networks. %package abisip-find -Requires: osmocom-nightly = 202304250026 +Requires: osmocom-nightly = 202304260026 Summary: CLI utility to find ip.access compatible BTS License: GPL-2.0-or-later Group: Productivity/Telephony/Utilities @@ -57,7 +57,7 @@ Command line utility to find ip.access compatible BTS. %package ipaccess-utils -Requires: osmocom-nightly = 202304250026 +Requires: osmocom-nightly = 202304260026 Summary: Command line utilities for ip.access nanoBTS License: GPL-2.0-or-later Group: Productivity/Telephony/Utilities @@ -68,7 +68,7 @@ and ipaccess-proxy. %package bs11-utils -Requires: osmocom-nightly = 202304250026 +Requires: osmocom-nightly = 202304260026 Summary: Command line utilities for Siemens BS-11 BTS License: GPL-2.0-or-later Group: Productivity/Telephony/Utilities @@ -79,7 +79,7 @@ public telephone network as frequency standard for the E1 line. %package meas-utils -Requires: osmocom-nightly = 202304250026 +Requires: osmocom-nightly = 202304260026 Summary: Command line utilities for OsmoBSC's measurement reports License: GPL-2.0-or-later Group: Productivity/Telephony/Utilities
View file
osmo-bsc_1.10.0.144.7123.202304250026.tar.xz/debian/changelog -> osmo-bsc_1.10.0.146.1619.202304260026.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -osmo-bsc (1.10.0.144.7123.202304250026) unstable; urgency=medium +osmo-bsc (1.10.0.146.1619.202304260026) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom nightly feed - -- Osmocom OBS scripts <info@osmocom.org> Tue, 25 Apr 2023 00:26:27 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Wed, 26 Apr 2023 00:26:27 +0000 osmo-bsc (1.10.0) unstable; urgency=medium
View file
osmo-bsc_1.10.0.144.7123.202304250026.tar.xz/debian/control -> osmo-bsc_1.10.0.146.1619.202304260026.tar.xz/debian/control
Changed
@@ -26,7 +26,7 @@ Package: osmo-bsc Architecture: any Multi-Arch: foreign -Depends: osmocom-nightly (= 202304250026), ${misc:Depends}, ${shlibs:Depends} +Depends: osmocom-nightly (= 202304260026), ${misc:Depends}, ${shlibs:Depends} Recommends: osmo-mgw Description: OsmoBSC: Osmocom's Base Station Controller for 2G circuit-switched mobile networks @@ -34,19 +34,19 @@ Section: debug Architecture: any Multi-Arch: same -Depends: osmocom-nightly (= 202304250026), osmo-bsc (= ${binary:Version}), ${misc:Depends} +Depends: osmocom-nightly (= 202304260026), osmo-bsc (= ${binary:Version}), ${misc:Depends} Description: OsmoBSC: Osmocom's Base Station Controller for 2G circuit-switched mobile networks Package: abisip-find Architecture: any Multi-Arch: foreign -Depends: osmocom-nightly (= 202304250026), ${misc:Depends}, ${shlibs:Depends} +Depends: osmocom-nightly (= 202304260026), ${misc:Depends}, ${shlibs:Depends} Description: Command line utility to find ip.access compatible BTS Package: osmo-bsc-ipaccess-utils Architecture: any Multi-Arch: foreign -Depends: osmocom-nightly (= 202304250026), ${misc:Depends}, ${shlibs:Depends} +Depends: osmocom-nightly (= 202304260026), ${misc:Depends}, ${shlibs:Depends} Description: Command line utilities for ip.access nanoBTS This package contains utilities that are specific for nanoBTS when being used together with OpenBSC. It contains mainly two tools: ipaccess-config and ipaccess-proxy. @@ -54,7 +54,7 @@ Package: osmo-bsc-bs11-utils Architecture: any Multi-Arch: foreign -Depends: osmocom-nightly (= 202304250026), ${misc:Depends}, ${shlibs:Depends} +Depends: osmocom-nightly (= 202304260026), ${misc:Depends}, ${shlibs:Depends} Description: Command line utilities for Siemens BS-11 BTS There is a tool in this package for configuring the Siemens BS-11 BTS. Additionally, it contains one tool for making use of an ISDN-card and the @@ -63,14 +63,14 @@ Package: osmo-bsc-meas-utils Architecture: any Multi-Arch: foreign -Depends: osmocom-nightly (= 202304250026), ${misc:Depends}, ${shlibs:Depends} +Depends: osmocom-nightly (= 202304260026), ${misc:Depends}, ${shlibs:Depends} Description: Command line utilities to manage measurement reports. Package: osmo-bsc-doc Architecture: all Section: doc Priority: optional -Depends: osmocom-nightly (= 202304250026), ${misc:Depends} +Depends: osmocom-nightly (= 202304260026), ${misc:Depends} Description: ${misc:Package} PDF documentation Various manuals: user manual, VTY reference manual and/or protocol/interface manuals.
View file
osmo-bsc_1.10.0.144.7123.202304250026.tar.xz/src/osmo-bsc/bsc_ctrl.c -> osmo-bsc_1.10.0.146.1619.202304260026.tar.xz/src/osmo-bsc/bsc_ctrl.c
Changed
@@ -332,7 +332,7 @@ cmd->reply = talloc_asprintf(cmd, "%u", locked); if (!cmd->reply) { - cmd->reply = "OOM."; + cmd->reply = "OOM"; return CTRL_CMD_ERROR; } @@ -367,7 +367,7 @@ { cmd->reply = bsc_rf_states_c(cmd); if (!cmd->reply) { - cmd->reply = "OOM."; + cmd->reply = "OOM"; return CTRL_CMD_ERROR; } return CTRL_CMD_REPLY;
View file
osmo-bsc_1.10.0.144.7123.202304250026.tar.xz/src/osmo-bsc/bts_ctrl.c -> osmo-bsc_1.10.0.146.1619.202304260026.tar.xz/src/osmo-bsc/bts_ctrl.c
Changed
@@ -431,7 +431,7 @@ cmd->reply = talloc_asprintf(cmd, "%s,%s,%s", oper, admin, policy); if (!cmd->reply) { - cmd->reply = "OOM."; + cmd->reply = "OOM"; return CTRL_CMD_ERROR; } @@ -454,7 +454,7 @@ cmd->reply = bsc_rf_states_of_bts_c(cmd, bts); if (!cmd->reply) { - cmd->reply = "OOM."; + cmd->reply = "OOM"; return CTRL_CMD_ERROR; } @@ -483,7 +483,7 @@ cmd->reply = talloc_asprintf(cmd, "%u", bts->c0_max_power_red_db); if (!cmd->reply) { - cmd->reply = "OOM."; + cmd->reply = "OOM"; return CTRL_CMD_ERROR; } @@ -694,6 +694,49 @@ /* TODO: si2quater neighbor management: add EARFCN */ /* TODO: si2quater neighbor management: add UARFCN */ +static int verify_bts_cell_reselection_offset(struct ctrl_cmd *cmd, const char *value, void *_data) +{ + const int cell_reselection_offset = atoi(value); + + if (cell_reselection_offset < 0 || cell_reselection_offset > 126) { + cmd->reply = "Value is out of range"; + return 1; + } else if (cell_reselection_offset % 2 != 0) { + cmd->reply = "Value must be even"; + return 1; + } + + return 0; +} + +static int get_bts_cell_reselection_offset(struct ctrl_cmd *cmd, void *data) +{ + struct gsm_bts *bts = cmd->node; + + if (!bts->si_common.cell_ro_sel_par.present) { + cmd->reply = "0"; + return CTRL_CMD_REPLY; + } + + cmd->reply = talloc_asprintf(cmd, "%u", bts->si_common.cell_ro_sel_par.cell_resel_off * 2); + if (!cmd->reply) { + cmd->reply = "OOM"; + return CTRL_CMD_ERROR; + } + + return CTRL_CMD_REPLY; +} + +static int set_bts_cell_reselection_offset(struct ctrl_cmd *cmd, void *data) +{ + struct gsm_bts *bts = cmd->node; + bts->si_common.cell_ro_sel_par.present = 1; + bts->si_common.cell_ro_sel_par.cell_resel_off = atoi(cmd->value) / 2; + return CTRL_CMD_REPLY; +} + +CTRL_CMD_DEFINE(bts_cell_reselection_offset, "cell-reselection-offset"); + int bsc_bts_ctrl_cmds_install(void) { int rc = 0; @@ -716,6 +759,7 @@ rc |= ctrl_cmd_install(CTRL_NODE_BTS, &cmd_bts_neighbor_list_mode); rc |= ctrl_cmd_install(CTRL_NODE_BTS, &cmd_bts_si2quater_neighbor_list_del_earfcn); rc |= ctrl_cmd_install(CTRL_NODE_BTS, &cmd_bts_si2quater_neighbor_list_del_uarfcn); + rc |= ctrl_cmd_install(CTRL_NODE_BTS, &cmd_bts_cell_reselection_offset); rc |= neighbor_ident_ctrl_init();
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.