Projects
osmocom:nightly
osmo-bsc
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 443
View file
osmo-bsc.spec
Changed
@@ -17,14 +17,14 @@ %define _lto_cflags %{nil} Name: osmo-bsc -Requires: osmocom-nightly = 202309040026 -Version: 1.10.0.233.e55a1.202309040026 +Requires: osmocom-nightly = 202309050026 +Version: 1.10.0.237.94878.202309050026 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.233.e55a1.202309040026.tar.xz +Source: osmo-bsc_1.10.0.237.94878.202309050026.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 = 202309040026 +Requires: osmocom-nightly = 202309050026 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 = 202309040026 +Requires: osmocom-nightly = 202309050026 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 = 202309040026 +Requires: osmocom-nightly = 202309050026 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 = 202309040026 +Requires: osmocom-nightly = 202309050026 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.233.e55a1.202309040026.dsc -> osmo-bsc_1.10.0.237.94878.202309050026.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.233.e55a1.202309040026 +Version: 1.10.0.237.94878.202309050026 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: - ccf8db4887ac57fbb24959badd0608a5f8b1d771 613632 osmo-bsc_1.10.0.233.e55a1.202309040026.tar.xz + 307178b33ee01d32b06547ebfe80c4101d5c0880 613952 osmo-bsc_1.10.0.237.94878.202309050026.tar.xz Checksums-Sha256: - 906c005c71606cd682cc4eb57b13fa0c4b0318e0cc108be1835663c5edde1f94 613632 osmo-bsc_1.10.0.233.e55a1.202309040026.tar.xz + 3547c0663b1310744686cc5e9e81327a6b3cd9d3fb936bcd2d5d32be165c7eae 613952 osmo-bsc_1.10.0.237.94878.202309050026.tar.xz Files: - fec3b392c99c85aba44ce7bd1d9439e5 613632 osmo-bsc_1.10.0.233.e55a1.202309040026.tar.xz + f0c6ee31436d85abcb5f0c6244886203 613952 osmo-bsc_1.10.0.237.94878.202309050026.tar.xz
View file
osmo-bsc_1.10.0.233.e55a1.202309040026.tar.xz/.tarball-version -> osmo-bsc_1.10.0.237.94878.202309050026.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -1.10.0.233-e55a1.202309040026 +1.10.0.237-94878.202309050026
View file
osmo-bsc_1.10.0.233.e55a1.202309040026.tar.xz/contrib/osmo-bsc.spec.in -> osmo-bsc_1.10.0.237.94878.202309050026.tar.xz/contrib/osmo-bsc.spec.in
Changed
@@ -17,7 +17,7 @@ %define _lto_cflags %{nil} Name: osmo-bsc -Requires: osmocom-nightly = 202309040026 +Requires: osmocom-nightly = 202309050026 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 = 202309040026 +Requires: osmocom-nightly = 202309050026 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 = 202309040026 +Requires: osmocom-nightly = 202309050026 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 = 202309040026 +Requires: osmocom-nightly = 202309050026 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 = 202309040026 +Requires: osmocom-nightly = 202309050026 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.233.e55a1.202309040026.tar.xz/debian/changelog -> osmo-bsc_1.10.0.237.94878.202309050026.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -osmo-bsc (1.10.0.233.e55a1.202309040026) unstable; urgency=medium +osmo-bsc (1.10.0.237.94878.202309050026) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom nightly feed - -- Osmocom OBS scripts <info@osmocom.org> Mon, 04 Sep 2023 00:26:32 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Tue, 05 Sep 2023 00:26:32 +0000 osmo-bsc (1.10.0) unstable; urgency=medium
View file
osmo-bsc_1.10.0.233.e55a1.202309040026.tar.xz/debian/control -> osmo-bsc_1.10.0.237.94878.202309050026.tar.xz/debian/control
Changed
@@ -26,7 +26,7 @@ Package: osmo-bsc Architecture: any Multi-Arch: foreign -Depends: osmocom-nightly (= 202309040026), ${misc:Depends}, ${shlibs:Depends} +Depends: osmocom-nightly (= 202309050026), ${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 (= 202309040026), osmo-bsc (= ${binary:Version}), ${misc:Depends} +Depends: osmocom-nightly (= 202309050026), 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 (= 202309040026), ${misc:Depends}, ${shlibs:Depends} +Depends: osmocom-nightly (= 202309050026), ${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 (= 202309040026), ${misc:Depends}, ${shlibs:Depends} +Depends: osmocom-nightly (= 202309050026), ${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 (= 202309040026), ${misc:Depends}, ${shlibs:Depends} +Depends: osmocom-nightly (= 202309050026), ${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 (= 202309040026), ${misc:Depends}, ${shlibs:Depends} +Depends: osmocom-nightly (= 202309050026), ${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 (= 202309040026), ${misc:Depends} +Depends: osmocom-nightly (= 202309050026), ${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.233.e55a1.202309040026.tar.xz/src/osmo-bsc/bts.c -> osmo-bsc_1.10.0.237.94878.202309050026.tar.xz/src/osmo-bsc/bts.c
Changed
@@ -117,8 +117,20 @@ return 0; } -static const uint8_t bts_cell_timer_default = - { 3, 3, 3, 3, 3, 10, 3, 10, 3, 10, 3 }; +static const uint8_t bts_cell_timer_default11 = { + 3, /* blocking timer (T1) */ + 3, /* blocking retries */ + 3, /* unblocking retries */ + 3, /* reset timer (T2) */ + 3, /* reset retries */ + 10, /* suspend timer (T3) in 100ms */ + 3, /* suspend retries */ + 10, /* resume timer (T4) in 100ms */ + 3, /* resume retries */ + 10, /* capability update timer (T5) */ + 3, /* capability update retries */ +}; + static const struct gprs_rlc_cfg rlc_cfg_default = { .parameter = { RLC_T3142 = 20,
View file
osmo-bsc_1.10.0.233.e55a1.202309040026.tar.xz/src/osmo-bsc/bts_ipaccess_nanobts_omlattr.c -> osmo-bsc_1.10.0.237.94878.202309050026.tar.xz/src/osmo-bsc/bts_ipaccess_nanobts_omlattr.c
Changed
@@ -112,7 +112,9 @@ struct msgb *nanobts_gen_set_nse_attr(struct gsm_bts_sm *bts_sm) { struct msgb *msgb; - uint8_t buf256; + uint8_t buf2; + struct abis_nm_ipacc_att_ns_cfg ns_cfg; + struct abis_nm_ipacc_att_bssgp_cfg bssgp_cfg; struct gsm_bts *bts = gsm_bts_sm_get_bts(bts_sm); msgb = msgb_alloc(1024, "nanobts_attr_bts"); if (!msgb) @@ -123,27 +125,33 @@ buf1 = bts_sm->gprs.nse.nsei & 0xff; msgb_tl16v_put(msgb, NM_ATT_IPACC_NSEI, 2, buf); - /* all timers in seconds */ - OSMO_ASSERT(ARRAY_SIZE(bts_sm->gprs.nse.timer) < sizeof(buf)); - memcpy(buf, bts_sm->gprs.nse.timer, ARRAY_SIZE(bts_sm->gprs.nse.timer)); - msgb_tl16v_put(msgb, NM_ATT_IPACC_NS_CFG, 7, buf); - - /* all timers in seconds */ - buf0 = 3; /* blockimg timer (T1) */ - buf1 = 3; /* blocking retries */ - buf2 = 3; /* unblocking retries */ - buf3 = 3; /* reset timer (T2) */ - buf4 = 3; /* reset retries */ - buf5 = 10; /* suspend timer (T3) in 100ms */ - buf6 = 3; /* suspend retries */ - buf7 = 10; /* resume timer (T4) in 100ms */ - buf8 = 3; /* resume retries */ - buf9 = 10; /* capability update timer (T5) */ - buf10 = 3; /* capability update retries */ - - OSMO_ASSERT(ARRAY_SIZE(bts->gprs.cell.timer) < sizeof(buf)); - memcpy(buf, bts->gprs.cell.timer, ARRAY_SIZE(bts->gprs.cell.timer)); - msgb_tl16v_put(msgb, NM_ATT_IPACC_BSSGP_CFG, 11, buf); + osmo_static_assert(ARRAY_SIZE(bts_sm->gprs.nse.timer) == 7, nse_timer_array_wrong_size); + ns_cfg = (struct abis_nm_ipacc_att_ns_cfg){ + .un_blocking_timer = bts_sm->gprs.nse.timer0, + .un_blocking_retries = bts_sm->gprs.nse.timer1, + .reset_timer = bts_sm->gprs.nse.timer2, + .reset_retries = bts_sm->gprs.nse.timer3, + .test_timer = bts_sm->gprs.nse.timer4, + .alive_timer = bts_sm->gprs.nse.timer5, + .alive_retries = bts_sm->gprs.nse.timer6, + }; + msgb_tl16v_put(msgb, NM_ATT_IPACC_NS_CFG, sizeof(ns_cfg), (const uint8_t *)&ns_cfg); + + osmo_static_assert(ARRAY_SIZE(bts->gprs.cell.timer) == 11, cell_timer_array_wrong_size); + bssgp_cfg = (struct abis_nm_ipacc_att_bssgp_cfg){ + .t1_s = bts->gprs.cell.timer0, + .t1_blocking_retries = bts->gprs.cell.timer1, + .t1_unblocking_retries = bts->gprs.cell.timer2, + .t2_s = bts->gprs.cell.timer3, + .t2_retries = bts->gprs.cell.timer4, + .t3_100ms = bts->gprs.cell.timer5, + .t3_retries = bts->gprs.cell.timer6, + .t4_100ms = bts->gprs.cell.timer7, + .t4_retries = bts->gprs.cell.timer8, + .t5_s = bts->gprs.cell.timer9, + .t5_retries = bts->gprs.cell.timer10, + }; + msgb_tl16v_put(msgb, NM_ATT_IPACC_BSSGP_CFG, sizeof(bssgp_cfg), (const uint8_t *)&bssgp_cfg); return msgb; } @@ -151,7 +159,9 @@ struct msgb *nanobts_gen_set_cell_attr(struct gsm_bts *bts) { struct msgb *msgb; - uint8_t buf256; + struct abis_nm_ipacc_att_rlc_cfg rlc_cfg; + struct abis_nm_ipacc_att_rlc_cfg_2 rlc_cfg_2; + uint8_t buf2; msgb = msgb_alloc(1024, "nanobts_attr_bts"); if (!msgb) return NULL; @@ -170,16 +180,18 @@ msgb_tl16v_put(msgb, NM_ATT_IPACC_BVCI, 2, buf); /* all timers in seconds, unless otherwise stated */ - buf0 = 20; /* T3142 */ - buf1 = 5; /* T3169 */ - buf2 = 5; /* T3191 */ - buf3 = 160; /* T3193 (units of 10ms) */ - buf4 = 5; /* T3195 */ - buf5 = 10; /* N3101 */ - buf6 = 4; /* N3103 */ - buf7 = 8; /* N3105 */ - buf8 = 15; /* RLC CV countdown */ - msgb_tl16v_put(msgb, NM_ATT_IPACC_RLC_CFG, 9, buf); + rlc_cfg = (struct abis_nm_ipacc_att_rlc_cfg){ + .t3142 = 20, /* T3142 */ + .t3169 = 5, /* T3169 */ + .t3191 = 5, /* T3191 */ + .t3193_10ms = 160, /* T3193 (units of 10ms) */ + .t3195 = 5, /* T3195 */ + .n3101 = 10, /* N3101 */ + .n3103 = 4, /* N3103 */ + .n3105 = 8, /* N3105 */ + .rlc_cv_countdown = 15, /* RLC CV countdown */ + }; + msgb_tl16v_put(msgb, NM_ATT_IPACC_RLC_CFG, sizeof(rlc_cfg), (const uint8_t *)&rlc_cfg); if (bts->gprs.mode == BTS_GPRS_EGPRS) { buf0 = 0x8f; @@ -190,18 +202,21 @@ } msgb_tl16v_put(msgb, NM_ATT_IPACC_CODING_SCHEMES, 2, buf); - buf0 = 0; /* T downlink TBF extension (0..500, high byte) */ - buf1 = 250; /* T downlink TBF extension (0..500, low byte) */ - buf2 = 0; /* T uplink TBF extension (0..500, high byte) */ - buf3 = 250; /* T uplink TBF extension (0..500, low byte) */ - buf4 = 2; /* CS2 */ - msgb_tl16v_put(msgb, NM_ATT_IPACC_RLC_CFG_2, 5, buf); + rlc_cfg_2 = (struct abis_nm_ipacc_att_rlc_cfg_2){ + .t_dl_tbf_ext_10ms = htons(250), /* 0..500 */ + .t_ul_tbf_ext_10ms = htons(250), /* 0..500 */ + .initial_cs = 2, /* CS2 */ + }; + msgb_tl16v_put(msgb, NM_ATT_IPACC_RLC_CFG_2, sizeof(rlc_cfg_2), (const uint8_t *)&rlc_cfg_2); #if 0 /* EDGE model only, breaks older models. * Should inquire the BTS capabilities */ - buf0 = 2; /* MCS2 */ - msgb_tl16v_put(msgb, NM_ATT_IPACC_RLC_CFG_3, 1, buf); + struct abis_nm_ipacc_att_rlc_cfg_3 rlc_cfg_3; + rlc_cfg_3 = (struct abis_nm_ipacc_att_rlc_cfg_3){ + .initial_mcs = 2, /* MCS2 */ + }; + msgb_tl16v_put(msgb, NM_ATT_IPACC_RLC_CFG_3, sizeof(rlc_cfg_3), (const uint8_t *)&rlc_cfg_3); #endif return msgb;
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
.