diff --git a/examples/wifi_tx.grc b/examples/wifi_tx.grc index d554b58..2f6d141 100644 --- a/examples/wifi_tx.grc +++ b/examples/wifi_tx.grc @@ -1,4 +1,5 @@ + Fri Apr 17 13:08:32 2015 @@ -51,10 +52,18 @@ realtime_scheduling + + thread_safe_setters + + alias + + comment + + _coordinate (56, 8) @@ -64,33 +73,6 @@ 0 - - variable - - id - out_buf_size - - - _enabled - True - - - value - 96000 - - - alias - - - - _coordinate - (996, 388) - - - _rotation - 0 - - variable @@ -109,6 +91,10 @@ alias + + comment + + _coordinate (873, 157) @@ -118,6 +104,37 @@ 0 + + variable + + id + out_buf_size + + + _enabled + True + + + value + 96000 + + + alias + + + + comment + + + + _coordinate + (996, 388) + + + _rotation + 0 + + variable_chooser @@ -164,6 +181,10 @@ alias + + comment + + _coordinate (780, 17) @@ -211,6 +232,10 @@ maxoutbuf 0 + + comment + + _coordinate (446, 187) @@ -254,6 +279,10 @@ maxoutbuf 0 + + comment + + _coordinate (81, 135) @@ -309,6 +338,10 @@ maxoutbuf 0 + + comment + + _coordinate (177, 222) @@ -364,6 +397,10 @@ alias + + comment + + _coordinate (629, 14) @@ -419,6 +456,10 @@ alias + + comment + + _coordinate (428, 10) @@ -478,6 +519,10 @@ alias + + comment + + _coordinate (982, 130) @@ -487,116 +532,6 @@ 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 - - - - affinity - - - - minoutbuf - out_buf_size - - - maxoutbuf - 0 - - - _coordinate - (84, 444) - - - _rotation - 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 @@ -647,6 +582,10 @@ alias + + comment + + _coordinate (980, 10) @@ -706,6 +645,10 @@ alias + + comment + + _coordinate (972, 264) @@ -715,57 +658,6 @@ 0 - - blocks_null_source - - id - blocks_null_source_0 - - - _enabled - True - - - type - complex - - - vlen - 1 - - - num_outputs - 1 - - - bus_conns - [[0,],] - - - alias - - - - affinity - - - - minoutbuf - 0 - - - maxoutbuf - 0 - - - _coordinate - (733, 333) - - - _rotation - 180 - - variable_slider @@ -816,6 +708,10 @@ alias + + comment + + _coordinate (292, 12) @@ -825,6 +721,206 @@ 0 + + wifi_phy_hier + + id + wifi_phy_hier_0 + + + _enabled + True + + + encoding + encoding + + + chan_est + 0 + + + alias + + + + affinity + + + + minoutbuf + 0 + + + maxoutbuf + 0 + + + comment + + + + _coordinate + (461, 299) + + + _rotation + 180 + + + + blocks_null_sink + + id + blocks_null_sink_0 + + + _enabled + True + + + type + complex + + + vlen + 1 + + + num_inputs + 1 + + + bus_conns + [[0,],] + + + alias + + + + affinity + + + + comment + + + + _coordinate + (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 + + + comment + + + + _coordinate + (89, 363) + + + _rotation + 180 + + + + blocks_null_source + + id + blocks_null_source_0 + + + _enabled + True + + + type + complex + + + vlen + 1 + + + num_outputs + 1 + + + bus_conns + [[0,],] + + + alias + + + + affinity + + + + minoutbuf + 0 + + + maxoutbuf + 0 + + + comment + + + + _coordinate + (672, 344) + + + _rotation + 180 + + uhd_usrp_sink @@ -977,12 +1073,16 @@ center_freq0 - uhd.tune_request(freq - lo_offset, lo_offset) + uhd.tune_request(freq, rf_freq = freq - lo_offset, rf_freq_policy=uhd.tune_request.POLICY_MANUAL) gain0 tx_gain + + norm_gain0 + False + ant0 antenna @@ -999,6 +1099,10 @@ gain1 0 + + norm_gain1 + False + ant1 @@ -1015,6 +1119,10 @@ gain2 0 + + norm_gain2 + False + ant2 @@ -1031,6 +1139,10 @@ gain3 0 + + norm_gain3 + False + ant3 @@ -1047,6 +1159,10 @@ gain4 0 + + norm_gain4 + False + ant4 @@ -1063,6 +1179,10 @@ gain5 0 + + norm_gain5 + False + ant5 @@ -1079,6 +1199,10 @@ gain6 0 + + norm_gain6 + False + ant6 @@ -1095,6 +1219,10 @@ gain7 0 + + norm_gain7 + False + ant7 @@ -1111,6 +1239,10 @@ gain8 0 + + norm_gain8 + False + ant8 @@ -1127,6 +1259,10 @@ gain9 0 + + norm_gain9 + False + ant9 @@ -1143,6 +1279,10 @@ gain10 0 + + norm_gain10 + False + ant10 @@ -1159,6 +1299,10 @@ gain11 0 + + norm_gain11 + False + ant11 @@ -1175,6 +1319,10 @@ gain12 0 + + norm_gain12 + False + ant12 @@ -1191,6 +1339,10 @@ gain13 0 + + norm_gain13 + False + ant13 @@ -1207,6 +1359,10 @@ gain14 0 + + norm_gain14 + False + ant14 @@ -1223,6 +1379,10 @@ gain15 0 + + norm_gain15 + False + ant15 @@ -1239,6 +1399,10 @@ gain16 0 + + norm_gain16 + False + ant16 @@ -1255,6 +1419,10 @@ gain17 0 + + norm_gain17 + False + ant17 @@ -1271,6 +1439,10 @@ gain18 0 + + norm_gain18 + False + ant18 @@ -1287,6 +1459,10 @@ gain19 0 + + norm_gain19 + False + ant19 @@ -1303,6 +1479,10 @@ gain20 0 + + norm_gain20 + False + ant20 @@ -1319,6 +1499,10 @@ gain21 0 + + norm_gain21 + False + ant21 @@ -1335,6 +1519,10 @@ gain22 0 + + norm_gain22 + False + ant22 @@ -1351,6 +1539,10 @@ gain23 0 + + norm_gain23 + False + ant23 @@ -1367,6 +1559,10 @@ gain24 0 + + norm_gain24 + False + ant24 @@ -1383,6 +1579,10 @@ gain25 0 + + norm_gain25 + False + ant25 @@ -1399,6 +1599,10 @@ gain26 0 + + norm_gain26 + False + ant26 @@ -1415,6 +1619,10 @@ gain27 0 + + norm_gain27 + False + ant27 @@ -1431,6 +1639,10 @@ gain28 0 + + norm_gain28 + False + ant28 @@ -1447,6 +1659,10 @@ gain29 0 + + norm_gain29 + False + ant29 @@ -1463,6 +1679,10 @@ gain30 0 + + norm_gain30 + False + ant30 @@ -1479,6 +1699,10 @@ gain31 0 + + norm_gain31 + False + ant31 @@ -1499,9 +1723,13 @@ affinity + + comment + + _coordinate - (270, 444) + (272, 435) _rotation @@ -1509,22 +1737,34 @@ - wifi_phy_hier + foo_packet_pad2 id - wifi_phy_hier_0 + foo_packet_pad2_0 _enabled True - encoding - encoding + debug + False - chan_est - 0 + delay + False + + + delay_sec + 0.01 + + + pad_front + 100 + + + pad_tail + 1000 alias @@ -1536,109 +1776,82 @@ minoutbuf - 0 + out_buf_size maxoutbuf 0 + + comment + + _coordinate - (461, 299) + (88, 459) _rotation - 180 + 0 - blocks_null_sink + variable_chooser id - blocks_null_sink_0 + lo_offset _enabled True - type - complex + label + LO Offset - vlen - 1 - - - num_inputs - 1 - - - bus_conns - [[0,],] - - - alias - - - - affinity - - - - _coordinate - (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 + value 0 + + choices + [0, 6e6, 11e6] + + + labels + ['0 MHz', '6 MHz', '11 MHz'] + + + type + drop_down + + + style + wx.RA_HORIZONTAL + + + grid_pos + + + + notebook + + + + alias + + + + comment + + _coordinate - (89, 363) + (915, 461) _rotation - 180 + 0