On Thu, Feb 18, 2010 at 12:49 AM, Srinivas <psriniva...@gmail.com> wrote: > Hi Tom, Matt > > replied inline: > > On Wed, Feb 17, 2010 at 10:26 AM, Tom Rondeau <trondeau1...@gmail.com> > wrote: >> >> On Tue, Feb 16, 2010 at 5:45 PM, Srinivas <psriniva...@gmail.com> wrote: >> > Matt, >> > >> > Thanks for verifying the data rate calculation! >> > >> > I tried the other solutions that you suggested, namely, >> > >> > - increasing the data rate by a factor of 2 or 4 >> > It works. >> > >> > - modifying the OFDM code to widen the search range - How do I widen the >> > search range ? >> > Should I be looking in the "ofdm_sync_" blocks in "blks2impl" folder ? >> > If >> > yes, which synchronizer is currently used with ofdm_examples ? >> >> You need to add an argument to gr.ofdm_frame_acquisition in >> ofdm_receiver.py (in python/gnuradio/blks2impl). >> >> In the current Git master, this is located on line 109 of >> ofdm_receiver.py. After the "ks[0]" argument, you can put in an >> integer. This is the maximum number of bins the receiver will search >> over for correlation. It defaults to 10. >> > I added this extra argument and tried changing the values from 10 to 100. I > also tried with "int(0.5*occupied_tones) " as the argument, but it doesn't > receive for lower data rates (< 1M). Only when I increase the data rate > > 1.2M, I start receiving some pkts. > > As mentioned before, when I compensate for the frequency offset at the > receiver it starts receiving packets successfully too.
For small bandwidths, it's possible that the frequency offset has pushed you outside of the channel filter. The filter is probably specified too tight and is really supposed to cover only the occupied tones, so if you're too far away from the center frequency, the filter's already hitting it and no amount of frequency correction after that will work. In ofdm_receiver.py, try making the bandwidth term (bw on line 66) wider and see what that does for you. Also, you can print out d_coarse_freq calculated on line 130 in gr_ofdm_frame_acquisition.cc. This is the number of bins you're off by that you can use to get a feel for how far away in frequency you are. If opening up the filter works for you, please let us know. We might want to either parameterize the bandwidth or just set it wider by default. Tom _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio