diff --git a/examples/wifi_loopback.grc b/examples/wifi_loopback.grc index a994e13..c95b6f8 100644 --- a/examples/wifi_loopback.grc +++ b/examples/wifi_loopback.grc @@ -1,4 +1,5 @@ + Sat Feb 1 18:28:19 2014 @@ -51,6 +52,10 @@ realtime_scheduling + + alias + + _coordinate (7, 4) @@ -74,6 +79,10 @@ value 20000000 + + alias + + _coordinate (179, 4) @@ -125,6 +134,10 @@ notebook + + alias + + _coordinate (1067, 10) @@ -148,6 +161,10 @@ import import math + + alias + + _coordinate (422, 11) @@ -157,338 +174,6 @@ 0 - - variable_static_text - - id - snr - - - _enabled - True - - - label - SNR - - - value - str(10 * math.log(signal_power/noise_power)) + "dB" - - - converver - str_converter - - - formatter - None - - - grid_pos - - - - notebook - - - - _coordinate - (515, 8) - - - _rotation - 0 - - - - blocks_file_sink - - id - blocks_file_sink_0 - - - _enabled - False - - - file - /tmp/ofdm.bin - - - type - byte - - - vlen - 1 - - - unbuffered - True - - - append - False - - - affinity - - - - _coordinate - (863, 161) - - - _rotation - 0 - - - - ieee802_11_ofdm_mac - - id - ieee802_11_ofdm_mac_0 - - - _enabled - True - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - _coordinate - (374, 147) - - - _rotation - 0 - - - - analog_sig_source_x - - id - analog_sig_source_x_0 - - - _enabled - True - - - type - complex - - - samp_rate - samp_rate - - - waveform - analog.GR_COS_WAVE - - - freq - freq_offset - - - amp - 1 - - - offset - 0 - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - _coordinate - (338, 548) - - - _rotation - 0 - - - - foo_wireshark_connector - - id - foo_wireshark_connector_0 - - - _enabled - False - - - tech - 127 - - - debug - False - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - _coordinate - (628, 169) - - - _rotation - 0 - - - - ieee802_11_ofdm_parse_mac - - id - ieee802_11_ofdm_parse_mac_0 - - - _enabled - True - - - log - False - - - debug - True - - - affinity - - - - _coordinate - (110, 251) - - - _rotation - 180 - - - - analog_noise_source_x - - id - analog_noise_source_x_0 - - - _enabled - True - - - type - complex - - - noise_type - analog.GR_GAUSSIAN - - - amp - (noise_power/2.0)**0.5 - - - seed - 0 - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - _coordinate - (865, 260) - - - _rotation - 180 - - - - blocks_multiply_const_vxx - - id - blocks_multiply_const_vxx_0 - - - _enabled - True - - - type - complex - - - const - signal_power**.5 - - - vlen - 1 - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - _coordinate - (696, 452) - - - _rotation - 0 - - variable_slider @@ -535,6 +220,10 @@ notebook + + alias + + _coordinate (693, 7) @@ -544,131 +233,6 @@ 0 - - blocks_message_strobe - - id - blocks_message_strobe_0 - - - _enabled - True - - - msg - pmt.intern("Hello World!") - - - period - 300 - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - _coordinate - (92, 135) - - - _rotation - 0 - - - - blocks_add_xx - - id - blocks_add_xx_0 - - - _enabled - True - - - type - complex - - - num_inputs - 2 - - - vlen - 1 - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - _coordinate - (581, 279) - - - _rotation - 180 - - - - blocks_multiply_xx - - id - blocks_multiply_xx_0 - - - _enabled - True - - - type - complex - - - num_inputs - 2 - - - vlen - 1 - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - _coordinate - (544, 440) - - - _rotation - 0 - - variable_slider @@ -715,6 +279,10 @@ notebook + + alias + + _coordinate (947, 7) @@ -724,6 +292,468 @@ 0 + + blocks_add_xx + + id + blocks_add_xx_0 + + + _enabled + True + + + type + complex + + + num_inputs + 2 + + + vlen + 1 + + + alias + + + + affinity + + + + minoutbuf + 0 + + + maxoutbuf + 0 + + + _coordinate + (592, 280) + + + _rotation + 180 + + + + wifi_phy_hier + + id + wifi_phy_hier_0 + + + _enabled + True + + + encoding + encoding + + + alias + + + + affinity + + + + minoutbuf + 0 + + + maxoutbuf + 0 + + + _coordinate + (384, 264) + + + _rotation + 180 + + + + ieee802_11_ofdm_mac + + id + ieee802_11_ofdm_mac_0 + + + _enabled + True + + + src_mac + [0x23, 0x23, 0x23, 0x23, 0x23, 0x23] + + + dst_mac + [0x42, 0x42, 0x42, 0x42, 0x42, 0x42] + + + bss_mac + [0xff, 0xff, 0xff, 0xff, 0xff, 0xff] + + + alias + + + + affinity + + + + minoutbuf + 0 + + + maxoutbuf + 0 + + + _coordinate + (376, 139) + + + _rotation + 0 + + + + blocks_message_strobe + + id + blocks_message_strobe_0 + + + _enabled + True + + + msg + pmt.intern("Hello World!") + + + period + 300 + + + alias + + + + affinity + + + + minoutbuf + 0 + + + maxoutbuf + 0 + + + _coordinate + (96, 131) + + + _rotation + 0 + + + + ieee802_11_ofdm_parse_mac + + id + ieee802_11_ofdm_parse_mac_0 + + + _enabled + True + + + log + True + + + debug + True + + + alias + + + + affinity + + + + _coordinate + (104, 251) + + + _rotation + 180 + + + + foo_wireshark_connector + + id + foo_wireshark_connector_0 + + + _enabled + False + + + tech + 127 + + + debug + False + + + alias + + + + affinity + + + + minoutbuf + 0 + + + maxoutbuf + 0 + + + _coordinate + (632, 163) + + + _rotation + 0 + + + + blocks_file_sink + + id + blocks_file_sink_0 + + + _enabled + False + + + file + /tmp/ofdm.bin + + + type + byte + + + vlen + 1 + + + unbuffered + True + + + append + False + + + alias + + + + affinity + + + + _coordinate + (848, 155) + + + _rotation + 0 + + + + blocks_multiply_xx + + id + blocks_multiply_xx_0 + + + _enabled + True + + + type + complex + + + num_inputs + 2 + + + vlen + 1 + + + alias + + + + affinity + + + + minoutbuf + 0 + + + maxoutbuf + 0 + + + _coordinate + (544, 432) + + + _rotation + 0 + + + + foo_packet_pad2 + + id + foo_packet_pad2_0 + + + _enabled + True + + + debug + False + + + delay + False + + + delay_sec + 0.001 + + + pad_front + 10000 + + + pad_tail + 10000 + + + alias + + + + affinity + + + + minoutbuf + 48000 + + + maxoutbuf + 0 + + + _coordinate + (320, 395) + + + _rotation + 0 + + + + analog_sig_source_x + + id + analog_sig_source_x_0 + + + _enabled + True + + + type + complex + + + samp_rate + samp_rate + + + waveform + analog.GR_COS_WAVE + + + freq + freq_offset + + + amp + 1 + + + offset + 0 + + + alias + + + + affinity + + + + minoutbuf + 0 + + + maxoutbuf + 0 + + + _coordinate + (328, 539) + + + _rotation + 0 + + variable_slider @@ -770,6 +800,10 @@ notebook + + alias + + _coordinate (814, 8) @@ -780,18 +814,81 @@ - wifi_phy_hier + variable_static_text id - wifi_phy_hier_0 + snr _enabled True - encoding - encoding + label + SNR + + + value + str(10 * math.log10(signal_power/noise_power)) + "dB" + + + converver + str_converter + + + formatter + None + + + grid_pos + + + + notebook + + + + alias + + + + _coordinate + (515, 8) + + + _rotation + 0 + + + + analog_noise_source_x + + id + analog_noise_source_x_0 + + + _enabled + True + + + type + complex + + + noise_type + analog.GR_GAUSSIAN + + + amp + (noise_power/2.0)**0.5 + + + seed + 0 + + + alias + affinity @@ -807,7 +904,7 @@ _coordinate - (360, 262) + (856, 259) _rotation @@ -815,34 +912,30 @@ - foo_packet_pad2 + blocks_multiply_const_vxx id - foo_packet_pad2_0 + blocks_multiply_const_vxx_0 _enabled True - debug - False + type + complex - delay - False + const + signal_power**.5 - delay_sec - 0.001 + vlen + 1 - pad_front - 10000 - - - pad_tail - 10000 + alias + affinity @@ -850,7 +943,7 @@ minoutbuf - 48000 + 0 maxoutbuf @@ -858,7 +951,7 @@ _coordinate - (315, 404) + (696, 443) _rotation