summaryrefslogtreecommitdiff
path: root/gr-digital/examples/ofdm/transmit_path.py
diff options
context:
space:
mode:
authorTom Rondeau2011-10-14 17:34:31 -0400
committerTom Rondeau2011-10-14 17:34:31 -0400
commitc7493e83269d7358da0ba7fbd4beee8f0f6be2e8 (patch)
treee39eafc0709c789190c26d3a6ffd467ccfb9481d /gr-digital/examples/ofdm/transmit_path.py
parent620971bdb6554cf2a248b26a6dd5a069dbb9c873 (diff)
downloadgnuradio-c7493e83269d7358da0ba7fbd4beee8f0f6be2e8.tar.gz
gnuradio-c7493e83269d7358da0ba7fbd4beee8f0f6be2e8.tar.bz2
gnuradio-c7493e83269d7358da0ba7fbd4beee8f0f6be2e8.zip
digital: fixed OFDM benchmark code to work over-the-air with UHD.
Diffstat (limited to 'gr-digital/examples/ofdm/transmit_path.py')
-rw-r--r--gr-digital/examples/ofdm/transmit_path.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gr-digital/examples/ofdm/transmit_path.py b/gr-digital/examples/ofdm/transmit_path.py
index 6077b28e4..ec357d617 100644
--- a/gr-digital/examples/ofdm/transmit_path.py
+++ b/gr-digital/examples/ofdm/transmit_path.py
@@ -80,6 +80,9 @@ class transmit_path(gr.hier_block2):
normal.add_option("", "--tx-amplitude", type="eng_float",
default=0.1, metavar="AMPL",
help="set transmitter digital amplitude: 0 <= AMPL < 1.0 [default=%default]")
+ normal.add_option("-W", "--bandwidth", type="eng_float",
+ default=500e3,
+ help="set symbol bandwidth [default=%default]")
normal.add_option("-v", "--verbose", action="store_true",
default=False)
expert.add_option("", "--log", action="store_true",