2 @run_at = qw|localhost/wlan0 localhost/wlan1 localhost/wlan2 localhost/wlan3|;
7 my ($host, $iface) = split(/\//, $run_at[$at], 2);
10 push @args, ('ssh', $host) if ($host ne 'localhost');
11 push @args, ('wclient');
12 push @args, ('-I', $iface) if (defined $iface);
13 push @args, split(/ /, shift);
14 print "running ", join(' ', @args), "\n";
22 for ($tbw=20; $tbw<=20; $tbw+=10) {
23 foreach $ac(qw/VO/) {# VI BE BK
24 $params="-B $tbw -b $ac -j 50 -s 100 -c 15";
26 for ($i=1; $i <= @run_at; $i++) {
29 run($at, $params . " -o $tbw-$ac-$i-stas $dest");
30 # Run first tasks at [0] and the remaining in
31 for ($j=1; $j<@run_at; $j++) {
32 if ($j > @run_at - $i) { $at++; }
33 run($at, $params . " -o $tbw-$ac-$i-stas-$j $dest");
35 print "==================\n";
37 for ($j=1; $j <= @run_at; $j++) {