diff --git a/examples/wifi_loopback.grc b/examples/wifi_loopback.grc index c95b6f8..90b3bfc 100644 --- a/examples/wifi_loopback.grc +++ b/examples/wifi_loopback.grc @@ -1,5 +1,5 @@ - + Sat Feb 1 18:28:19 2014 @@ -65,6 +65,33 @@ 0 + + variable + + id + variable_0 + + + _enabled + True + + + value + 0 + + + alias + + + + _coordinate + (952, 384) + + + _rotation + 0 + + variable @@ -92,6 +119,33 @@ 0 + + variable + + id + out_buf_size + + + _enabled + True + + + value + 96000 + + + alias + + + + _coordinate + (1136, 147) + + + _rotation + 0 + + variable_chooser @@ -233,65 +287,6 @@ 0 - - variable_slider - - id - freq_offset - - - _enabled - True - - - label - - - - value - 0 - - - min - -10000 - - - max - 10000 - - - num_steps - 1000 - - - style - wx.SL_HORIZONTAL - - - converver - float_converter - - - grid_pos - - - - notebook - - - - alias - - - - _coordinate - (947, 7) - - - _rotation - 0 - - blocks_add_xx @@ -378,96 +373,6 @@ 180 - - ieee802_11_ofdm_mac - - id - ieee802_11_ofdm_mac_0 - - - _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 - - - _coordinate - (376, 139) - - - _rotation - 0 - - - - blocks_message_strobe - - id - blocks_message_strobe_0 - - - _enabled - True - - - msg - pmt.intern("Hello World!") - - - period - 300 - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - _coordinate - (96, 131) - - - _rotation - 0 - - ieee802_11_ofdm_parse_mac @@ -503,96 +408,6 @@ 180 - - foo_wireshark_connector - - id - foo_wireshark_connector_0 - - - _enabled - False - - - tech - 127 - - - debug - False - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - _coordinate - (632, 163) - - - _rotation - 0 - - - - blocks_file_sink - - id - blocks_file_sink_0 - - - _enabled - False - - - file - /tmp/ofdm.bin - - - type - byte - - - vlen - 1 - - - unbuffered - True - - - append - False - - - alias - - - - affinity - - - - _coordinate - (848, 155) - - - _rotation - 0 - - blocks_multiply_xx @@ -640,61 +455,6 @@ 0 - - foo_packet_pad2 - - id - foo_packet_pad2_0 - - - _enabled - True - - - debug - False - - - delay - False - - - delay_sec - 0.001 - - - pad_front - 10000 - - - pad_tail - 10000 - - - alias - - - - affinity - - - - minoutbuf - 48000 - - - maxoutbuf - 0 - - - _coordinate - (320, 395) - - - _rotation - 0 - - analog_sig_source_x @@ -958,12 +718,359 @@ 0 - - foo_wireshark_connector_0 - blocks_file_sink_0 - 0 - 0 - + + foo_wireshark_connector + + id + foo_wireshark_connector_0 + + + _enabled + False + + + tech + 127 + + + debug + False + + + alias + + + + affinity + + + + minoutbuf + 0 + + + maxoutbuf + 0 + + + _coordinate + (696, 155) + + + _rotation + 0 + + + + blocks_file_sink + + id + blocks_file_sink_0 + + + _enabled + False + + + file + /tmp/ofdm.bin + + + type + byte + + + vlen + 1 + + + unbuffered + True + + + append + False + + + alias + + + + affinity + + + + _coordinate + (888, 155) + + + _rotation + 0 + + + + ieee802_11_ofdm_mac + + id + ieee802_11_ofdm_mac_0 + + + _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 + + + _coordinate + (416, 139) + + + _rotation + 0 + + + + foo_packet_pad2 + + id + foo_packet_pad2_0 + + + _enabled + True + + + debug + False + + + delay + False + + + delay_sec + 0.001 + + + pad_front + 10000 + + + pad_tail + 10000 + + + alias + + + + affinity + + + + minoutbuf + out_buf_size + + + maxoutbuf + 0 + + + _coordinate + (320, 395) + + + _rotation + 0 + + + + variable_slider + + id + freq_offset + + + _enabled + True + + + label + + + + value + 0 + + + min + -10000 + + + max + 10000 + + + num_steps + 1000 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + alias + + + + _coordinate + (947, 7) + + + _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 + + + + _coordinate + (1120, 227) + + + _rotation + 0 + + + + blocks_message_strobe + + id + blocks_message_strobe_0 + + + _enabled + True + + + msg + pmt.intern("".join("x" for i in range(pdu_length))) + + + period + 300 + + + alias + + + + affinity + + + + minoutbuf + 0 + + + maxoutbuf + 0 + + + _coordinate + (48, 131) + + + _rotation + 0 + + analog_sig_source_x_0 blocks_multiply_xx_0 @@ -988,30 +1095,12 @@ 0 0 - - ieee802_11_ofdm_mac_0 - foo_wireshark_connector_0 - phy out - in - - - ieee802_11_ofdm_mac_0 - wifi_phy_hier_0 - phy out - mac_in - blocks_add_xx_0 wifi_phy_hier_0 0 0 - - wifi_phy_hier_0 - ieee802_11_ofdm_mac_0 - mac_out - phy in - wifi_phy_hier_0 ieee802_11_ofdm_parse_mac_0 @@ -1036,4 +1125,28 @@ 0 0 + + wifi_phy_hier_0 + ieee802_11_ofdm_mac_0 + mac_out + phy in + + + ieee802_11_ofdm_mac_0 + wifi_phy_hier_0 + phy out + mac_in + + + ieee802_11_ofdm_mac_0 + foo_wireshark_connector_0 + phy out + in + + + foo_wireshark_connector_0 + blocks_file_sink_0 + 0 + 0 +