summaryrefslogtreecommitdiff
path: root/gnuradio-examples/python/ofdm/benchmark_ofdm_tx.py
diff options
context:
space:
mode:
authortrondeau2007-08-04 15:21:34 +0000
committertrondeau2007-08-04 15:21:34 +0000
commit9967e2e7664dbc96a5d1587c194cc648d01cf487 (patch)
treea86af8700d6934f9e5a82011373dd7740b539351 /gnuradio-examples/python/ofdm/benchmark_ofdm_tx.py
parente1ba40adade7ca7c1d732b4739c3889f2c6fd7a6 (diff)
downloadgnuradio-9967e2e7664dbc96a5d1587c194cc648d01cf487.tar.gz
gnuradio-9967e2e7664dbc96a5d1587c194cc648d01cf487.tar.bz2
gnuradio-9967e2e7664dbc96a5d1587c194cc648d01cf487.zip
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/benchmark_ofdm_tx.py')
-rwxr-xr-xgnuradio-examples/python/ofdm/benchmark_ofdm_tx.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-examples/python/ofdm/benchmark_ofdm_tx.py b/gnuradio-examples/python/ofdm/benchmark_ofdm_tx.py
index ac7bc0bc7..a9d1e00e6 100755
--- a/gnuradio-examples/python/ofdm/benchmark_ofdm_tx.py
+++ b/gnuradio-examples/python/ofdm/benchmark_ofdm_tx.py
@@ -131,7 +131,7 @@ class usrp_graph(gr.flow_graph):
expert.add_option("", "--tx-freq", type="eng_float", default=None,
help="set transmit frequency to FREQ [default=%default]", metavar="FREQ")
- expert.add_option("-i", "--interp", type="intx", default=64,
+ expert.add_option("-i", "--interp", type="intx", default=256,
help="set fpga interpolation rate to INTERP [default=%default]")
# Make a static method to call before instantiation
add_options = staticmethod(add_options)
@@ -171,7 +171,7 @@ def main():
parser = OptionParser(option_class=eng_option, conflict_handler="resolve")
expert_grp = parser.add_option_group("Expert")
- parser.add_option("-s", "--size", type="eng_float", default=1450,
+ parser.add_option("-s", "--size", type="eng_float", default=400,
help="set packet size [default=%default]")
parser.add_option("-M", "--megabytes", type="eng_float", default=1.0,
help="set megabytes to transmit [default=%default]")