711 lines
14 KiB
XML
711 lines
14 KiB
XML
<?xml version='1.0' encoding='ASCII'?>
|
|
<flow_graph>
|
|
<timestamp>Wed Aug 28 12:48:20 2013</timestamp>
|
|
<block>
|
|
<key>options</key>
|
|
<param>
|
|
<key>id</key>
|
|
<value>ofdm_sim</value>
|
|
</param>
|
|
<param>
|
|
<key>_enabled</key>
|
|
<value>True</value>
|
|
</param>
|
|
<param>
|
|
<key>title</key>
|
|
<value></value>
|
|
</param>
|
|
<param>
|
|
<key>author</key>
|
|
<value></value>
|
|
</param>
|
|
<param>
|
|
<key>description</key>
|
|
<value></value>
|
|
</param>
|
|
<param>
|
|
<key>window_size</key>
|
|
<value>1280, 1024</value>
|
|
</param>
|
|
<param>
|
|
<key>generate_options</key>
|
|
<value>no_gui</value>
|
|
</param>
|
|
<param>
|
|
<key>category</key>
|
|
<value>Custom</value>
|
|
</param>
|
|
<param>
|
|
<key>run_options</key>
|
|
<value>run</value>
|
|
</param>
|
|
<param>
|
|
<key>run</key>
|
|
<value>True</value>
|
|
</param>
|
|
<param>
|
|
<key>max_nouts</key>
|
|
<value>0</value>
|
|
</param>
|
|
<param>
|
|
<key>realtime_scheduling</key>
|
|
<value></value>
|
|
</param>
|
|
<param>
|
|
<key>_coordinate</key>
|
|
<value>(6, 5)</value>
|
|
</param>
|
|
<param>
|
|
<key>_rotation</key>
|
|
<value>0</value>
|
|
</param>
|
|
</block>
|
|
<block>
|
|
<key>variable</key>
|
|
<param>
|
|
<key>id</key>
|
|
<value>samp_rate</value>
|
|
</param>
|
|
<param>
|
|
<key>_enabled</key>
|
|
<value>True</value>
|
|
</param>
|
|
<param>
|
|
<key>value</key>
|
|
<value>20000000</value>
|
|
</param>
|
|
<param>
|
|
<key>_coordinate</key>
|
|
<value>(1067, 17)</value>
|
|
</param>
|
|
<param>
|
|
<key>_rotation</key>
|
|
<value>0</value>
|
|
</param>
|
|
</block>
|
|
<block>
|
|
<key>parameter</key>
|
|
<param>
|
|
<key>id</key>
|
|
<value>freq_offset</value>
|
|
</param>
|
|
<param>
|
|
<key>_enabled</key>
|
|
<value>True</value>
|
|
</param>
|
|
<param>
|
|
<key>label</key>
|
|
<value></value>
|
|
</param>
|
|
<param>
|
|
<key>value</key>
|
|
<value>0</value>
|
|
</param>
|
|
<param>
|
|
<key>type</key>
|
|
<value>eng_float</value>
|
|
</param>
|
|
<param>
|
|
<key>short_id</key>
|
|
<value></value>
|
|
</param>
|
|
<param>
|
|
<key>_coordinate</key>
|
|
<value>(967, 14)</value>
|
|
</param>
|
|
<param>
|
|
<key>_rotation</key>
|
|
<value>0</value>
|
|
</param>
|
|
</block>
|
|
<block>
|
|
<key>analog_sig_source_x</key>
|
|
<param>
|
|
<key>id</key>
|
|
<value>analog_sig_source_x_0</value>
|
|
</param>
|
|
<param>
|
|
<key>_enabled</key>
|
|
<value>True</value>
|
|
</param>
|
|
<param>
|
|
<key>type</key>
|
|
<value>complex</value>
|
|
</param>
|
|
<param>
|
|
<key>samp_rate</key>
|
|
<value>samp_rate</value>
|
|
</param>
|
|
<param>
|
|
<key>waveform</key>
|
|
<value>analog.GR_COS_WAVE</value>
|
|
</param>
|
|
<param>
|
|
<key>freq</key>
|
|
<value>freq_offset</value>
|
|
</param>
|
|
<param>
|
|
<key>amp</key>
|
|
<value>1</value>
|
|
</param>
|
|
<param>
|
|
<key>offset</key>
|
|
<value>0</value>
|
|
</param>
|
|
<param>
|
|
<key>affinity</key>
|
|
<value></value>
|
|
</param>
|
|
<param>
|
|
<key>minoutbuf</key>
|
|
<value>0</value>
|
|
</param>
|
|
<param>
|
|
<key>_coordinate</key>
|
|
<value>(459, 447)</value>
|
|
</param>
|
|
<param>
|
|
<key>_rotation</key>
|
|
<value>0</value>
|
|
</param>
|
|
</block>
|
|
<block>
|
|
<key>blocks_add_xx</key>
|
|
<param>
|
|
<key>id</key>
|
|
<value>blocks_add_xx_0</value>
|
|
</param>
|
|
<param>
|
|
<key>_enabled</key>
|
|
<value>True</value>
|
|
</param>
|
|
<param>
|
|
<key>type</key>
|
|
<value>complex</value>
|
|
</param>
|
|
<param>
|
|
<key>num_inputs</key>
|
|
<value>2</value>
|
|
</param>
|
|
<param>
|
|
<key>vlen</key>
|
|
<value>1</value>
|
|
</param>
|
|
<param>
|
|
<key>affinity</key>
|
|
<value></value>
|
|
</param>
|
|
<param>
|
|
<key>minoutbuf</key>
|
|
<value>0</value>
|
|
</param>
|
|
<param>
|
|
<key>_coordinate</key>
|
|
<value>(742, 282)</value>
|
|
</param>
|
|
<param>
|
|
<key>_rotation</key>
|
|
<value>180</value>
|
|
</param>
|
|
</block>
|
|
<block>
|
|
<key>parameter</key>
|
|
<param>
|
|
<key>id</key>
|
|
<value>seed</value>
|
|
</param>
|
|
<param>
|
|
<key>_enabled</key>
|
|
<value>True</value>
|
|
</param>
|
|
<param>
|
|
<key>label</key>
|
|
<value></value>
|
|
</param>
|
|
<param>
|
|
<key>value</key>
|
|
<value>0</value>
|
|
</param>
|
|
<param>
|
|
<key>type</key>
|
|
<value>long</value>
|
|
</param>
|
|
<param>
|
|
<key>short_id</key>
|
|
<value></value>
|
|
</param>
|
|
<param>
|
|
<key>_coordinate</key>
|
|
<value>(877, 16)</value>
|
|
</param>
|
|
<param>
|
|
<key>_rotation</key>
|
|
<value>0</value>
|
|
</param>
|
|
</block>
|
|
<block>
|
|
<key>blocks_multiply_xx</key>
|
|
<param>
|
|
<key>id</key>
|
|
<value>blocks_multiply_xx_0</value>
|
|
</param>
|
|
<param>
|
|
<key>_enabled</key>
|
|
<value>True</value>
|
|
</param>
|
|
<param>
|
|
<key>type</key>
|
|
<value>complex</value>
|
|
</param>
|
|
<param>
|
|
<key>num_inputs</key>
|
|
<value>2</value>
|
|
</param>
|
|
<param>
|
|
<key>vlen</key>
|
|
<value>1</value>
|
|
</param>
|
|
<param>
|
|
<key>affinity</key>
|
|
<value></value>
|
|
</param>
|
|
<param>
|
|
<key>minoutbuf</key>
|
|
<value>0</value>
|
|
</param>
|
|
<param>
|
|
<key>_coordinate</key>
|
|
<value>(695, 377)</value>
|
|
</param>
|
|
<param>
|
|
<key>_rotation</key>
|
|
<value>0</value>
|
|
</param>
|
|
</block>
|
|
<block>
|
|
<key>parameter</key>
|
|
<param>
|
|
<key>id</key>
|
|
<value>snr</value>
|
|
</param>
|
|
<param>
|
|
<key>_enabled</key>
|
|
<value>True</value>
|
|
</param>
|
|
<param>
|
|
<key>label</key>
|
|
<value></value>
|
|
</param>
|
|
<param>
|
|
<key>value</key>
|
|
<value>10</value>
|
|
</param>
|
|
<param>
|
|
<key>type</key>
|
|
<value>eng_float</value>
|
|
</param>
|
|
<param>
|
|
<key>short_id</key>
|
|
<value></value>
|
|
</param>
|
|
<param>
|
|
<key>_coordinate</key>
|
|
<value>(767, 19)</value>
|
|
</param>
|
|
<param>
|
|
<key>_rotation</key>
|
|
<value>0</value>
|
|
</param>
|
|
</block>
|
|
<block>
|
|
<key>analog_noise_source_x</key>
|
|
<param>
|
|
<key>id</key>
|
|
<value>analog_noise_source_x_0</value>
|
|
</param>
|
|
<param>
|
|
<key>_enabled</key>
|
|
<value>True</value>
|
|
</param>
|
|
<param>
|
|
<key>type</key>
|
|
<value>complex</value>
|
|
</param>
|
|
<param>
|
|
<key>noise_type</key>
|
|
<value>analog.GR_GAUSSIAN</value>
|
|
</param>
|
|
<param>
|
|
<key>amp</key>
|
|
<value>((10**(-snr/10.0))/2.0)**0.5</value>
|
|
</param>
|
|
<param>
|
|
<key>seed</key>
|
|
<value>seed</value>
|
|
</param>
|
|
<param>
|
|
<key>affinity</key>
|
|
<value></value>
|
|
</param>
|
|
<param>
|
|
<key>minoutbuf</key>
|
|
<value>0</value>
|
|
</param>
|
|
<param>
|
|
<key>_coordinate</key>
|
|
<value>(860, 262)</value>
|
|
</param>
|
|
<param>
|
|
<key>_rotation</key>
|
|
<value>180</value>
|
|
</param>
|
|
</block>
|
|
<block>
|
|
<key>parameter</key>
|
|
<param>
|
|
<key>id</key>
|
|
<value>encoding</value>
|
|
</param>
|
|
<param>
|
|
<key>_enabled</key>
|
|
<value>True</value>
|
|
</param>
|
|
<param>
|
|
<key>label</key>
|
|
<value></value>
|
|
</param>
|
|
<param>
|
|
<key>value</key>
|
|
<value>0</value>
|
|
</param>
|
|
<param>
|
|
<key>type</key>
|
|
<value>intx</value>
|
|
</param>
|
|
<param>
|
|
<key>short_id</key>
|
|
<value></value>
|
|
</param>
|
|
<param>
|
|
<key>_coordinate</key>
|
|
<value>(676, 15)</value>
|
|
</param>
|
|
<param>
|
|
<key>_rotation</key>
|
|
<value>0</value>
|
|
</param>
|
|
</block>
|
|
<block>
|
|
<key>ofdm_phy_hier</key>
|
|
<param>
|
|
<key>id</key>
|
|
<value>ofdm_phy_hier_1</value>
|
|
</param>
|
|
<param>
|
|
<key>_enabled</key>
|
|
<value>True</value>
|
|
</param>
|
|
<param>
|
|
<key>encoding</key>
|
|
<value>encoding</value>
|
|
</param>
|
|
<param>
|
|
<key>affinity</key>
|
|
<value></value>
|
|
</param>
|
|
<param>
|
|
<key>minoutbuf</key>
|
|
<value>0</value>
|
|
</param>
|
|
<param>
|
|
<key>_coordinate</key>
|
|
<value>(497, 265)</value>
|
|
</param>
|
|
<param>
|
|
<key>_rotation</key>
|
|
<value>180</value>
|
|
</param>
|
|
</block>
|
|
<block>
|
|
<key>foo_packet_pad</key>
|
|
<param>
|
|
<key>id</key>
|
|
<value>foo_packet_pad_0</value>
|
|
</param>
|
|
<param>
|
|
<key>_enabled</key>
|
|
<value>True</value>
|
|
</param>
|
|
<param>
|
|
<key>debug</key>
|
|
<value>False</value>
|
|
</param>
|
|
<param>
|
|
<key>pad_front</key>
|
|
<value>0</value>
|
|
</param>
|
|
<param>
|
|
<key>pad_tail</key>
|
|
<value>15000</value>
|
|
</param>
|
|
<param>
|
|
<key>affinity</key>
|
|
<value></value>
|
|
</param>
|
|
<param>
|
|
<key>minoutbuf</key>
|
|
<value>0</value>
|
|
</param>
|
|
<param>
|
|
<key>_coordinate</key>
|
|
<value>(467, 357)</value>
|
|
</param>
|
|
<param>
|
|
<key>_rotation</key>
|
|
<value>0</value>
|
|
</param>
|
|
</block>
|
|
<block>
|
|
<key>ieee802_11_ofdm_mac</key>
|
|
<param>
|
|
<key>id</key>
|
|
<value>ieee802_11_ofdm_mac_0</value>
|
|
</param>
|
|
<param>
|
|
<key>_enabled</key>
|
|
<value>True</value>
|
|
</param>
|
|
<param>
|
|
<key>affinity</key>
|
|
<value></value>
|
|
</param>
|
|
<param>
|
|
<key>minoutbuf</key>
|
|
<value>0</value>
|
|
</param>
|
|
<param>
|
|
<key>_coordinate</key>
|
|
<value>(501, 166)</value>
|
|
</param>
|
|
<param>
|
|
<key>_rotation</key>
|
|
<value>0</value>
|
|
</param>
|
|
</block>
|
|
<block>
|
|
<key>ieee802_11_ofdm_parse_mac</key>
|
|
<param>
|
|
<key>id</key>
|
|
<value>ieee802_11_ofdm_parse_mac_0</value>
|
|
</param>
|
|
<param>
|
|
<key>_enabled</key>
|
|
<value>True</value>
|
|
</param>
|
|
<param>
|
|
<key>log</key>
|
|
<value>True</value>
|
|
</param>
|
|
<param>
|
|
<key>debug</key>
|
|
<value>True</value>
|
|
</param>
|
|
<param>
|
|
<key>affinity</key>
|
|
<value></value>
|
|
</param>
|
|
<param>
|
|
<key>_coordinate</key>
|
|
<value>(250, 253)</value>
|
|
</param>
|
|
<param>
|
|
<key>_rotation</key>
|
|
<value>180</value>
|
|
</param>
|
|
</block>
|
|
<block>
|
|
<key>import</key>
|
|
<param>
|
|
<key>id</key>
|
|
<value>import_0</value>
|
|
</param>
|
|
<param>
|
|
<key>_enabled</key>
|
|
<value>True</value>
|
|
</param>
|
|
<param>
|
|
<key>import</key>
|
|
<value>import random</value>
|
|
</param>
|
|
<param>
|
|
<key>_coordinate</key>
|
|
<value>(467, 25)</value>
|
|
</param>
|
|
<param>
|
|
<key>_rotation</key>
|
|
<value>0</value>
|
|
</param>
|
|
</block>
|
|
<block>
|
|
<key>import</key>
|
|
<param>
|
|
<key>id</key>
|
|
<value>import_1</value>
|
|
</param>
|
|
<param>
|
|
<key>_enabled</key>
|
|
<value>True</value>
|
|
</param>
|
|
<param>
|
|
<key>import</key>
|
|
<value>import string</value>
|
|
</param>
|
|
<param>
|
|
<key>_coordinate</key>
|
|
<value>(573, 25)</value>
|
|
</param>
|
|
<param>
|
|
<key>_rotation</key>
|
|
<value>0</value>
|
|
</param>
|
|
</block>
|
|
<block>
|
|
<key>parameter</key>
|
|
<param>
|
|
<key>id</key>
|
|
<value>packet_length</value>
|
|
</param>
|
|
<param>
|
|
<key>_enabled</key>
|
|
<value>True</value>
|
|
</param>
|
|
<param>
|
|
<key>label</key>
|
|
<value></value>
|
|
</param>
|
|
<param>
|
|
<key>value</key>
|
|
<value>133</value>
|
|
</param>
|
|
<param>
|
|
<key>type</key>
|
|
<value>intx</value>
|
|
</param>
|
|
<param>
|
|
<key>short_id</key>
|
|
<value></value>
|
|
</param>
|
|
<param>
|
|
<key>_coordinate</key>
|
|
<value>(339, 14)</value>
|
|
</param>
|
|
<param>
|
|
<key>_rotation</key>
|
|
<value>0</value>
|
|
</param>
|
|
</block>
|
|
<block>
|
|
<key>foo_periodic_msg_source</key>
|
|
<param>
|
|
<key>id</key>
|
|
<value>foo_periodic_msg_source_0_0</value>
|
|
</param>
|
|
<param>
|
|
<key>_enabled</key>
|
|
<value>True</value>
|
|
</param>
|
|
<param>
|
|
<key>msg</key>
|
|
<value>pmt.intern(''.join(random.choice(string.ascii_letters + string.digits) for x in range(packet_length-24)))</value>
|
|
</param>
|
|
<param>
|
|
<key>interval</key>
|
|
<value>50</value>
|
|
</param>
|
|
<param>
|
|
<key>debug</key>
|
|
<value>False</value>
|
|
</param>
|
|
<param>
|
|
<key>num</key>
|
|
<value>100</value>
|
|
</param>
|
|
<param>
|
|
<key>affinity</key>
|
|
<value></value>
|
|
</param>
|
|
<param>
|
|
<key>minoutbuf</key>
|
|
<value>0</value>
|
|
</param>
|
|
<param>
|
|
<key>_coordinate</key>
|
|
<value>(78, 138)</value>
|
|
</param>
|
|
<param>
|
|
<key>_rotation</key>
|
|
<value>0</value>
|
|
</param>
|
|
</block>
|
|
<connection>
|
|
<source_block_id>analog_sig_source_x_0</source_block_id>
|
|
<sink_block_id>blocks_multiply_xx_0</sink_block_id>
|
|
<source_key>0</source_key>
|
|
<sink_key>1</sink_key>
|
|
</connection>
|
|
<connection>
|
|
<source_block_id>foo_packet_pad_0</source_block_id>
|
|
<sink_block_id>blocks_multiply_xx_0</sink_block_id>
|
|
<source_key>0</source_key>
|
|
<sink_key>0</sink_key>
|
|
</connection>
|
|
<connection>
|
|
<source_block_id>blocks_add_xx_0</source_block_id>
|
|
<sink_block_id>ofdm_phy_hier_1</sink_block_id>
|
|
<source_key>0</source_key>
|
|
<sink_key>0</sink_key>
|
|
</connection>
|
|
<connection>
|
|
<source_block_id>blocks_multiply_xx_0</source_block_id>
|
|
<sink_block_id>blocks_add_xx_0</sink_block_id>
|
|
<source_key>0</source_key>
|
|
<sink_key>0</sink_key>
|
|
</connection>
|
|
<connection>
|
|
<source_block_id>analog_noise_source_x_0</source_block_id>
|
|
<sink_block_id>blocks_add_xx_0</sink_block_id>
|
|
<source_key>0</source_key>
|
|
<sink_key>1</sink_key>
|
|
</connection>
|
|
<connection>
|
|
<source_block_id>ofdm_phy_hier_1</source_block_id>
|
|
<sink_block_id>ieee802_11_ofdm_parse_mac_0</sink_block_id>
|
|
<source_key>1</source_key>
|
|
<sink_key>0</sink_key>
|
|
</connection>
|
|
<connection>
|
|
<source_block_id>ieee802_11_ofdm_mac_0</source_block_id>
|
|
<sink_block_id>ofdm_phy_hier_1</sink_block_id>
|
|
<source_key>1</source_key>
|
|
<sink_key>1</sink_key>
|
|
</connection>
|
|
<connection>
|
|
<source_block_id>ofdm_phy_hier_1</source_block_id>
|
|
<sink_block_id>foo_packet_pad_0</sink_block_id>
|
|
<source_key>0</source_key>
|
|
<sink_key>0</sink_key>
|
|
</connection>
|
|
<connection>
|
|
<source_block_id>foo_periodic_msg_source_0_0</source_block_id>
|
|
<sink_block_id>ieee802_11_ofdm_mac_0</sink_block_id>
|
|
<source_key>0</source_key>
|
|
<sink_key>0</sink_key>
|
|
</connection>
|
|
<connection>
|
|
<source_block_id>foo_periodic_msg_source_0_0</source_block_id>
|
|
<sink_block_id>ieee802_11_ofdm_parse_mac_0</sink_block_id>
|
|
<source_key>0</source_key>
|
|
<sink_key>0</sink_key>
|
|
</connection>
|
|
</flow_graph>
|