From a812150eac9517199f351d0f50bf1f7c15982bbe Mon Sep 17 00:00:00 2001 From: theano Date: Fri, 6 Nov 2015 19:24:10 -0800 Subject: [PATCH] add ability to run multiple trials, add error bars --- workspace/Makefile | 4 +- workspace/parse.py | 62 +++++++++++------- .../n100_s1.0_e0_i200.log | 0 .../n100_s1.0_e1_i200.log | 0 .../n100_s1.0_e2_i200.log | 0 .../n100_s3.0_e0_i200.log | 0 .../n100_s3.0_e1_i200.log | 0 .../ofdm_n100_s1.0_e0_i200.pcap | Bin 0 -> 300 bytes .../ofdm_n100_s1.0_e1_i200.pcap | Bin 0 -> 93 bytes .../ofdm_n100_s1.0_e2_i200.pcap | Bin 0 -> 162 bytes .../ofdm_n100_s3.0_e0_i200.pcap | Bin 0 -> 3336 bytes .../ofdm_n100_s3.0_e1_i200.pcap | Bin 0 -> 3681 bytes .../ofdm_n100_s3.0_e2_i200.pcap | Bin 0 -> 783 bytes .../n10_s1.0_e0_i200.log | 0 .../ofdm_n10_s1.0_e0_i200.pcap | Bin 0 -> 24 bytes workspace/run | 17 +++-- workspace/temp/ofdm_t1_n10_s1.0_e0_i200.pcap | Bin 0 -> 24 bytes workspace/temp/ofdm_t1_n10_s3.0_e0_i200.pcap | Bin 0 -> 507 bytes workspace/temp/ofdm_t1_n10_s5.0_e0_i200.pcap | Bin 0 -> 714 bytes workspace/temp/ofdm_t1_n10_s7.0_e0_i200.pcap | Bin 0 -> 714 bytes workspace/temp/ofdm_t1_n10_s9.0_e0_i200.pcap | Bin 0 -> 714 bytes workspace/temp/ofdm_t2_n10_s1.0_e0_i200.pcap | Bin 0 -> 24 bytes workspace/temp/ofdm_t2_n10_s3.0_e0_i200.pcap | Bin 0 -> 507 bytes workspace/temp/ofdm_t2_n10_s5.0_e0_i200.pcap | Bin 0 -> 714 bytes workspace/temp/ofdm_t2_n10_s7.0_e0_i200.pcap | Bin 0 -> 714 bytes workspace/temp/ofdm_t2_n10_s9.0_e0_i200.pcap | Bin 0 -> 714 bytes workspace/temp/ofdm_t3_n10_s1.0_e0_i200.pcap | Bin 0 -> 93 bytes workspace/temp/ofdm_t3_n10_s3.0_e0_i200.pcap | Bin 0 -> 231 bytes workspace/temp/ofdm_t3_n10_s5.0_e0_i200.pcap | Bin 0 -> 714 bytes workspace/temp/ofdm_t3_n10_s7.0_e0_i200.pcap | Bin 0 -> 714 bytes workspace/temp/ofdm_t3_n10_s9.0_e0_i200.pcap | Bin 0 -> 714 bytes workspace/temp/plot.png | Bin 0 -> 3273 bytes workspace/temp/t1_n10_s1.0_e0_i200.log | 0 workspace/temp/t1_n10_s3.0_e0_i200.log | 7 ++ workspace/temp/t1_n10_s5.0_e0_i200.log | 10 +++ workspace/temp/t1_n10_s7.0_e0_i200.log | 10 +++ workspace/temp/t1_n10_s9.0_e0_i200.log | 10 +++ workspace/temp/t2_n10_s1.0_e0_i200.log | 0 workspace/temp/t2_n10_s3.0_e0_i200.log | 7 ++ workspace/temp/t2_n10_s5.0_e0_i200.log | 10 +++ workspace/temp/t2_n10_s7.0_e0_i200.log | 10 +++ workspace/temp/t2_n10_s9.0_e0_i200.log | 10 +++ workspace/temp/t3_n10_s1.0_e0_i200.log | 1 + workspace/temp/t3_n10_s3.0_e0_i200.log | 3 + workspace/temp/t3_n10_s5.0_e0_i200.log | 10 +++ workspace/temp/t3_n10_s7.0_e0_i200.log | 10 +++ workspace/temp/t3_n10_s9.0_e0_i200.log | 10 +++ workspace/wifi_loopback_noGUI.grc | 49 +++++++++++++- workspace/wifi_loopback_noGUI.py | 29 +++++--- 49 files changed, 228 insertions(+), 41 deletions(-) create mode 100644 workspace/result_11_06__18_23_33/n100_s1.0_e0_i200.log create mode 100644 workspace/result_11_06__18_23_33/n100_s1.0_e1_i200.log create mode 100644 workspace/result_11_06__18_23_33/n100_s1.0_e2_i200.log create mode 100644 workspace/result_11_06__18_23_33/n100_s3.0_e0_i200.log create mode 100644 workspace/result_11_06__18_23_33/n100_s3.0_e1_i200.log create mode 100644 workspace/result_11_06__18_23_33/ofdm_n100_s1.0_e0_i200.pcap create mode 100644 workspace/result_11_06__18_23_33/ofdm_n100_s1.0_e1_i200.pcap create mode 100644 workspace/result_11_06__18_23_33/ofdm_n100_s1.0_e2_i200.pcap create mode 100644 workspace/result_11_06__18_23_33/ofdm_n100_s3.0_e0_i200.pcap create mode 100644 workspace/result_11_06__18_23_33/ofdm_n100_s3.0_e1_i200.pcap create mode 100644 workspace/result_11_06__18_23_33/ofdm_n100_s3.0_e2_i200.pcap create mode 100644 workspace/result_11_06__18_26_13/n10_s1.0_e0_i200.log create mode 100644 workspace/result_11_06__18_26_13/ofdm_n10_s1.0_e0_i200.pcap create mode 100644 workspace/temp/ofdm_t1_n10_s1.0_e0_i200.pcap create mode 100644 workspace/temp/ofdm_t1_n10_s3.0_e0_i200.pcap create mode 100644 workspace/temp/ofdm_t1_n10_s5.0_e0_i200.pcap create mode 100644 workspace/temp/ofdm_t1_n10_s7.0_e0_i200.pcap create mode 100644 workspace/temp/ofdm_t1_n10_s9.0_e0_i200.pcap create mode 100644 workspace/temp/ofdm_t2_n10_s1.0_e0_i200.pcap create mode 100644 workspace/temp/ofdm_t2_n10_s3.0_e0_i200.pcap create mode 100644 workspace/temp/ofdm_t2_n10_s5.0_e0_i200.pcap create mode 100644 workspace/temp/ofdm_t2_n10_s7.0_e0_i200.pcap create mode 100644 workspace/temp/ofdm_t2_n10_s9.0_e0_i200.pcap create mode 100644 workspace/temp/ofdm_t3_n10_s1.0_e0_i200.pcap create mode 100644 workspace/temp/ofdm_t3_n10_s3.0_e0_i200.pcap create mode 100644 workspace/temp/ofdm_t3_n10_s5.0_e0_i200.pcap create mode 100644 workspace/temp/ofdm_t3_n10_s7.0_e0_i200.pcap create mode 100644 workspace/temp/ofdm_t3_n10_s9.0_e0_i200.pcap create mode 100644 workspace/temp/plot.png create mode 100644 workspace/temp/t1_n10_s1.0_e0_i200.log create mode 100644 workspace/temp/t1_n10_s3.0_e0_i200.log create mode 100644 workspace/temp/t1_n10_s5.0_e0_i200.log create mode 100644 workspace/temp/t1_n10_s7.0_e0_i200.log create mode 100644 workspace/temp/t1_n10_s9.0_e0_i200.log create mode 100644 workspace/temp/t2_n10_s1.0_e0_i200.log create mode 100644 workspace/temp/t2_n10_s3.0_e0_i200.log create mode 100644 workspace/temp/t2_n10_s5.0_e0_i200.log create mode 100644 workspace/temp/t2_n10_s7.0_e0_i200.log create mode 100644 workspace/temp/t2_n10_s9.0_e0_i200.log create mode 100644 workspace/temp/t3_n10_s1.0_e0_i200.log create mode 100644 workspace/temp/t3_n10_s3.0_e0_i200.log create mode 100644 workspace/temp/t3_n10_s5.0_e0_i200.log create mode 100644 workspace/temp/t3_n10_s7.0_e0_i200.log create mode 100644 workspace/temp/t3_n10_s9.0_e0_i200.log diff --git a/workspace/Makefile b/workspace/Makefile index e1dc1ea..fd3fe32 100644 --- a/workspace/Makefile +++ b/workspace/Makefile @@ -1,5 +1,5 @@ all: - ./wifi_loopback_noGUI.py -n $(n) -c $(c) -s $(s) -o $(o) -e $(e) -i $(i) -r $(result) - tshark -r $(result)/ofdm_n$(n)_s$(s)_e$(e)_i$(i).pcap > $(result)/n$(n)_s$(s)_e$(e)_i$(i).log + ./wifi_loopback_noGUI.py -t $(t) -n $(n) -c $(c) -s $(s) -o $(o) -e $(e) -i $(i) -r $(result) + tshark -r $(result)/ofdm_t$(t)_n$(n)_s$(s)_e$(e)_i$(i).pcap > $(result)/t$(t)_n$(n)_s$(s)_e$(e)_i$(i).log diff --git a/workspace/parse.py b/workspace/parse.py index ec9dc8f..71f3723 100755 --- a/workspace/parse.py +++ b/workspace/parse.py @@ -1,6 +1,7 @@ #!/usr/bin/python import glob, os, re, sys +import numpy as np import matplotlib.pyplot as plt log_info = [] @@ -11,42 +12,57 @@ enc_table = ["BPSK 1/2", "BPSK 3/4", "QPSK 1/2", "64QAM 2/3", "64QAM 3/4"] path = sys.argv[1] +ntrials = int(sys.argv[2]) + +snr_list = [] for filename in glob.glob(os.path.join(path, "*.log")): snr_arg = re.search(r"s([-+]?\d+.\d+)", filename) # SNR nfiles_arg = re.search(r"n(\d+)", filename) # Nfiles enc_arg = re.search(r"e(\d+)", filename) # Encoding - - if snr_arg and nfiles_arg and enc_arg: - total = nfiles_arg.group(1) - pdrate = sum(1 for line in open(filename))/float(total) - encode = int(enc_arg.group(1)) + trial_arg = re.search(r"t(\d+)", filename) # trial number - log_info.append((float(snr_arg.group(1)), pdrate, encode)) + try: + assert snr_arg and nfiles_arg and enc_arg and trial_arg + except AssertionError: + print "Log filename parse failed; exiting!" + sys.exit() - else: - print "Missing a log file--exiting!" - sys.exit() + total = nfiles_arg.group(1) + pdrate = sum(1 for line in open(filename))/float(total) + encode = int(enc_arg.group(1)) + snr = float(snr_arg.group(1)) -print log_info + if snr not in snr_list: + snr_list.append(snr) -for snr,pdr,enc in log_info: - if enc not in table: - table[enc] = [] - table[enc].append((snr,pdr)) + if encode not in table: + table[encode] = {} + if snr not in table[encode]: + table[encode][snr] = [] + table[encode][snr].append(pdrate) # could sum here but want to check + # we got enough datapoints -print table +for enc in table.keys(): + for snr in table[enc].keys(): + print table[enc][snr] + try: + assert len(table[enc][snr]) == ntrials + except AssertionError: + print "You don't have enough datapoints; exiting!" + sys.exit() -for enc in sorted(table.keys()): - tmp = table[enc] +snr_list.sort() - table[enc] = sorted(tmp, key=lambda tmp: tmp[0]) -# print tmp - x = [snr for snr,pdr in table[enc]] - y = [pdr for snr,pdr in table[enc]] +for enc in sorted(table.keys()): # sort so legend labels are in order + y = [sum(table[enc][snr])/float(ntrials) for snr in snr_list] - print enc, x, y - plt.plot(x, y, marker='o', label="%s" % enc_table[enc]) + print [table[enc][snr] for snr in snr_list] + yerr = [np.std(table[enc][snr]) for snr in snr_list] + + print enc, snr_list, y + print yerr + plt.errorbar(snr_list, y, yerr=yerr, marker='o', label="%s" % enc_table[enc]) plt.ylabel("PDR") plt.xlabel("SNR") diff --git a/workspace/result_11_06__18_23_33/n100_s1.0_e0_i200.log b/workspace/result_11_06__18_23_33/n100_s1.0_e0_i200.log new file mode 100644 index 0000000..e69de29 diff --git a/workspace/result_11_06__18_23_33/n100_s1.0_e1_i200.log b/workspace/result_11_06__18_23_33/n100_s1.0_e1_i200.log new file mode 100644 index 0000000..e69de29 diff --git a/workspace/result_11_06__18_23_33/n100_s1.0_e2_i200.log b/workspace/result_11_06__18_23_33/n100_s1.0_e2_i200.log new file mode 100644 index 0000000..e69de29 diff --git a/workspace/result_11_06__18_23_33/n100_s3.0_e0_i200.log b/workspace/result_11_06__18_23_33/n100_s3.0_e0_i200.log new file mode 100644 index 0000000..e69de29 diff --git a/workspace/result_11_06__18_23_33/n100_s3.0_e1_i200.log b/workspace/result_11_06__18_23_33/n100_s3.0_e1_i200.log new file mode 100644 index 0000000..e69de29 diff --git a/workspace/result_11_06__18_23_33/ofdm_n100_s1.0_e0_i200.pcap b/workspace/result_11_06__18_23_33/ofdm_n100_s1.0_e0_i200.pcap new file mode 100644 index 0000000000000000000000000000000000000000..a4702603ed19696417f843f5715eeff78dc08bde GIT binary patch literal 300 zcmca|c+)~A1{MYw`2U}Qp&rOtm0%loK$?re6vzf)1_nWfJPshmvk6FOi8F%OPGF!6 z2LHjpfYBp0CnsMaJijO>MR6_Akdx}{q#7c?glxzrpdq!HETkGTff?D5Z9qeM|MHS* J2m>p!Apo92OKAWA literal 0 HcmV?d00001 diff --git a/workspace/result_11_06__18_23_33/ofdm_n100_s1.0_e1_i200.pcap b/workspace/result_11_06__18_23_33/ofdm_n100_s1.0_e1_i200.pcap new file mode 100644 index 0000000000000000000000000000000000000000..5dd40bc1ac2cf55100272ee5ad33c0a72c531e87 GIT binary patch literal 93 zcmca|c+)~A1{MYw`2U}Qp&rP&nP3}ctjxt=3S@&Y1A`z#9tV&T+5{xD#2GMG*ju^A`^Q literal 0 HcmV?d00001 diff --git a/workspace/result_11_06__18_23_33/ofdm_n100_s1.0_e2_i200.pcap b/workspace/result_11_06__18_23_33/ofdm_n100_s1.0_e2_i200.pcap new file mode 100644 index 0000000000000000000000000000000000000000..2b0f5105f6ee0e89175b459888df9b733249ef81 GIT binary patch literal 162 zcmca|c+)~A1{MYw`2U}Qp&rO#O0*4odWnm{6vzf)1_nWfJPsfwu?a|Mi8F%OPGF!6 j2LHj}0fR?sPENi;cz#h%ilQLU5Yf4;q#9Ddifjk~sc0x_ literal 0 HcmV?d00001 diff --git a/workspace/result_11_06__18_23_33/ofdm_n100_s3.0_e0_i200.pcap b/workspace/result_11_06__18_23_33/ofdm_n100_s3.0_e0_i200.pcap new file mode 100644 index 0000000000000000000000000000000000000000..59aa9dae0d615c3adb5a02dbb575993566e75237 GIT binary patch literal 3336 zcmb8xO(=tL90&0K9>ZiY+kxe!M^d8nC~joopmtda#pNMR)+`4Ol$E=7;-bvaMN;xo z<6&OreZ|2^J1W#9iOc++Nj?95r|-YEJ-dARet*CJ;dw}GttrAT{!cb5#610p>m385 z+r^@dp3RRCWg_IDALkZ*HJ01V=dRqT%bjfQxJ2)GFgU3WPEG~KYE5M4s02k+2{|C7 zHwb^NOeS|`GgXcBTt$leQFM`y_UCtN4Y5T)9Q)`>FYwZ0TZViIyjGr4ycpoqbcjS_e} zDTcgiaGi{VoSXN=0oQTmSudN340_=@Dnph!;5t4DNm7y_M;^MJ07F));F;(QY0%&s z8VrnCrL4+W&uu;W=QioeAz^S^|Ji}bJ$fb literal 0 HcmV?d00001 diff --git a/workspace/result_11_06__18_23_33/ofdm_n100_s3.0_e1_i200.pcap b/workspace/result_11_06__18_23_33/ofdm_n100_s3.0_e1_i200.pcap new file mode 100644 index 0000000000000000000000000000000000000000..596cc133ab79f3211cbd347b096c26a706406770 GIT binary patch literal 3681 zcmb8wPbhb6g-_6L&9rt zC8~rxP$h|JxUou_abtDlECe^!DIt%9xI%Cx>kPTxgc}=W$iglhC&rM96L>lo5~5O1 zR=40dipe;gCqjl+;2Y4zkc|jD9XCU?B;42lLy`%&u|WxWrkBeQ#<6Ot#5i1gsAfzSd?-dHXM(qqq9KwxtGUVn2 zZmdf}UMbGyGh9iKAw3#AoiIbJ%{F*rCFG6b^j^VnVhpMLg5#(Rnazf8Kw&m+Y?9(E z-@tL~49UyQL>ud3h^-!u<7UWk4Lo9xguGKvs>~T^oFGH|jc_IF67oTn{D^e4k|;wW zHE?593HhW-=F8!SlCT(;O-J^M;W!FIEDm@&c7}ZR!W-+9kS~fekPr97&5*7-I8J~e bt?h7}poDx=oSAAkj>?e2Za9vTVce5nKC-@5 literal 0 HcmV?d00001 diff --git a/workspace/result_11_06__18_23_33/ofdm_n100_s3.0_e2_i200.pcap b/workspace/result_11_06__18_23_33/ofdm_n100_s3.0_e2_i200.pcap new file mode 100644 index 0000000000000000000000000000000000000000..2cd65f5d211d6e764e25ca2a0579239864fd2e09 GIT binary patch literal 783 zcmca|c+)~A1{MYw`2U}Qp&rN)OSBF9JdvHj6vzf)1_nWfJPsfwu?a|Mi8F%OPGF!6 z2LHi8fx#m+CnsMaJijO>MG<63%|b3x4KYA5L>y?ytvW_h4GF+7vR66+Zx$Ib@~L(Uu`**gM^ R$cYW)l2!Le_KpFHApnKa#R32T literal 0 HcmV?d00001 diff --git a/workspace/result_11_06__18_26_13/n10_s1.0_e0_i200.log b/workspace/result_11_06__18_26_13/n10_s1.0_e0_i200.log new file mode 100644 index 0000000..e69de29 diff --git a/workspace/result_11_06__18_26_13/ofdm_n10_s1.0_e0_i200.pcap b/workspace/result_11_06__18_26_13/ofdm_n10_s1.0_e0_i200.pcap new file mode 100644 index 0000000000000000000000000000000000000000..9c82de7d1b6f317aede2fb2b9157d6e2627d6f3a GIT binary patch literal 24 Ycmca|c+)~A1{MYw`2U}Qp&rNq08?89ZU6uP literal 0 HcmV?d00001 diff --git a/workspace/run b/workspace/run index 30641ef..1365e25 100755 --- a/workspace/run +++ b/workspace/run @@ -1,4 +1,7 @@ #!/bin/bash + +ntrials=3 + if [ $1 ] then result_dir=$1 @@ -11,12 +14,18 @@ mkdir -p $result_dir rm -rf $result_dir/* echo ">>> Storing results in ./$result_dir." +echo -for e in {0..3} +for e in {0..0} do - for s in `seq 1.0 2 16.0` + for s in `seq 1.0 2 10.0` do - make result=$result_dir n=10 c=1 s=$s o=0 e=$e i=200 + for t in `seq 1 1 $ntrials` + do + echo + echo ">>> >>> Running trial $t of $ntrials." + make result=$result_dir t=$t n=10 c=1 s=$s o=0 e=$e i=200 + done done done -./parse.py $result_dir +./parse.py $result_dir $ntrials diff --git a/workspace/temp/ofdm_t1_n10_s1.0_e0_i200.pcap b/workspace/temp/ofdm_t1_n10_s1.0_e0_i200.pcap new file mode 100644 index 0000000000000000000000000000000000000000..9c82de7d1b6f317aede2fb2b9157d6e2627d6f3a GIT binary patch literal 24 Ycmca|c+)~A1{MYw`2U}Qp&rNq08?89ZU6uP literal 0 HcmV?d00001 diff --git a/workspace/temp/ofdm_t1_n10_s3.0_e0_i200.pcap b/workspace/temp/ofdm_t1_n10_s3.0_e0_i200.pcap new file mode 100644 index 0000000000000000000000000000000000000000..8432bfa436f07432d5ccf6a30abc2d59b62b64dd GIT binary patch literal 507 zcmca|c+)~A1{MYw`2U}Qp&rO#%d-vZtz%>`1+qbyfkBWVj{`{YYyuKm;*21+6BsCi z!GACiVDL!I$;np;&o9bJQ3M%c(!)ZkAqp6V=+9**)er*=L-^Nlk!pwoh9SMXcu6%R b0L2h?V3^EXL9%xmFbr9+m1OTsKrsXWLaE^n)6vzf)1_nWfJPshmvk6FOi8F%OPGF!6 z2LHi;fx#m+CnsMaJijO>MG<7kluO*C8X|yU$jtkEq#B}tVu&2bJ8PIoHN*hJkOR9| zNj1a)!w_}S12zD|5SH5{2W$d{A)T*C4%h+|L*#)0>$jccfNj7qr1v7p0XqT35CFMB BvMT@p literal 0 HcmV?d00001 diff --git a/workspace/temp/ofdm_t1_n10_s9.0_e0_i200.pcap b/workspace/temp/ofdm_t1_n10_s9.0_e0_i200.pcap new file mode 100644 index 0000000000000000000000000000000000000000..c5453ebdefb79838529670354b854a6b3fdc0d37 GIT binary patch literal 714 zcmca|c+)~A1{MYw`2U}Qp&rQ5%(D%Pnaj>#3S@&Y1A`z#9tV)(*#soC#2G*$R6`6f3{k6N zA=MBE3`0!2NeYV}bIm5+Z3S@&Y1A`z#9tV)(*#soC#2GMSTg5-b=z%b;%9g+h!0mTq;V8BMLAUR+QFbt{ML2|%0U>Gv*D9Hgk0mTpi DoN}@` literal 0 HcmV?d00001 diff --git a/workspace/temp/ofdm_t2_n10_s7.0_e0_i200.pcap b/workspace/temp/ofdm_t2_n10_s7.0_e0_i200.pcap new file mode 100644 index 0000000000000000000000000000000000000000..ba81ca378781f56369a0b4af902e70d56af6d1e4 GIT binary patch literal 714 zcmca|c+)~A1{MYw`2U}Qp&rOl%(D&q*2uwN3S@&Y1A`z#9tV)(*#soC#2Goq%Ep E0L&tHx+UK literal 0 HcmV?d00001 diff --git a/workspace/temp/ofdm_t3_n10_s3.0_e0_i200.pcap b/workspace/temp/ofdm_t3_n10_s3.0_e0_i200.pcap new file mode 100644 index 0000000000000000000000000000000000000000..9bae1a3c903ee5803187a9ab68577595bdb79153 GIT binary patch literal 231 zcmca|c+)~A1{MYw`2U}Qp&rQL&9e==p3TEx3S@&Y1A`z#9tV)(*#soC#2Gkn}S2`))MF$4fJ=QoZ3 literal 0 HcmV?d00001 diff --git a/workspace/temp/ofdm_t3_n10_s5.0_e0_i200.pcap b/workspace/temp/ofdm_t3_n10_s5.0_e0_i200.pcap new file mode 100644 index 0000000000000000000000000000000000000000..03f20754a3bf54dac82dec9a0f370fda6cbb1b5e GIT binary patch literal 714 zcmca|c+)~A1{MYw`2U}Qp&rPQ%(D&q{(_Ui6vzf)1_nWfJPshmvk6FOi8F%OPGF!6 z2LHi;fx#m+CnsMaJijO>MG<7k`Byxo8X|yVh!oHemz@w-kl+#p3`4?CFq7&M0}Ml| zuCtM9hy#Wpg0Dyp*Z>Se3cryYun8!JNCN{_{V>S^TYzB*<0X;;x1; E0CtnHTL1t6 literal 0 HcmV?d00001 diff --git a/workspace/temp/ofdm_t3_n10_s7.0_e0_i200.pcap b/workspace/temp/ofdm_t3_n10_s7.0_e0_i200.pcap new file mode 100644 index 0000000000000000000000000000000000000000..8d7126510ac63a4ae6bef441821715318eac10a7 GIT binary patch literal 714 zcmca|c+)~A1{MYw`2U}Qp&rOl&9e=g(8kVS3S@&Y1A`z#9tV)(*#soC#2G2y-Avs_ZFbw%Mi{yYUKruue7_dD>BnNB*h9MEnBnRvS6hi=k CZ?J3t literal 0 HcmV?d00001 diff --git a/workspace/temp/ofdm_t3_n10_s9.0_e0_i200.pcap b/workspace/temp/ofdm_t3_n10_s9.0_e0_i200.pcap new file mode 100644 index 0000000000000000000000000000000000000000..9b99b15bd70da50c4ac8bc6a52f5a28995aa506c GIT binary patch literal 714 zcmca|c+)~A1{MYw`2U}Qp&rOF%(D%fJ)f1q6vzf)1_nWfJPshmvk6FOi8F%OPGF!6 z2LHi;fx#m+CnsMaJijO>MG<7kmt`EJ8X|yU$bt3Tq#B}tVMx#cK2i-aKrzG!=pE}G zCQ=P?z%b;@Jdy)80K*W8H6#aY0)`=0`$!Jh0t`cxuaO+E4Jd{f0|VA{KFI+)0mTpi D*Kn~U literal 0 HcmV?d00001 diff --git a/workspace/temp/plot.png b/workspace/temp/plot.png new file mode 100644 index 0000000000000000000000000000000000000000..a1efd3131ba2a5e090c45ada89a172826746f412 GIT binary patch literal 3273 zcmeAS@N?(olHy`uVBq!ia0y~yU{+vYV2a>i1B%QlYbpRzEX7WqAsj$Z!;#Vf4nJ@F#*W;|lxbnG6g(*`6+rAr*7pUN>Z9P~bUWaA5!Qhl^xXxPFzLKcmCI&~Ttq z7O3^l;RYZn$;`ySkix^kz%ap3fq}u{*r?!WfQ%-F(Tp%!GK`jrqcy^4Z8%yRj@E{w hwc%)Oh`lz{dl}BLCe3Z5DX=TS;OXk;vd$@?2>=9N;%oo_ literal 0 HcmV?d00001 diff --git a/workspace/temp/t1_n10_s1.0_e0_i200.log b/workspace/temp/t1_n10_s1.0_e0_i200.log new file mode 100644 index 0000000..e69de29 diff --git a/workspace/temp/t1_n10_s3.0_e0_i200.log b/workspace/temp/t1_n10_s3.0_e0_i200.log new file mode 100644 index 0000000..c55c289 --- /dev/null +++ b/workspace/temp/t1_n10_s3.0_e0_i200.log @@ -0,0 +1,7 @@ + 1 0.000000 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 2 0.200103 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 3 0.401058 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 4 0.601474 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 5 0.801792 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 6 1.403985 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 7 1.603923 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response diff --git a/workspace/temp/t1_n10_s5.0_e0_i200.log b/workspace/temp/t1_n10_s5.0_e0_i200.log new file mode 100644 index 0000000..b72abdf --- /dev/null +++ b/workspace/temp/t1_n10_s5.0_e0_i200.log @@ -0,0 +1,10 @@ + 1 0.000000 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 2 0.196848 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 3 0.396943 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 4 0.598886 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 5 0.800263 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 6 1.004287 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 7 1.202008 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 8 1.402387 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 9 1.603159 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 10 1.803635 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response diff --git a/workspace/temp/t1_n10_s7.0_e0_i200.log b/workspace/temp/t1_n10_s7.0_e0_i200.log new file mode 100644 index 0000000..d705aff --- /dev/null +++ b/workspace/temp/t1_n10_s7.0_e0_i200.log @@ -0,0 +1,10 @@ + 1 0.000000 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 2 0.197604 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 3 0.397545 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 4 0.598080 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 5 0.798288 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 6 0.999863 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 7 1.199764 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 8 1.400345 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 9 1.600798 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 10 1.804125 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response diff --git a/workspace/temp/t1_n10_s9.0_e0_i200.log b/workspace/temp/t1_n10_s9.0_e0_i200.log new file mode 100644 index 0000000..9e6edfc --- /dev/null +++ b/workspace/temp/t1_n10_s9.0_e0_i200.log @@ -0,0 +1,10 @@ + 1 0.000000 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 2 0.194485 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 3 0.394516 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 4 0.595770 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 5 0.795402 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 6 0.995353 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 7 1.196162 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 8 1.396947 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 9 1.597469 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 10 1.799082 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response diff --git a/workspace/temp/t2_n10_s1.0_e0_i200.log b/workspace/temp/t2_n10_s1.0_e0_i200.log new file mode 100644 index 0000000..e69de29 diff --git a/workspace/temp/t2_n10_s3.0_e0_i200.log b/workspace/temp/t2_n10_s3.0_e0_i200.log new file mode 100644 index 0000000..9fd911c --- /dev/null +++ b/workspace/temp/t2_n10_s3.0_e0_i200.log @@ -0,0 +1,7 @@ + 1 0.000000 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 2 0.198189 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 3 0.600105 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 4 0.801267 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 5 1.002216 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 6 1.202105 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 7 1.404350 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response diff --git a/workspace/temp/t2_n10_s5.0_e0_i200.log b/workspace/temp/t2_n10_s5.0_e0_i200.log new file mode 100644 index 0000000..17121e2 --- /dev/null +++ b/workspace/temp/t2_n10_s5.0_e0_i200.log @@ -0,0 +1,10 @@ + 1 0.000000 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 2 0.197739 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 3 0.398757 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 4 0.599049 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 5 0.798477 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 6 0.998967 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 7 1.200756 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 8 1.400910 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 9 1.601646 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 10 1.801618 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response diff --git a/workspace/temp/t2_n10_s7.0_e0_i200.log b/workspace/temp/t2_n10_s7.0_e0_i200.log new file mode 100644 index 0000000..9021e49 --- /dev/null +++ b/workspace/temp/t2_n10_s7.0_e0_i200.log @@ -0,0 +1,10 @@ + 1 0.000000 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 2 0.196757 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 3 0.396891 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 4 0.598621 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 5 0.798138 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 6 0.998740 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 7 1.198333 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 8 1.398526 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 9 1.599641 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 10 1.800784 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response diff --git a/workspace/temp/t2_n10_s9.0_e0_i200.log b/workspace/temp/t2_n10_s9.0_e0_i200.log new file mode 100644 index 0000000..ee0a0ef --- /dev/null +++ b/workspace/temp/t2_n10_s9.0_e0_i200.log @@ -0,0 +1,10 @@ + 1 0.000000 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 2 0.199280 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 3 0.399189 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 4 0.599032 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 5 0.801261 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 6 1.001054 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 7 1.200619 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 8 1.401371 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 9 1.602194 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 10 1.802983 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response diff --git a/workspace/temp/t3_n10_s1.0_e0_i200.log b/workspace/temp/t3_n10_s1.0_e0_i200.log new file mode 100644 index 0000000..8a1f40e --- /dev/null +++ b/workspace/temp/t3_n10_s1.0_e0_i200.log @@ -0,0 +1 @@ + 1 0.000000 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response diff --git a/workspace/temp/t3_n10_s3.0_e0_i200.log b/workspace/temp/t3_n10_s3.0_e0_i200.log new file mode 100644 index 0000000..5e69906 --- /dev/null +++ b/workspace/temp/t3_n10_s3.0_e0_i200.log @@ -0,0 +1,3 @@ + 1 0.000000 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 2 0.998518 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 3 1.206310 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response diff --git a/workspace/temp/t3_n10_s5.0_e0_i200.log b/workspace/temp/t3_n10_s5.0_e0_i200.log new file mode 100644 index 0000000..78bd777 --- /dev/null +++ b/workspace/temp/t3_n10_s5.0_e0_i200.log @@ -0,0 +1,10 @@ + 1 0.000000 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 2 0.197080 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 3 0.397965 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 4 0.598432 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 5 0.798915 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 6 1.000282 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 7 1.200058 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 8 1.400496 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 9 1.600906 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 10 1.800908 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response diff --git a/workspace/temp/t3_n10_s7.0_e0_i200.log b/workspace/temp/t3_n10_s7.0_e0_i200.log new file mode 100644 index 0000000..699b8f4 --- /dev/null +++ b/workspace/temp/t3_n10_s7.0_e0_i200.log @@ -0,0 +1,10 @@ + 1 0.000000 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 2 0.195165 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 3 0.395094 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 4 0.596681 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 5 0.796858 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 6 0.996674 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 7 1.198238 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 8 1.398442 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 9 1.601660 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 10 1.802568 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response diff --git a/workspace/temp/t3_n10_s9.0_e0_i200.log b/workspace/temp/t3_n10_s9.0_e0_i200.log new file mode 100644 index 0000000..18b2b82 --- /dev/null +++ b/workspace/temp/t3_n10_s9.0_e0_i200.log @@ -0,0 +1,10 @@ + 1 0.000000 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 2 0.198489 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 3 0.397349 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 4 0.598199 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 5 0.798432 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 6 0.999793 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 7 1.199805 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 8 1.401055 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 9 1.603784 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response + 10 1.803290 23:23:23:23:23:23 -> 42:42:42:42:42:42 LLC 53 I, N(R)=54, N(S)=54; DSAP 0x48 Individual, SSAP 0x64 Response diff --git a/workspace/wifi_loopback_noGUI.grc b/workspace/wifi_loopback_noGUI.grc index 57115f3..0918ff4 100644 --- a/workspace/wifi_loopback_noGUI.grc +++ b/workspace/wifi_loopback_noGUI.grc @@ -89,7 +89,7 @@ _coordinate - (192, 11) + (96, 83) _rotation @@ -128,7 +128,7 @@ file - " + resultdir + "/ofdm_n" + str(nmessages) + "_s" + str(snr) + "_e" + str(encoding) + "_i" + str(interval) + ".pcap + " + resultdir + "/ofdm_t" + str(ntrials) + "_n" + str(nmessages) + "_s" + str(snr) + "_e" + str(encoding) + "_i" + str(interval) + ".pcap _coordinate @@ -486,7 +486,7 @@ Else: 0 _coordinate - (64, 131) + (64, 147) _rotation @@ -787,6 +787,49 @@ Max: 1500 50 + + parameter + + alias + + + + comment + + + + _enabled + True + + + _coordinate + (208, 11) + + + _rotation + 0 + + + id + ntrials + + + label + + + + short_id + t + + + type + intx + + + value + 0 + + parameter diff --git a/workspace/wifi_loopback_noGUI.py b/workspace/wifi_loopback_noGUI.py index 1b5ff10..337974f 100755 --- a/workspace/wifi_loopback_noGUI.py +++ b/workspace/wifi_loopback_noGUI.py @@ -3,7 +3,7 @@ ################################################## # GNU Radio Python Flow Graph # Title: Wifi Loopback Nogui -# Generated: Thu Nov 5 12:54:44 2015 +# Generated: Fri Nov 6 18:30:18 2015 ################################################## import os @@ -26,7 +26,7 @@ import pmt class wifi_loopback_noGUI(gr.top_block): - def __init__(self, chan_est=1, encoding=0, freq_offset=0, interval=500, nmessages=50, resultdir="0", snr=10): + def __init__(self, chan_est=1, encoding=0, freq_offset=0, interval=500, nmessages=50, ntrials=0, resultdir="0", snr=10): gr.top_block.__init__(self, "Wifi Loopback Nogui") ################################################## @@ -37,6 +37,7 @@ class wifi_loopback_noGUI(gr.top_block): self.freq_offset = freq_offset self.interval = interval self.nmessages = nmessages + self.ntrials = ntrials self.resultdir = resultdir self.snr = snr @@ -67,7 +68,7 @@ class wifi_loopback_noGUI(gr.top_block): ) self.blocks_null_sink_0 = blocks.null_sink(gr.sizeof_gr_complex*1) self.blocks_multiply_const_vxx_0 = blocks.multiply_const_vcc(((10**(snr/10.0))**.5, )) - self.blocks_file_sink_0_0 = blocks.file_sink(gr.sizeof_char*1, "" + resultdir + "/ofdm_n" + str(nmessages) + "_s" + str(snr) + "_e" + str(encoding) + "_i" + str(interval) + ".pcap", False) + self.blocks_file_sink_0_0 = blocks.file_sink(gr.sizeof_char*1, "" + resultdir + "/ofdm_t" + str(ntrials) + "_n" + str(nmessages) + "_s" + str(snr) + "_e" + str(encoding) + "_i" + str(interval) + ".pcap", False) self.blocks_file_sink_0_0.set_unbuffered(True) ################################################## @@ -97,7 +98,7 @@ class wifi_loopback_noGUI(gr.top_block): def set_encoding(self, encoding): self.encoding = encoding self.wifi_phy_hier_0.set_encoding(self.encoding) - self.blocks_file_sink_0_0.open("" + self.resultdir + "/ofdm_n" + str(self.nmessages) + "_s" + str(self.snr) + "_e" + str(self.encoding) + "_i" + str(self.interval) + ".pcap") + self.blocks_file_sink_0_0.open("" + self.resultdir + "/ofdm_t" + str(self.ntrials) + "_n" + str(self.nmessages) + "_s" + str(self.snr) + "_e" + str(self.encoding) + "_i" + str(self.interval) + ".pcap") def get_freq_offset(self): return self.freq_offset @@ -111,21 +112,28 @@ class wifi_loopback_noGUI(gr.top_block): def set_interval(self, interval): self.interval = interval - self.blocks_file_sink_0_0.open("" + self.resultdir + "/ofdm_n" + str(self.nmessages) + "_s" + str(self.snr) + "_e" + str(self.encoding) + "_i" + str(self.interval) + ".pcap") + self.blocks_file_sink_0_0.open("" + self.resultdir + "/ofdm_t" + str(self.ntrials) + "_n" + str(self.nmessages) + "_s" + str(self.snr) + "_e" + str(self.encoding) + "_i" + str(self.interval) + ".pcap") def get_nmessages(self): return self.nmessages def set_nmessages(self, nmessages): self.nmessages = nmessages - self.blocks_file_sink_0_0.open("" + self.resultdir + "/ofdm_n" + str(self.nmessages) + "_s" + str(self.snr) + "_e" + str(self.encoding) + "_i" + str(self.interval) + ".pcap") + self.blocks_file_sink_0_0.open("" + self.resultdir + "/ofdm_t" + str(self.ntrials) + "_n" + str(self.nmessages) + "_s" + str(self.snr) + "_e" + str(self.encoding) + "_i" + str(self.interval) + ".pcap") + + def get_ntrials(self): + return self.ntrials + + def set_ntrials(self, ntrials): + self.ntrials = ntrials + self.blocks_file_sink_0_0.open("" + self.resultdir + "/ofdm_t" + str(self.ntrials) + "_n" + str(self.nmessages) + "_s" + str(self.snr) + "_e" + str(self.encoding) + "_i" + str(self.interval) + ".pcap") def get_resultdir(self): return self.resultdir def set_resultdir(self, resultdir): self.resultdir = resultdir - self.blocks_file_sink_0_0.open("" + self.resultdir + "/ofdm_n" + str(self.nmessages) + "_s" + str(self.snr) + "_e" + str(self.encoding) + "_i" + str(self.interval) + ".pcap") + self.blocks_file_sink_0_0.open("" + self.resultdir + "/ofdm_t" + str(self.ntrials) + "_n" + str(self.nmessages) + "_s" + str(self.snr) + "_e" + str(self.encoding) + "_i" + str(self.interval) + ".pcap") def get_snr(self): return self.snr @@ -133,7 +141,7 @@ class wifi_loopback_noGUI(gr.top_block): def set_snr(self, snr): self.snr = snr self.blocks_multiply_const_vxx_0.set_k(((10**(self.snr/10.0))**.5, )) - self.blocks_file_sink_0_0.open("" + self.resultdir + "/ofdm_n" + str(self.nmessages) + "_s" + str(self.snr) + "_e" + str(self.encoding) + "_i" + str(self.interval) + ".pcap") + self.blocks_file_sink_0_0.open("" + self.resultdir + "/ofdm_t" + str(self.ntrials) + "_n" + str(self.nmessages) + "_s" + str(self.snr) + "_e" + str(self.encoding) + "_i" + str(self.interval) + ".pcap") def get_out_buf_size(self): return self.out_buf_size @@ -159,6 +167,9 @@ def argument_parser(): parser.add_option( "-n", "--nmessages", dest="nmessages", type="intx", default=50, help="Set nmessages [default=%default]") + parser.add_option( + "-t", "--ntrials", dest="ntrials", type="intx", default=0, + help="Set ntrials [default=%default]") parser.add_option( "-r", "--resultdir", dest="resultdir", type="string", default="0", help="Set resultdir [default=%default]") @@ -172,7 +183,7 @@ def main(top_block_cls=wifi_loopback_noGUI, options=None): if options is None: options, _ = argument_parser().parse_args() - tb = top_block_cls(chan_est=options.chan_est, encoding=options.encoding, freq_offset=options.freq_offset, interval=options.interval, nmessages=options.nmessages, resultdir=options.resultdir, snr=options.snr) + tb = top_block_cls(chan_est=options.chan_est, encoding=options.encoding, freq_offset=options.freq_offset, interval=options.interval, nmessages=options.nmessages, ntrials=options.ntrials, resultdir=options.resultdir, snr=options.snr) tb.start() tb.wait()