diff options
Diffstat (limited to 'gr-channels/include/gnuradio/channels/channel_model.h')
-rw-r--r-- | gr-channels/include/gnuradio/channels/channel_model.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gr-channels/include/gnuradio/channels/channel_model.h b/gr-channels/include/gnuradio/channels/channel_model.h index 8b533ac7da..6a1e4a08cb 100644 --- a/gr-channels/include/gnuradio/channels/channel_model.h +++ b/gr-channels/include/gnuradio/channels/channel_model.h @@ -43,7 +43,10 @@ namespace gr { * the AWGN noise source. * * Multipath can be approximated in this model by using a FIR - * filter representation of a multipath delay profile.. + * filter representation of a multipath delay profile. + * + * To simulate a channel with time-variant channel, use a + * gr::channels::channel_model2. */ class CHANNELS_API channel_model : virtual public hier_block2 { @@ -64,12 +67,14 @@ namespace gr { * the transmitter and receiver. 1.0 is no difference. * \param taps Taps of a FIR filter to emulate a multipath delay profile. * \param noise_seed A random number generator seed for the noise source. + * \param block_tags If true, tags will not be able to propagate through this block. */ static sptr make(double noise_voltage=0.0, double frequency_offset=0.0, double epsilon=1.0, const std::vector<gr_complex> &taps=std::vector<gr_complex>(1,1), - double noise_seed=0); + double noise_seed=0, + bool block_tags=false); virtual void set_noise_voltage(double noise_voltage) = 0; virtual void set_frequency_offset(double frequency_offset) = 0; |