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/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/20641 ) Change subject: rfemu_srsenb_stdin: use negative dB value to set attenuation ...................................................................... rfemu_srsenb_stdin: use negative dB value to set attenuation the logic for the RF emulator on the command line is, like the Amarisoft equivalent, to set a negative gain value to express attenuation. Therefore, the sign needs to be inverted. Change-Id: I7b6ac611a9f711bbdc1570602bfd797a5346ab86 --- M src/osmo_gsm_tester/obj/rfemu_srsenb_stdin.py 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: pespin: Looks good to me, approved; Verified diff --git a/src/osmo_gsm_tester/obj/rfemu_srsenb_stdin.py b/src/osmo_gsm_tester/obj/rfemu_srsenb_stdin.py index ca23020..e4aec19 100644 --- a/src/osmo_gsm_tester/obj/rfemu_srsenb_stdin.py +++ b/src/osmo_gsm_tester/obj/rfemu_srsenb_stdin.py @@ -42,7 +42,7 @@ # PUBLIC (test API included) ############################# def set_attenuation(self, db): - msg_str = 'cell_gain %d %f' % (self.cell_id, db) + msg_str = 'cell_gain %d %f' % (self.cell_id, -db) self.dbg('sending stdin msg: "%s"' % msg_str) self.enb.process.stdin_write(msg_str + '\n') -- To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/20641 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-gsm-tester Gerrit-Branch: master Gerrit-Change-Id: I7b6ac611a9f711bbdc1570602bfd797a5346ab86 Gerrit-Change-Number: 20641 Gerrit-PatchSet: 1 Gerrit-Owner: srs_andre <andre at softwareradiosystems.com> Gerrit-Reviewer: pespin <pespin at sysmocom.de> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201013/696f6502/attachment.htm>