From 10ed8dc3a7f86632b3073c35f85db8b0ef521efa Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Tue, 2 Jun 2020 11:58:03 +0200 Subject: [PATCH] enb_srs: add extra head room for max rate with 6 PRB in MIMO mode the overhead with 6 PRB and MIMO is a bit higher when compared to other PRBs resulting in lower achievable throughput Change-Id: I63888435553bba4f7be88cc745e24472921a7fb4 --- src/osmo_gsm_tester/obj/enb_srs.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/osmo_gsm_tester/obj/enb_srs.py b/src/osmo_gsm_tester/obj/enb_srs.py index 33ee16b3..9dc81136 100644 --- a/src/osmo_gsm_tester/obj/enb_srs.py +++ b/src/osmo_gsm_tester/obj/enb_srs.py @@ -252,8 +252,13 @@ class srsENB(enb.eNodeB): max_rate = max_phy_rate_tm1_ul[self.num_prb()] # MIMO only supported for Downlink - if downlink and self._txmode > 2: - max_rate *= 2 + if downlink: + if self._txmode > 2: + max_rate *= 2 + + # For 6 PRBs the max throughput is significantly lower + if self._txmode >= 2 and self.num_prb() == 6: + max_rate *= 0.85 return max_rate