diff --git a/examples/wifi_loopback.grc b/examples/wifi_loopback.grc index 0e754d4..4dc98dd 100644 --- a/examples/wifi_loopback.grc +++ b/examples/wifi_loopback.grc @@ -1,40 +1,64 @@ - + Sat Feb 1 18:28:19 2014 options - - id - wifi_loopback - - - _enabled - True - - - title - - author - - description - - window_size 1280, 1024 + + category + Custom + + + comment + + + + description + + + + _enabled + True + + + _coordinate + (8, 11) + + + _rotation + 0 + generate_options wx_gui - category - Custom + id + wifi_loopback + + + max_nouts + 0 + + + qt_qss_theme + + + + realtime_scheduling + + + + run_command + {python} -u {filename} run_options @@ -44,236 +68,174 @@ run True - - max_nouts - 0 - - - realtime_scheduling - - thread_safe_setters - alias + title + + + variable_chooser + + choices + [0, 1] + comment - - _coordinate - (7, 4) - - - _rotation - 0 - - - - variable - - id - out_buf_size - - - _enabled - True - value - 96000 - - - alias - - - - comment - - - - _coordinate - (176, 11) - - - _rotation - 0 - - - - ieee802_11_ofdm_mac - - id - ieee802_11_ofdm_mac_0 + 1 _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 - - - comment - - _coordinate - (416, 139) + (224, 11) _rotation 0 - - - blocks_pdu_to_tagged_stream + + grid_pos + + id - blocks_pdu_to_tagged_stream_0 - - - _enabled - True - - - type - float - - - tag - packet_len - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - comment - - - - _coordinate - (136, 635) - - - _rotation - 0 - - - - blocks_message_strobe - - id - blocks_message_strobe_0 - - - _enabled - True - - - msg - pmt.intern("".join("x" for i in range(pdu_length))) - - - period - interval - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - comment - - - - _coordinate - (48, 131) - - - _rotation - 0 - - - - variable_slider - - id - snr - - - _enabled - True + chan_est label - value - 10 + labels + ["LMS", "Linear Comb"] - min - -15 + notebook + + + + style + wx.RA_HORIZONTAL + + + type + radio_buttons + + + + variable_chooser + + choices + [0,1,2,3,4,5,6,7] + + + comment + + + + value + 0 + + + _enabled + True + + + _coordinate + (424, 14) + + + _rotation + 0 + + + grid_pos + + + + id + encoding + + + label + Encoding + + + labels + ["BPSK 1/2", "BPSK 3/4", "QPSK 1/2", "QPSK 3/4", "16QAM 1/2", "16QAM 3/4", "64QAM 2/3", "64QAM 3/4"] + + + notebook + + + + style + wx.RA_HORIZONTAL + + + type + radio_buttons + + + + variable_slider + + comment + + + + converver + int_converter + + + value + 100 + + + _enabled + True + + + _coordinate + (1064, 11) + + + _rotation + 0 + + + grid_pos + + + + id + interval + + + label + PDU Interval (ms) max - 30 + 1000 + + + min + 10 + + + notebook + num_steps @@ -283,186 +245,169 @@ style wx.SL_HORIZONTAL + + + variable + + comment + + + + _enabled + True + + + _coordinate + (8, 67) + + + _rotation + 0 + + + id + out_buf_size + + + value + 96000 + + + + variable_slider + + comment + + + + converver + int_converter + + + value + 500 + + + _enabled + True + + + _coordinate + (136, 11) + + + _rotation + 0 + + + grid_pos + + + + id + pdu_length + + + label + + + + max + 1500 + + + min + 0 + + + notebook + + + + num_steps + 1000 + + + style + wx.SL_HORIZONTAL + + + + variable_slider + + comment + + converver float_converter - grid_pos - - - - notebook - - - - alias - - - - comment - - - - _coordinate - (656, 11) - - - _rotation - 0 - - - - wxgui_numbersink2 - - id - wxgui_numbersink2_0 + value + 10 _enabled True - type - float + _coordinate + (336, 11) - title - Frame Error Rate - - - units - % - - - samp_rate - 1 - - - min_value + _rotation 0 - - max_value - 100 - - - factor - 1.0 - - - decimal_places - 2 - - - ref_level - 0 - - - number_rate - 15 - - - peak_hold - False - - - average - True - - - avg_alpha - 0.02 - - - show_gauge - True - - - win_size - - grid_pos + + id + snr + + + label + + + + max + 30 + + + min + -15 + notebook - alias - + num_steps + 1000 - affinity - - - - comment - - - - _coordinate - (552, 555) - - - _rotation - 0 - - - - foo_wireshark_connector - - id - foo_wireshark_connector_0 - - - _enabled - False - - - tech - 127 - - - debug - False - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - comment - - - - _coordinate - (688, 195) - - - _rotation - 0 + style + wx.SL_HORIZONTAL blocks_file_sink - id - blocks_file_sink_0 + append + False + + + alias + + + + comment + + + + affinity + _enabled @@ -473,658 +418,240 @@ /tmp/ofdm.bin - type - byte + _coordinate + (24, 205) - vlen - 1 + _rotation + 180 + + + id + blocks_file_sink_0 + + + type + byte unbuffered True - append - False + vlen + 1 + + + blocks_message_strobe alias + + comment + + affinity - - comment - - - - _coordinate - (896, 187) - - - _rotation - 0 - - - - variable_chooser - - id - encoding - _enabled True - - label - Encoding - - - value - 0 - - - choices - [0,1,2,3,4,5,6,7] - - - labels - ["BPSK 1/2", "BPSK 3/4", "QPSK 1/2", "QPSK 3/4", "16QAM 1/2", "16QAM 3/4", "64QAM 2/3", "64QAM 3/4"] - - - type - radio_buttons - - - style - wx.RA_HORIZONTAL - - - grid_pos - - - - notebook - - - - alias - - - - comment - - _coordinate - (888, 11) + (176, 131) _rotation 0 - - - variable_slider id - freq_offset + blocks_message_strobe_0 - _enabled - True - - - label - - - - value + maxoutbuf 0 - min - -.1 + msg + pmt.intern("".join("x" for i in range(pdu_length))) - max - .1 - - - num_steps - 1000 - - - style - wx.SL_HORIZONTAL - - - converver - float_converter - - - grid_pos - - - - notebook - - - - alias - - - - comment - - - - _coordinate - (776, 11) - - - _rotation + minoutbuf 0 - - - variable_chooser - id - chan_est - - - _enabled - True - - - label - - - - value - 1 - - - choices - [0, 1] - - - labels - ["LMS", "Linear Comb"] - - - type - radio_buttons - - - style - wx.RA_HORIZONTAL - - - grid_pos - - - - notebook - - - - alias - - - - comment - - - - _coordinate - (496, 11) - - - _rotation - 0 - - - - import - - id - import_0 - - - _enabled - True - - - import - import math - - - alias - - - - comment - - - - _coordinate - (280, 11) - - - _rotation - 0 + period + interval blocks_multiply_const_vxx - id - blocks_multiply_const_vxx_0 + alias + - _enabled - True - - - type - complex + comment + const (10**(snr/10.0))**.5 - - vlen - 1 - - - alias - - affinity - minoutbuf - 0 - - - maxoutbuf - 0 - - - comment - + _enabled + True _coordinate - (440, 427) + (440, 437) _rotation 0 - - - channels_channel_model id - channels_channel_model_0 - - - _enabled - True - - - noise_voltage - .5**.5 - - - freq_offset - freq_offset - - - epsilon - 1.0 - - - taps - 1.0 - - - seed - 0 - - - block_tags - False - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - comment - - - - _coordinate - (664, 395) - - - _rotation - 0 - - - - variable_slider - - id - pdu_length - - - _enabled - True - - - label - - - - value - 500 - - - min - 0 - - - max - 1500 - - - num_steps - 1000 - - - style - wx.SL_HORIZONTAL - - - converver - int_converter - - - grid_pos - - - - notebook - - - - alias - - - - comment - - - - _coordinate - (376, 11) - - - _rotation - 0 - - - - wifi_phy_hier - - id - wifi_phy_hier_0 - - - _enabled - True - - - encoding - encoding - - - chan_est - chan_est - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - comment - - - - _coordinate - (384, 272) - - - _rotation - 180 - - - - ieee802_11_ofdm_parse_mac - - id - ieee802_11_ofdm_parse_mac_0 - - - _enabled - True - - - log - False - - - debug - True - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - comment - - - - _coordinate - (112, 259) - - - _rotation - 180 - - - - wxgui_scopesink2 - - id - wxgui_scopesink2_0 - - - _enabled - True + blocks_multiply_const_vxx_0 type complex - title - Scope Plot - - - samp_rate - 12500 - - - v_scale + maxoutbuf 0 - v_offset + minoutbuf 0 - t_scale - 0 - - - ac_couple - False - - - xy_mode - True - - - num_inputs + vlen 1 - - win_size - - - - grid_pos - - - - notebook - - - - trig_mode - wxgui.TRIG_MODE_AUTO - - - y_axis_label - Counts - + + + blocks_pdu_to_tagged_stream alias + + comment + + affinity - comment - + _enabled + True _coordinate - (152, 515) + (136, 629) _rotation 0 - - - variable_slider id - interval + blocks_pdu_to_tagged_stream_0 + + + type + float + + + tag + packet_len + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + + channels_channel_model + + alias + + + + block_tags + False + + + comment + + + + affinity + _enabled True - label - PDU Interval (ms) + epsilon + 1.0 - value - 100 + freq_offset + 0 - min - 10 + _coordinate + (616, 419) - max - 1000 + _rotation + 0 - num_steps - 1000 + id + channels_channel_model_0 - style - wx.SL_HORIZONTAL + maxoutbuf + 0 - converver - int_converter + minoutbuf + 0 - grid_pos - + noise_voltage + 1 - notebook - + seed + 0 + + taps + 1.0 + + + + foo_packet_pad2 alias @@ -1134,35 +661,44 @@ - _coordinate - (1064, 11) - - - _rotation - 0 - - - - foo_packet_pad2 - - id - foo_packet_pad2_0 - - - _enabled - True + affinity + debug False + + delay_sec + 0.001 + delay False - delay_sec - 0.001 + _enabled + True + + + _coordinate + (272, 419) + + + _rotation + 0 + + + id + foo_packet_pad2_0 + + + maxoutbuf + 0 + + + minoutbuf + out_buf_size pad_front @@ -1172,41 +708,389 @@ pad_tail 0 + + + foo_wireshark_connector alias + + comment + + affinity - minoutbuf - out_buf_size + debug + False + + + _enabled + False + + + _coordinate + (224, 211) + + + _rotation + 180 + + + id + foo_wireshark_connector_0 maxoutbuf 0 + + minoutbuf + 0 + + + tech + 127 + + + + ieee802_11_ofdm_mac + + bss_mac + [0xff, 0xff, 0xff, 0xff, 0xff, 0xff] + + + alias + + comment + + affinity + + + + dst_mac + [0x42, 0x42, 0x42, 0x42, 0x42, 0x42] + + + _enabled + True + _coordinate - (272, 395) + (392, 133) _rotation 0 + + id + ieee802_11_ofdm_mac_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + src_mac + [0x23, 0x23, 0x23, 0x23, 0x23, 0x23] + + + + ieee802_11_ofdm_parse_mac + + alias + + + + comment + + + + affinity + + + + debug + True + + + _enabled + True + + + _coordinate + (112, 291) + + + _rotation + 180 + + + id + ieee802_11_ofdm_parse_mac_0 + + + log + False + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + + wifi_phy_hier + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (432, 293) + + + _rotation + 180 + + + id + wifi_phy_hier_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + chan_est + chan_est + + + encoding + encoding + + + sensitivity + 0.56 + + + + wxgui_numbersink2 + + avg_alpha + 0.02 + + + average + True + + + alias + + + + comment + + + + affinity + + + + decimal_places + 2 + + + _enabled + True + + + factor + 1.0 + + + _coordinate + (408, 579) + + + _rotation + 0 + + + grid_pos + + + + id + wxgui_numbersink2_0 + + + max_value + 100 + + + min_value + 0 + + + notebook + + + + number_rate + 15 + + + peak_hold + False + + + ref_level + 0 + + + samp_rate + 1 + + + show_gauge + True + + + title + Frame Error Rate + + + type + float + + + units + % + + + win_size + + + + + wxgui_scopesink2 + + ac_couple + False + + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (200, 523) + + + _rotation + 0 + + + grid_pos + + + + id + wxgui_scopesink2_0 + + + notebook + + + + num_inputs + 1 + + + samp_rate + 12500 + + + t_scale + 0 + + + title + Scope Plot + + + trig_mode + wxgui.TRIG_MODE_AUTO + + + type + complex + + + v_offset + 0 + + + v_scale + 0 + + + win_size + + + + xy_mode + True + + + y_axis_label + Counts + - - wifi_phy_hier_0 - ieee802_11_ofdm_parse_mac_0 - mac_out - in - blocks_message_strobe_0 ieee802_11_ofdm_mac_0 @@ -1214,23 +1098,11 @@ app in - wifi_phy_hier_0 - foo_packet_pad2_0 + blocks_multiply_const_vxx_0 + channels_channel_model_0 0 0 - - ieee802_11_ofdm_mac_0 - wifi_phy_hier_0 - phy out - mac_in - - - ieee802_11_ofdm_parse_mac_0 - blocks_pdu_to_tagged_stream_0 - fer - pdus - blocks_pdu_to_tagged_stream_0 wxgui_numbersink2_0 @@ -1249,22 +1121,46 @@ 0 0 - - blocks_multiply_const_vxx_0 - channels_channel_model_0 - 0 - 0 - foo_wireshark_connector_0 blocks_file_sink_0 0 0 + + ieee802_11_ofdm_mac_0 + wifi_phy_hier_0 + phy out + mac_in + + + ieee802_11_ofdm_parse_mac_0 + blocks_pdu_to_tagged_stream_0 + fer + pdus + wifi_phy_hier_0 wxgui_scopesink2_0 1 0 + + wifi_phy_hier_0 + foo_wireshark_connector_0 + mac_out + in + + + wifi_phy_hier_0 + ieee802_11_ofdm_parse_mac_0 + mac_out + in + + + wifi_phy_hier_0 + foo_packet_pad2_0 + 0 + 0 + diff --git a/examples/wifi_phy_hier.grc b/examples/wifi_phy_hier.grc index 0527b82..318581f 100644 --- a/examples/wifi_phy_hier.grc +++ b/examples/wifi_phy_hier.grc @@ -9,8 +9,8 @@ - alias - + window_size + 1280, 1024 category @@ -48,10 +48,18 @@ max_nouts 0 + + qt_qss_theme + + realtime_scheduling + + run_command + {python} -u {filename} + run_options prompt @@ -68,10 +76,6 @@ title WiFi PHY Hier - - window_size - 1280, 1024 - variable @@ -1691,7 +1695,7 @@ value - 0.60 + 0.56 @@ -1930,7 +1934,7 @@ ieee802_11_ofdm_decode_mac_0 pad_sink_2 out - 0 + in ieee802_11_ofdm_decode_signal_0 @@ -1983,7 +1987,7 @@ pad_source_1 ieee802_11_ofdm_mapper_0 - 0 + out in diff --git a/examples/wifi_rx.grc b/examples/wifi_rx.grc index 7c7210d..733e2f4 100644 --- a/examples/wifi_rx.grc +++ b/examples/wifi_rx.grc @@ -1,40 +1,64 @@ - + Fri Jul 18 10:38:16 2014 options - - id - wifi_rx - - - _enabled - True - - - title - - author - - description - - window_size 1280, 2048 + + category + Custom + + + comment + + + + description + + + + _enabled + True + + + _coordinate + (8, 11) + + + _rotation + 0 + generate_options wx_gui - category - Custom + id + wifi_rx + + + max_nouts + 0 + + + qt_qss_theme + + + + realtime_scheduling + + + + run_command + {python} -u {filename} run_options @@ -44,1117 +68,33 @@ run True - - max_nouts - 0 - - - realtime_scheduling - - thread_safe_setters - - alias - - - - comment - - - - _coordinate - (8, 11) - - - _rotation - 0 - - - - variable - - id - sync_length - - - _enabled - True - - - value - 320 - - - alias - - - - comment - - - - _coordinate - (672, 75) - - - _rotation - 0 - - - - variable - - id - window_size - - - _enabled - True - - - value - 48 - - - alias - - - - comment - - - - _coordinate - (672, 11) - - - _rotation - 0 - - - - blocks_vector_to_stream - - id - blocks_vector_to_stream_0 - - - _enabled - True - - - type - complex - - - num_items - 48 - - - vlen - 1 - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - comment - - - - _coordinate - (576, 846) - - - _rotation - 180 - - - - wxgui_scopesink2 - - id - wxgui_scopesink1 - - - _enabled - True - - - type - complex - title - Scope Plot - - - samp_rate - 12500 - - - v_scale - 0 - - - v_offset - 0 - - - t_scale - 0 - - - ac_couple - False - - - xy_mode - True - - - num_inputs - 1 - - - win_size - - grid_pos - - - - notebook - nb,0 - - - trig_mode - wxgui.TRIG_MODE_AUTO - - - y_axis_label - Counts - - - alias - - - - affinity - - - - comment - - - - _coordinate - (349, 806) - - - _rotation - 180 - - - - ieee802_11_ofdm_decode_signal - - id - ieee802_11_ofdm_decode_signal_0 - - - _enabled - True - - - log - True - - - debug - False - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - comment - - - - _coordinate - (680, 707) - - - _rotation - 0 - - - - fft_vxx - - id - fft_vxx_0 - - - _enabled - True - - - type - complex - - - fft_size - 64 - - - forward - True - - - window - window.rectangular(64) - - - shift - True - - - nthreads - 1 - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - comment - - - - _coordinate - (152, 683) - - - _rotation - 0 - - - - blocks_delay - - id - blocks_delay_0 - - - _enabled - True - - - type - complex - - - delay - sync_length - - - num_ports - 1 - - - vlen - 1 - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - comment - - - - _coordinate - (480, 563) - - - _rotation - 0 - - - - blocks_stream_to_vector - - id - blocks_stream_to_vector_0 - - - _enabled - True - - - type - complex - - - num_items - 64 - - - vlen - 1 - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - comment - - - - _coordinate - (912, 547) - - - _rotation - 0 - - - - blocks_delay - - id - blocks_delay_0_0 - - - _enabled - True - - - type - complex - - - delay - 16 - - - num_ports - 1 - - - vlen - 1 - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - comment - - - - _coordinate - (256, 339) - - - _rotation - 0 - - - - blocks_conjugate_cc - - id - blocks_conjugate_cc_0 - - - _enabled - True - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - comment - - - - _coordinate - (424, 344) - - - _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 - - - comment - - - - _coordinate - (664, 312) - - - _rotation - 0 - - - - ieee802_11_moving_average_xx - - id - ieee802_11_moving_average_xx_0 - - - _enabled - True - - - type - complex - - - length - window_size - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - comment - - - - _coordinate - (816, 323) - - - _rotation - 0 - - - - blocks_complex_to_mag - - id - blocks_complex_to_mag_0 - - - _enabled - True - - - vlen - 1 - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - comment - - - - _coordinate - (1032, 328) - - - _rotation - 0 - - - - blocks_divide_xx - - id - blocks_divide_xx_0 - - - _enabled - True - - - type - float - - - vlen - 1 - - - num_inputs - 2 - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - comment - - - - _coordinate - (1192, 400) - - - _rotation - 270 - - - - wxgui_scopesink2 - - id - wxgui_scopesink2_0 - - - _enabled - True - - - type - float - - - title - Scope Plot - - - samp_rate - samp_rate - - - v_scale - 0 - - - v_offset - 0 - - - t_scale - 0 - - - ac_couple - False - - - xy_mode - False - - - num_inputs - 1 - - - win_size - - - - grid_pos - - - - notebook - nb, 1 - - - trig_mode - wxgui.TRIG_MODE_AUTO - - - y_axis_label - Counts - - - alias - - - - affinity - - - - comment - - - - _coordinate - (1171, 560) - - - _rotation - 270 - - - - ieee802_11_moving_average_xx - - id - ieee802_11_moving_average_xx_1 - - - _enabled - True - - - type - float - - - length - window_size + 16 - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - comment - - - - _coordinate - (808, 227) - - - _rotation - 0 - - - - blocks_complex_to_mag_squared - - id - blocks_complex_to_mag_squared_0 - - - _enabled - True - - - vlen - 1 - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - comment - - - - _coordinate - (464, 232) - - - _rotation - 0 - - - - ieee802_11_ofdm_equalize_symbols - - id - ieee802_11_ofdm_equalize_symbols_0 - - - _enabled - True - - - algo - chan_est - - - debug - False - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - comment - - - - _coordinate - (416, 707) - - - _rotation - 0 - - - - ieee802_11_ofdm_decode_mac - - id - ieee802_11_ofdm_decode_mac_0 - - - _enabled - True - - - log - True - - - debug - False - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - comment - - - - _coordinate - (1000, 707) - - - _rotation - 0 - variable_chooser - - id - lo_offset - - - _enabled - True - - - label - LO Offset - - - value - 0 - - - choices - [0, 6e6, 11e6] - - - labels - ['0 MHz', '6 MHz', '11 MHz'] - - - type - drop_down - - - style - wx.RA_HORIZONTAL - - - grid_pos - - - - notebook - - - - alias - - - - comment - - - - _coordinate - (176, 11) - - - _rotation - 0 - - - - variable_chooser - - id - chan_est - - - _enabled - True - - - label - - - - value - 1 - choices [0, 1] - - labels - ["LMS", "Linear Comb"] - - - type - radio_buttons - - - style - wx.RA_HORIZONTAL - - - grid_pos - - - - notebook - - - - alias - - comment + + value + 1 + + + _enabled + True + _coordinate (352, 11) @@ -1163,104 +103,108 @@ _rotation 0 - - - notebook - - id - nb - - - _enabled - True - - - style - wx.NB_TOP - - - labels - ['constellation', 'autocorrelation'] - grid_pos - - notebook - - - - alias - - - - comment - - - - _coordinate - (504, 11) - - - _rotation - 0 - - - - variable_slider id - gain - - - _enabled - True + chan_est label - value - 20 - - - min - 0 - - - max - 100 - - - num_steps - 100 - - - style - wx.SL_HORIZONTAL - - - converver - int_converter - - - grid_pos - + labels + ["LMS", "Linear Comb"] notebook - alias - + style + wx.RA_HORIZONTAL + + + type + radio_buttons + + + + variable_chooser + + choices + [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] comment + + value + 5.89e9 + + + _enabled + True + + + _coordinate + (896, 11) + + + _rotation + 0 + + + grid_pos + + + + id + freq + + + label + Channel + + + labels + [' 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'] + + + notebook + + + + style + wx.RA_HORIZONTAL + + + type + drop_down + + + + variable_slider + + comment + + + + converver + int_converter + + + value + 20 + + + _enabled + True + _coordinate (776, 11) @@ -1269,307 +213,506 @@ _rotation 0 - - - ieee802_11_ofdm_sync_short - - id - ieee802_11_ofdm_sync_short_0 - - - _enabled - True - - - log - False - - - debug - False - - - threshold - 0.85 * 0.75 - - - min_plateau - 2 - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - comment - - - - _coordinate - (216, 504) - - - _rotation - 0 - - - - ieee802_11_ofdm_parse_mac - - id - ieee802_11_ofdm_parse_mac_0 - - - _enabled - True - - - log - False - - - debug - True - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - comment - - - - _coordinate - (960, 1099) - - - _rotation - 180 - - - - blocks_pdu_to_tagged_stream - - id - blocks_pdu_to_tagged_stream_0 - - - _enabled - True - - - type - float - - - tag - packet_len - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - comment - - - - _coordinate - (720, 1107) - - - _rotation - 180 - - - - wxgui_numbersink2 - - id - wxgui_numbersink2_0 - - - _enabled - True - - - type - float - - - title - Frame Error Rate - - - units - % - - - samp_rate - 1 - - - min_value - 0 - - - max_value - 100 - - - factor - 1.0 - - - decimal_places - 2 - - - ref_level - 0 - - - number_rate - 15 - - - peak_hold - False - - - average - True - - - avg_alpha - 0.02 - - - show_gauge - True - - - win_size - - grid_pos + + id + gain + + + label + + + + max + 100 + + + min + 0 + notebook - alias + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + + variable_chooser + + choices + [0, 6e6, 11e6] + + + comment - affinity + value + 0 + + + _enabled + True + + + _coordinate + (176, 11) + + + _rotation + 0 + + + grid_pos + + + + id + lo_offset + + + label + LO Offset + + + labels + ['0 MHz', '6 MHz', '11 MHz'] + + + notebook + + + + style + wx.RA_HORIZONTAL + + + type + drop_down + + + + variable_chooser + + choices + [5e6, 10e6, 20e6] + + + comment + + + + value + 10e6 + + + _enabled + True + + + _coordinate + (1072, 11) + + + _rotation + 0 + + + grid_pos + + + + id + samp_rate + + + label + Sample Rate + + + labels + ["5 MHz", "10 MHz", "20 MHz"] + + + notebook + + + + style + wx.RA_HORIZONTAL + + + type + radio_buttons + + + + variable + + comment + + + + _enabled + True + + + _coordinate + (672, 75) + + + _rotation + 0 + + + id + sync_length + + + value + 320 + + + + variable + + comment + + + + _enabled + True + + + _coordinate + (672, 11) + + + _rotation + 0 + + + id + window_size + + + value + 48 + + + + blocks_complex_to_mag + + alias comment - - _coordinate - (512, 1027) - - - _rotation - 180 - - - - foo_wireshark_connector - - id - foo_wireshark_connector_0 - - - _enabled - False - - - tech - 127 - - - debug - False - - - alias - - affinity - minoutbuf + _enabled + True + + + _coordinate + (1032, 328) + + + _rotation 0 + + id + blocks_complex_to_mag_0 + maxoutbuf 0 + + minoutbuf + 0 + + + vlen + 1 + + + + blocks_complex_to_mag_squared + + alias + + comment + + affinity + + + + _enabled + True + _coordinate - (952, 947) + (464, 232) _rotation - 180 + 0 + + + id + blocks_complex_to_mag_squared_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + vlen + 1 + + + + blocks_conjugate_cc + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (424, 344) + + + _rotation + 0 + + + id + blocks_conjugate_cc_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + + blocks_delay + + alias + + + + comment + + + + affinity + + + + delay + sync_length + + + _enabled + True + + + _coordinate + (480, 563) + + + _rotation + 0 + + + id + blocks_delay_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + num_ports + 1 + + + type + complex + + + vlen + 1 + + + + blocks_delay + + alias + + + + comment + + + + affinity + + + + delay + 16 + + + _enabled + True + + + _coordinate + (256, 339) + + + _rotation + 0 + + + id + blocks_delay_0_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + num_ports + 1 + + + type + complex + + + vlen + 1 + + + + blocks_divide_xx + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (1192, 400) + + + _rotation + 270 + + + id + blocks_divide_xx_0 + + + type + float + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + num_inputs + 2 + + + vlen + 1 blocks_file_sink - id - blocks_file_sink_0 + append + True + + + alias + + + + comment + + + + affinity + _enabled @@ -1579,34 +722,6 @@ file /tmp/ofdm.pcap - - type - byte - - - vlen - 1 - - - unbuffered - True - - - append - True - - - alias - - - - affinity - - - - comment - - _coordinate (720, 939) @@ -1615,169 +730,770 @@ _rotation 180 - - - uhd_usrp_source id - uhd_usrp_source_0 + blocks_file_sink_0 + + + type + byte + + + unbuffered + True + + + vlen + 1 + + + + blocks_multiply_xx + + alias + + + + comment + + + + affinity + _enabled True + + _coordinate + (664, 312) + + + _rotation + 0 + + + id + blocks_multiply_xx_0 + type - fc32 + complex - otw + maxoutbuf + 0 + + + minoutbuf + 0 + + + num_inputs + 2 + + + vlen + 1 + + + + blocks_pdu_to_tagged_stream + + alias - stream_args + comment - stream_chans - [] - - - dev_addr + affinity - dev_args - "" + _enabled + True - sync + _coordinate + (720, 1107) + + + _rotation + 180 + + + id + blocks_pdu_to_tagged_stream_0 + + + type + float + + + tag + packet_len + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + + blocks_stream_to_vector + + alias - clock_rate - 0.0 + comment + - num_mboards + affinity + + + + _enabled + True + + + _coordinate + (912, 547) + + + _rotation + 0 + + + id + blocks_stream_to_vector_0 + + + type + complex + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + num_items + 64 + + + vlen + 1 + + + + blocks_vector_to_stream + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (576, 846) + + + _rotation + 180 + + + id + blocks_vector_to_stream_0 + + + type + complex + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + num_items + 48 + + + vlen + 1 + + + + fft_vxx + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + fft_size + 64 + + + forward + True + + + _coordinate + (152, 683) + + + _rotation + 0 + + + id + fft_vxx_0 + + + type + complex + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + nthreads 1 - clock_source0 + shift + True + + + window + window.rectangular(64) + + + + foo_wireshark_connector + + alias - time_source0 + comment - sd_spec0 + affinity - clock_source1 - - - - time_source1 - - - - sd_spec1 - - - - clock_source2 - - - - time_source2 - - - - sd_spec2 - - - - clock_source3 - - - - time_source3 - - - - sd_spec3 - - - - clock_source4 - - - - time_source4 - - - - sd_spec4 - - - - clock_source5 - - - - time_source5 - - - - sd_spec5 - - - - clock_source6 - - - - time_source6 - - - - sd_spec6 - - - - clock_source7 - - - - time_source7 - - - - sd_spec7 - - - - nchan - 1 - - - samp_rate - samp_rate - - - center_freq0 - uhd.tune_request(freq, rf_freq = freq - lo_offset, rf_freq_policy=uhd.tune_request.POLICY_MANUAL) - - - gain0 - gain - - - norm_gain0 + debug False + + _enabled + False + + + _coordinate + (952, 947) + + + _rotation + 180 + + + id + foo_wireshark_connector_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + tech + 127 + + + + ieee802_11_moving_average_xx + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (816, 323) + + + _rotation + 0 + + + id + ieee802_11_moving_average_xx_0 + + + length + window_size + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + type + complex + + + + ieee802_11_moving_average_xx + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (808, 227) + + + _rotation + 0 + + + id + ieee802_11_moving_average_xx_1 + + + length + window_size + 16 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + type + float + + + + ieee802_11_ofdm_decode_mac + + alias + + + + comment + + + + affinity + + + + debug + False + + + _enabled + True + + + _coordinate + (1000, 707) + + + _rotation + 0 + + + id + ieee802_11_ofdm_decode_mac_0 + + + log + True + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + + ieee802_11_ofdm_decode_signal + + alias + + + + comment + + + + affinity + + + + debug + False + + + _enabled + True + + + _coordinate + (680, 707) + + + _rotation + 0 + + + id + ieee802_11_ofdm_decode_signal_0 + + + log + True + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + + ieee802_11_ofdm_equalize_symbols + + algo + chan_est + + + alias + + + + comment + + + + affinity + + + + debug + False + + + _enabled + True + + + _coordinate + (416, 707) + + + _rotation + 0 + + + id + ieee802_11_ofdm_equalize_symbols_0 + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + + ieee802_11_ofdm_parse_mac + + alias + + + + comment + + + + affinity + + + + debug + True + + + _enabled + True + + + _coordinate + (960, 1099) + + + _rotation + 180 + + + id + ieee802_11_ofdm_parse_mac_0 + + + log + False + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + + ieee802_11_ofdm_sync_long + + alias + + + + comment + + + + affinity + + + + debug + False + + + _enabled + True + + + _coordinate + (672, 531) + + + _rotation + 0 + + + id + ieee802_11_ofdm_sync_long_0 + + + log + True + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + sync_length + sync_length + + + + ieee802_11_ofdm_sync_short + + alias + + + + comment + + + + affinity + + + + debug + False + + + _enabled + True + + + _coordinate + (216, 504) + + + _rotation + 0 + + + id + ieee802_11_ofdm_sync_short_0 + + + log + False + + + maxoutbuf + 0 + + + minoutbuf + 0 + + + min_plateau + 2 + + + threshold + 0.56 + + + + notebook + + alias + + + + comment + + + + _enabled + True + + + _coordinate + (504, 11) + + + _rotation + 0 + + + grid_pos + + + + id + nb + + + labels + ['constellation', 'autocorrelation'] + + + notebook + + + + style + wx.NB_TOP + + + + uhd_usrp_source + + alias + + ant0 @@ -1787,196 +1503,24 @@ 0 - center_freq1 - 0 + center_freq0 + uhd.tune_request(freq, rf_freq = freq - lo_offset, rf_freq_policy=uhd.tune_request.POLICY_MANUAL) - gain1 - 0 + dc_offs_enb0 + "" - norm_gain1 + iq_imbal_enb0 + "" + + + norm_gain0 False - ant1 - - - - bw1 - 0 - - - center_freq2 - 0 - - - gain2 - 0 - - - norm_gain2 - False - - - ant2 - - - - bw2 - 0 - - - center_freq3 - 0 - - - gain3 - 0 - - - norm_gain3 - False - - - ant3 - - - - bw3 - 0 - - - center_freq4 - 0 - - - gain4 - 0 - - - norm_gain4 - False - - - ant4 - - - - bw4 - 0 - - - center_freq5 - 0 - - - gain5 - 0 - - - norm_gain5 - False - - - ant5 - - - - bw5 - 0 - - - center_freq6 - 0 - - - gain6 - 0 - - - norm_gain6 - False - - - ant6 - - - - bw6 - 0 - - - center_freq7 - 0 - - - gain7 - 0 - - - norm_gain7 - False - - - ant7 - - - - bw7 - 0 - - - center_freq8 - 0 - - - gain8 - 0 - - - norm_gain8 - False - - - ant8 - - - - bw8 - 0 - - - center_freq9 - 0 - - - gain9 - 0 - - - norm_gain9 - False - - - ant9 - - - - bw9 - 0 - - - center_freq10 - 0 - - - gain10 - 0 - - - norm_gain10 - False + gain0 + gain ant10 @@ -1987,17 +1531,25 @@ 0 - center_freq11 + center_freq10 0 - gain11 - 0 + dc_offs_enb10 + "" - norm_gain11 + iq_imbal_enb10 + "" + + + norm_gain10 False + + gain10 + 0 + ant11 @@ -2007,17 +1559,25 @@ 0 - center_freq12 + center_freq11 0 - gain12 - 0 + dc_offs_enb11 + "" - norm_gain12 + iq_imbal_enb11 + "" + + + norm_gain11 False + + gain11 + 0 + ant12 @@ -2027,17 +1587,25 @@ 0 - center_freq13 + center_freq12 0 - gain13 - 0 + dc_offs_enb12 + "" - norm_gain13 + iq_imbal_enb12 + "" + + + norm_gain12 False + + gain12 + 0 + ant13 @@ -2047,17 +1615,25 @@ 0 - center_freq14 + center_freq13 0 - gain14 - 0 + dc_offs_enb13 + "" - norm_gain14 + iq_imbal_enb13 + "" + + + norm_gain13 False + + gain13 + 0 + ant14 @@ -2067,17 +1643,25 @@ 0 - center_freq15 + center_freq14 0 - gain15 - 0 + dc_offs_enb14 + "" - norm_gain15 + iq_imbal_enb14 + "" + + + norm_gain14 False + + gain14 + 0 + ant15 @@ -2087,17 +1671,25 @@ 0 - center_freq16 + center_freq15 0 - gain16 - 0 + dc_offs_enb15 + "" - norm_gain16 + iq_imbal_enb15 + "" + + + norm_gain15 False + + gain15 + 0 + ant16 @@ -2107,17 +1699,25 @@ 0 - center_freq17 + center_freq16 0 - gain17 - 0 + dc_offs_enb16 + "" - norm_gain17 + iq_imbal_enb16 + "" + + + norm_gain16 False + + gain16 + 0 + ant17 @@ -2127,17 +1727,25 @@ 0 - center_freq18 + center_freq17 0 - gain18 - 0 + dc_offs_enb17 + "" - norm_gain18 + iq_imbal_enb17 + "" + + + norm_gain17 False + + gain17 + 0 + ant18 @@ -2147,17 +1755,25 @@ 0 - center_freq19 + center_freq18 0 - gain19 - 0 + dc_offs_enb18 + "" - norm_gain19 + iq_imbal_enb18 + "" + + + norm_gain18 False + + gain18 + 0 + ant19 @@ -2167,17 +1783,53 @@ 0 - center_freq20 + center_freq19 0 - gain20 - 0 + dc_offs_enb19 + "" - norm_gain20 + iq_imbal_enb19 + "" + + + norm_gain19 False + + gain19 + 0 + + + ant1 + + + + bw1 + 0 + + + center_freq1 + 0 + + + dc_offs_enb1 + "" + + + iq_imbal_enb1 + "" + + + norm_gain1 + False + + + gain1 + 0 + ant20 @@ -2187,17 +1839,25 @@ 0 - center_freq21 + center_freq20 0 - gain21 - 0 + dc_offs_enb20 + "" - norm_gain21 + iq_imbal_enb20 + "" + + + norm_gain20 False + + gain20 + 0 + ant21 @@ -2207,17 +1867,25 @@ 0 - center_freq22 + center_freq21 0 - gain22 - 0 + dc_offs_enb21 + "" - norm_gain22 + iq_imbal_enb21 + "" + + + norm_gain21 False + + gain21 + 0 + ant22 @@ -2227,17 +1895,25 @@ 0 - center_freq23 + center_freq22 0 - gain23 - 0 + dc_offs_enb22 + "" - norm_gain23 + iq_imbal_enb22 + "" + + + norm_gain22 False + + gain22 + 0 + ant23 @@ -2247,17 +1923,25 @@ 0 - center_freq24 + center_freq23 0 - gain24 - 0 + dc_offs_enb23 + "" - norm_gain24 + iq_imbal_enb23 + "" + + + norm_gain23 False + + gain23 + 0 + ant24 @@ -2267,17 +1951,25 @@ 0 - center_freq25 + center_freq24 0 - gain25 - 0 + dc_offs_enb24 + "" - norm_gain25 + iq_imbal_enb24 + "" + + + norm_gain24 False + + gain24 + 0 + ant25 @@ -2287,17 +1979,25 @@ 0 - center_freq26 + center_freq25 0 - gain26 - 0 + dc_offs_enb25 + "" - norm_gain26 + iq_imbal_enb25 + "" + + + norm_gain25 False + + gain25 + 0 + ant26 @@ -2307,17 +2007,25 @@ 0 - center_freq27 + center_freq26 0 - gain27 - 0 + dc_offs_enb26 + "" - norm_gain27 + iq_imbal_enb26 + "" + + + norm_gain26 False + + gain26 + 0 + ant27 @@ -2327,17 +2035,25 @@ 0 - center_freq28 + center_freq27 0 - gain28 - 0 + dc_offs_enb27 + "" - norm_gain28 + iq_imbal_enb27 + "" + + + norm_gain27 False + + gain27 + 0 + ant28 @@ -2347,17 +2063,25 @@ 0 - center_freq29 + center_freq28 0 - gain29 - 0 + dc_offs_enb28 + "" - norm_gain29 + iq_imbal_enb28 + "" + + + norm_gain28 False + + gain28 + 0 + ant29 @@ -2367,17 +2091,53 @@ 0 - center_freq30 + center_freq29 0 - gain30 - 0 + dc_offs_enb29 + "" - norm_gain30 + iq_imbal_enb29 + "" + + + norm_gain29 False + + gain29 + 0 + + + ant2 + + + + bw2 + 0 + + + center_freq2 + 0 + + + dc_offs_enb2 + "" + + + iq_imbal_enb2 + "" + + + norm_gain2 + False + + + gain2 + 0 + ant30 @@ -2387,17 +2147,25 @@ 0 - center_freq31 + center_freq30 0 - gain31 - 0 + dc_offs_enb30 + "" - norm_gain31 + iq_imbal_enb30 + "" + + + norm_gain30 False + + gain30 + 0 + ant31 @@ -2407,7 +2175,227 @@ 0 - alias + center_freq31 + 0 + + + dc_offs_enb31 + "" + + + iq_imbal_enb31 + "" + + + norm_gain31 + False + + + gain31 + 0 + + + ant3 + + + + bw3 + 0 + + + center_freq3 + 0 + + + dc_offs_enb3 + "" + + + iq_imbal_enb3 + "" + + + norm_gain3 + False + + + gain3 + 0 + + + ant4 + + + + bw4 + 0 + + + center_freq4 + 0 + + + dc_offs_enb4 + "" + + + iq_imbal_enb4 + "" + + + norm_gain4 + False + + + gain4 + 0 + + + ant5 + + + + bw5 + 0 + + + center_freq5 + 0 + + + dc_offs_enb5 + "" + + + iq_imbal_enb5 + "" + + + norm_gain5 + False + + + gain5 + 0 + + + ant6 + + + + bw6 + 0 + + + center_freq6 + 0 + + + dc_offs_enb6 + "" + + + iq_imbal_enb6 + "" + + + norm_gain6 + False + + + gain6 + 0 + + + ant7 + + + + bw7 + 0 + + + center_freq7 + 0 + + + dc_offs_enb7 + "" + + + iq_imbal_enb7 + "" + + + norm_gain7 + False + + + gain7 + 0 + + + ant8 + + + + bw8 + 0 + + + center_freq8 + 0 + + + dc_offs_enb8 + "" + + + iq_imbal_enb8 + "" + + + norm_gain8 + False + + + gain8 + 0 + + + ant9 + + + + bw9 + 0 + + + center_freq9 + 0 + + + dc_offs_enb9 + "" + + + iq_imbal_enb9 + "" + + + norm_gain9 + False + + + gain9 + 0 + + + clock_rate + 0.0 + + + comment @@ -2415,17 +2403,17 @@ - minoutbuf - 0 - - - maxoutbuf - 0 - - - comment + dev_addr + + dev_args + "" + + + _enabled + True + _coordinate (16, 211) @@ -2434,35 +2422,108 @@ _rotation 0 - - - ieee802_11_ofdm_sync_long id - ieee802_11_ofdm_sync_long_0 + uhd_usrp_source_0 - _enabled - True + maxoutbuf + 0 - log - True - - - debug - False - - - sync_length - sync_length - - - alias + clock_source0 - affinity + sd_spec0 + + + + time_source0 + + + + clock_source1 + + + + sd_spec1 + + + + time_source1 + + + + clock_source2 + + + + sd_spec2 + + + + time_source2 + + + + clock_source3 + + + + sd_spec3 + + + + time_source3 + + + + clock_source4 + + + + sd_spec4 + + + + time_source4 + + + + clock_source5 + + + + sd_spec5 + + + + time_source5 + + + + clock_source6 + + + + sd_spec6 + + + + time_source6 + + + + clock_source7 + + + + sd_spec7 + + + + time_source7 @@ -2470,123 +2531,52 @@ 0 - maxoutbuf - 0 + nchan + 1 - comment - - - - _coordinate - (672, 531) - - - _rotation - 0 - - - - variable_chooser - - id - freq - - - _enabled - True - - - label - Channel - - - value - 5.89e9 - - - choices - [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 | 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'] + num_mboards + 1 type - drop_down + fc32 - style - wx.RA_HORIZONTAL - - - grid_pos - - - - notebook - - - - alias - - - - comment - - - - _coordinate - (896, 11) - - - _rotation - 0 - - - - variable_chooser - - id + samp_rate samp_rate - _enabled + hide_cmd_port + False + + + stream_args + + + + stream_chans + [] + + + sync + + + + otw + + + + + wxgui_numbersink2 + + avg_alpha + 0.02 + + + average True - - label - Sample Rate - - - value - 10e6 - - - choices - [5e6, 10e6, 20e6] - - - labels - ["5 MHz", "10 MHz", "20 MHz"] - - - type - radio_buttons - - - style - wx.RA_HORIZONTAL - - - grid_pos - - - - notebook - - alias @@ -2595,147 +2585,291 @@ comment + + affinity + + + + decimal_places + 2 + + + _enabled + True + + + factor + 1.0 + _coordinate - (1072, 11) + (512, 1027) _rotation + 180 + + + grid_pos + + + + id + wxgui_numbersink2_0 + + + max_value + 100 + + + min_value 0 + + notebook + + + + number_rate + 15 + + + peak_hold + False + + + ref_level + 0 + + + samp_rate + 1 + + + show_gauge + True + + + title + Frame Error Rate + + + type + float + + + units + % + + + win_size + + + + + wxgui_scopesink2 + + ac_couple + False + + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (349, 806) + + + _rotation + 180 + + + grid_pos + + + + id + wxgui_scopesink1 + + + notebook + nb,0 + + + num_inputs + 1 + + + samp_rate + 12500 + + + t_scale + 0 + + + title + Scope Plot + + + trig_mode + wxgui.TRIG_MODE_AUTO + + + type + complex + + + v_offset + 0 + + + v_scale + 0 + + + win_size + + + + xy_mode + True + + + y_axis_label + Counts + + + + wxgui_scopesink2 + + ac_couple + False + + + alias + + + + comment + + + + affinity + + + + _enabled + True + + + _coordinate + (1171, 560) + + + _rotation + 270 + + + grid_pos + + + + id + wxgui_scopesink2_0 + + + notebook + nb, 1 + + + num_inputs + 1 + + + samp_rate + samp_rate + + + t_scale + 0 + + + title + Scope Plot + + + trig_mode + wxgui.TRIG_MODE_AUTO + + + type + float + + + v_offset + 0 + + + v_scale + 0 + + + win_size + + + + xy_mode + False + + + y_axis_label + Counts + - - blocks_stream_to_vector_0 - fft_vxx_0 - 0 - 0 - - - uhd_usrp_source_0 - blocks_delay_0_0 - 0 - 0 - - - ieee802_11_ofdm_sync_short_0 - ieee802_11_ofdm_sync_long_0 - 0 - 0 - - - blocks_delay_0 - ieee802_11_ofdm_sync_long_0 - 0 - 1 - - - ieee802_11_ofdm_sync_short_0 - blocks_delay_0 - 0 - 0 - - - ieee802_11_ofdm_sync_long_0 - blocks_stream_to_vector_0 - 0 - 0 - - - ieee802_11_ofdm_equalize_symbols_0 - ieee802_11_ofdm_decode_signal_0 - 0 - 0 - - - ieee802_11_ofdm_decode_signal_0 - ieee802_11_ofdm_decode_mac_0 - 0 - 0 - - - fft_vxx_0 - ieee802_11_ofdm_equalize_symbols_0 - 0 - 0 - - - ieee802_11_ofdm_decode_signal_0 - blocks_vector_to_stream_0 - 0 - 0 - - - blocks_vector_to_stream_0 - wxgui_scopesink1 - 0 - 0 - blocks_complex_to_mag_0 blocks_divide_xx_0 0 0 - - ieee802_11_moving_average_xx_1 - blocks_divide_xx_0 - 0 - 1 - - - blocks_multiply_xx_0 - ieee802_11_moving_average_xx_0 - 0 - 0 - - - ieee802_11_moving_average_xx_0 - blocks_complex_to_mag_0 - 0 - 0 - blocks_complex_to_mag_squared_0 ieee802_11_moving_average_xx_1 0 0 - - uhd_usrp_source_0 - blocks_multiply_xx_0 - 0 - 0 - - - uhd_usrp_source_0 - blocks_complex_to_mag_squared_0 - 0 - 0 - blocks_conjugate_cc_0 blocks_multiply_xx_0 0 1 + + blocks_delay_0 + ieee802_11_ofdm_sync_long_0 + 0 + 1 + blocks_delay_0_0 blocks_conjugate_cc_0 0 0 - - ieee802_11_ofdm_decode_mac_0 - ieee802_11_ofdm_parse_mac_0 - out - in - - - blocks_divide_xx_0 - wxgui_scopesink2_0 - 0 - 0 - blocks_delay_0_0 ieee802_11_ofdm_sync_short_0 @@ -2748,12 +2882,66 @@ 0 2 + + blocks_divide_xx_0 + wxgui_scopesink2_0 + 0 + 0 + + + blocks_multiply_xx_0 + ieee802_11_moving_average_xx_0 + 0 + 0 + + + blocks_pdu_to_tagged_stream_0 + wxgui_numbersink2_0 + 0 + 0 + + + blocks_stream_to_vector_0 + fft_vxx_0 + 0 + 0 + + + blocks_vector_to_stream_0 + wxgui_scopesink1 + 0 + 0 + + + fft_vxx_0 + ieee802_11_ofdm_equalize_symbols_0 + 0 + 0 + + + foo_wireshark_connector_0 + blocks_file_sink_0 + 0 + 0 + + + ieee802_11_moving_average_xx_0 + blocks_complex_to_mag_0 + 0 + 0 + ieee802_11_moving_average_xx_0 ieee802_11_ofdm_sync_short_0 0 1 + + ieee802_11_moving_average_xx_1 + blocks_divide_xx_0 + 0 + 1 + ieee802_11_ofdm_decode_mac_0 foo_wireshark_connector_0 @@ -2761,8 +2949,26 @@ in - blocks_pdu_to_tagged_stream_0 - wxgui_numbersink2_0 + ieee802_11_ofdm_decode_mac_0 + ieee802_11_ofdm_parse_mac_0 + out + in + + + ieee802_11_ofdm_decode_signal_0 + blocks_vector_to_stream_0 + 0 + 0 + + + ieee802_11_ofdm_decode_signal_0 + ieee802_11_ofdm_decode_mac_0 + 0 + 0 + + + ieee802_11_ofdm_equalize_symbols_0 + ieee802_11_ofdm_decode_signal_0 0 0 @@ -2773,8 +2979,38 @@ pdus - foo_wireshark_connector_0 - blocks_file_sink_0 + ieee802_11_ofdm_sync_long_0 + blocks_stream_to_vector_0 + 0 + 0 + + + ieee802_11_ofdm_sync_short_0 + blocks_delay_0 + 0 + 0 + + + ieee802_11_ofdm_sync_short_0 + ieee802_11_ofdm_sync_long_0 + 0 + 0 + + + uhd_usrp_source_0 + blocks_complex_to_mag_squared_0 + 0 + 0 + + + uhd_usrp_source_0 + blocks_delay_0_0 + 0 + 0 + + + uhd_usrp_source_0 + blocks_multiply_xx_0 0 0 diff --git a/examples/wifi_transceiver.grc b/examples/wifi_transceiver.grc index fb670e5..2761cf2 100644 --- a/examples/wifi_transceiver.grc +++ b/examples/wifi_transceiver.grc @@ -9,8 +9,8 @@ - alias - + window_size + 1280, 1024 category @@ -48,10 +48,18 @@ max_nouts 0 + + qt_qss_theme + + realtime_scheduling + + run_command + {python} -u {filename} + run_options prompt @@ -68,10 +76,6 @@ title - - window_size - 1280, 1024 - variable_chooser @@ -1556,10 +1560,6 @@ type fc32 - - len_tag_name - packet_len - clock_source0 @@ -1668,6 +1668,10 @@ samp_rate samp_rate + + hide_cmd_port + False + stream_args @@ -1680,6 +1684,10 @@ sync pc_clock + + len_tag_name + packet_len + otw @@ -1703,6 +1711,14 @@ center_freq0 uhd.tune_request(freq, rf_freq = freq - lo_offset, rf_freq_policy=uhd.tune_request.POLICY_MANUAL) + + dc_offs_enb0 + "" + + + iq_imbal_enb0 + "" + norm_gain0 False @@ -1723,6 +1739,14 @@ center_freq10 0 + + dc_offs_enb10 + "" + + + iq_imbal_enb10 + "" + norm_gain10 False @@ -1743,6 +1767,14 @@ center_freq11 0 + + dc_offs_enb11 + "" + + + iq_imbal_enb11 + "" + norm_gain11 False @@ -1763,6 +1795,14 @@ center_freq12 0 + + dc_offs_enb12 + "" + + + iq_imbal_enb12 + "" + norm_gain12 False @@ -1783,6 +1823,14 @@ center_freq13 0 + + dc_offs_enb13 + "" + + + iq_imbal_enb13 + "" + norm_gain13 False @@ -1803,6 +1851,14 @@ center_freq14 0 + + dc_offs_enb14 + "" + + + iq_imbal_enb14 + "" + norm_gain14 False @@ -1823,6 +1879,14 @@ center_freq15 0 + + dc_offs_enb15 + "" + + + iq_imbal_enb15 + "" + norm_gain15 False @@ -1843,6 +1907,14 @@ center_freq16 0 + + dc_offs_enb16 + "" + + + iq_imbal_enb16 + "" + norm_gain16 False @@ -1863,6 +1935,14 @@ center_freq17 0 + + dc_offs_enb17 + "" + + + iq_imbal_enb17 + "" + norm_gain17 False @@ -1883,6 +1963,14 @@ center_freq18 0 + + dc_offs_enb18 + "" + + + iq_imbal_enb18 + "" + norm_gain18 False @@ -1903,6 +1991,14 @@ center_freq19 0 + + dc_offs_enb19 + "" + + + iq_imbal_enb19 + "" + norm_gain19 False @@ -1923,6 +2019,14 @@ center_freq1 0 + + dc_offs_enb1 + "" + + + iq_imbal_enb1 + "" + norm_gain1 False @@ -1943,6 +2047,14 @@ center_freq20 0 + + dc_offs_enb20 + "" + + + iq_imbal_enb20 + "" + norm_gain20 False @@ -1963,6 +2075,14 @@ center_freq21 0 + + dc_offs_enb21 + "" + + + iq_imbal_enb21 + "" + norm_gain21 False @@ -1983,6 +2103,14 @@ center_freq22 0 + + dc_offs_enb22 + "" + + + iq_imbal_enb22 + "" + norm_gain22 False @@ -2003,6 +2131,14 @@ center_freq23 0 + + dc_offs_enb23 + "" + + + iq_imbal_enb23 + "" + norm_gain23 False @@ -2023,6 +2159,14 @@ center_freq24 0 + + dc_offs_enb24 + "" + + + iq_imbal_enb24 + "" + norm_gain24 False @@ -2043,6 +2187,14 @@ center_freq25 0 + + dc_offs_enb25 + "" + + + iq_imbal_enb25 + "" + norm_gain25 False @@ -2063,6 +2215,14 @@ center_freq26 0 + + dc_offs_enb26 + "" + + + iq_imbal_enb26 + "" + norm_gain26 False @@ -2083,6 +2243,14 @@ center_freq27 0 + + dc_offs_enb27 + "" + + + iq_imbal_enb27 + "" + norm_gain27 False @@ -2103,6 +2271,14 @@ center_freq28 0 + + dc_offs_enb28 + "" + + + iq_imbal_enb28 + "" + norm_gain28 False @@ -2123,6 +2299,14 @@ center_freq29 0 + + dc_offs_enb29 + "" + + + iq_imbal_enb29 + "" + norm_gain29 False @@ -2143,6 +2327,14 @@ center_freq2 0 + + dc_offs_enb2 + "" + + + iq_imbal_enb2 + "" + norm_gain2 False @@ -2163,6 +2355,14 @@ center_freq30 0 + + dc_offs_enb30 + "" + + + iq_imbal_enb30 + "" + norm_gain30 False @@ -2183,6 +2383,14 @@ center_freq31 0 + + dc_offs_enb31 + "" + + + iq_imbal_enb31 + "" + norm_gain31 False @@ -2203,6 +2411,14 @@ center_freq3 0 + + dc_offs_enb3 + "" + + + iq_imbal_enb3 + "" + norm_gain3 False @@ -2223,6 +2439,14 @@ center_freq4 0 + + dc_offs_enb4 + "" + + + iq_imbal_enb4 + "" + norm_gain4 False @@ -2243,6 +2467,14 @@ center_freq5 0 + + dc_offs_enb5 + "" + + + iq_imbal_enb5 + "" + norm_gain5 False @@ -2263,6 +2495,14 @@ center_freq6 0 + + dc_offs_enb6 + "" + + + iq_imbal_enb6 + "" + norm_gain6 False @@ -2283,6 +2523,14 @@ center_freq7 0 + + dc_offs_enb7 + "" + + + iq_imbal_enb7 + "" + norm_gain7 False @@ -2303,6 +2551,14 @@ center_freq8 0 + + dc_offs_enb8 + "" + + + iq_imbal_enb8 + "" + norm_gain8 False @@ -2323,6 +2579,14 @@ center_freq9 0 + + dc_offs_enb9 + "" + + + iq_imbal_enb9 + "" + norm_gain9 False @@ -2487,6 +2751,10 @@ samp_rate samp_rate + + hide_cmd_port + False + stream_args @@ -2552,7 +2820,7 @@ sensitivity - 0.60 + 0.56 diff --git a/examples/wifi_tx.grc b/examples/wifi_tx.grc index e1d6e76..20ad74b 100644 --- a/examples/wifi_tx.grc +++ b/examples/wifi_tx.grc @@ -9,8 +9,8 @@ - alias - + window_size + 1280, 1024 category @@ -48,10 +48,18 @@ max_nouts 0 + + qt_qss_theme + + realtime_scheduling + + run_command + {python} -u {filename} + run_options run @@ -68,10 +76,6 @@ title - - window_size - 1280, 1024 - variable @@ -1638,10 +1642,6 @@ type fc32 - - len_tag_name - packet_len - clock_source0 @@ -1750,6 +1750,10 @@ samp_rate samp_rate + + hide_cmd_port + False + stream_args @@ -1762,6 +1766,10 @@ sync pc_clock + + len_tag_name + packet_len + otw @@ -1815,7 +1823,7 @@ sensitivity - 0.60 + 0.56