Re: [Discuss-gnuradio] question about gr_ofdm_sampler.cc

2010-02-11 Thread bin zan
Hi Tom, > Well then, yes, it is modified. Since the data are changed, can I say if measure the SNR from the data after FFT, then they are inaccurate and bias? Thanks, Bin On Thu, Feb 11, 2010 at 2:04 PM, Tom Rondeau wrote: > On Thu, Feb 11, 2010 at 6:52 AM, bin zan wrote: > > Hi T

Re: [Discuss-gnuradio] question about gr_ofdm_sampler.cc

2010-02-11 Thread Tom Rondeau
On Thu, Feb 11, 2010 at 6:52 AM, bin zan wrote: > Hi Tom, >>I'm not sure what you mean by "modified." They have been adjusted by >>the sync block to fit in the middle of the FFT bins and the CP has >>been removed. Other than that, it's just the data stream. > Here "modified", I mean the data which

Re: [Discuss-gnuradio] question about gr_ofdm_sampler.cc

2010-02-11 Thread bin zan
Hi Tom, >I'm not sure what you mean by "modified." They have been adjusted by >the sync block to fit in the middle of the FFT bins and the CP has >been removed. Other than that, it's just the data stream. Here "modified", I mean the data which enter into the FFT process are different from the data

Re: [Discuss-gnuradio] question about gr_ofdm_sampler.cc

2010-02-10 Thread Tom Rondeau
On Wed, Feb 10, 2010 at 8:46 PM, bin zan wrote: > Hi Tom, >   Please help me to understand another question. Are the data stream > goes into FFT process the original data stream or they have been modified > somehow? If they are modified, how to make original data stream enter into > the FFT pr

Re: [Discuss-gnuradio] question about gr_ofdm_sampler.cc

2010-02-10 Thread Tom Rondeau
On Wed, Feb 10, 2010 at 7:18 PM, bin zan wrote: > Hi Tom, > Thanks a lot for all your information. > Can I say that the predefined preambles are used both for symbol sync and > then later correlation, and the CP is only used for symbol sync? > One preamble is inserted at transmitter every full pac

Re: [Discuss-gnuradio] question about gr_ofdm_sampler.cc

2010-02-10 Thread bin zan
Hi Tom, Please help me to understand another question. Are the data stream goes into FFT process the original data stream or they have been modified somehow? If they are modified, how to make original data stream enter into the FFT process with the sync information on hand. Thanks, Bin On W

Re: [Discuss-gnuradio] question about gr_ofdm_sampler.cc

2010-02-10 Thread bin zan
Hi Tom, Thanks a lot for all your information. Can I say that the predefined preambles are used both for symbol sync and then later correlation, and the CP is only used for symbol sync? One preamble is inserted at transmitter every full packet? Thanks, Bin On Wed, Feb 10, 2010 at 5:45 PM, Tom Ron

Re: [Discuss-gnuradio] question about gr_ofdm_sampler.cc

2010-02-10 Thread Tom Rondeau
On Wed, Feb 10, 2010 at 11:40 AM, bin zan wrote: > Hi Tom, >   Can you help me answer the following questions? >   1. Does that mean, the data has not be divided into sync'd > segments until ofdm_sampler.cc? I'm not sure what "that" is you are talking about (please reply inline an

Re: [Discuss-gnuradio] question about gr_ofdm_sampler.cc

2010-02-10 Thread bin zan
Hi Tom, Can you help me answer the following questions? 1. Does that mean, the data has not be divided into sync'd segments until ofdm_sampler.cc? 2. Why d_timeout_max=1000? Pre-defined preambles only appear every 1000 FFT length of data? 3. Only data after

Re: [Discuss-gnuradio] question about gr_ofdm_sampler.cc

2010-02-10 Thread Tom Rondeau
On Wed, Feb 10, 2010 at 8:10 AM, bin zan wrote: > Hi, >   I just wonder why in gr_ofdm_sampler.cc, the  consume_each for > STATE_NO_SIG and STATE_PREAMBLE are different. > consume_each(index - d_fft_length + 1); > consume_each(index-d_fft_length); > > Both suppose to  leave one  fft length, ri

[Discuss-gnuradio] question about gr_ofdm_sampler.cc

2010-02-10 Thread bin zan
Hi, I just wonder why in gr_ofdm_sampler.cc, the consume_each for STATE_NO_SIG and STATE_PREAMBLE are different. consume_each(index - d_fft_length + 1); consume_each(index-d_fft_length); Both suppose to leave one fft length, right? Can any one explain it? Thanks, Bi _