enb_amarisoft: decrease max rate for TM2+

perhaps additional CRS for MIMO up to 25 PRB result in slighlt lower max rate

Change-Id: I128085e308f400622683905245d42f92a631e81d
This commit is contained in:
Andre Puschmann 2020-06-05 14:25:11 +02:00 committed by Pau Espin Pedrol
parent 10ed8dc3a7
commit acdf416796
1 changed files with 6 additions and 2 deletions

View File

@ -253,8 +253,12 @@ class AmarisoftENB(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
# Lower max MCS for TM2 and above results in lower max rate
if self._txmode >= 2 and self.num_prb() <= 25:
max_rate *= 0.85
return max_rate