Change in osmo-gsm-tester[master]: lte: update UHD device args for MIMO usage
srs_andre has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/20606 ) Change subject: lte: update UHD device args for MIMO usage .. lte: update UHD device args for MIMO usage the USRP B210 device args were not ideal for MIMO configs for both Amarisoft and srsLTE. Change-Id: I3785bb96eb7c10a6b10b3d1a86fa71d1f787a7a3 --- M src/osmo_gsm_tester/obj/enb_amarisoft.py M src/osmo_gsm_tester/obj/enb_srs.py M src/osmo_gsm_tester/obj/ms_srs.py 3 files changed, 47 insertions(+), 19 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-gsm-tester refs/changes/06/20606/1 diff --git a/src/osmo_gsm_tester/obj/enb_amarisoft.py b/src/osmo_gsm_tester/obj/enb_amarisoft.py index 5b8e05e..4495f47 100644 --- a/src/osmo_gsm_tester/obj/enb_amarisoft.py +++ b/src/osmo_gsm_tester/obj/enb_amarisoft.py @@ -183,16 +183,24 @@ rf_dev_args = values['enb'].get('rf_dev_args', '') rf_dev_args += ',' if rf_dev_args != '' and not rf_dev_args.endswith(',') else '' -if self._num_prb < 25: -rf_dev_args += 'send_frame_size=512,recv_frame_size=512' -elif self._num_prb == 25: -rf_dev_args += 'send_frame_size=1024,recv_frame_size=1024' -elif self._num_prb > 25: -rf_dev_args += 'num_recv_frames=64,num_send_frames=64' +if self._txmode == 1: +# SISO config +if self._num_prb < 25: +rf_dev_args += 'send_frame_size=512,recv_frame_size=512' +elif self._num_prb == 25: +rf_dev_args += 'send_frame_size=1024,recv_frame_size=1024' +else: +rf_dev_args += '' +else: +# MIMO config +if self._num_prb == 6: +rf_dev_args += 'send_frame_size=512,recv_frame_size=512' +else: +rf_dev_args += 'num_recv_frames=64,num_send_frames=64' -if self._num_prb > 50: -# Reduce over the wire format to sc12 -rf_dev_args += ',otw_format=sc12' +if self._num_prb > 50: +# Reduce over the wire format to sc12 +rf_dev_args += ',otw_format=sc12' config.overlay(values, dict(enb=dict(rf_dev_args=rf_dev_args))) diff --git a/src/osmo_gsm_tester/obj/enb_srs.py b/src/osmo_gsm_tester/obj/enb_srs.py index ec2d1fc..ad92af5 100644 --- a/src/osmo_gsm_tester/obj/enb_srs.py +++ b/src/osmo_gsm_tester/obj/enb_srs.py @@ -207,12 +207,23 @@ rf_dev_args = values['enb'].get('rf_dev_args', '') rf_dev_args += ',' if rf_dev_args != '' and not rf_dev_args.endswith(',') else '' -if self._num_prb < 25: -rf_dev_args += 'send_frame_size=512,recv_frame_size=512' -elif self._num_prb == 25: -rf_dev_args += 'send_frame_size=1024,recv_frame_size=1024' -elif self._num_prb > 25: +if self._num_prb == 75: +rf_dev_args += 'master_clock_rate=15.36e6,' + +if self._txmode <= 2: +# SISO config +if self._num_prb < 25: +rf_dev_args += 'send_frame_size=512,recv_frame_size=512' +elif self._num_prb == 25: +rf_dev_args += 'send_frame_size=1024,recv_frame_size=1024' +else: +rf_dev_args += '' +else: +# MIMO config rf_dev_args += 'num_recv_frames=64,num_send_frames=64' +if self._num_prb > 50: +# Reduce over the wire format to sc12 +rf_dev_args += ',otw_format=sc12' config.overlay(values, dict(enb=dict(rf_dev_args=rf_dev_args))) diff --git a/src/osmo_gsm_tester/obj/ms_srs.py b/src/osmo_gsm_tester/obj/ms_srs.py index 701794f..22e110d 100644 --- a/src/osmo_gsm_tester/obj/ms_srs.py +++ b/src/osmo_gsm_tester/obj/ms_srs.py @@ -306,12 +306,21 @@ rf_dev_args = values['ue'].get('rf_dev_args', '') rf_dev_args += ',' if rf_dev_args != '' and not rf_dev_args.endswith(',') else '' -if self.enb.num_prb() < 25: -rf_dev_args += 'send_frame_size=512,recv_frame_size=512' -elif self.enb.num_prb() == 25: -rf_dev_args += 'send_frame_size=1024,recv_frame_size=1024' -elif self.enb.num_prb() > 50: +if self.enb.num_prb() == 75: +rf_dev_args += 'master_clock_rate=15.36e6,' + +if self.enb.num_ports() == 1: +# SISO config +
Change in osmo-gsm-tester[master]: lte: update UHD device args for MIMO usage
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/20606 ) Change subject: lte: update UHD device args for MIMO usage .. Patch Set 1: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/20606 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: I3785bb96eb7c10a6b10b3d1a86fa71d1f787a7a3 Gerrit-Change-Number: 20606 Gerrit-PatchSet: 1 Gerrit-Owner: srs_andre Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: pespin Gerrit-Comment-Date: Tue, 13 Oct 2020 10:14:36 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in osmo-gsm-tester[master]: lte: update UHD device args for MIMO usage
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/20606 ) Change subject: lte: update UHD device args for MIMO usage .. Patch Set 1: Verified+1 -- To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/20606 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: I3785bb96eb7c10a6b10b3d1a86fa71d1f787a7a3 Gerrit-Change-Number: 20606 Gerrit-PatchSet: 1 Gerrit-Owner: srs_andre Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: pespin Gerrit-Comment-Date: Tue, 13 Oct 2020 10:24:43 + Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
Change in osmo-gsm-tester[master]: lte: update UHD device args for MIMO usage
pespin has removed a vote from this change. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/20606 ) Change subject: lte: update UHD device args for MIMO usage .. Removed Verified-1 by Jenkins Builder (102) -- To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/20606 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: I3785bb96eb7c10a6b10b3d1a86fa71d1f787a7a3 Gerrit-Change-Number: 20606 Gerrit-PatchSet: 1 Gerrit-Owner: srs_andre Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: pespin Gerrit-MessageType: deleteVote
Change in osmo-gsm-tester[master]: lte: update UHD device args for MIMO usage
pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/20606 ) Change subject: lte: update UHD device args for MIMO usage .. lte: update UHD device args for MIMO usage the USRP B210 device args were not ideal for MIMO configs for both Amarisoft and srsLTE. Change-Id: I3785bb96eb7c10a6b10b3d1a86fa71d1f787a7a3 --- M src/osmo_gsm_tester/obj/enb_amarisoft.py M src/osmo_gsm_tester/obj/enb_srs.py M src/osmo_gsm_tester/obj/ms_srs.py 3 files changed, 47 insertions(+), 19 deletions(-) Approvals: pespin: Looks good to me, approved; Verified diff --git a/src/osmo_gsm_tester/obj/enb_amarisoft.py b/src/osmo_gsm_tester/obj/enb_amarisoft.py index 5b8e05e..4495f47 100644 --- a/src/osmo_gsm_tester/obj/enb_amarisoft.py +++ b/src/osmo_gsm_tester/obj/enb_amarisoft.py @@ -183,16 +183,24 @@ rf_dev_args = values['enb'].get('rf_dev_args', '') rf_dev_args += ',' if rf_dev_args != '' and not rf_dev_args.endswith(',') else '' -if self._num_prb < 25: -rf_dev_args += 'send_frame_size=512,recv_frame_size=512' -elif self._num_prb == 25: -rf_dev_args += 'send_frame_size=1024,recv_frame_size=1024' -elif self._num_prb > 25: -rf_dev_args += 'num_recv_frames=64,num_send_frames=64' +if self._txmode == 1: +# SISO config +if self._num_prb < 25: +rf_dev_args += 'send_frame_size=512,recv_frame_size=512' +elif self._num_prb == 25: +rf_dev_args += 'send_frame_size=1024,recv_frame_size=1024' +else: +rf_dev_args += '' +else: +# MIMO config +if self._num_prb == 6: +rf_dev_args += 'send_frame_size=512,recv_frame_size=512' +else: +rf_dev_args += 'num_recv_frames=64,num_send_frames=64' -if self._num_prb > 50: -# Reduce over the wire format to sc12 -rf_dev_args += ',otw_format=sc12' +if self._num_prb > 50: +# Reduce over the wire format to sc12 +rf_dev_args += ',otw_format=sc12' config.overlay(values, dict(enb=dict(rf_dev_args=rf_dev_args))) diff --git a/src/osmo_gsm_tester/obj/enb_srs.py b/src/osmo_gsm_tester/obj/enb_srs.py index ec2d1fc..ad92af5 100644 --- a/src/osmo_gsm_tester/obj/enb_srs.py +++ b/src/osmo_gsm_tester/obj/enb_srs.py @@ -207,12 +207,23 @@ rf_dev_args = values['enb'].get('rf_dev_args', '') rf_dev_args += ',' if rf_dev_args != '' and not rf_dev_args.endswith(',') else '' -if self._num_prb < 25: -rf_dev_args += 'send_frame_size=512,recv_frame_size=512' -elif self._num_prb == 25: -rf_dev_args += 'send_frame_size=1024,recv_frame_size=1024' -elif self._num_prb > 25: +if self._num_prb == 75: +rf_dev_args += 'master_clock_rate=15.36e6,' + +if self._txmode <= 2: +# SISO config +if self._num_prb < 25: +rf_dev_args += 'send_frame_size=512,recv_frame_size=512' +elif self._num_prb == 25: +rf_dev_args += 'send_frame_size=1024,recv_frame_size=1024' +else: +rf_dev_args += '' +else: +# MIMO config rf_dev_args += 'num_recv_frames=64,num_send_frames=64' +if self._num_prb > 50: +# Reduce over the wire format to sc12 +rf_dev_args += ',otw_format=sc12' config.overlay(values, dict(enb=dict(rf_dev_args=rf_dev_args))) diff --git a/src/osmo_gsm_tester/obj/ms_srs.py b/src/osmo_gsm_tester/obj/ms_srs.py index 701794f..22e110d 100644 --- a/src/osmo_gsm_tester/obj/ms_srs.py +++ b/src/osmo_gsm_tester/obj/ms_srs.py @@ -306,12 +306,21 @@ rf_dev_args = values['ue'].get('rf_dev_args', '') rf_dev_args += ',' if rf_dev_args != '' and not rf_dev_args.endswith(',') else '' -if self.enb.num_prb() < 25: -rf_dev_args += 'send_frame_size=512,recv_frame_size=512' -elif self.enb.num_prb() == 25: -rf_dev_args += 'send_frame_size=1024,recv_frame_size=1024' -elif self.enb.num_prb() > 50: +if self.enb.num_prb() == 75: +rf_dev_args += 'master_clock_rate=15.36e6,' + +if self.enb.num_ports() == 1: +# SISO config +if self.enb.num_prb(