mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-trx.git
synced 2025-11-03 05:33:16 +00:00
Compare commits
5 Commits
Hoernchen/
...
1.6.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e528ce4c70 | ||
|
|
e81e5bce9f | ||
|
|
2ccf2caad6 | ||
|
|
9269aaa9cb | ||
|
|
f97c53bc9c |
@@ -279,6 +279,7 @@ int blade_device::open()
|
||||
|
||||
dev_type = blade_dev_type::BLADE2;
|
||||
tx_window = TX_WINDOW_FIXED;
|
||||
update_band_dev(dev_key(dev_type, tx_sps, rx_sps));
|
||||
|
||||
struct bladerf_devinfo info;
|
||||
bladerf_get_devinfo(dev, &info);
|
||||
|
||||
@@ -34,7 +34,7 @@ class band_manager {
|
||||
using powerkeyt = typename powermapt::key_type;
|
||||
using powermappedt = typename powermapt::mapped_type;
|
||||
using devkeyt = typename devmapt::key_type;
|
||||
const devkeyt &m_dev_type;
|
||||
devkeyt m_dev_type;
|
||||
const powermapt &m_power_map;
|
||||
const devmapt &m_dev_map;
|
||||
powerkeyt m_fallback;
|
||||
@@ -102,6 +102,10 @@ class band_manager {
|
||||
band_ass_curr_sess = false;
|
||||
}
|
||||
|
||||
void update_band_dev(devkeyt dev_type) {
|
||||
m_dev_type = dev_type;
|
||||
}
|
||||
|
||||
void get_dev_band_desc(powermappedt &desc)
|
||||
{
|
||||
if (m_band == 0) {
|
||||
|
||||
@@ -245,6 +245,7 @@ int LMSDevice::open()
|
||||
|
||||
m_dev_type = parse_dev_type(m_lms_dev);
|
||||
dev_desc = dev_param_map.at(m_dev_type);
|
||||
update_band_dev(m_dev_type);
|
||||
|
||||
if ((cfg->clock_ref != REF_EXTERNAL) && (cfg->clock_ref != REF_INTERNAL)) {
|
||||
LOGC(DDEV, ERROR) << "Invalid reference type";
|
||||
|
||||
@@ -530,6 +530,8 @@ int uhd_device::open()
|
||||
if (!parse_dev_type())
|
||||
return -1;
|
||||
|
||||
update_band_dev(dev_key(dev_type, tx_sps, rx_sps));
|
||||
|
||||
if ((dev_type == E3XX) && !uhd_e3xx_version_chk()) {
|
||||
LOGC(DDEV, ALERT) << "E3XX requires UHD 003.009.000 or greater";
|
||||
return -1;
|
||||
|
||||
@@ -8,6 +8,7 @@ Type=simple
|
||||
Restart=always
|
||||
StateDirectory=osmocom
|
||||
WorkingDirectory=%S/osmocom
|
||||
Environment=HOME=%h
|
||||
ExecStart=/usr/bin/osmo-trx-uhd -C /etc/osmocom/osmo-trx-uhd.cfg
|
||||
RestartSec=2
|
||||
# CPU scheduling policy:
|
||||
|
||||
17
debian/changelog
vendored
17
debian/changelog
vendored
@@ -1,3 +1,20 @@
|
||||
osmo-trx (1.6.2) unstable; urgency=medium
|
||||
|
||||
[ Harald Welte ]
|
||||
* osmo-trx-uhd: Make sure HOME environment variable is set
|
||||
|
||||
[ Vadim Yanitskiy ]
|
||||
* doc/examples: fix missing config files in release tarballs
|
||||
|
||||
-- Oliver Smith <osmith@sysmocom.de> Wed, 08 May 2024 10:04:43 +0200
|
||||
|
||||
osmo-trx (1.6.1) unstable; urgency=medium
|
||||
|
||||
[ Eric Wild ]
|
||||
* devices: fix wrong gain to power mapping
|
||||
|
||||
-- Eric Wild <ewild@sysmocom.de> Thu, 09 Nov 2023 14:16:21 +0200
|
||||
|
||||
osmo-trx (1.6.0) unstable; urgency=medium
|
||||
|
||||
[ Vadim Yanitskiy ]
|
||||
|
||||
@@ -1,3 +1,15 @@
|
||||
# all config examples must be listed here unconditionally, so that
|
||||
# all of them end up in the release tarball (see OS#6349)
|
||||
EXTRA_DIST = \
|
||||
osmo-trx-uhd/osmo-trx-limesdr.cfg \
|
||||
osmo-trx-uhd/osmo-trx-usrp_b200.cfg \
|
||||
osmo-trx-uhd/osmo-trx-uhd.cfg \
|
||||
osmo-trx-uhd/osmo-trx-umtrx.cfg \
|
||||
osmo-trx-lms/osmo-trx-limesdr.cfg \
|
||||
osmo-trx-lms/osmo-trx-lms.cfg \
|
||||
osmo-trx-ipc/osmo-trx-ipc.cfg \
|
||||
$(NULL)
|
||||
|
||||
OSMOCONF_FILES =
|
||||
osmoconfdir = $(sysconfdir)/osmocom
|
||||
|
||||
@@ -19,7 +31,6 @@ OSMOCONF_FILES += osmo-trx-ipc/osmo-trx-ipc.cfg
|
||||
endif
|
||||
|
||||
osmoconf_DATA = $(OSMOCONF_FILES)
|
||||
EXTRA_DIST = $(OSMOCONF_FILES)
|
||||
|
||||
CFG_FILES = find $(srcdir) -type f -name '*.cfg*' | sed -e 's,^$(srcdir),,'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user