udpate flowgraphs

sorry, new GRC layout is horrible
This commit is contained in:
Bastian Bloessl
2019-06-06 12:03:57 +02:00
parent 9393abbf65
commit 30be96a165
5 changed files with 3068 additions and 9596 deletions
+100 -73
View File
@@ -1,15 +1,27 @@
options:
parameters:
author: ''
category: Custom
cmake_opt: ''
comment: ''
copyright: ''
description: ''
gen_cmake: 'On'
gen_linking: dynamic
generate_options: qt_gui
hier_block_src_path: '.:'
id: wifi_loopback
max_nouts: '0'
output_language: python
placement: (0,0)
qt_qss_theme: ''
realtime_scheduling: ''
run: 'True'
run_command: '{python} -u {filename}'
run_options: prompt
sizing_mode: fixed
thread_safe_setters: ''
title: ''
window_size: 1280, 1024
states:
coordinate: [16, 12]
@@ -20,7 +32,14 @@ blocks:
- name: chan_est
id: variable_qtgui_chooser
parameters:
comment: ''
gui_hint: 0,0,1,1
label: ''
label0: ''
label1: ''
label2: ''
label3: ''
label4: ''
labels: '["LS", "LMS", "STA", "Linear Comb"]'
num_opts: '0'
option1: '1'
@@ -39,7 +58,14 @@ blocks:
- name: encoding
id: variable_qtgui_chooser
parameters:
comment: ''
gui_hint: 0,1,1,1
label: ''
label0: ''
label1: ''
label2: ''
label3: ''
label4: ''
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'
@@ -59,7 +85,9 @@ blocks:
- name: epsilon
id: variable_qtgui_range
parameters:
comment: ''
gui_hint: 3,1,1,1
label: ''
min_len: '200'
orient: Qt.Horizontal
rangeType: float
@@ -75,7 +103,9 @@ blocks:
- name: interval
id: variable_qtgui_range
parameters:
comment: ''
gui_hint: 2,1,1,1
label: ''
min_len: '200'
orient: Qt.Horizontal
rangeType: int
@@ -91,6 +121,7 @@ blocks:
- name: out_buf_size
id: variable
parameters:
comment: ''
value: '96000'
states:
coordinate: [16, 76]
@@ -99,7 +130,9 @@ blocks:
- name: pdu_length
id: variable_qtgui_range
parameters:
comment: ''
gui_hint: 3,0,1,1
label: ''
min_len: '200'
orient: Qt.Horizontal
rangeType: int
@@ -115,7 +148,9 @@ blocks:
- name: snr
id: variable_qtgui_range
parameters:
comment: ''
gui_hint: 2,0,1,1
label: ''
min_len: '200'
orient: Qt.Horizontal
rangeType: float
@@ -131,69 +166,68 @@ blocks:
- name: blocks_file_sink_0
id: blocks_file_sink
parameters:
affinity: ''
alias: ''
append: 'False'
comment: ''
file: /tmp/wifi.bin
type: byte
unbuffered: 'True'
vlen: '1'
states:
coordinate: [144, 259]
coordinate: [120, 556.0]
rotation: 180
state: disabled
- name: blocks_message_debug_0
id: blocks_message_debug
parameters: {}
states:
coordinate: [744, 304.0]
rotation: 0
state: true
- name: blocks_message_strobe_0
id: blocks_message_strobe
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
msg: pmt.intern("".join("x" for i in range(pdu_length)))
period: interval
states:
coordinate: [488, 171]
coordinate: [544, 204.0]
rotation: 0
state: enabled
- name: blocks_multiply_const_xx_0
id: blocks_multiply_const_xx
parameters:
affinity: ''
alias: ''
comment: ''
const: (10**(snr/10.0))**.5
maxoutbuf: '0'
minoutbuf: '0'
type: complex
vlen: '1'
states:
coordinate: [704, 732.0]
coordinate: [720, 740.0]
rotation: 0
state: true
- name: blocks_pdu_to_tagged_stream_0
id: blocks_pdu_to_tagged_stream
parameters:
maxoutbuf: '0'
minoutbuf: '0'
tag: packet_len
type: float
states:
coordinate: [124, 448]
rotation: 270
state: disabled
- name: blocks_pdu_to_tagged_stream_0_0
id: blocks_pdu_to_tagged_stream
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
tag: packet_len
type: complex
states:
coordinate: [464, 404.0]
coordinate: [400, 372.0]
rotation: 180
state: disabled
state: enabled
- name: channels_channel_model_0
id: channels_channel_model
parameters:
affinity: ''
alias: ''
block_tags: 'False'
comment: ''
epsilon: '1.0'
freq_offset: epsilon * 5.89e9 / 10e6
maxoutbuf: '0'
@@ -202,12 +236,15 @@ blocks:
seed: '0'
taps: '1.0'
states:
coordinate: [912, 712]
coordinate: [904, 700.0]
rotation: 0
state: enabled
- name: foo_packet_pad2_0
id: foo_packet_pad2
parameters:
affinity: ''
alias: ''
comment: ''
debug: 'False'
delay: 'False'
delay_sec: '0.001'
@@ -216,60 +253,75 @@ blocks:
pad_front: '500'
pad_tail: '0'
states:
coordinate: [544, 724.0]
coordinate: [560, 708.0]
rotation: 0
state: enabled
- name: foo_wireshark_connector_0
id: foo_wireshark_connector
parameters:
affinity: ''
alias: ''
comment: ''
debug: 'False'
maxoutbuf: '0'
minoutbuf: '0'
tech: '127'
states:
coordinate: [352, 267]
coordinate: [328, 564.0]
rotation: 180
state: disabled
- name: ieee802_11_mac_0
id: ieee802_11_mac
parameters:
affinity: ''
alias: ''
bss_mac: '[0xff, 0xff, 0xff, 0xff, 0xff, 0xff]'
comment: ''
dst_mac: '[0x42, 0x42, 0x42, 0x42, 0x42, 0x42]'
maxoutbuf: '0'
minoutbuf: '0'
src_mac: '[0x23, 0x23, 0x23, 0x23, 0x23, 0x23]'
states:
coordinate: [736, 179]
coordinate: [784, 212.0]
rotation: 0
state: enabled
- name: ieee802_11_parse_mac_0
id: ieee802_11_parse_mac
parameters:
affinity: ''
alias: ''
comment: ''
debug: 'True'
log: 'True'
maxoutbuf: '0'
minoutbuf: '0'
states:
coordinate: [288, 364]
coordinate: [360, 492.0]
rotation: 180
state: enabled
- name: pfb_arb_resampler_xxx_0
id: pfb_arb_resampler_xxx
parameters:
affinity: ''
alias: ''
atten: '100'
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
nfilts: '32'
rrate: 1+epsilon
samp_delay: '0'
taps: ''
type: ccf
states:
coordinate: [1064, 464]
coordinate: [1092.0, 504]
rotation: 90
state: enabled
- name: qtgui_const_sink_x_0
id: qtgui_const_sink_x
parameters:
affinity: ''
alias: ''
alpha1: '1.0'
alpha10: '1.0'
alpha2: '1.0'
@@ -292,8 +344,19 @@ blocks:
color7: '"red"'
color8: '"red"'
color9: '"red"'
comment: ''
grid: 'False'
gui_hint: 1,0,1,2
label1: ''
label10: ''
label2: ''
label3: ''
label4: ''
label5: ''
label6: ''
label7: ''
label8: ''
label9: ''
legend: 'True'
marker1: '0'
marker10: '0'
@@ -340,54 +403,21 @@ blocks:
ymax: '2'
ymin: '-2'
states:
coordinate: [388.0, 512]
rotation: 270
state: disabled
- name: qtgui_number_sink_0
id: qtgui_number_sink
parameters:
autoscale: 'False'
avg: '0.05'
color1: ("black", "black")
color10: ("black", "black")
color2: ("black", "black")
color3: ("black", "black")
color4: ("black", "black")
color5: ("black", "black")
color6: ("black", "black")
color7: ("black", "black")
color8: ("black", "black")
color9: ("black", "black")
factor1: '1'
factor10: '1'
factor2: '1'
factor3: '1'
factor4: '1'
factor5: '1'
factor6: '1'
factor7: '1'
factor8: '1'
factor9: '1'
graph_type: qtgui.NUM_GRAPH_NONE
label1: Error Rate
max: '100'
min: '0'
name: '""'
nconnections: '1'
type: float
unit1: Percent
update_time: '0.10'
states:
coordinate: [192, 628]
rotation: 0
state: disabled
coordinate: [152, 364.0]
rotation: 180
state: enabled
- name: wifi_phy_hier_0
id: wifi_phy_hier
parameters:
affinity: ''
alias: ''
bandwidth: 10e6
chan_est: chan_est
comment: ''
encoding: encoding
frequency: 5.9e6
maxoutbuf: '0'
minoutbuf: '0'
sensitivity: '0.56'
states:
coordinate: [736, 484.0]
@@ -397,16 +427,13 @@ blocks:
connections:
- [blocks_message_strobe_0, strobe, ieee802_11_mac_0, app in]
- [blocks_multiply_const_xx_0, '0', channels_channel_model_0, '0']
- [blocks_pdu_to_tagged_stream_0, '0', qtgui_number_sink_0, '0']
- [blocks_pdu_to_tagged_stream_0_0, '0', qtgui_const_sink_x_0, '0']
- [channels_channel_model_0, '0', pfb_arb_resampler_xxx_0, '0']
- [foo_packet_pad2_0, '0', blocks_multiply_const_xx_0, '0']
- [foo_wireshark_connector_0, '0', blocks_file_sink_0, '0']
- [ieee802_11_mac_0, phy out, wifi_phy_hier_0, mac_in]
- [ieee802_11_parse_mac_0, fer, blocks_pdu_to_tagged_stream_0, pdus]
- [pfb_arb_resampler_xxx_0, '0', wifi_phy_hier_0, '0']
- [wifi_phy_hier_0, '0', foo_packet_pad2_0, '0']
- [wifi_phy_hier_0, carrier, blocks_message_debug_0, print]
- [wifi_phy_hier_0, carrier, blocks_pdu_to_tagged_stream_0_0, pdus]
- [wifi_phy_hier_0, mac_out, foo_wireshark_connector_0, in]
- [wifi_phy_hier_0, mac_out, ieee802_11_parse_mac_0, in]
+143 -14
View File
@@ -1,15 +1,26 @@
options:
parameters:
author: ''
category: '[IEEE802.11]'
cmake_opt: ''
comment: ''
copyright: ''
description: ''
gen_cmake: 'On'
gen_linking: dynamic
generate_options: hb
hier_block_src_path: '.:'
id: wifi_phy_hier
max_nouts: '0'
output_language: python
placement: (0,0)
qt_qss_theme: ''
realtime_scheduling: ''
run: 'True'
run_command: '{python} -u {filename}'
run_options: prompt
sizing_mode: fixed
thread_safe_setters: ''
title: WiFi PHY Hier
window_size: 1280, 1024
states:
@@ -21,6 +32,7 @@ blocks:
- name: header_formatter
id: variable
parameters:
comment: ''
value: ieee802_11.signal_field()
states:
coordinate: [400, 12]
@@ -29,6 +41,7 @@ blocks:
- name: max_symbols
id: variable
parameters:
comment: ''
value: int(5 + 1 + ((16 + 1540 * 8 + 6) * 2) / 24)
states:
coordinate: [528, 12]
@@ -37,6 +50,7 @@ blocks:
- name: sync_length
id: variable
parameters:
comment: ''
value: '320'
states:
coordinate: [192, 12]
@@ -45,6 +59,7 @@ blocks:
- name: window_size
id: variable
parameters:
comment: ''
value: '48'
states:
coordinate: [296, 12]
@@ -53,7 +68,11 @@ blocks:
- name: bandwidth
id: parameter
parameters:
alias: ''
comment: ''
hide: none
label: ''
short_id: ''
type: eng_float
value: 10e6
states:
@@ -63,6 +82,9 @@ blocks:
- name: blocks_complex_to_mag_0
id: blocks_complex_to_mag
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
vlen: '1'
@@ -73,6 +95,9 @@ blocks:
- name: blocks_complex_to_mag_squared_0
id: blocks_complex_to_mag_squared
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
vlen: '1'
@@ -83,6 +108,9 @@ blocks:
- name: blocks_conjugate_cc_0
id: blocks_conjugate_cc
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
states:
@@ -92,6 +120,9 @@ blocks:
- name: blocks_delay_0
id: blocks_delay
parameters:
affinity: ''
alias: ''
comment: ''
delay: sync_length
maxoutbuf: '0'
minoutbuf: '0'
@@ -99,12 +130,15 @@ blocks:
type: complex
vlen: '1'
states:
coordinate: [424, 764]
coordinate: [432, 764.0]
rotation: 0
state: enabled
- name: blocks_delay_0_0
id: blocks_delay
parameters:
affinity: ''
alias: ''
comment: ''
delay: '16'
maxoutbuf: '0'
minoutbuf: '0'
@@ -118,42 +152,58 @@ blocks:
- name: blocks_divide_xx_0
id: blocks_divide_xx
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
num_inputs: '2'
type: float
vlen: '1'
states:
coordinate: [1120, 656]
coordinate: [1120.0, 560]
rotation: 270
state: enabled
- name: blocks_moving_average_xx_0
id: blocks_moving_average_xx
parameters:
affinity: ''
alias: ''
comment: ''
length: window_size
max_iter: '4000'
maxoutbuf: '0'
minoutbuf: '0'
scale: '1'
type: complex
vlen: '1'
states:
coordinate: [760, 572.0]
coordinate: [752, 556.0]
rotation: 0
state: true
- name: blocks_moving_average_xx_1
id: blocks_moving_average_xx
parameters:
affinity: ''
alias: ''
comment: ''
length: window_size + 16
max_iter: '4000'
maxoutbuf: '0'
minoutbuf: '0'
scale: '1'
type: float
vlen: '1'
states:
coordinate: [816, 476.0]
coordinate: [824, 476.0]
rotation: 0
state: true
- name: blocks_multiply_xx_0
id: blocks_multiply_xx
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
num_inputs: '2'
@@ -166,6 +216,9 @@ blocks:
- name: blocks_stream_to_vector_0
id: blocks_stream_to_vector
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: '0'
minoutbuf: '0'
num_items: '64'
@@ -178,6 +231,9 @@ blocks:
- name: blocks_tagged_stream_mux_0
id: blocks_tagged_stream_mux
parameters:
affinity: ''
alias: ''
comment: ''
lengthtagname: '"packet_len"'
maxoutbuf: '0'
minoutbuf: max_symbols * 48 * 8
@@ -192,7 +248,12 @@ blocks:
- name: chan_est
id: parameter
parameters:
alias: ''
comment: ''
hide: none
label: ''
short_id: ''
type: ''
value: ieee802_11.LS
states:
coordinate: [640, 12]
@@ -201,6 +262,9 @@ blocks:
- name: digital_chunks_to_symbols_xx_0
id: digital_chunks_to_symbols_xx
parameters:
affinity: ''
alias: ''
comment: ''
dimension: '1'
in_type: byte
maxoutbuf: '0'
@@ -215,12 +279,16 @@ blocks:
- name: digital_ofdm_carrier_allocator_cvc_0_0_0
id: digital_ofdm_carrier_allocator_cvc
parameters:
affinity: ''
alias: ''
comment: ''
fft_len: '64'
len_tag_key: '"packet_len"'
maxoutbuf: '0'
minoutbuf: max_symbols * 48 * 8
occupied_carriers: (list(range(-26, -21)) + list(range(-20, -7)) + list(range(-6,
0)) + list(range(1, 7)) + list(range(8, 21)) +list( range(22, 27)),)
output_is_shifted: 'True'
pilot_carriers: ((-21, -7, 7, 21), )
pilot_symbols: ((1, 1, 1, -1), (1, 1, 1, -1), (1, 1, 1, -1), (1, 1, 1, -1), (-1,
-1, -1, 1), (-1, -1, -1, 1), (-1, -1, -1, 1), (1, 1, 1, -1), (-1, -1, -1, 1),
@@ -272,12 +340,15 @@ blocks:
-1, -1, 1, 1, -1, 1, -1, 1, -1, -1, -1, -1, -1, 1, 1, -1, -1, 1, -1, 1, -1,
1, 1, 1, 1, 0, 0, 0, 0, 0))
states:
coordinate: [1040, 232]
coordinate: [1040, 220.0]
rotation: 0
state: enabled
- name: digital_ofdm_cyclic_prefixer_0_0
id: digital_ofdm_cyclic_prefixer
parameters:
affinity: ''
alias: ''
comment: ''
cp_len: '16'
input_size: '64'
maxoutbuf: '0'
@@ -285,12 +356,15 @@ blocks:
rolloff: '2'
tagname: '"packet_len"'
states:
coordinate: [752, 376]
coordinate: [752, 372.0]
rotation: 180
state: enabled
- name: digital_packet_headergenerator_bb_0
id: digital_packet_headergenerator_bb
parameters:
affinity: ''
alias: ''
comment: ''
header_formatter: header_formatter.formatter()
len_tag_key: '"packet_len"'
maxoutbuf: '0'
@@ -302,7 +376,11 @@ blocks:
- name: encoding
id: parameter
parameters:
alias: ''
comment: ''
hide: none
label: ''
short_id: ''
type: intx
value: ieee802_11.BPSK_1_2
states:
@@ -312,6 +390,9 @@ blocks:
- name: fft_vxx_0_0
id: fft_vxx
parameters:
affinity: ''
alias: ''
comment: ''
fft_size: '64'
forward: 'False'
maxoutbuf: '0'
@@ -321,12 +402,15 @@ blocks:
type: complex
window: tuple([1/52**.5] * 64)
states:
coordinate: [1040, 368]
coordinate: [1040, 364.0]
rotation: 180
state: enabled
- name: fft_vxx_0_1
id: fft_vxx
parameters:
affinity: ''
alias: ''
comment: ''
fft_size: '64'
forward: 'True'
maxoutbuf: '0'
@@ -342,7 +426,11 @@ blocks:
- name: frequency
id: parameter
parameters:
alias: ''
comment: ''
hide: none
label: ''
short_id: ''
type: eng_float
value: 5.89e9
states:
@@ -352,6 +440,9 @@ blocks:
- name: ieee802_11_chunks_to_symbols_xx_0
id: ieee802_11_chunks_to_symbols_xx
parameters:
affinity: ''
alias: ''
comment: ''
maxoutbuf: max_symbols * 48 * 8
minoutbuf: max_symbols * 48 * 8
states:
@@ -361,19 +452,25 @@ blocks:
- name: ieee802_11_decode_mac_0
id: ieee802_11_decode_mac
parameters:
affinity: ''
alias: ''
comment: ''
debug: 'False'
log: 'False'
maxoutbuf: '0'
minoutbuf: '0'
states:
coordinate: [512, 924]
coordinate: [544, 900.0]
rotation: 180
state: enabled
- name: ieee802_11_frame_equalizer_0
id: ieee802_11_frame_equalizer
parameters:
algo: ieee802_11.LS
affinity: ''
algo: chan_est
alias: ''
bw: bandwidth
comment: ''
debug: 'False'
freq: frequency
log: 'False'
@@ -386,8 +483,11 @@ blocks:
- name: ieee802_11_mapper_0
id: ieee802_11_mapper
parameters:
affinity: ''
alias: ''
comment: ''
debug: 'True'
encoding: ieee802_11.BPSK_1_2
encoding: encoding
maxoutbuf: '0'
minoutbuf: '0'
states:
@@ -397,43 +497,57 @@ blocks:
- name: pad_sink_0
id: pad_sink
parameters:
affinity: ''
alias: ''
comment: ''
label: samp_out
num_streams: '1'
optional: 'False'
type: complex
vlen: '1'
states:
coordinate: [576, 396]
coordinate: [576, 396.0]
rotation: 180
state: enabled
- name: pad_sink_1
id: pad_sink
parameters:
affinity: ''
alias: ''
comment: ''
label: carrier
num_streams: '1'
optional: 'True'
type: message
vlen: '1'
states:
coordinate: [560, 868.0]
coordinate: [560, 980.0]
rotation: 180
state: enabled
- name: pad_sink_2
id: pad_sink
parameters:
affinity: ''
alias: ''
comment: ''
label: mac_out
num_streams: '1'
optional: 'True'
type: message
vlen: '1'
states:
coordinate: [328, 932]
coordinate: [368, 908.0]
rotation: 180
state: enabled
- name: pad_source_0
id: pad_source
parameters:
affinity: ''
alias: ''
comment: ''
label: samp_in
maxoutbuf: '0'
minoutbuf: '0'
num_streams: '1'
optional: 'False'
type: complex
@@ -445,7 +559,12 @@ blocks:
- name: pad_source_1
id: pad_source
parameters:
affinity: ''
alias: ''
comment: ''
label: mac_in
maxoutbuf: '0'
minoutbuf: '0'
num_streams: '1'
optional: 'True'
type: message
@@ -457,7 +576,11 @@ blocks:
- name: sensitivity
id: parameter
parameters:
alias: ''
comment: ''
hide: none
label: ''
short_id: ''
type: eng_float
value: '0.56'
states:
@@ -467,18 +590,24 @@ blocks:
- name: sync_long
id: ieee802_11_sync_long
parameters:
affinity: ''
alias: ''
comment: ''
debug: 'False'
log: 'False'
maxoutbuf: '0'
minoutbuf: '0'
sync_length: sync_length
states:
coordinate: [608, 732]
coordinate: [608, 732.0]
rotation: 0
state: enabled
- name: sync_short
id: ieee802_11_sync_short
parameters:
affinity: ''
alias: ''
comment: ''
debug: 'False'
log: 'False'
maxoutbuf: '0'
+1070 -3751
View File
File diff suppressed because it is too large Load Diff
+1128 -3810
View File
File diff suppressed because it is too large Load Diff
+627 -1948
View File
File diff suppressed because it is too large Load Diff