summaryrefslogtreecommitdiff
path: root/gnuradio-examples/python/ofdm/receive_path.py
diff options
context:
space:
mode:
authortrondeau <trondeau@221aa14e-8319-0410-a670-987f0aec2ac5>2007-08-04 15:21:34 +0000
committertrondeau <trondeau@221aa14e-8319-0410-a670-987f0aec2ac5>2007-08-04 15:21:34 +0000
commit9967e2e7664dbc96a5d1587c194cc648d01cf487 (patch)
treea86af8700d6934f9e5a82011373dd7740b539351 /gnuradio-examples/python/ofdm/receive_path.py
parente1ba40adade7ca7c1d732b4739c3889f2c6fd7a6 (diff)
merged -r5966:6112 on trondeau/ofdm_mod. Allows for generic constellations (supports bpsk, qpsk, 8psk, qam16, qam64, and qam256 currently), fixes some bugs in the correlation and altered default parameters for over-the-air operation. This merge fixes ticket:156 and ticket:157.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6113 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gnuradio-examples/python/ofdm/receive_path.py')
-rw-r--r--gnuradio-examples/python/ofdm/receive_path.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnuradio-examples/python/ofdm/receive_path.py b/gnuradio-examples/python/ofdm/receive_path.py
index 93e1e59a33..2ebaad8838 100644
--- a/gnuradio-examples/python/ofdm/receive_path.py
+++ b/gnuradio-examples/python/ofdm/receive_path.py
@@ -47,10 +47,10 @@ class receive_path(gr.hier_block):
blks.ofdm_demod(fg, options, callback=self._rx_callback)
# Carrier Sensing Blocks
- #alpha = 0.001
- #thresh = 30 # in dB, will have to adjust
- #self.probe = gr.probe_avg_mag_sqrd_c(thresh,alpha)
- #fg.connect(self.chan_filt, self.probe)
+ alpha = 0.001
+ thresh = 30 # in dB, will have to adjust
+ self.probe = gr.probe_avg_mag_sqrd_c(thresh,alpha)
+ fg.connect(self.ofdm_rx.ofdm_recv.chan_filt, self.probe)
# Display some information about the setup
if self._verbose: