From f2dc4c4f0b8fc75b4b677da3bba19a32657a1a64 Mon Sep 17 00:00:00 2001 From: Bastian Bloessl Date: Thu, 3 Jul 2014 16:05:53 +0200 Subject: [PATCH] update csma flow graph --- examples/wifi_csma_tx.grc | 1341 +++++++++++++++++++++++++++++++------ 1 file changed, 1131 insertions(+), 210 deletions(-) diff --git a/examples/wifi_csma_tx.grc b/examples/wifi_csma_tx.grc index 4b81883..ebd61be 100644 --- a/examples/wifi_csma_tx.grc +++ b/examples/wifi_csma_tx.grc @@ -1,6 +1,6 @@ - Thu Jul 3 09:37:07 2014 + Thu Jul 3 15:32:26 2014 options @@ -233,49 +233,6 @@ 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 - (113, 154) - - - _rotation - 0 - - ieee802_11_ofdm_mac @@ -515,57 +472,6 @@ 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 - - - _coordinate - (668, 333) - - - _rotation - 180 - - blocks_multiply_const_vxx @@ -672,61 +578,6 @@ 0 - - variable_chooser - - id - csma_enable - - - _enabled - True - - - label - CSMA - - - value - False - - - choices - [False, True] - - - labels - ["disable", "enable"] - - - type - radio_buttons - - - style - wx.RA_HORIZONTAL - - - grid_pos - - - - notebook - - - - alias - - - - _coordinate - (1094, 16) - - - _rotation - 0 - - variable_slider @@ -802,7 +653,7 @@ value - 50000 + 5000 min @@ -845,6 +696,1119 @@ 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 + (668, 333) + + + _rotation + 180 + + + + uhd_usrp_source + + id + uhd_usrp_source_0 + + + _enabled + True + + + type + fc32 + + + otw + + + + stream_args + + + + stream_chans + [] + + + dev_addr + "addr=192.168.10.3" + + + dev_args + "" + + + sync + + + + clock_rate + 0.0 + + + num_mboards + 1 + + + clock_source0 + + + + time_source0 + + + + sd_spec0 + + + + clock_source1 + + + + time_source1 + + + + sd_spec1 + + + + clock_source2 + + + + time_source2 + + + + sd_spec2 + + + + clock_source3 + + + + time_source3 + + + + sd_spec3 + + + + clock_source4 + + + + time_source4 + + + + sd_spec4 + + + + clock_source5 + + + + time_source5 + + + + sd_spec5 + + + + clock_source6 + + + + time_source6 + + + + sd_spec6 + + + + clock_source7 + + + + time_source7 + + + + sd_spec7 + + + + nchan + 1 + + + samp_rate + samp_rate + + + center_freq0 + uhd.tune_request(freq - lo_offset, lo_offset) + + + gain0 + 10 + + + agc0 + False + + + ant0 + + + + bw0 + 0 + + + center_freq1 + 0 + + + gain1 + 0 + + + agc1 + False + + + ant1 + + + + bw1 + 0 + + + center_freq2 + 0 + + + gain2 + 0 + + + agc2 + False + + + ant2 + + + + bw2 + 0 + + + center_freq3 + 0 + + + gain3 + 0 + + + agc3 + False + + + ant3 + + + + bw3 + 0 + + + center_freq4 + 0 + + + gain4 + 0 + + + agc4 + False + + + ant4 + + + + bw4 + 0 + + + center_freq5 + 0 + + + gain5 + 0 + + + agc5 + False + + + ant5 + + + + bw5 + 0 + + + center_freq6 + 0 + + + gain6 + 0 + + + agc6 + False + + + ant6 + + + + bw6 + 0 + + + center_freq7 + 0 + + + gain7 + 0 + + + agc7 + False + + + ant7 + + + + bw7 + 0 + + + center_freq8 + 0 + + + gain8 + 0 + + + agc8 + False + + + ant8 + + + + bw8 + 0 + + + center_freq9 + 0 + + + gain9 + 0 + + + agc9 + False + + + ant9 + + + + bw9 + 0 + + + center_freq10 + 0 + + + gain10 + 0 + + + agc10 + False + + + ant10 + + + + bw10 + 0 + + + center_freq11 + 0 + + + gain11 + 0 + + + agc11 + False + + + ant11 + + + + bw11 + 0 + + + center_freq12 + 0 + + + gain12 + 0 + + + agc12 + False + + + ant12 + + + + bw12 + 0 + + + center_freq13 + 0 + + + gain13 + 0 + + + agc13 + False + + + ant13 + + + + bw13 + 0 + + + center_freq14 + 0 + + + gain14 + 0 + + + agc14 + False + + + ant14 + + + + bw14 + 0 + + + center_freq15 + 0 + + + gain15 + 0 + + + agc15 + False + + + ant15 + + + + bw15 + 0 + + + center_freq16 + 0 + + + gain16 + 0 + + + agc16 + False + + + ant16 + + + + bw16 + 0 + + + center_freq17 + 0 + + + gain17 + 0 + + + agc17 + False + + + ant17 + + + + bw17 + 0 + + + center_freq18 + 0 + + + gain18 + 0 + + + agc18 + False + + + ant18 + + + + bw18 + 0 + + + center_freq19 + 0 + + + gain19 + 0 + + + agc19 + False + + + ant19 + + + + bw19 + 0 + + + center_freq20 + 0 + + + gain20 + 0 + + + agc20 + False + + + ant20 + + + + bw20 + 0 + + + center_freq21 + 0 + + + gain21 + 0 + + + agc21 + False + + + ant21 + + + + bw21 + 0 + + + center_freq22 + 0 + + + gain22 + 0 + + + agc22 + False + + + ant22 + + + + bw22 + 0 + + + center_freq23 + 0 + + + gain23 + 0 + + + agc23 + False + + + ant23 + + + + bw23 + 0 + + + center_freq24 + 0 + + + gain24 + 0 + + + agc24 + False + + + ant24 + + + + bw24 + 0 + + + center_freq25 + 0 + + + gain25 + 0 + + + agc25 + False + + + ant25 + + + + bw25 + 0 + + + center_freq26 + 0 + + + gain26 + 0 + + + agc26 + False + + + ant26 + + + + bw26 + 0 + + + center_freq27 + 0 + + + gain27 + 0 + + + agc27 + False + + + ant27 + + + + bw27 + 0 + + + center_freq28 + 0 + + + gain28 + 0 + + + agc28 + False + + + ant28 + + + + bw28 + 0 + + + center_freq29 + 0 + + + gain29 + 0 + + + agc29 + False + + + ant29 + + + + bw29 + 0 + + + center_freq30 + 0 + + + gain30 + 0 + + + agc30 + False + + + ant30 + + + + bw30 + 0 + + + center_freq31 + 0 + + + gain31 + 0 + + + agc31 + False + + + ant31 + + + + bw31 + 0 + + + alias + + + + affinity + + + + minoutbuf + 0 + + + maxoutbuf + 0 + + + _coordinate + (612, 423) + + + _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 + (113, 154) + + + _rotation + 0 + + + + blocks_null_sink + + id + blocks_null_sink_0 + + + _enabled + True + + + type + complex + + + vlen + 1 + + + num_inputs + 1 + + + bus_conns + [[0,],] + + + alias + + + + affinity + + + + _coordinate + (864, 459) + + + _rotation + 0 + + + + blocks_tag_debug + + id + blocks_tag_debug_0 + + + _enabled + True + + + type + complex + + + name + + + + filter + "" + + + num_inputs + 1 + + + vlen + 1 + + + display + True + + + alias + + + + affinity + + + + _coordinate + (267, 594) + + + _rotation + 0 + + + + variable_chooser + + id + csma_enable + + + _enabled + True + + + label + CSMA + + + value + True + + + choices + [False, True] + + + labels + ["disable", "enable"] + + + type + radio_buttons + + + style + wx.RA_HORIZONTAL + + + grid_pos + + + + notebook + + + + alias + + + + _coordinate + (1094, 16) + + + _rotation + 0 + + + + foo_packet_pad2 + + id + foo_packet_pad2_0 + + + _enabled + True + + + debug + False + + + delay + False + + + delay_sec + 0.01 + + + pad_front + 0 + + + pad_tail + 0 + + + alias + + + + affinity + + + + minoutbuf + 100000 + + + maxoutbuf + 0 + + + _coordinate + (88, 436) + + + _rotation + 0 + + uhd_usrp_sink @@ -873,11 +1837,11 @@ dev_addr - + "addr=192.168.10.3" dev_args - "" + sync @@ -1893,7 +2857,7 @@ len_tag_name - + packet_len alias @@ -1905,62 +2869,7 @@ _coordinate - (270, 412) - - - _rotation - 0 - - - - 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 - (88, 436) + (271, 404) _rotation @@ -2015,4 +2924,16 @@ 0 0 + + uhd_usrp_source_0 + blocks_null_sink_0 + 0 + 0 + + + foo_packet_pad2_0 + blocks_tag_debug_0 + 0 + 0 +