4g: consider number of component carriers for max rate calculation

when carrier aggregation is enabled we need to multiply the
max rate of a single carrier with the number of carriers to
get the actual achievable rate

Change-Id: I70d850c0996ed461d3733e911adc33f3554c297c
This commit is contained in:
Andre Puschmann 2020-08-28 10:56:01 +02:00
parent 9bcbb9aea7
commit cda03cb815
2 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@ print('ENB is connected to EPC')
ue.connect(enb)
max_rate = enb.ue_max_rate(downlink=True)
max_rate *= ue.num_carriers
iperf3srv.start()
proc = iperf3cli.prepare_test_proc(iperf3cli.DIR_DL, ue.netns(), bitrate=max_rate)

View File

@ -21,6 +21,7 @@ print('ENB is connected to EPC')
ue.connect(enb)
max_rate = enb.ue_max_rate(downlink=False)
max_rate *= ue.num_carriers
iperf3srv.start()
proc = iperf3cli.prepare_test_proc(iperf3cli.DIR_UL, ue.netns(), bitrate=max_rate)