diff --git a/examples/wifi_tx.grc b/examples/wifi_tx.grc index 56aa15d..d554b58 100644 --- a/examples/wifi_tx.grc +++ b/examples/wifi_tx.grc @@ -1,7 +1,6 @@ - - Fri Jul 18 10:38:21 2014 + Fri Apr 17 13:08:32 2015 options @@ -66,50 +65,18 @@ - variable_slider + variable id - gain + out_buf_size _enabled True - - label - - value - 25 - - - min - 0 - - - max - 100 - - - num_steps - 100 - - - style - wx.SL_HORIZONTAL - - - converver - float_converter - - - grid_pos - - - - notebook - + 96000 alias @@ -117,7 +84,34 @@ _coordinate - (291, 12) + (996, 388) + + + _rotation + 0 + + + + variable + + id + antenna + + + _enabled + True + + + value + 'J1' + + + alias + + + + _coordinate + (873, 157) _rotation @@ -180,22 +174,26 @@ - blocks_message_strobe + ieee802_11_ofdm_mac id - blocks_message_strobe_0 + ieee802_11_ofdm_mac_0 _enabled True - msg - pmt.intern(" Hello World") + src_mac + [0x23, 0x23, 0x23, 0x23, 0x23, 0x23] - period - 300 + dst_mac + [0x42, 0x42, 0x42, 0x42, 0x42, 0x42] + + + bss_mac + [0xff, 0xff, 0xff, 0xff, 0xff, 255] alias @@ -215,7 +213,7 @@ _coordinate - (113, 154) + (446, 187) _rotation @@ -223,58 +221,97 @@ - variable_slider + blocks_message_strobe id - mult + blocks_message_strobe_0_0 _enabled True - label - + msg + pmt.intern("".join("x" for i in range(pdu_length))) - value - .38 - - - min - 0 - - - max - 2 - - - num_steps - 100 - - - style - wx.SL_HORIZONTAL - - - converver - float_converter - - - grid_pos - - - - notebook - + period + period alias + + affinity + + + + minoutbuf + 0 + + + maxoutbuf + 0 + _coordinate - (979, 10) + (81, 135) + + + _rotation + 0 + + + + blocks_socket_pdu + + id + blocks_socket_pdu_0 + + + _enabled + True + + + type + "UDP_SERVER" + + + host + + + + port + 52001 + + + mtu + 10000 + + + tcp_no_delay + False + + + alias + + + + affinity + + + + minoutbuf + 0 + + + maxoutbuf + 0 + + + _coordinate + (177, 222) _rotation @@ -337,18 +374,148 @@ - wifi_phy_hier + variable_chooser id - wifi_phy_hier_0 + freq _enabled True - encoding - encoding + 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'] + + + type + drop_down + + + style + wx.RA_HORIZONTAL + + + grid_pos + + + + notebook + + + + alias + + + + _coordinate + (428, 10) + + + _rotation + 0 + + + + variable_slider + + id + pdu_length + + + _enabled + True + + + label + + + + value + 100 + + + min + 0 + + + max + 1500 + + + num_steps + 1000 + + + style + wx.SL_HORIZONTAL + + + converver + int_converter + + + grid_pos + + + + notebook + + + + alias + + + + _coordinate + (982, 130) + + + _rotation + 0 + + + + foo_packet_pad2 + + id + foo_packet_pad2_0 + + + _enabled + True + + + debug + False + + + delay + False + + + delay_sec + 0.01 + + + pad_front + 100 + + + pad_tail + 1000 alias @@ -360,7 +527,7 @@ minoutbuf - 0 + out_buf_size maxoutbuf @@ -368,11 +535,184 @@ _coordinate - (461, 299) + (84, 444) _rotation - 180 + 0 + + + + variable_chooser + + id + lo_offset + + + _enabled + True + + + label + LO Offset + + + value + 0e9 + + + choices + [0, 6e9, 11e9] + + + labels + ['0 MHz', '6 MHz', '11 MHz'] + + + type + drop_down + + + style + wx.RA_HORIZONTAL + + + grid_pos + + + + notebook + + + + alias + + + + _coordinate + (915, 461) + + + _rotation + 0 + + + + variable_slider + + id + mult + + + _enabled + True + + + label + + + + value + .4 + + + min + 0 + + + max + 2 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + + + + alias + + + + _coordinate + (980, 10) + + + _rotation + 0 + + + + variable_slider + + id + period + + + _enabled + True + + + label + + + + value + 100 + + + min + 1 + + + max + 10000 + + + num_steps + 1000 + + + style + wx.SL_HORIZONTAL + + + converver + int_converter + + + grid_pos + + + + notebook + + + + alias + + + + _coordinate + (972, 264) + + + _rotation + 0 @@ -419,7 +759,7 @@ _coordinate - (668, 333) + (733, 333) _rotation @@ -427,203 +767,58 @@ - blocks_multiply_const_vxx + variable_slider id - blocks_multiply_const_vxx_0 + tx_gain _enabled True - type - complex + label + - const - mult + value + 10 - vlen - 1 + min + 0 + + + max + 100 + + + num_steps + 100 + + + style + wx.SL_HORIZONTAL + + + converver + float_converter + + + grid_pos + + + + notebook + alias - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - _coordinate - (231, 329) - - - _rotation - 180 - - - - foo_packet_pad2 - - id - foo_packet_pad2_0 - - - _enabled - True - - - debug - False - - - delay - False - - - delay_sec - 0.01 - - - pad_front - 0 - - - pad_tail - 10000 - - - alias - - - - affinity - - - - minoutbuf - 100000 - - - maxoutbuf - 0 - - - _coordinate - (86, 444) - - - _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, 255] - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - _coordinate - (446, 187) - - - _rotation - 0 - - - - blocks_socket_pdu - - id - blocks_socket_pdu_0 - - - _enabled - True - - - type - "UDP_SERVER" - - - host - - - - port - 52001 - - - mtu - 10000 - - - tcp_no_delay - False - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - _coordinate - (177, 222) + (292, 12) _rotation @@ -782,19 +977,15 @@ center_freq0 - uhd.tune_request(freq, rf_freq = freq - lo_offset, rf_freq_policy=uhd.tune_request.POLICY_MANUAL) + uhd.tune_request(freq - lo_offset, lo_offset) gain0 - gain - - - norm_gain0 - False + tx_gain ant0 - + antenna bw0 @@ -808,10 +999,6 @@ gain1 0 - - norm_gain1 - False - ant1 @@ -828,10 +1015,6 @@ gain2 0 - - norm_gain2 - False - ant2 @@ -848,10 +1031,6 @@ gain3 0 - - norm_gain3 - False - ant3 @@ -868,10 +1047,6 @@ gain4 0 - - norm_gain4 - False - ant4 @@ -888,10 +1063,6 @@ gain5 0 - - norm_gain5 - False - ant5 @@ -908,10 +1079,6 @@ gain6 0 - - norm_gain6 - False - ant6 @@ -928,10 +1095,6 @@ gain7 0 - - norm_gain7 - False - ant7 @@ -948,10 +1111,6 @@ gain8 0 - - norm_gain8 - False - ant8 @@ -968,10 +1127,6 @@ gain9 0 - - norm_gain9 - False - ant9 @@ -988,10 +1143,6 @@ gain10 0 - - norm_gain10 - False - ant10 @@ -1008,10 +1159,6 @@ gain11 0 - - norm_gain11 - False - ant11 @@ -1028,10 +1175,6 @@ gain12 0 - - norm_gain12 - False - ant12 @@ -1048,10 +1191,6 @@ gain13 0 - - norm_gain13 - False - ant13 @@ -1068,10 +1207,6 @@ gain14 0 - - norm_gain14 - False - ant14 @@ -1088,10 +1223,6 @@ gain15 0 - - norm_gain15 - False - ant15 @@ -1108,10 +1239,6 @@ gain16 0 - - norm_gain16 - False - ant16 @@ -1128,10 +1255,6 @@ gain17 0 - - norm_gain17 - False - ant17 @@ -1148,10 +1271,6 @@ gain18 0 - - norm_gain18 - False - ant18 @@ -1168,10 +1287,6 @@ gain19 0 - - norm_gain19 - False - ant19 @@ -1188,10 +1303,6 @@ gain20 0 - - norm_gain20 - False - ant20 @@ -1208,10 +1319,6 @@ gain21 0 - - norm_gain21 - False - ant21 @@ -1228,10 +1335,6 @@ gain22 0 - - norm_gain22 - False - ant22 @@ -1248,10 +1351,6 @@ gain23 0 - - norm_gain23 - False - ant23 @@ -1268,10 +1367,6 @@ gain24 0 - - norm_gain24 - False - ant24 @@ -1288,10 +1383,6 @@ gain25 0 - - norm_gain25 - False - ant25 @@ -1308,10 +1399,6 @@ gain26 0 - - norm_gain26 - False - ant26 @@ -1328,10 +1415,6 @@ gain27 0 - - norm_gain27 - False - ant27 @@ -1348,10 +1431,6 @@ gain28 0 - - norm_gain28 - False - ant28 @@ -1368,10 +1447,6 @@ gain29 0 - - norm_gain29 - False - ant29 @@ -1388,10 +1463,6 @@ gain30 0 - - norm_gain30 - False - ant30 @@ -1408,10 +1479,6 @@ gain31 0 - - norm_gain31 - False - ant31 @@ -1442,139 +1509,144 @@ - variable_chooser + wifi_phy_hier id - freq + wifi_phy_hier_0 _enabled True - label - Channel + encoding + encoding - 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'] - - - type - drop_down - - - style - wx.RA_HORIZONTAL - - - grid_pos - - - - notebook - + chan_est + 0 alias + + affinity + + + + minoutbuf + 0 + + + maxoutbuf + 0 + _coordinate - (419, 11) + (461, 299) _rotation - 0 + 180 - variable_chooser + blocks_null_sink id - lo_offset + blocks_null_sink_0 _enabled True - - label - LO Offset - - - value - 0 - - - choices - [0, 6e6, 11e6] - - - labels - ['0 MHz', '6 MHz', '11 MHz'] - type - drop_down + complex - style - wx.RA_HORIZONTAL + vlen + 1 - grid_pos - + num_inputs + 1 - notebook - + bus_conns + [[0,],] alias + + affinity + + _coordinate - (697, 165) + (285, 333) _rotation + 180 + + + + blocks_multiply_const_vxx + + id + blocks_multiply_const_vxx_0 + + + _enabled + True + + + type + complex + + + const + mult + + + vlen + 1 + + + alias + + + + affinity + + + + minoutbuf + 100000 + + + maxoutbuf 0 + + _coordinate + (89, 363) + + + _rotation + 180 + - - blocks_message_strobe_0 - ieee802_11_ofdm_mac_0 - strobe - app in - - - blocks_socket_pdu_0 - ieee802_11_ofdm_mac_0 - pdus - app in - foo_packet_pad2_0 uhd_usrp_sink_0 0 0 - - wifi_phy_hier_0 - blocks_multiply_const_vxx_0 - 0 - 0 - blocks_multiply_const_vxx_0 foo_packet_pad2_0 @@ -1599,4 +1671,28 @@ 0 0 + + blocks_message_strobe_0_0 + ieee802_11_ofdm_mac_0 + strobe + app in + + + blocks_socket_pdu_0 + ieee802_11_ofdm_mac_0 + pdus + app in + + + wifi_phy_hier_0 + blocks_null_sink_0 + 1 + 0 + + + wifi_phy_hier_0 + blocks_multiply_const_vxx_0 + 0 + 0 +