diff --git a/examples/wifi_phy_hier.grc b/examples/wifi_phy_hier.grc index 1634fea..f61a2a6 100644 --- a/examples/wifi_phy_hier.grc +++ b/examples/wifi_phy_hier.grc @@ -276,25 +276,6 @@ blocks: coordinate: [880, 776.0] rotation: 0 state: enabled -- name: blocks_tag_debug_0 - id: blocks_tag_debug - parameters: - affinity: '' - alias: '' - comment: '' - display: 'True' - filter: '""' - name: '' - num_inputs: '2' - type: complex - vlen: '1' - states: - bus_sink: false - bus_source: false - bus_structure: null - coordinate: [776, 156.0] - rotation: 0 - state: true - name: blocks_tagged_stream_mux_0 id: blocks_tagged_stream_mux parameters: @@ -570,7 +551,7 @@ blocks: id: ieee802_11_frame_equalizer parameters: affinity: '' - algo: ieee802_11.LS + algo: chan_est alias: '' bw: bandwidth comment: '' @@ -593,7 +574,7 @@ blocks: alias: '' comment: '' debug: 'False' - encoding: ieee802_11.BPSK_1_2 + encoding: encoding maxoutbuf: '0' minoutbuf: '0' states: @@ -694,7 +675,7 @@ blocks: bus_sink: false bus_source: false bus_structure: null - coordinate: [424, 116] + coordinate: [456, 116.0] rotation: 180 state: enabled - name: sensitivity @@ -766,14 +747,12 @@ connections: - [blocks_multiply_xx_0, '0', blocks_moving_average_xx_0, '0'] - [blocks_stream_to_vector_0, '0', fft_vxx_0_1, '0'] - [blocks_tagged_stream_mux_0, '0', digital_ofdm_carrier_allocator_cvc_0_0_0, '0'] -- [digital_chunks_to_symbols_xx_0, '0', blocks_tag_debug_0, '0'] - [digital_chunks_to_symbols_xx_0, '0', blocks_tagged_stream_mux_0, '0'] - [digital_ofdm_carrier_allocator_cvc_0_0_0, '0', fft_vxx_0_0, '0'] - [digital_ofdm_cyclic_prefixer_0_0, '0', pad_sink_0, '0'] - [digital_packet_headergenerator_bb_0, '0', digital_chunks_to_symbols_xx_0, '0'] - [fft_vxx_0_0, '0', digital_ofdm_cyclic_prefixer_0_0, '0'] - [fft_vxx_0_1, '0', ieee802_11_frame_equalizer_0, '0'] -- [ieee802_11_chunks_to_symbols_xx_0, '0', blocks_tag_debug_0, '1'] - [ieee802_11_chunks_to_symbols_xx_0, '0', blocks_tagged_stream_mux_0, '1'] - [ieee802_11_decode_mac_0, out, pad_sink_2, in] - [ieee802_11_frame_equalizer_0, '0', ieee802_11_decode_mac_0, '0'] diff --git a/examples/wifi_rx.grc b/examples/wifi_rx.grc index 73fecbe..fdf9a54 100644 --- a/examples/wifi_rx.grc +++ b/examples/wifi_rx.grc @@ -1,6 +1,7 @@ options: parameters: author: '' + catch_exceptions: 'True' category: Custom cmake_opt: '' comment: '' @@ -22,8 +23,10 @@ options: sizing_mode: fixed thread_safe_setters: '' title: '' - window_size: 1280, 2048 states: + bus_sink: false + bus_source: false + bus_structure: null coordinate: [8, 12.0] rotation: 0 state: enabled @@ -40,19 +43,23 @@ blocks: label2: '' label3: '' label4: '' - labels: '["LS", "LMS", "STA", "Linear Comb"]' + labels: '["LS", "LMS", "Linear Comb", "STA"]' num_opts: '0' + option0: '0' option1: '1' option2: '2' option3: '3' option4: '4' - options: '[ieee802_11.LS, ieee802_11.LMS, ieee802_11.STA, ieee802_11.COMB]' + options: '[0, 1, 2, 3]' orient: Qt.QHBoxLayout type: int value: '0' widget: radio_buttons states: - coordinate: [312, 12.0] + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [296, 12.0] rotation: 0 state: enabled - name: freq @@ -88,6 +95,7 @@ blocks: 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_opts: '0' + option0: '0' option1: '1' option2: '2' option3: '3' @@ -109,7 +117,10 @@ blocks: value: '5890000000' widget: combo_box states: - coordinate: [624, 12.0] + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [608, 12.0] rotation: 0 state: enabled - name: gain @@ -119,7 +130,7 @@ blocks: gui_hint: '' label: '' min_len: '200' - orient: Qt.Horizontal + orient: QtCore.Qt.Horizontal rangeType: float start: '0' step: '0.01' @@ -127,7 +138,10 @@ blocks: value: '0.75' widget: counter_slider states: - coordinate: [488, 12.0] + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [472, 12.0] rotation: 0 state: enabled - name: lo_offset @@ -143,6 +157,7 @@ blocks: label4: '' labels: '[]' num_opts: '3' + option0: '0' option1: 6e6 option2: 11e6 option3: '3' @@ -153,6 +168,9 @@ blocks: value: '0' widget: combo_box states: + bus_sink: false + bus_source: false + bus_structure: null coordinate: [176, 12.0] rotation: 0 state: enabled @@ -169,6 +187,7 @@ blocks: label4: '' labels: '["5 MHz", "10 MHz", "20 MHz"]' num_opts: '0' + option0: '0' option1: '1' option2: '2' option3: '3' @@ -179,7 +198,10 @@ blocks: value: 10e6 widget: combo_box states: - coordinate: [800, 12.0] + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [784, 12.0] rotation: 0 state: enabled - name: sync_length @@ -188,7 +210,10 @@ blocks: comment: '' value: '320' states: - coordinate: [8, 133] + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [8, 148.0] rotation: 0 state: enabled - name: window_size @@ -197,6 +222,9 @@ blocks: comment: '' value: '48' states: + bus_sink: false + bus_source: false + bus_structure: null coordinate: [8, 84.0] rotation: 0 state: enabled @@ -210,6 +238,9 @@ blocks: minoutbuf: '0' vlen: '1' states: + bus_sink: false + bus_source: false + bus_structure: null coordinate: [1016, 312] rotation: 0 state: enabled @@ -223,6 +254,9 @@ blocks: minoutbuf: '0' vlen: '1' states: + bus_sink: false + bus_source: false + bus_structure: null coordinate: [496, 208.0] rotation: 0 state: enabled @@ -235,7 +269,10 @@ blocks: maxoutbuf: '0' minoutbuf: '0' states: - coordinate: [424, 328] + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [440, 328.0] rotation: 0 state: enabled - name: blocks_delay_0 @@ -251,6 +288,9 @@ blocks: type: complex vlen: '1' states: + bus_sink: false + bus_source: false + bus_structure: null coordinate: [536, 540.0] rotation: 0 state: enabled @@ -267,7 +307,10 @@ blocks: type: complex vlen: '1' states: - coordinate: [264, 324] + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [280, 312.0] rotation: 0 state: enabled - name: blocks_divide_xx_0 @@ -282,6 +325,9 @@ blocks: type: float vlen: '1' states: + bus_sink: false + bus_source: false + bus_structure: null coordinate: [1168, 400] rotation: 270 state: enabled @@ -297,6 +343,9 @@ blocks: unbuffered: 'True' vlen: '1' states: + bus_sink: false + bus_source: false + bus_structure: null coordinate: [768, 908] rotation: 180 state: disabled @@ -314,9 +363,12 @@ blocks: type: float vlen: '1' states: + bus_sink: false + bus_source: false + bus_structure: null coordinate: [944, 180.0] rotation: 0 - state: true + state: enabled - name: blocks_moving_average_xx_1 id: blocks_moving_average_xx parameters: @@ -331,9 +383,12 @@ blocks: type: complex vlen: '1' states: + bus_sink: false + bus_source: false + bus_structure: null coordinate: [808, 284.0] rotation: 0 - state: true + state: enabled - name: blocks_multiply_xx_0 id: blocks_multiply_xx parameters: @@ -346,6 +401,9 @@ blocks: type: complex vlen: '1' states: + bus_sink: false + bus_source: false + bus_structure: null coordinate: [664, 296] rotation: 0 state: enabled @@ -360,6 +418,9 @@ blocks: tag: packet_len type: complex states: + bus_sink: false + bus_source: false + bus_structure: null coordinate: [584, 836] rotation: 180 state: enabled @@ -375,7 +436,10 @@ blocks: type: complex vlen: '1' states: - coordinate: [944, 536.0] + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [944, 528.0] rotation: 0 state: enabled - name: fft_vxx_0 @@ -393,6 +457,9 @@ blocks: type: complex window: window.rectangular(64) states: + bus_sink: false + bus_source: false + bus_structure: null coordinate: [168, 672] rotation: 0 state: enabled @@ -407,6 +474,9 @@ blocks: minoutbuf: '0' tech: '127' states: + bus_sink: false + bus_source: false + bus_structure: null coordinate: [952, 916] rotation: 180 state: disabled @@ -421,6 +491,9 @@ blocks: maxoutbuf: '0' minoutbuf: '0' states: + bus_sink: false + bus_source: false + bus_structure: null coordinate: [864, 676] rotation: 0 state: enabled @@ -428,7 +501,7 @@ blocks: id: ieee802_11_frame_equalizer parameters: affinity: '' - algo: chan_est + algo: ieee802_11.Equalizer(chan_est) alias: '' bw: samp_rate comment: '' @@ -438,6 +511,9 @@ blocks: maxoutbuf: '0' minoutbuf: '0' states: + bus_sink: false + bus_source: false + bus_structure: null coordinate: [432, 672] rotation: 0 state: enabled @@ -448,11 +524,14 @@ blocks: alias: '' comment: '' debug: 'True' - log: 'True' + log: 'False' maxoutbuf: '0' minoutbuf: '0' states: - coordinate: [984, 804] + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [872, 796.0] rotation: 180 state: enabled - name: ieee802_11_sync_long_0 @@ -462,11 +541,14 @@ blocks: alias: '' comment: '' debug: 'False' - log: 'True' + log: 'False' maxoutbuf: '0' minoutbuf: '0' sync_length: sync_length states: + bus_sink: false + bus_source: false + bus_structure: null coordinate: [744, 508.0] rotation: 0 state: enabled @@ -483,6 +565,9 @@ blocks: minoutbuf: '0' threshold: '0.56' states: + bus_sink: false + bus_source: false + bus_structure: null coordinate: [304, 488.0] rotation: 0 state: enabled @@ -572,6 +657,9 @@ blocks: ymax: '2' ymin: '-2' states: + bus_sink: false + bus_source: false + bus_structure: null coordinate: [344, 828] rotation: 180 state: enabled @@ -592,16 +680,16 @@ blocks: alpha9: '1.0' autoscale: 'False' axislabels: 'True' - color1: '"blue"' - color10: '"blue"' - color2: '"red"' - color3: '"green"' - color4: '"black"' - color5: '"cyan"' - color6: '"magenta"' - color7: '"yellow"' - color8: '"dark red"' - color9: '"dark green"' + color1: blue + color10: dark blue + color2: red + color3: green + color4: black + color5: cyan + color6: magenta + color7: yellow + color8: dark red + color9: dark green comment: '' ctrlpanel: 'False' entags: 'True' @@ -666,6 +754,9 @@ blocks: ymin: '-1' yunit: '""' states: + bus_sink: false + bus_source: false + bus_structure: null coordinate: [1164, 520] rotation: 270 state: enabled @@ -780,38 +871,70 @@ blocks: clock_source6: '' clock_source7: '' comment: '' - dc_offs_enb0: '""' - dc_offs_enb1: '""' - dc_offs_enb10: '""' - dc_offs_enb11: '""' - dc_offs_enb12: '""' - dc_offs_enb13: '""' - dc_offs_enb14: '""' - dc_offs_enb15: '""' - dc_offs_enb16: '""' - dc_offs_enb17: '""' - dc_offs_enb18: '""' - dc_offs_enb19: '""' - dc_offs_enb2: '""' - dc_offs_enb20: '""' - dc_offs_enb21: '""' - dc_offs_enb22: '""' - dc_offs_enb23: '""' - dc_offs_enb24: '""' - dc_offs_enb25: '""' - dc_offs_enb26: '""' - dc_offs_enb27: '""' - dc_offs_enb28: '""' - dc_offs_enb29: '""' - dc_offs_enb3: '""' - dc_offs_enb30: '""' - dc_offs_enb31: '""' - dc_offs_enb4: '""' - dc_offs_enb5: '""' - dc_offs_enb6: '""' - dc_offs_enb7: '""' - dc_offs_enb8: '""' - dc_offs_enb9: '""' + dc_offs0: 0+0j + dc_offs1: 0+0j + dc_offs10: 0+0j + dc_offs11: 0+0j + dc_offs12: 0+0j + dc_offs13: 0+0j + dc_offs14: 0+0j + dc_offs15: 0+0j + dc_offs16: 0+0j + dc_offs17: 0+0j + dc_offs18: 0+0j + dc_offs19: 0+0j + dc_offs2: 0+0j + dc_offs20: 0+0j + dc_offs21: 0+0j + dc_offs22: 0+0j + dc_offs23: 0+0j + dc_offs24: 0+0j + dc_offs25: 0+0j + dc_offs26: 0+0j + dc_offs27: 0+0j + dc_offs28: 0+0j + dc_offs29: 0+0j + dc_offs3: 0+0j + dc_offs30: 0+0j + dc_offs31: 0+0j + dc_offs4: 0+0j + dc_offs5: 0+0j + dc_offs6: 0+0j + dc_offs7: 0+0j + dc_offs8: 0+0j + dc_offs9: 0+0j + dc_offs_enb0: default + dc_offs_enb1: default + dc_offs_enb10: default + dc_offs_enb11: default + dc_offs_enb12: default + dc_offs_enb13: default + dc_offs_enb14: default + dc_offs_enb15: default + dc_offs_enb16: default + dc_offs_enb17: default + dc_offs_enb18: default + dc_offs_enb19: default + dc_offs_enb2: default + dc_offs_enb20: default + dc_offs_enb21: default + dc_offs_enb22: default + dc_offs_enb23: default + dc_offs_enb24: default + dc_offs_enb25: default + dc_offs_enb26: default + dc_offs_enb27: default + dc_offs_enb28: default + dc_offs_enb29: default + dc_offs_enb3: default + dc_offs_enb30: default + dc_offs_enb31: default + dc_offs_enb4: default + dc_offs_enb5: default + dc_offs_enb6: default + dc_offs_enb7: default + dc_offs_enb8: default + dc_offs_enb9: default dev_addr: '' dev_args: '""' gain0: gain @@ -846,38 +969,102 @@ blocks: gain7: '0' gain8: '0' gain9: '0' - iq_imbal_enb0: '""' - iq_imbal_enb1: '""' - iq_imbal_enb10: '""' - iq_imbal_enb11: '""' - iq_imbal_enb12: '""' - iq_imbal_enb13: '""' - iq_imbal_enb14: '""' - iq_imbal_enb15: '""' - iq_imbal_enb16: '""' - iq_imbal_enb17: '""' - iq_imbal_enb18: '""' - iq_imbal_enb19: '""' - iq_imbal_enb2: '""' - iq_imbal_enb20: '""' - iq_imbal_enb21: '""' - iq_imbal_enb22: '""' - iq_imbal_enb23: '""' - iq_imbal_enb24: '""' - iq_imbal_enb25: '""' - iq_imbal_enb26: '""' - iq_imbal_enb27: '""' - iq_imbal_enb28: '""' - iq_imbal_enb29: '""' - iq_imbal_enb3: '""' - iq_imbal_enb30: '""' - iq_imbal_enb31: '""' - iq_imbal_enb4: '""' - iq_imbal_enb5: '""' - iq_imbal_enb6: '""' - iq_imbal_enb7: '""' - iq_imbal_enb8: '""' - iq_imbal_enb9: '""' + gain_type0: normalized + gain_type1: default + gain_type10: default + gain_type11: default + gain_type12: default + gain_type13: default + gain_type14: default + gain_type15: default + gain_type16: default + gain_type17: default + gain_type18: default + gain_type19: default + gain_type2: default + gain_type20: default + gain_type21: default + gain_type22: default + gain_type23: default + gain_type24: default + gain_type25: default + gain_type26: default + gain_type27: default + gain_type28: default + gain_type29: default + gain_type3: default + gain_type30: default + gain_type31: default + gain_type4: default + gain_type5: default + gain_type6: default + gain_type7: default + gain_type8: default + gain_type9: default + iq_imbal0: 0+0j + iq_imbal1: 0+0j + iq_imbal10: 0+0j + iq_imbal11: 0+0j + iq_imbal12: 0+0j + iq_imbal13: 0+0j + iq_imbal14: 0+0j + iq_imbal15: 0+0j + iq_imbal16: 0+0j + iq_imbal17: 0+0j + iq_imbal18: 0+0j + iq_imbal19: 0+0j + iq_imbal2: 0+0j + iq_imbal20: 0+0j + iq_imbal21: 0+0j + iq_imbal22: 0+0j + iq_imbal23: 0+0j + iq_imbal24: 0+0j + iq_imbal25: 0+0j + iq_imbal26: 0+0j + iq_imbal27: 0+0j + iq_imbal28: 0+0j + iq_imbal29: 0+0j + iq_imbal3: 0+0j + iq_imbal30: 0+0j + iq_imbal31: 0+0j + iq_imbal4: 0+0j + iq_imbal5: 0+0j + iq_imbal6: 0+0j + iq_imbal7: 0+0j + iq_imbal8: 0+0j + iq_imbal9: 0+0j + iq_imbal_enb0: default + iq_imbal_enb1: default + iq_imbal_enb10: default + iq_imbal_enb11: default + iq_imbal_enb12: default + iq_imbal_enb13: default + iq_imbal_enb14: default + iq_imbal_enb15: default + iq_imbal_enb16: default + iq_imbal_enb17: default + iq_imbal_enb18: default + iq_imbal_enb19: default + iq_imbal_enb2: default + iq_imbal_enb20: default + iq_imbal_enb21: default + iq_imbal_enb22: default + iq_imbal_enb23: default + iq_imbal_enb24: default + iq_imbal_enb25: default + iq_imbal_enb26: default + iq_imbal_enb27: default + iq_imbal_enb28: default + iq_imbal_enb29: default + iq_imbal_enb3: default + iq_imbal_enb30: default + iq_imbal_enb31: default + iq_imbal_enb4: default + iq_imbal_enb5: default + iq_imbal_enb6: default + iq_imbal_enb7: default + iq_imbal_enb8: default + iq_imbal_enb9: default lo_export0: 'False' lo_export1: 'False' lo_export10: 'False' @@ -945,38 +1132,6 @@ blocks: maxoutbuf: '0' minoutbuf: '0' nchan: '1' - norm_gain0: 'True' - norm_gain1: 'False' - norm_gain10: 'False' - norm_gain11: 'False' - norm_gain12: 'False' - norm_gain13: 'False' - norm_gain14: 'False' - norm_gain15: 'False' - norm_gain16: 'False' - norm_gain17: 'False' - norm_gain18: 'False' - norm_gain19: 'False' - norm_gain2: 'False' - norm_gain20: 'False' - norm_gain21: 'False' - norm_gain22: 'False' - norm_gain23: 'False' - norm_gain24: 'False' - norm_gain25: 'False' - norm_gain26: 'False' - norm_gain27: 'False' - norm_gain28: 'False' - norm_gain29: 'False' - norm_gain3: 'False' - norm_gain30: 'False' - norm_gain31: 'False' - norm_gain4: 'False' - norm_gain5: 'False' - norm_gain6: 'False' - norm_gain7: 'False' - norm_gain8: 'False' - norm_gain9: 'False' num_mboards: '1' otw: '' rx_agc0: Default @@ -1021,6 +1176,7 @@ blocks: sd_spec6: '' sd_spec7: '' show_lo_controls: 'False' + start_time: '-1.0' stream_args: '' stream_chans: '[]' sync: sync @@ -1034,6 +1190,9 @@ blocks: time_source7: '' type: fc32 states: + bus_sink: false + bus_source: false + bus_structure: null coordinate: [32, 216] rotation: 0 state: enabled diff --git a/examples/wifi_transceiver.grc b/examples/wifi_transceiver.grc index a9cc384..5f1d188 100644 --- a/examples/wifi_transceiver.grc +++ b/examples/wifi_transceiver.grc @@ -1,6 +1,7 @@ options: parameters: author: '' + catch_exceptions: 'True' category: Custom cmake_opt: '' comment: '' @@ -22,8 +23,10 @@ options: sizing_mode: fixed thread_safe_setters: '' title: '' - window_size: 1280, 1024 states: + bus_sink: false + bus_source: false + bus_structure: null coordinate: [8, 12.0] rotation: 0 state: enabled @@ -40,19 +43,23 @@ blocks: label2: '' label3: '' label4: '' - labels: '["LS", "LMS", "STA", "Linear Comb"]' + labels: '["LS", "LMS", "Linear Comb", "STA"]' num_opts: '0' + option0: '0' option1: '1' option2: '2' option3: '3' option4: '4' - options: '[ieee802_11.LS, ieee802_11.LMS, ieee802_11.STA, ieee802_11.COMB]' + options: '[0, 1, 2, 3]' orient: Qt.QHBoxLayout type: int value: '0' widget: radio_buttons states: - coordinate: [312, 12.0] + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [296, 12.0] rotation: 0 state: enabled - name: encoding @@ -69,6 +76,7 @@ blocks: 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"]' num_opts: '0' + option0: '0' option1: '1' option2: '2' option3: '3' @@ -79,7 +87,10 @@ blocks: value: '0' widget: radio_buttons states: - coordinate: [488, 12.0] + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [472, 12.0] rotation: 0 state: enabled - name: freq @@ -115,6 +126,7 @@ blocks: 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_opts: '0' + option0: '0' option1: '1' option2: '2' option3: '3' @@ -136,7 +148,10 @@ blocks: value: '5890000000' widget: combo_box states: - coordinate: [656, 12.0] + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [640, 12.0] rotation: 0 state: enabled - name: lo_offset @@ -152,6 +167,7 @@ blocks: label4: '' labels: '[]' num_opts: '3' + option0: '0' option1: 6e6 option2: 11e6 option3: '3' @@ -162,6 +178,9 @@ blocks: value: '0' widget: combo_box states: + bus_sink: false + bus_source: false + bus_structure: null coordinate: [176, 12.0] rotation: 0 state: enabled @@ -172,7 +191,7 @@ blocks: gui_hint: '' label: '' min_len: '200' - orient: Qt.Horizontal + orient: QtCore.Qt.Horizontal rangeType: float start: '0' step: '0.01' @@ -180,7 +199,10 @@ blocks: value: '0.75' widget: counter_slider states: - coordinate: [1016, 108.0] + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1136, 12.0] rotation: 0 state: enabled - name: samp_rate @@ -196,6 +218,7 @@ blocks: label4: '' labels: '["5 MHz", "10 MHz", "20 MHz"]' num_opts: '0' + option0: '0' option1: '1' option2: '2' option3: '3' @@ -206,7 +229,10 @@ blocks: value: 10e6 widget: combo_box states: - coordinate: [832, 12.0] + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [816, 12.0] rotation: 0 state: enabled - name: tx_gain @@ -216,7 +242,7 @@ blocks: gui_hint: '' label: '' min_len: '200' - orient: Qt.Horizontal + orient: QtCore.Qt.Horizontal rangeType: float start: '0' step: '0.01' @@ -224,7 +250,10 @@ blocks: value: '0.75' widget: counter_slider states: - coordinate: [1016, 12.0] + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [1000, 12.0] rotation: 0 state: enabled - name: blocks_file_sink_0 @@ -239,7 +268,10 @@ blocks: unbuffered: 'True' vlen: '1' states: - coordinate: [48, 403] + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [48, 412.0] rotation: 180 state: enabled - name: blocks_multiply_const_vxx_0 @@ -254,8 +286,11 @@ blocks: type: complex vlen: '1' states: - coordinate: [480, 564] - rotation: 180 + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [476.0, 568] + rotation: 270 state: enabled - name: blocks_pdu_to_tagged_stream_0_0 id: blocks_pdu_to_tagged_stream @@ -268,7 +303,10 @@ blocks: tag: packet_len type: complex states: - coordinate: [116, 592] + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [124.0, 560] rotation: 270 state: enabled - name: blocks_tuntap_pdu_0 @@ -283,9 +321,12 @@ blocks: minoutbuf: '0' mtu: '440' states: + bus_sink: false + bus_source: false + bus_structure: null coordinate: [616, 157] rotation: 180 - state: enabled + state: disabled - name: foo_packet_pad2_0 id: foo_packet_pad2 parameters: @@ -300,7 +341,10 @@ blocks: pad_front: '10000' pad_tail: '10000' states: - coordinate: [424, 752] + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [600, 676.0] rotation: 0 state: enabled - name: foo_wireshark_connector_0 @@ -314,7 +358,10 @@ blocks: minoutbuf: '0' tech: '127' states: - coordinate: [232, 411] + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [232, 420.0] rotation: 180 state: enabled - name: ieee802_11_ether_encap_0 @@ -327,9 +374,12 @@ blocks: maxoutbuf: '0' minoutbuf: '0' states: + bus_sink: false + bus_source: false + bus_structure: null coordinate: [616, 265] rotation: 0 - state: enabled + state: disabled - name: ieee802_11_mac_0 id: ieee802_11_mac parameters: @@ -342,6 +392,9 @@ blocks: minoutbuf: '0' src_mac: '[0x12, 0x34, 0x56, 0x78, 0x90, 0xab]' states: + bus_sink: false + bus_source: false + bus_structure: null coordinate: [608, 379] rotation: 0 state: enabled @@ -356,7 +409,10 @@ blocks: maxoutbuf: '0' minoutbuf: '0' states: - coordinate: [328, 492] + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [264, 340.0] rotation: 180 state: enabled - name: qtgui_const_sink_x_0 @@ -445,7 +501,10 @@ blocks: ymax: '2' ymin: '-2' states: - coordinate: [192, 788.0] + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [208, 756.0] rotation: 0 state: enabled - name: uhd_usrp_sink_0 @@ -593,6 +652,38 @@ blocks: gain7: '0' gain8: '0' gain9: '0' + gain_type0: normalized + gain_type1: default + gain_type10: default + gain_type11: default + gain_type12: default + gain_type13: default + gain_type14: default + gain_type15: default + gain_type16: default + gain_type17: default + gain_type18: default + gain_type19: default + gain_type2: default + gain_type20: default + gain_type21: default + gain_type22: default + gain_type23: default + gain_type24: default + gain_type25: default + gain_type26: default + gain_type27: default + gain_type28: default + gain_type29: default + gain_type3: default + gain_type30: default + gain_type31: default + gain_type4: default + gain_type5: default + gain_type6: default + gain_type7: default + gain_type8: default + gain_type9: default len_tag_name: packet_len lo_export0: 'False' lo_export1: 'False' @@ -661,38 +752,6 @@ blocks: maxoutbuf: '0' minoutbuf: '0' nchan: '1' - norm_gain0: 'True' - norm_gain1: 'False' - norm_gain10: 'False' - norm_gain11: 'False' - norm_gain12: 'False' - norm_gain13: 'False' - norm_gain14: 'False' - norm_gain15: 'False' - norm_gain16: 'False' - norm_gain17: 'False' - norm_gain18: 'False' - norm_gain19: 'False' - norm_gain2: 'False' - norm_gain20: 'False' - norm_gain21: 'False' - norm_gain22: 'False' - norm_gain23: 'False' - norm_gain24: 'False' - norm_gain25: 'False' - norm_gain26: 'False' - norm_gain27: 'False' - norm_gain28: 'False' - norm_gain29: 'False' - norm_gain3: 'False' - norm_gain30: 'False' - norm_gain31: 'False' - norm_gain4: 'False' - norm_gain5: 'False' - norm_gain6: 'False' - norm_gain7: 'False' - norm_gain8: 'False' - norm_gain9: 'False' num_mboards: '1' otw: '' samp_rate: samp_rate @@ -705,6 +764,7 @@ blocks: sd_spec6: '' sd_spec7: '' show_lo_controls: 'False' + start_time: '-1.0' stream_args: '' stream_chans: '[]' sync: pc_clock @@ -718,7 +778,10 @@ blocks: time_source7: '' type: fc32 states: - coordinate: [592, 728] + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [768, 652.0] rotation: 0 state: enabled - name: uhd_usrp_source_0 @@ -832,38 +895,70 @@ blocks: clock_source6: '' clock_source7: '' comment: '' - dc_offs_enb0: '""' - dc_offs_enb1: '""' - dc_offs_enb10: '""' - dc_offs_enb11: '""' - dc_offs_enb12: '""' - dc_offs_enb13: '""' - dc_offs_enb14: '""' - dc_offs_enb15: '""' - dc_offs_enb16: '""' - dc_offs_enb17: '""' - dc_offs_enb18: '""' - dc_offs_enb19: '""' - dc_offs_enb2: '""' - dc_offs_enb20: '""' - dc_offs_enb21: '""' - dc_offs_enb22: '""' - dc_offs_enb23: '""' - dc_offs_enb24: '""' - dc_offs_enb25: '""' - dc_offs_enb26: '""' - dc_offs_enb27: '""' - dc_offs_enb28: '""' - dc_offs_enb29: '""' - dc_offs_enb3: '""' - dc_offs_enb30: '""' - dc_offs_enb31: '""' - dc_offs_enb4: '""' - dc_offs_enb5: '""' - dc_offs_enb6: '""' - dc_offs_enb7: '""' - dc_offs_enb8: '""' - dc_offs_enb9: '""' + dc_offs0: 0+0j + dc_offs1: 0+0j + dc_offs10: 0+0j + dc_offs11: 0+0j + dc_offs12: 0+0j + dc_offs13: 0+0j + dc_offs14: 0+0j + dc_offs15: 0+0j + dc_offs16: 0+0j + dc_offs17: 0+0j + dc_offs18: 0+0j + dc_offs19: 0+0j + dc_offs2: 0+0j + dc_offs20: 0+0j + dc_offs21: 0+0j + dc_offs22: 0+0j + dc_offs23: 0+0j + dc_offs24: 0+0j + dc_offs25: 0+0j + dc_offs26: 0+0j + dc_offs27: 0+0j + dc_offs28: 0+0j + dc_offs29: 0+0j + dc_offs3: 0+0j + dc_offs30: 0+0j + dc_offs31: 0+0j + dc_offs4: 0+0j + dc_offs5: 0+0j + dc_offs6: 0+0j + dc_offs7: 0+0j + dc_offs8: 0+0j + dc_offs9: 0+0j + dc_offs_enb0: default + dc_offs_enb1: default + dc_offs_enb10: default + dc_offs_enb11: default + dc_offs_enb12: default + dc_offs_enb13: default + dc_offs_enb14: default + dc_offs_enb15: default + dc_offs_enb16: default + dc_offs_enb17: default + dc_offs_enb18: default + dc_offs_enb19: default + dc_offs_enb2: default + dc_offs_enb20: default + dc_offs_enb21: default + dc_offs_enb22: default + dc_offs_enb23: default + dc_offs_enb24: default + dc_offs_enb25: default + dc_offs_enb26: default + dc_offs_enb27: default + dc_offs_enb28: default + dc_offs_enb29: default + dc_offs_enb3: default + dc_offs_enb30: default + dc_offs_enb31: default + dc_offs_enb4: default + dc_offs_enb5: default + dc_offs_enb6: default + dc_offs_enb7: default + dc_offs_enb8: default + dc_offs_enb9: default dev_addr: '' dev_args: '""' gain0: rx_gain @@ -898,38 +993,102 @@ blocks: gain7: '0' gain8: '0' gain9: '0' - iq_imbal_enb0: '""' - iq_imbal_enb1: '""' - iq_imbal_enb10: '""' - iq_imbal_enb11: '""' - iq_imbal_enb12: '""' - iq_imbal_enb13: '""' - iq_imbal_enb14: '""' - iq_imbal_enb15: '""' - iq_imbal_enb16: '""' - iq_imbal_enb17: '""' - iq_imbal_enb18: '""' - iq_imbal_enb19: '""' - iq_imbal_enb2: '""' - iq_imbal_enb20: '""' - iq_imbal_enb21: '""' - iq_imbal_enb22: '""' - iq_imbal_enb23: '""' - iq_imbal_enb24: '""' - iq_imbal_enb25: '""' - iq_imbal_enb26: '""' - iq_imbal_enb27: '""' - iq_imbal_enb28: '""' - iq_imbal_enb29: '""' - iq_imbal_enb3: '""' - iq_imbal_enb30: '""' - iq_imbal_enb31: '""' - iq_imbal_enb4: '""' - iq_imbal_enb5: '""' - iq_imbal_enb6: '""' - iq_imbal_enb7: '""' - iq_imbal_enb8: '""' - iq_imbal_enb9: '""' + gain_type0: normalized + gain_type1: default + gain_type10: default + gain_type11: default + gain_type12: default + gain_type13: default + gain_type14: default + gain_type15: default + gain_type16: default + gain_type17: default + gain_type18: default + gain_type19: default + gain_type2: default + gain_type20: default + gain_type21: default + gain_type22: default + gain_type23: default + gain_type24: default + gain_type25: default + gain_type26: default + gain_type27: default + gain_type28: default + gain_type29: default + gain_type3: default + gain_type30: default + gain_type31: default + gain_type4: default + gain_type5: default + gain_type6: default + gain_type7: default + gain_type8: default + gain_type9: default + iq_imbal0: 0+0j + iq_imbal1: 0+0j + iq_imbal10: 0+0j + iq_imbal11: 0+0j + iq_imbal12: 0+0j + iq_imbal13: 0+0j + iq_imbal14: 0+0j + iq_imbal15: 0+0j + iq_imbal16: 0+0j + iq_imbal17: 0+0j + iq_imbal18: 0+0j + iq_imbal19: 0+0j + iq_imbal2: 0+0j + iq_imbal20: 0+0j + iq_imbal21: 0+0j + iq_imbal22: 0+0j + iq_imbal23: 0+0j + iq_imbal24: 0+0j + iq_imbal25: 0+0j + iq_imbal26: 0+0j + iq_imbal27: 0+0j + iq_imbal28: 0+0j + iq_imbal29: 0+0j + iq_imbal3: 0+0j + iq_imbal30: 0+0j + iq_imbal31: 0+0j + iq_imbal4: 0+0j + iq_imbal5: 0+0j + iq_imbal6: 0+0j + iq_imbal7: 0+0j + iq_imbal8: 0+0j + iq_imbal9: 0+0j + iq_imbal_enb0: default + iq_imbal_enb1: default + iq_imbal_enb10: default + iq_imbal_enb11: default + iq_imbal_enb12: default + iq_imbal_enb13: default + iq_imbal_enb14: default + iq_imbal_enb15: default + iq_imbal_enb16: default + iq_imbal_enb17: default + iq_imbal_enb18: default + iq_imbal_enb19: default + iq_imbal_enb2: default + iq_imbal_enb20: default + iq_imbal_enb21: default + iq_imbal_enb22: default + iq_imbal_enb23: default + iq_imbal_enb24: default + iq_imbal_enb25: default + iq_imbal_enb26: default + iq_imbal_enb27: default + iq_imbal_enb28: default + iq_imbal_enb29: default + iq_imbal_enb3: default + iq_imbal_enb30: default + iq_imbal_enb31: default + iq_imbal_enb4: default + iq_imbal_enb5: default + iq_imbal_enb6: default + iq_imbal_enb7: default + iq_imbal_enb8: default + iq_imbal_enb9: default lo_export0: 'False' lo_export1: 'False' lo_export10: 'False' @@ -997,38 +1156,6 @@ blocks: maxoutbuf: '0' minoutbuf: '0' nchan: '1' - norm_gain0: 'True' - norm_gain1: 'False' - norm_gain10: 'False' - norm_gain11: 'False' - norm_gain12: 'False' - norm_gain13: 'False' - norm_gain14: 'False' - norm_gain15: 'False' - norm_gain16: 'False' - norm_gain17: 'False' - norm_gain18: 'False' - norm_gain19: 'False' - norm_gain2: 'False' - norm_gain20: 'False' - norm_gain21: 'False' - norm_gain22: 'False' - norm_gain23: 'False' - norm_gain24: 'False' - norm_gain25: 'False' - norm_gain26: 'False' - norm_gain27: 'False' - norm_gain28: 'False' - norm_gain29: 'False' - norm_gain3: 'False' - norm_gain30: 'False' - norm_gain31: 'False' - norm_gain4: 'False' - norm_gain5: 'False' - norm_gain6: 'False' - norm_gain7: 'False' - norm_gain8: 'False' - norm_gain9: 'False' num_mboards: '1' otw: '' rx_agc0: Default @@ -1073,6 +1200,7 @@ blocks: sd_spec6: '' sd_spec7: '' show_lo_controls: 'False' + start_time: '-1.0' stream_args: '' stream_chans: '[]' sync: pc_clock @@ -1086,8 +1214,11 @@ blocks: time_source7: '' type: fc32 states: - coordinate: [816, 744] - rotation: 0 + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [880, 452.0] + rotation: 180 state: enabled - name: wifi_phy_hier_0 id: wifi_phy_hier @@ -1095,15 +1226,18 @@ blocks: affinity: '' alias: '' bandwidth: samp_rate - chan_est: chan_est + chan_est: ieee802_11.Equalizer(chan_est) comment: '' - encoding: encoding + encoding: ieee802_11.Encoding(encoding) frequency: freq maxoutbuf: '0' minoutbuf: '0' sensitivity: '0.56' states: - coordinate: [664, 504] + bus_sink: false + bus_source: false + bus_structure: null + coordinate: [600, 476.0] rotation: 180 state: enabled diff --git a/examples/wifi_tx.grc b/examples/wifi_tx.grc index f438c56..d0cace8 100644 --- a/examples/wifi_tx.grc +++ b/examples/wifi_tx.grc @@ -1,6 +1,7 @@ options: parameters: author: '' + catch_exceptions: 'True' category: Custom cmake_opt: '' comment: '' @@ -22,7 +23,6 @@ options: sizing_mode: fixed thread_safe_setters: '' title: '' - window_size: 1280, 1024 states: bus_sink: false bus_source: false @@ -131,7 +131,7 @@ blocks: gui_hint: '' label: '' min_len: '200' - orient: Qt.Horizontal + orient: QtCore.Qt.Horizontal rangeType: int start: '10' step: '1' @@ -194,7 +194,7 @@ blocks: gui_hint: '' label: '' min_len: '200' - orient: Qt.Horizontal + orient: QtCore.Qt.Horizontal rangeType: int start: '0' step: '1' @@ -245,7 +245,7 @@ blocks: gui_hint: '' label: '' min_len: '200' - orient: Qt.Horizontal + orient: QtCore.Qt.Horizontal rangeType: float start: '0' step: '0.01' @@ -331,7 +331,7 @@ blocks: bus_sink: false bus_source: false bus_structure: null - coordinate: [664, 396.0] + coordinate: [704, 396.0] rotation: 180 state: true - name: foo_packet_pad2_0 @@ -778,6 +778,38 @@ blocks: gain7: '0' gain8: '0' gain9: '0' + gain_type0: normalized + gain_type1: default + gain_type10: default + gain_type11: default + gain_type12: default + gain_type13: default + gain_type14: default + gain_type15: default + gain_type16: default + gain_type17: default + gain_type18: default + gain_type19: default + gain_type2: default + gain_type20: default + gain_type21: default + gain_type22: default + gain_type23: default + gain_type24: default + gain_type25: default + gain_type26: default + gain_type27: default + gain_type28: default + gain_type29: default + gain_type3: default + gain_type30: default + gain_type31: default + gain_type4: default + gain_type5: default + gain_type6: default + gain_type7: default + gain_type8: default + gain_type9: default len_tag_name: packet_len lo_export0: 'False' lo_export1: 'False' @@ -846,38 +878,6 @@ blocks: maxoutbuf: '0' minoutbuf: '0' nchan: '1' - norm_gain0: 'True' - norm_gain1: 'False' - norm_gain10: 'False' - norm_gain11: 'False' - norm_gain12: 'False' - norm_gain13: 'False' - norm_gain14: 'False' - norm_gain15: 'False' - norm_gain16: 'False' - norm_gain17: 'False' - norm_gain18: 'False' - norm_gain19: 'False' - norm_gain2: 'False' - norm_gain20: 'False' - norm_gain21: 'False' - norm_gain22: 'False' - norm_gain23: 'False' - norm_gain24: 'False' - norm_gain25: 'False' - norm_gain26: 'False' - norm_gain27: 'False' - norm_gain28: 'False' - norm_gain29: 'False' - norm_gain3: 'False' - norm_gain30: 'False' - norm_gain31: 'False' - norm_gain4: 'False' - norm_gain5: 'False' - norm_gain6: 'False' - norm_gain7: 'False' - norm_gain8: 'False' - norm_gain9: 'False' num_mboards: '1' otw: '' samp_rate: samp_rate @@ -916,9 +916,9 @@ blocks: affinity: '' alias: '' bandwidth: samp_rate - chan_est: '0' + chan_est: ieee802_11.LS comment: '' - encoding: encoding + encoding: ieee802_11.Encoding(encoding) frequency: freq maxoutbuf: '0' minoutbuf: '0' @@ -927,7 +927,7 @@ blocks: bus_sink: false bus_source: false bus_structure: null - coordinate: [464, 396.0] + coordinate: [440, 396.0] rotation: 180 state: enabled diff --git a/grc/ieee802_11_frame_equalizer.block.yml b/grc/ieee802_11_frame_equalizer.block.yml index 48c7bfa..cdc099e 100644 --- a/grc/ieee802_11_frame_equalizer.block.yml +++ b/grc/ieee802_11_frame_equalizer.block.yml @@ -7,10 +7,8 @@ category: '[IEEE802.11]' parameters: - id: algo label: Algorithm - dtype: enum + dtype: raw default: ieee802_11.LS - options: [ieee802_11.LS, ieee802_11.LMS, ieee802_11.COMB, ieee802_11.STA] - option_labels: [LS, LMS, Comb, STA] - id: freq label: Frequency dtype: real diff --git a/grc/ieee802_11_mapper.block.yml b/grc/ieee802_11_mapper.block.yml index 273b26f..e151904 100644 --- a/grc/ieee802_11_mapper.block.yml +++ b/grc/ieee802_11_mapper.block.yml @@ -7,12 +7,8 @@ category: '[IEEE802.11]' parameters: - id: encoding label: Encoding - dtype: enum + dtype: raw default: ieee802_11.BPSK_1_2 - options: [ieee802_11.BPSK_1_2, ieee802_11.BPSK_3_4, ieee802_11.QPSK_1_2, ieee802_11.QPSK_3_4, - ieee802_11.16QAM_1_2, ieee802_11.16QAM_3_4, ieee802_11.64QAM_2_3, ieee802_11.64QAM_3_4] - option_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] - id: debug label: Debug dtype: bool