This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Pau Espin Pedrol gerrit-no-reply at lists.osmocom.orgPau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/11571 Change subject: UHDDevice: setRxGain on chan 0 when using multi-arfcn ...................................................................... UHDDevice: setRxGain on chan 0 when using multi-arfcn Same check is done in getRxGain, and then we avoid outputing an error immediatelly after. Change-Id: I5b02bb1ef6450dc48be7b8058d96a5691847d3cc --- M Transceiver52M/device/uhd/UHDDevice.cpp 1 file changed, 4 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/71/11571/1 diff --git a/Transceiver52M/device/uhd/UHDDevice.cpp b/Transceiver52M/device/uhd/UHDDevice.cpp index c30f3a7..7c0fc93 100644 --- a/Transceiver52M/device/uhd/UHDDevice.cpp +++ b/Transceiver52M/device/uhd/UHDDevice.cpp @@ -486,6 +486,10 @@ double uhd_device::setRxGain(double db, size_t chan) { + + if (iface == MULTI_ARFCN) + chan = 0; + if (chan >= rx_gains.size()) { LOGC(DDEV, ALERT) << "Requested non-existent channel " << chan; return 0.0f; -- To view, visit https://gerrit.osmocom.org/11571 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-trx Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I5b02bb1ef6450dc48be7b8058d96a5691847d3cc Gerrit-Change-Number: 11571 Gerrit-PatchSet: 1 Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181101/c6fa33c1/attachment.htm>