From 4b264c1652fe028f5a23d40db40dac2f9192a07a Mon Sep 17 00:00:00 2001 From: Bastian Bloessl Date: Thu, 4 Apr 2013 10:34:21 +0200 Subject: [PATCH] add all channels to rx flow graph --- examples/ofdm_rx.grc | 762 +++++++++++++++++++++---------------------- 1 file changed, 381 insertions(+), 381 deletions(-) diff --git a/examples/ofdm_rx.grc b/examples/ofdm_rx.grc index 00202da..aaf6921 100644 --- a/examples/ofdm_rx.grc +++ b/examples/ofdm_rx.grc @@ -1,6 +1,6 @@ - Fri Mar 29 10:51:56 2013 + Thu Apr 4 09:07:45 2013 options @@ -60,6 +60,61 @@ 0 + + variable_slider + + id + gain + + + _enabled + True + + + label + + + + value + 30 + + + min + 0 + + + max + 100 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + _coordinate + (680, 26) + + + _rotation + 0 + + uhd_usrp_source @@ -839,6 +894,138 @@ 0 + + gr_file_sink + + id + gr_file_sink_0_1_0 + + + _enabled + False + + + file + /tmp/ofdm_sym.bin + + + type + complex + + + vlen + 1 + + + unbuffered + True + + + _coordinate + (1077, 661) + + + _rotation + 0 + + + + gr_vector_to_stream + + id + gr_vector_to_stream_0_0 + + + _enabled + False + + + type + complex + + + num_items + 48 + + + vlen + 1 + + + _coordinate + (863, 669) + + + _rotation + 0 + + + + gr_file_sink + + id + gr_file_sink_0_1 + + + _enabled + False + + + file + /tmp/ofdm_fft.bin + + + type + complex + + + vlen + 1 + + + unbuffered + True + + + _coordinate + (574, 663) + + + _rotation + 0 + + + + gr_vector_to_stream + + id + gr_vector_to_stream_0 + + + _enabled + False + + + type + complex + + + num_items + 64 + + + vlen + 1 + + + _coordinate + (365, 671) + + + _rotation + 0 + + fft_vxx @@ -882,6 +1069,41 @@ 0 + + gr_file_sink + + id + gr_file_sink_0 + + + _enabled + False + + + file + /tmp/ofdm_long.bin + + + type + complex + + + vlen + 1 + + + unbuffered + True + + + _coordinate + (770, 565) + + + _rotation + 0 + + gr_complex_to_mag_squared @@ -936,6 +1158,45 @@ 0 + + gr_tag_debug + + id + gr_tag_debug_0 + + + _enabled + False + + + type + complex + + + name + + + + num_inputs + 1 + + + vlen + 1 + + + display + True + + + _coordinate + (1088, 474) + + + _rotation + 0 + + gr_file_sink @@ -1017,6 +1278,57 @@ 0 + + variable_chooser + + id + samp_rate + + + _enabled + True + + + label + Sample Rate + + + value + 20e6 + + + choices + [10e6, 20e6] + + + labels + ["10 Mhz", "20 Mhz"] + + + type + radio_buttons + + + style + wx.RA_HORIZONTAL + + + grid_pos + + + + notebook + + + + _coordinate + (992, 24) + + + _rotation + 0 + + gr_divide_xx @@ -1098,6 +1410,37 @@ 0 + + ieee802_1_ofdm_sync_long + + id + ieee802_1_ofdm_sync_long_0 + + + _enabled + True + + + debug + False + + + sync_length + sync_length + + + freq_est + 100 + + + _coordinate + (568, 498) + + + _rotation + 0 + + gr_delay @@ -1169,10 +1512,10 @@ - ieee802_1_ofdm_sync_short + ieee802_1_ofdm_decode_mac id - ieee802_1_ofdm_sync_short_0 + ieee802_1_ofdm_decode_mac_0 _enabled @@ -1182,21 +1525,9 @@ debug False - - threshold - 0.8 - - - max_samples - 50 * 80 - - - min_plateau - 2 - _coordinate - (100, 473) + (1069, 729) _rotation @@ -1204,10 +1535,10 @@ - ieee802_1_ofdm_sync_long + ieee802_11_ofdm_parse_mac id - ieee802_1_ofdm_sync_long_0 + ieee802_11_ofdm_parse_mac_0 _enabled @@ -1215,23 +1546,15 @@ debug - False - - - sync_length - sync_length - - - freq_est - 100 + True _coordinate - (568, 498) + (1030, 857) _rotation - 0 + 180 @@ -1270,162 +1593,22 @@ - ieee802_1_ofdm_decode_mac + variable id - ieee802_1_ofdm_decode_mac_0 + window_size _enabled True - debug - False - - - _coordinate - (1075, 729) - - - _rotation - 0 - - - - gr_file_sink - - id - gr_file_sink_0_1 - - - _enabled - False - - - file - /tmp/ofdm_fft.bin - - - type - complex - - - vlen - 1 - - - unbuffered - True - - - _coordinate - (574, 663) - - - _rotation - 0 - - - - gr_vector_to_stream - - id - gr_vector_to_stream_0_0 - - - _enabled - False - - - type - complex - - - num_items + value 48 - - vlen - 1 - _coordinate - (863, 669) - - - _rotation - 0 - - - - gr_file_sink - - id - gr_file_sink_0_1_0 - - - _enabled - False - - - file - /tmp/ofdm_sym.bin - - - type - complex - - - vlen - 1 - - - unbuffered - True - - - _coordinate - (1084, 661) - - - _rotation - 0 - - - - gr_tag_debug - - id - gr_tag_debug_0 - - - _enabled - False - - - type - complex - - - name - - - - num_inputs - 1 - - - vlen - 1 - - - display - True - - - _coordinate - (1090, 493) + (562, 49) _rotation @@ -1444,11 +1627,11 @@ value - 240 + 320 - 64 _coordinate - (467, 32) + (459, 46) _rotation @@ -1456,77 +1639,34 @@ - variable_slider + ieee802_1_ofdm_sync_short id - gain + ieee802_1_ofdm_sync_short_0 _enabled True - label - + debug + False - value - 30 + threshold + 0.8 - min - 0 + max_samples + 80 * 80 - max - 100 - - - num_steps - 100 - - - style - wx.SL_HORIZONTAL - - - converver - float_converter - - - grid_pos - - - - notebook - + min_plateau + 2 _coordinate - (676, 16) - - - _rotation - 0 - - - - variable - - id - window_size - - - _enabled - True - - - value - 48 - - - _coordinate - (568, 32) + (100, 473) _rotation @@ -1553,15 +1693,15 @@ choices - [2412e6, 2417e6, 2422e6, 2427e6, 2432e6, 2437e6, 2442e6, 2447e6, 2452e6, 2457e6, 2462e6, 2467e6, 2472e6, 2484e6,5.18e9,5.22e9, 5.7e9,5.89e9,5.92e9] + [2412000000.0, 2417000000.0, 2422000000.0, 2427000000.0, 2432000000.0, 2437000000.0, 2442000000.0, 2447000000.0, 2452000000.0, 2457000000.0, 2462000000.0, 2467000000.0, 2472000000.0, 2484000000.0, 5170000000.0, 5180000000.0, 5190000000.0, 5200000000.0, 5210000000.0, 5220000000.0, 5230000000.0, 5240000000.0, 5260000000.0, 5280000000.0, 5300000000.0, 5320000000.0, 5500000000.0, 5520000000.0, 5540000000.0, 5560000000.0, 5580000000.0, 5600000000.0, 5620000000.0, 5640000000.0, 5660000000.0, 5680000000.0, 5700000000.0, 5745000000.0, 5765000000.0, 5785000000.0, 5805000000.0, 5825000000.0, 5860000000.0, 5870000000.0, 5880000000.0, 5890000000.0, 5900000000.0, 5910000000.0, 5920000000.0] labels - [1,2,3,4,5,6,7,8,9,10,11,12,13,14,36,44,140,178,184] + [' 1 | 2412.0 | 11g', ' 2 | 2417.0 | 11g', ' 3 | 2422.0 | 11g', ' 4 | 2427.0 | 11g', ' 5 | 2432.0 | 11g', ' 6 | 2437.0 | 11g', ' 7 | 2442.0 | 11g', ' 8 | 2447.0 | 11g', ' 9 | 2452.0 | 11g', ' 10 | 2457.0 | 11g', ' 11 | 2462.0 | 11g', ' 12 | 2467.0 | 11g', ' 13 | 2472.0 | 11g', ' 14 | 2484.0 | 11g', ' 34 | 5170.0 | 11a', ' 36 | 5180.0 | 11a', ' 38 | 5190.0 | 11a', ' 40 | 5200.0 | 11a', ' 42 | 5210.0 | 11a', ' 44 | 5220.0 | 11a', ' 46 | 5230.0 | 11a', ' 48 | 5240.0 | 11a', ' 52 | 5260.0 | 11a', ' 56 | 5280.0 | 11a', ' 58 | 5300.0 | 11a', ' 60 | 5320.0 | 11a', '100 | 5500.0 | 11a', '104 | 5520.0 | 11a', '108 | 5540.0 | 11a', '112 | 5560.0 | 11a', '116 | 5580.0 | 11a', '120 | 5600.0 | 11a', '124 | 5620.0 | 11a', '128 | 5640.0 | 11a', '132 | 5660.0 | 11a', '136 | 5680.0 | 11a', '140 | 5700.0 | 11a', '149 | 5745.0 | 11a', '153 | 5765.0 | 11a', '157 | 5785.0 | 11a', '161 | 5805.0 | 11a', '165 | 5825.0 | 11a', '172 | 5860.0 | 11p', '174 | 5870.0 | 11p', '176 | 5880.0 | 11p', '178 | 5890.0 | 11p', '180 | 5900.0 | 11p', '182 | 5910.0 | 11p', '184 | 5920.0 | 11p'] type - radio_buttons + drop_down style @@ -1577,147 +1717,7 @@ _coordinate - (793, 9) - - - _rotation - 0 - - - - variable_chooser - - id - samp_rate - - - _enabled - True - - - label - Sample Rate - - - value - 20e6 - - - choices - [10e6, 20e6] - - - labels - ["10 Mhz", "20 Mhz"] - - - type - radio_buttons - - - style - wx.RA_HORIZONTAL - - - grid_pos - - - - notebook - - - - _coordinate - (964, 13) - - - _rotation - 0 - - - - gr_file_sink - - id - gr_file_sink_0 - - - _enabled - False - - - file - /tmp/ofdm_long.bin - - - type - complex - - - vlen - 1 - - - unbuffered - True - - - _coordinate - (770, 565) - - - _rotation - 0 - - - - ieee802_11_ofdm_parse_mac - - id - ieee802_11_ofdm_parse_mac_0 - - - _enabled - True - - - debug - True - - - _coordinate - (1026, 857) - - - _rotation - 180 - - - - gr_vector_to_stream - - id - gr_vector_to_stream_0 - - - _enabled - False - - - type - complex - - - num_items - 64 - - - vlen - 1 - - - _coordinate - (365, 671) + (808, 20) _rotation @@ -1875,10 +1875,10 @@ 0 - gr_stream_to_vector_0 - fft_vxx_0 - 0 - 0 + ieee802_1_ofdm_decode_mac_0 + ieee802_11_ofdm_parse_mac_0 + out + in ieee802_11_ofdm_parse_mac_0 @@ -1887,9 +1887,9 @@ pdus - ieee802_1_ofdm_decode_mac_0 - ieee802_11_ofdm_parse_mac_0 - out - in + gr_stream_to_vector_0 + fft_vxx_0 + 0 + 0