Projects
osmocom:master
osmo-bts
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 131
View file
osmo-bts.spec
Changed
@@ -14,13 +14,13 @@ Name: osmo-bts Requires: osmocom-master -Version: 1.6.0.166.d53a0 +Version: 1.6.0.167.3407 Release: 0 Summary: Osmocom BTS-Side code (Abis, scheduling) License: AGPL-3.0-or-later AND GPL-2.0-only Group: Productivity/Telephony/Servers URL: https://osmocom.org/projects/osmobts -Source: osmo-bts_1.6.0.166.d53a0.tar.xz +Source: osmo-bts_1.6.0.167.3407.tar.xz Source1: rpmlintrc BuildRequires: autoconf BuildRequires: automake
View file
commit_34077236f2676432f0f1a0c9b451c67fa7801509.txt
Added
View file
commit_d53a084fd67454912aa093774ec9f896fddc8d06.txt
Deleted
View file
osmo-bts_1.6.0.166.d53a0.dsc -> osmo-bts_1.6.0.167.3407.dsc
Changed
@@ -2,7 +2,7 @@ Source: osmo-bts Binary: osmo-bts, osmo-bts-trx, osmo-bts-trx-dbg, osmo-bts-virtual, osmo-bts-virtual-dbg, osmo-bts-doc Architecture: any all -Version: 1.6.0.166.d53a0 +Version: 1.6.0.167.3407 Maintainer: Osmocom team <openbsc@lists.osmocom.org> Homepage: https://projects.osmocom.org/projects/osmobts Standards-Version: 3.9.8 @@ -17,8 +17,8 @@ osmo-bts-virtual deb net optional arch=any osmo-bts-virtual-dbg deb debug extra arch=any Checksums-Sha1: - 18c1fa25680438e6bec31086714a272f0a1a73b0 476700 osmo-bts_1.6.0.166.d53a0.tar.xz + 3e1a920ad27f5b1d68978e5267256665ed2dd2eb 476540 osmo-bts_1.6.0.167.3407.tar.xz Checksums-Sha256: - 9da0eeeca672f64f3cd393470ad31030f881d180f211153e0e8a64550b63b9e9 476700 osmo-bts_1.6.0.166.d53a0.tar.xz + ab0b5b29ade6b443689aa30b152ee6e743adfd44729db5e4c9905bb708e8bda2 476540 osmo-bts_1.6.0.167.3407.tar.xz Files: - b63e7739ef0f82014501ff3d33b54bb8 476700 osmo-bts_1.6.0.166.d53a0.tar.xz + 01483f95c7e9fed7b20505be5ec353cb 476540 osmo-bts_1.6.0.167.3407.tar.xz
View file
osmo-bts_1.6.0.166.d53a0.tar.xz/.tarball-version -> osmo-bts_1.6.0.167.3407.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -1.6.0.166-d53a0 +1.6.0.167-3407
View file
osmo-bts_1.6.0.166.d53a0.tar.xz/debian/changelog -> osmo-bts_1.6.0.167.3407.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -osmo-bts (1.6.0.166.d53a0) unstable; urgency=medium +osmo-bts (1.6.0.167.3407) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom master feed - -- Osmocom OBS scripts <info@osmocom.org> Tue, 11 Jul 2023 15:10:32 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Wed, 12 Jul 2023 07:54:43 +0000 osmo-bts (1.6.0) unstable; urgency=medium
View file
osmo-bts_1.6.0.166.d53a0.tar.xz/include/osmo-bts/bts.h -> osmo-bts_1.6.0.167.3407.tar.xz/include/osmo-bts/bts.h
Changed
@@ -356,6 +356,7 @@ struct { char *sock_path; + unsigned int sock_wqueue_len_max; } pcu; /* GSMTAP Um logging (disabled by default) */
View file
osmo-bts_1.6.0.166.d53a0.tar.xz/include/osmo-bts/pcu_if.h -> osmo-bts_1.6.0.167.3407.tar.xz/include/osmo-bts/pcu_if.h
Changed
@@ -27,7 +27,7 @@ int pcu_tx_susp_req(struct gsm_lchan *lchan, uint32_t tlli, const uint8_t *ra_id, uint8_t cause); int pcu_sock_send(struct msgb *msg); -int pcu_sock_init(const char *path); +int pcu_sock_init(const char *path, int qlength_max); void pcu_sock_exit(void); bool pcu_connected(void);
View file
osmo-bts_1.6.0.166.d53a0.tar.xz/src/common/bts.c -> osmo-bts_1.6.0.167.3407.tar.xz/src/common/bts.c
Changed
@@ -348,6 +348,7 @@ bts->min_qual_norm = MIN_QUAL_NORM; bts->max_ber10k_rach = 1707; /* 7 of 41 bits is Eb/N0 of 0 dB = 0.1707 */ bts->pcu.sock_path = talloc_strdup(bts, PCU_SOCK_DEFAULT); + bts->pcu.sock_wqueue_len_max = BTS_PCU_SOCK_WQUEUE_LEN_DEFAULT; for (i = 0; i < ARRAY_SIZE(bts->t200_ms); i++) bts->t200_msi = oml_default_t200_msi;
View file
osmo-bts_1.6.0.166.d53a0.tar.xz/src/common/main.c -> osmo-bts_1.6.0.167.3407.tar.xz/src/common/main.c
Changed
@@ -380,7 +380,7 @@ exit(1); } - if (pcu_sock_init(g_bts->pcu.sock_path)) { + if (pcu_sock_init(g_bts->pcu.sock_path, g_bts->pcu.sock_wqueue_len_max)) { fprintf(stderr, "PCU L1 socket failed\n"); exit(1); }
View file
osmo-bts_1.6.0.166.d53a0.tar.xz/src/common/pcu_sock.c -> osmo-bts_1.6.0.167.3407.tar.xz/src/common/pcu_sock.c
Changed
@@ -1167,7 +1167,7 @@ return 0; } -int pcu_sock_init(const char *path) +int pcu_sock_init(const char *path, int qlength_max) { struct pcu_sock_state *state; struct osmo_fd *bfd; @@ -1177,7 +1177,7 @@ if (!state) return -ENOMEM; - osmo_wqueue_init(&state->upqueue, BTS_PCU_SOCK_WQUEUE_LEN_DEFAULT); + osmo_wqueue_init(&state->upqueue, qlength_max); state->upqueue.read_cb = pcu_sock_read; state->upqueue.write_cb = pcu_sock_write; state->upqueue.bfd.fd = -1;
View file
osmo-bts_1.6.0.166.d53a0.tar.xz/src/common/vty.c -> osmo-bts_1.6.0.167.3407.tar.xz/src/common/vty.c
Changed
@@ -22,6 +22,7 @@ #include "btsconfig.h" #include <inttypes.h> +#include <limits.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> @@ -70,6 +71,9 @@ #define BTS_TRX_STR BTS_NR_STR TRX_NR_STR #define BTS_TRX_TS_STR BTS_TRX_STR TS_NR_STR #define BTS_TRX_TS_LCHAN_STR BTS_TRX_TS_STR LCHAN_NR_STR +/* INT32_MAX, because osmo_wqueue_init takes int as an argument + * and INT_MAX can't be stringified as a decimal */ +#define BTS_CFG_PCU_SOCK_WQUEUE_LEN_MAX_MAX 2147483647 #define X(x) (1 << x) @@ -466,6 +470,8 @@ VTY_NEWLINE); if (strcmp(bts->pcu.sock_path, PCU_SOCK_DEFAULT)) vty_out(vty, " pcu-socket %s%s", bts->pcu.sock_path, VTY_NEWLINE); + if (bts->pcu.sock_wqueue_len_max != BTS_CFG_PCU_SOCK_WQUEUE_LEN_MAX_MAX) + vty_out(vty, " pcu-socket-wqueue-length %u%s", bts->pcu.sock_wqueue_len_max, VTY_NEWLINE); if (bts->supp_meas_toa256) vty_out(vty, " supp-meas-info toa256%s", VTY_NEWLINE); vty_out(vty, " smscb queue-max-length %d%s", bts->smscb_queue_max_len, VTY_NEWLINE); @@ -1023,7 +1029,7 @@ return CMD_SUCCESS; } -DEFUN(cfg_bts_pcu_sock, cfg_bts_pcu_sock_cmd, +DEFUN(cfg_bts_pcu_sock_path, cfg_bts_pcu_sock_path_cmd, "pcu-socket PATH", "Configure the PCU socket file/path name\n" "UNIX socket path\n") @@ -1036,6 +1042,16 @@ return CMD_SUCCESS; } +DEFUN(cfg_bts_pcu_sock_ql, cfg_bts_pcu_sock_ql_cmd, + "pcu-socket-wqueue-length <1-" OSMO_STRINGIFY_VAL(BTS_CFG_PCU_SOCK_WQUEUE_LEN_MAX_MAX) ">", + "Configure the PCU socket queue length\n" + "Queue length\n") +{ + struct gsm_bts *bts = vty->index; + bts->pcu.sock_wqueue_len_max = atoi(argv0); + return CMD_SUCCESS; +} + DEFUN_ATTR(cfg_bts_supp_meas_toa256, cfg_bts_supp_meas_toa256_cmd, "supp-meas-info toa256", "Configure the RSL Supplementary Measurement Info\n" @@ -2741,7 +2757,8 @@ install_element(BTS_NODE, &cfg_bts_min_qual_rach_cmd); install_element(BTS_NODE, &cfg_bts_min_qual_norm_cmd); install_element(BTS_NODE, &cfg_bts_max_ber_rach_cmd); - install_element(BTS_NODE, &cfg_bts_pcu_sock_cmd); + install_element(BTS_NODE, &cfg_bts_pcu_sock_path_cmd); + install_element(BTS_NODE, &cfg_bts_pcu_sock_ql_cmd); install_element(BTS_NODE, &cfg_bts_supp_meas_toa256_cmd); install_element(BTS_NODE, &cfg_bts_no_supp_meas_toa256_cmd); install_element(BTS_NODE, &cfg_bts_smscb_max_qlen_cmd);
View file
osmo-bts_1.6.0.166.d53a0.tar.xz/tests/osmo-bts.vty -> osmo-bts_1.6.0.167.3407.tar.xz/tests/osmo-bts.vty
Changed
@@ -249,6 +249,7 @@ min-qual-norm <-100-100> max-ber10k-rach <0-10000> pcu-socket PATH + pcu-socket-wqueue-length <1-2147483647> supp-meas-info toa256 no supp-meas-info toa256 smscb queue-max-length <1-60> @@ -266,25 +267,26 @@ ... OsmoBTS(bts)# ? ... - ipa ip.access RSL commands - oml OML Parameters - no Negate a command or set its defaults - rtp RTP parameters - band Set the frequency band of this BTS - description Save human-readable description of the object - paging Paging related parameters - agch-queue-mgmt AGCH queue mgmt - min-qual-rach Set the minimum link quality level of Access Bursts to be accepted - min-qual-norm Set the minimum link quality level of Normal Bursts to be accepted - max-ber10k-rach Set the maximum BER for valid RACH requests - pcu-socket Configure the PCU socket file/path name - supp-meas-info Configure the RSL Supplementary Measurement Info - smscb SMSCB (SMS Cell Broadcast) / CBCH configuration - gsmtap-remote-host Enable GSMTAP Um logging (see also 'gsmtap-sapi') - gsmtap-local-host Enable local bind for GSMTAP Um logging (see also 'gsmtap-sapi') - gsmtap-sapi Enable/disable sending of UL/DL messages over GSMTAP - osmux Configure Osmux - trx Select a TRX to configure + ipa ip.access RSL commands + oml OML Parameters + no Negate a command or set its defaults + rtp RTP parameters + band Set the frequency band of this BTS + description Save human-readable description of the object + paging Paging related parameters + agch-queue-mgmt AGCH queue mgmt + min-qual-rach Set the minimum link quality level of Access Bursts to be accepted + min-qual-norm Set the minimum link quality level of Normal Bursts to be accepted + max-ber10k-rach Set the maximum BER for valid RACH requests + pcu-socket Configure the PCU socket file/path name + pcu-socket-wqueue-length Configure the PCU socket queue length + supp-meas-info Configure the RSL Supplementary Measurement Info + smscb SMSCB (SMS Cell Broadcast) / CBCH configuration + gsmtap-remote-host Enable GSMTAP Um logging (see also 'gsmtap-sapi') + gsmtap-local-host Enable local bind for GSMTAP Um logging (see also 'gsmtap-sapi') + gsmtap-sapi Enable/disable sending of UL/DL messages over GSMTAP + osmux Configure Osmux + trx Select a TRX to configure ... OsmoBTS(bts)# trx 0 OsmoBTS(trx)# list
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
.