diff --git a/utils/simulations/awgn/sim.grc b/utils/simulations/awgn/sim.grc
index 090dead..cb56930 100644
--- a/utils/simulations/awgn/sim.grc
+++ b/utils/simulations/awgn/sim.grc
@@ -42,7 +42,7 @@
id
- wifi_loopback_noGUI
+ sim
max_nouts
@@ -89,7 +89,7 @@
_coordinate
- (96, 83)
+ (88, 67)
_rotation
@@ -128,15 +128,15 @@
file
- " + resultdir + "/ofdm_" + str(ntrials) + "_" + str(nmessages) + "_" + str(snr) + "_" + str(encoding) + "_" + str(interval) + ".pcap
+ " + os.path.dirname(os.path.realpath(__file__)) + "/results/sim_%d_%d_%.1f_.pcap" % (repetition, encoding, snr) + "
_coordinate
- (64, 331)
+ (40, 269)
_rotation
- 0
+ 180
id
@@ -167,7 +167,7 @@
const
- ((10**(snr/10.0))**0.5)/(2**0.5)
+ (10**(snr/10.0))**.5
affinity
@@ -179,7 +179,7 @@
_coordinate
- (440, 427)
+ (512, 414)
_rotation
@@ -230,7 +230,7 @@
_coordinate
- (272, 313)
+ (360, 310)
_rotation
@@ -253,50 +253,6 @@
1
-
- parameter
-
- alias
-
-
-
- comment
- Default: 1
-Else: 0
-
-
- _enabled
- True
-
-
- _coordinate
- (480, 11)
-
-
- _rotation
- 0
-
-
- id
- chan_est
-
-
- label
-
-
-
- short_id
- c
-
-
- type
- intx
-
-
- value
- 1
-
-
channels_channel_model
@@ -325,11 +281,11 @@ Else: 0
freq_offset
- freq_offset
+ 0
_coordinate
- (664, 395)
+ (672, 395)
_rotation
@@ -349,11 +305,11 @@ Else: 0
noise_voltage
- .5**.5
+ 1
seed
- 0
+ repetition
taps
@@ -368,7 +324,8 @@ Else: 0
comment
- 0, 1, ..., 6, 7
+ 0, 1, ..., 6, 7
+corresponds to BPSK 1/2, ..., 64-QAM 3/4
_enabled
@@ -376,7 +333,7 @@ Else: 0
_coordinate
- (760, 11)
+ (776, 8)
_rotation
@@ -435,7 +392,7 @@ Else: 0
_coordinate
- (272, 395)
+ (360, 395)
_rotation
@@ -486,7 +443,7 @@ Else: 0
_coordinate
- (64, 147)
+ (264, 132)
_rotation
@@ -502,7 +459,7 @@ Else: 0
msg
- pmt.intern("Hello World!")
+ pmt.intern("".join([chr(random.randint(0,255)) for x in (lambda: (random.seed(repetition) == None) and range(pdu_len-24))()]))
minoutbuf
@@ -510,7 +467,7 @@ Else: 0
num
- nmessages
+ messages
interval
@@ -545,7 +502,7 @@ Else: 0
_coordinate
- (96, 259)
+ (200, 275)
_rotation
@@ -568,52 +525,6 @@ Else: 0
127
-
- parameter
-
- alias
-
-
-
- comment
- A float.
-Default: 0
-Min: -0.1
-Max: 0.1
-
-
- _enabled
- True
-
-
- _coordinate
- (664, 11)
-
-
- _rotation
- 0
-
-
- id
- freq_offset
-
-
- label
-
-
-
- short_id
- o
-
-
- type
- eng_float
-
-
- value
- 0
-
-
ieee802_11_ofdm_mac
@@ -642,7 +553,7 @@ Max: 0.1
_coordinate
- (416, 163)
+ (496, 158)
_rotation
@@ -681,7 +592,7 @@ Max: 0.1
_coordinate
- (8, 83)
+ (8, 104)
_rotation
@@ -697,17 +608,14 @@ Max: 0.1
- parameter
+ import
alias
comment
- PDU Interval (ms).
-Default: 100
-Min: 10
-Max: 1000
+
_enabled
@@ -715,7 +623,38 @@ Max: 1000
_coordinate
- (848, 11)
+ (8, 64)
+
+
+ _rotation
+ 0
+
+
+ id
+ import_1
+
+
+ import
+ import random
+
+
+
+ parameter
+
+ alias
+
+
+
+ comment
+ message generation interval (in ms)
+
+
+ _enabled
+ True
+
+
+ _coordinate
+ (600, 13)
_rotation
@@ -731,7 +670,7 @@ Max: 1000
short_id
- i
+
type
@@ -739,7 +678,7 @@ Max: 1000
value
- 500
+ 200
@@ -750,9 +689,7 @@ Max: 1000
comment
- An integer.
-Min: 0
-Max: 1500
+ Number of messages to generate
_enabled
@@ -760,7 +697,7 @@ Max: 1500
_coordinate
- (384, 11)
+ (336, 8)
_rotation
@@ -768,7 +705,7 @@ Max: 1500
id
- nmessages
+ messages
label
@@ -784,7 +721,7 @@ Max: 1500
value
- 50
+ 10
@@ -795,7 +732,7 @@ Max: 1500
comment
-
+ Packet size (in byte)
_enabled
@@ -803,7 +740,7 @@ Max: 1500
_coordinate
- (208, 11)
+ (776, 125)
_rotation
@@ -811,7 +748,7 @@ Max: 1500
id
- ntrials
+ pdu_len
label
@@ -819,7 +756,7 @@ Max: 1500
short_id
- t
+
type
@@ -827,7 +764,7 @@ Max: 1500
value
- 0
+ 435
@@ -838,7 +775,7 @@ Max: 1500
comment
-
+ Current repetition of experiment.
_enabled
@@ -846,7 +783,7 @@ Max: 1500
_coordinate
- (296, 11)
+ (176, 13)
_rotation
@@ -854,7 +791,7 @@ Max: 1500
id
- resultdir
+ repetition
label
@@ -862,15 +799,15 @@ Max: 1500
short_id
- r
+
type
- string
+ intx
value
- 0
+ 23
@@ -881,10 +818,7 @@ Max: 1500
comment
- A float.
-Default: 10
-Min: -15
-Max: 30
+ Signal to Noise Ratio
_enabled
@@ -892,7 +826,7 @@ Max: 30
_coordinate
- (576, 11)
+ (480, 8)
_rotation
@@ -939,7 +873,7 @@ Max: 30
_coordinate
- (408, 281)
+ (496, 278)
_rotation
@@ -959,12 +893,16 @@ Max: 30
chan_est
- chan_est
+ 0
encoding
encoding
+
+ sensitivity
+ 0.56
+
blocks_multiply_const_vxx_0