mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 04:07:52 +00:00
multiple bands with mode added
This commit is contained in:
@@ -304,14 +304,14 @@ python3 ./throughput_QOS.py
|
|||||||
station_list = args.sta_names.split(",")
|
station_list = args.sta_names.split(",")
|
||||||
elif bands[i] == "BOTH" or bands[i] == "both":
|
elif bands[i] == "BOTH" or bands[i] == "both":
|
||||||
args.bands = bands[i]
|
args.bands = bands[i]
|
||||||
args.radio = str(radios[0]+","+radios[1])
|
args.radio = str(radios[0] + "," + radios[1])
|
||||||
|
mid = int(args.num_stations) // 2
|
||||||
if args.create_sta:
|
if args.create_sta:
|
||||||
station_list = LFUtils.portNameSeries(prefix_="sta", start_id_=0, end_id_=(int(args.num_stations) // 2)
|
station_list = LFUtils.portNameSeries(prefix_="sta", start_id_=0, end_id_=mid - 1,
|
||||||
- 1,
|
|
||||||
padding_number_=10000,
|
padding_number_=10000,
|
||||||
radio=radios[0])
|
radio=radios[0])
|
||||||
station_list.extend(LFUtils.portNameSeries(prefix_="sta", start_id_=(int(args.num_stations) // 2) - 1,
|
station_list.extend(LFUtils.portNameSeries(prefix_="sta", start_id_=mid,
|
||||||
end_id_=int(args.num_stations),
|
end_id_=int(args.num_stations) - 1,
|
||||||
padding_number_=10000,
|
padding_number_=10000,
|
||||||
radio=radios[1]))
|
radio=radios[1]))
|
||||||
else:
|
else:
|
||||||
@@ -322,7 +322,6 @@ python3 ./throughput_QOS.py
|
|||||||
print(args.mode)
|
print(args.mode)
|
||||||
print(station_list)
|
print(station_list)
|
||||||
print("-----------------")
|
print("-----------------")
|
||||||
exit(1)
|
|
||||||
|
|
||||||
throughput_qos = ThroughputQOS(host=args.mgr,
|
throughput_qos = ThroughputQOS(host=args.mgr,
|
||||||
port=args.mgr_port,
|
port=args.mgr_port,
|
||||||
|
|||||||
Reference in New Issue
Block a user