Attention is currently required from: Hoernchen.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-trx/+/32764 )
Change subject: devices: add freq/gain override for uhd
......................................................................
Patch Set 5:
(5 comments)
Patchset:
PS5:
commit description should be updated with more context regarding the use case.
File Transceiver52M/device/uhd/UHDDevice.cpp:
https://gerrit.osmocom.org/c/osmo-trx/+/32764/comment/02c068bc_a3f4bf64
PS5, Line 298: if (cfg->overrides.ul_freq_override)
I'm lost here. You are skipping setting the gain below if the ul frequency is overriden? why?
https://gerrit.osmocom.org/c/osmo-trx/+/32764/comment/beacc409_6995352a
PS5, Line 344: return 0.0f;
I would expect the power atenuattion to be set to the overwriten value instead of returning?
https://gerrit.osmocom.org/c/osmo-trx/+/32764/comment/6e73ed99_848f945b
PS5, Line 635: if (cfg->overrides.dl_freq_override) {
why are you doing it here instead of the place where the freq/gain is supposed to be updated?
https://gerrit.osmocom.org/c/osmo-trx/+/32764/comment/aa8d7095_cb99a14b
PS5, Line 1013: if (cfg->overrides.dl_freq_override || cfg->overrides.ul_freq_override)
I would expected the overwritten frequency to be set here?
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/32764
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I3c1b9a067cafc6d696b9aa2da8ee0480ec1e094f
Gerrit-Change-Number: 32764
Gerrit-PatchSet: 5
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 17 May 2023 17:12:57 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Hoernchen.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-trx/+/32763 )
Change subject: devices: unify band handling
......................................................................
Patch Set 5:
(4 comments)
Patchset:
PS5:
I don't personally see a big win with this, but fine with merging once the comments are discussed/addressed.
File Transceiver52M/device/bladerf/bladerf.cpp:
https://gerrit.osmocom.org/c/osmo-trx/+/32763/comment/ce6b1b08_bf60e37e
PS5, Line 405: reset();
where does this reset() come from? now that there's 2 superclasses it's a bit confusing.
File Transceiver52M/device/common/bandmanager.h:
https://gerrit.osmocom.org/c/osmo-trx/+/32763/comment/4a8aacc9_54d26c13
PS5, Line 100: void reset()
ah here it is. band_reset() would be more descriptive imho.
File Transceiver52M/device/lms/LMSDevice.h:
https://gerrit.osmocom.org/c/osmo-trx/+/32763/comment/3449ae57_eded47b1
PS5, Line 97: using dev_band_key = std::tuple<lms_dev_type, gsm_band>;
dev_band_key_t?
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/32763
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I64f5a462451e967d4750d8e4f1d5832cbab41cff
Gerrit-Change-Number: 32763
Gerrit-PatchSet: 5
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 17 May 2023 17:07:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Hoernchen.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-trx/+/32762 )
Change subject: transceiver: pass cfg struct instead of args
......................................................................
Patch Set 3:
(1 comment)
Patchset:
PS3:
I find it difficult to review this patch because afaict there's several steps merged int one:
- replacement of constructor params at different levels (could already be more than one patch)
- replacement of open() method params
- some sort of change with dev_args which I fail to easily understand with all the code changing around, and which looks at first glance unrelated to this patch.
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/32762
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I48386900d15ff4d770c70a4efc246d32f921904b
Gerrit-Change-Number: 32762
Gerrit-PatchSet: 3
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 17 May 2023 16:58:01 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: Hoernchen.
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-trx/+/32763
to look at the new patch set (#5).
Change subject: devices: unify band handling
......................................................................
devices: unify band handling
This is basically common, but optional code.
Change-Id: I64f5a462451e967d4750d8e4f1d5832cbab41cff
---
M Transceiver52M/device/bladerf/bladerf.cpp
M Transceiver52M/device/bladerf/bladerf.h
A Transceiver52M/device/common/bandmanager.h
M Transceiver52M/device/lms/LMSDevice.cpp
M Transceiver52M/device/lms/LMSDevice.h
M Transceiver52M/device/uhd/UHDDevice.cpp
M Transceiver52M/device/uhd/UHDDevice.h
7 files changed, 241 insertions(+), 325 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/63/32763/5
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/32763
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I64f5a462451e967d4750d8e4f1d5832cbab41cff
Gerrit-Change-Number: 32763
Gerrit-PatchSet: 5
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Attention: Hoernchen <ewild(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: Hoernchen.
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-trx/+/32762
to look at the new patch set (#3).
Change subject: transceiver: pass cfg struct instead of args
......................................................................
transceiver: pass cfg struct instead of args
Passing 7 args is a bit much, just pass the config struct instead.
Change-Id: I48386900d15ff4d770c70a4efc246d32f921904b
---
M CommonLibs/trx_vty.c
M Transceiver52M/device/bladerf/bladerf.cpp
M Transceiver52M/device/bladerf/bladerf.h
M Transceiver52M/device/common/radioDevice.h
M Transceiver52M/device/ipc/IPCDevice.cpp
M Transceiver52M/device/ipc/IPCDevice.h
M Transceiver52M/device/ipc/uhdwrap.cpp
M Transceiver52M/device/ipc/uhdwrap.h
M Transceiver52M/device/lms/LMSDevice.cpp
M Transceiver52M/device/lms/LMSDevice.h
M Transceiver52M/device/uhd/UHDDevice.cpp
M Transceiver52M/device/uhd/UHDDevice.h
M Transceiver52M/device/usrp1/USRPDevice.cpp
M Transceiver52M/device/usrp1/USRPDevice.h
M Transceiver52M/osmo-trx.cpp
15 files changed, 161 insertions(+), 180 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/62/32762/3
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/32762
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I48386900d15ff4d770c70a4efc246d32f921904b
Gerrit-Change-Number: 32762
Gerrit-PatchSet: 3
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Attention: Hoernchen <ewild(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: Hoernchen.
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-trx/+/32762
to look at the new patch set (#2).
Change subject: trasnceiver: pass cfg struct instead of args
......................................................................
trasnceiver: pass cfg struct instead of args
Passing 7 args is a bit much, just pass the config struct instead.
Change-Id: I48386900d15ff4d770c70a4efc246d32f921904b
---
M CommonLibs/trx_vty.c
M Transceiver52M/device/bladerf/bladerf.cpp
M Transceiver52M/device/bladerf/bladerf.h
M Transceiver52M/device/common/radioDevice.h
M Transceiver52M/device/ipc/IPCDevice.cpp
M Transceiver52M/device/ipc/IPCDevice.h
M Transceiver52M/device/ipc/uhdwrap.cpp
M Transceiver52M/device/ipc/uhdwrap.h
M Transceiver52M/device/lms/LMSDevice.cpp
M Transceiver52M/device/lms/LMSDevice.h
M Transceiver52M/device/uhd/UHDDevice.cpp
M Transceiver52M/device/uhd/UHDDevice.h
M Transceiver52M/device/usrp1/USRPDevice.cpp
M Transceiver52M/device/usrp1/USRPDevice.h
M Transceiver52M/osmo-trx.cpp
15 files changed, 161 insertions(+), 180 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/62/32762/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/32762
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I48386900d15ff4d770c70a4efc246d32f921904b
Gerrit-Change-Number: 32762
Gerrit-PatchSet: 2
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Attention: Hoernchen <ewild(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: Hoernchen.
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-trx/+/32763
to look at the new patch set (#2).
Change subject: devices: unify band handling
......................................................................
devices: unify band handling
This is basically common, but optional code.
Change-Id: I64f5a462451e967d4750d8e4f1d5832cbab41cff
---
M Transceiver52M/device/bladerf/bladerf.cpp
M Transceiver52M/device/bladerf/bladerf.h
A Transceiver52M/device/common/bandmanager.h
M Transceiver52M/device/lms/LMSDevice.cpp
M Transceiver52M/device/lms/LMSDevice.h
M Transceiver52M/device/uhd/UHDDevice.cpp
M Transceiver52M/device/uhd/UHDDevice.h
7 files changed, 240 insertions(+), 325 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/63/32763/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/32763
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I64f5a462451e967d4750d8e4f1d5832cbab41cff
Gerrit-Change-Number: 32763
Gerrit-PatchSet: 2
Gerrit-Owner: Hoernchen <ewild(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Attention: Hoernchen <ewild(a)sysmocom.de>
Gerrit-MessageType: newpatchset