Guest User

Untitled

a guest
Jun 19th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # ./waf --run "scratch/80211e-txop --cwMin=10 --cwMax=20 --TXOP=1280"
  4. # cwMin, cwMax, TXOP
  5. cases=(
  6. "--TXOP=0 --cwMin=15 --cwMax=1023"
  7. "--TXOP=0 --cwMin=7 --cwMax=15"
  8. "--TXOP=0 --cwMin=3 --cwMax=7"
  9. "--TXOP=0 --cwMin=0 --cwMax=3"
  10. "--TXOP=1504 --cwMin=15 --cwMax=1023"
  11. "--TXOP=1504 --cwMin=7 --cwMax=15"
  12. "--TXOP=1504 --cwMin=3 --cwMax=7"
  13. "--TXOP=1504 --cwMin=0 --cwMax=3"
  14. "--TXOP=3008 --cwMin=15 --cwMax=1023"
  15. "--TXOP=3008 --cwMin=7 --cwMax=15"
  16. "--TXOP=3008 --cwMin=3 --cwMax=7"
  17. "--TXOP=3008 --cwMin=0 --cwMax=3"
  18. "--TXOP=6016 --cwMin=15 --cwMax=1023"
  19. "--TXOP=6016 --cwMin=7 --cwMax=15"
  20. "--TXOP=6016 --cwMin=3 --cwMax=7"
  21. "--TXOP=6016 --cwMin=0 --cwMax=3"
  22. )
  23.  
  24.  
  25. # declare -a arr=("element1" "element2" "element3")
  26.  
  27.  
  28.  
  29. for i in "${cases[@]}"
  30. do
  31. ./waf --run "scratch/80211e-txop $i" >> wyniki.txt
  32. # ./waf --run "scratch/80211e-txop $i"
  33. echo >> wyniki.txt
  34. echo >> wyniki.txt
  35. done
Add Comment
Please, Sign In to add comment