enb_amarisoft: temporary reduce max UL rate on 2nd CC

this is due to a confirmed bug in Amarisoft eNB. will
be reverted as soon as the fix is released.

Change-Id: I182b46cf9e6c2f428c9535edf3c7df3daa912f18
This commit is contained in:
Andre Puschmann 2020-09-02 23:02:23 +02:00
parent 4db88de2fa
commit 645b5ccd8e
1 changed files with 5 additions and 0 deletions

View File

@ -281,6 +281,11 @@ class AmarisoftENB(enb.eNodeB):
# Assume we schedule all carriers
max_rate *= num_carriers
# Reduce expected UL rate due to bug in UCI scheduling in Amarisoft eNB
if downlink == False and num_carriers == 2:
# 2nd carrier @ 25%
max_rate = max_rate / 2 + (.25 * max_rate / 2)
return max_rate
# vim: expandtab tabstop=4 shiftwidth=4