Projects
osmocom:master
osmo-bsc
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 203
View file
osmo-bsc.spec
Changed
@@ -18,13 +18,13 @@ Name: osmo-bsc Requires: osmocom-master -Version: 1.11.0.37.e24e8 +Version: 1.11.0.38.252e7 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.11.0.37.e24e8.tar.xz +Source: osmo-bsc_1.11.0.38.252e7.tar.xz Source1: rpmlintrc BuildRequires: automake >= 1.9 BuildRequires: libtool >= 2
View file
commit_252e7f3e91b22b23bb82102c5f955a28d86dc9d2.txt
Added
View file
commit_e24e8a33893b49aba09285d346ce485a84d1d7a3.txt
Deleted
View file
osmo-bsc_1.11.0.37.e24e8.dsc -> osmo-bsc_1.11.0.38.252e7.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.11.0.37.e24e8 +Version: 1.11.0.38.252e7 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: - 83ed2d55e2071db16915fc6cd0bcba331845dd71 620760 osmo-bsc_1.11.0.37.e24e8.tar.xz + 6a3aaacd694c6fa307146ef2b958a9ff7e693444 620988 osmo-bsc_1.11.0.38.252e7.tar.xz Checksums-Sha256: - 52d7821c4049b1d81d5ef493971e3985e8a540a1b4ddbd5fb4bbca302d3576d6 620760 osmo-bsc_1.11.0.37.e24e8.tar.xz + 65d716dfcb0639175780f4ac5d99e517d04d7e34ac1ea84047902a5502dd1164 620988 osmo-bsc_1.11.0.38.252e7.tar.xz Files: - 4465327865d09d6cb601a1b637557a75 620760 osmo-bsc_1.11.0.37.e24e8.tar.xz + d996132e8b9574eda7bc037fba17a72d 620988 osmo-bsc_1.11.0.38.252e7.tar.xz
View file
osmo-bsc_1.11.0.37.e24e8.tar.xz/.tarball-version -> osmo-bsc_1.11.0.38.252e7.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -1.11.0.37-e24e8 +1.11.0.38-252e7
View file
osmo-bsc_1.11.0.37.e24e8.tar.xz/debian/changelog -> osmo-bsc_1.11.0.38.252e7.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -osmo-bsc (1.11.0.37.e24e8) unstable; urgency=medium +osmo-bsc (1.11.0.38.252e7) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom master feed - -- Osmocom OBS scripts <info@osmocom.org> Thu, 23 Nov 2023 12:25:52 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Fri, 24 Nov 2023 10:51:00 +0000 osmo-bsc (1.11.0) unstable; urgency=medium
View file
osmo-bsc_1.11.0.37.e24e8.tar.xz/include/osmocom/bsc/gsm_data.h -> osmo-bsc_1.11.0.38.252e7.tar.xz/include/osmocom/bsc/gsm_data.h
Changed
@@ -1068,6 +1068,7 @@ /* PCU socket state */ char *pcu_sock_path; + unsigned int pcu_sock_wqueue_len_max; struct pcu_sock_state *pcu_state; };
View file
osmo-bsc_1.11.0.37.e24e8.tar.xz/src/osmo-bsc/bsc_init.c -> osmo-bsc_1.11.0.38.252e7.tar.xz/src/osmo-bsc/bsc_init.c
Changed
@@ -204,6 +204,7 @@ net->cbc->client.remote_addr = (struct osmo_sockaddr_str){ .port = CBSP_TCP_PORT, }; net->cbc->client.local_addr = (struct osmo_sockaddr_str){}; + net->pcu_sock_wqueue_len_max = BSC_PCU_SOCK_WQUEUE_LEN_DEFAULT; return net; err_free_all:
View file
osmo-bsc_1.11.0.37.e24e8.tar.xz/src/osmo-bsc/bsc_vty.c -> osmo-bsc_1.11.0.38.252e7.tar.xz/src/osmo-bsc/bsc_vty.c
Changed
@@ -416,6 +416,9 @@ if (gsmnet->pcu_sock_path) vty_out(vty, " pcu-socket %s%s", gsmnet->pcu_sock_path, VTY_NEWLINE); + if (gsmnet->pcu_sock_wqueue_len_max != BSC_PCU_SOCK_WQUEUE_LEN_DEFAULT) + vty_out(vty, " pcu-socket-wqueue-length %u%s", gsmnet->pcu_sock_wqueue_len_max, + VTY_NEWLINE); neighbor_ident_vty_write_network(vty, " "); mgcp_client_pool_config_write(vty, " "); @@ -2484,8 +2487,29 @@ return CMD_SUCCESS; } -DEFUN_ATTR(cfg_net_pcu_sock, - cfg_net_pcu_sock_cmd, +DEFUN_ATTR(cfg_bts_pcu_sock_wqueue_len, cfg_bts_pcu_sock_wqueue_len_cmd, + "pcu-socket-wqueue-length <1-2147483646>", + "Configure the PCU socket queue length\n" + "Queue length\n", + CMD_ATTR_IMMEDIATE) +{ + size_t dropped_msgs = 0; + struct gsm_network *net = gsmnet_from_vty(vty); + size_t old = net->pcu_sock_wqueue_len_max; + net->pcu_sock_wqueue_len_max = atoi(argv0); + if (net->pcu_state) + dropped_msgs = osmo_wqueue_set_maxlen(&net->pcu_state->upqueue, net->pcu_sock_wqueue_len_max); + if (dropped_msgs) { + LOGP(DPCU, LOGL_INFO, "Have dropped %zu messages due to shortened max. message queue size (from: %zu to %u)\n", + dropped_msgs, old, net->pcu_sock_wqueue_len_max); + vty_out(vty, "Have dropped %zu messages due to shortened max. message queue size (from: %zu to %u)%s", + dropped_msgs, old, net->pcu_sock_wqueue_len_max, VTY_NEWLINE); + } + return CMD_SUCCESS; +} + +DEFUN_ATTR(cfg_net_pcu_sock_path, + cfg_net_pcu_sock_path_cmd, "pcu-socket PATH", "PCU Socket Path for using OsmoPCU co-located with BSC\n" "Path in the file system for the unix-domain PCU socket\n", @@ -3595,7 +3619,8 @@ install_element(GSMNET_NODE, &cfg_net_meas_feed_wqueue_max_len_cmd); install_element(GSMNET_NODE, &cfg_net_timer_cmd); install_element(GSMNET_NODE, &cfg_net_allow_unusable_timeslots_cmd); - install_element(GSMNET_NODE, &cfg_net_pcu_sock_cmd); + install_element(GSMNET_NODE, &cfg_net_pcu_sock_path_cmd); + install_element(GSMNET_NODE, &cfg_bts_pcu_sock_wqueue_len_cmd); install_element(GSMNET_NODE, &cfg_net_no_pcu_sock_cmd); /* Timer configuration commands (generic osmo_tdef API) */
View file
osmo-bsc_1.11.0.37.e24e8.tar.xz/src/osmo-bsc/pcu_sock.c -> osmo-bsc_1.11.0.38.252e7.tar.xz/src/osmo-bsc/pcu_sock.c
Changed
@@ -950,7 +950,7 @@ if (!state) return -ENOMEM; - osmo_wqueue_init(&state->upqueue, BSC_PCU_SOCK_WQUEUE_LEN_DEFAULT); + osmo_wqueue_init(&state->upqueue, net->pcu_sock_wqueue_len_max); state->upqueue.read_cb = pcu_sock_read; state->upqueue.write_cb = pcu_sock_write; state->upqueue.bfd.fd = -1;
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
.