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:
parent
9bcbb9aea7
commit
cda03cb815
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue