diff options
-rw-r--r-- | gr-digital/grc/digital_ofdm_carrier_allocator_cvc.block.yml | 11 | ||||
-rw-r--r-- | gr-digital/include/gnuradio/digital/ofdm_carrier_allocator_cvc.h | 2 |
2 files changed, 10 insertions, 3 deletions
diff --git a/gr-digital/grc/digital_ofdm_carrier_allocator_cvc.block.yml b/gr-digital/grc/digital_ofdm_carrier_allocator_cvc.block.yml index ae80e3f76d..75e4daaeb8 100644 --- a/gr-digital/grc/digital_ofdm_carrier_allocator_cvc.block.yml +++ b/gr-digital/grc/digital_ofdm_carrier_allocator_cvc.block.yml @@ -26,6 +26,12 @@ parameters: label: Length tag key dtype: string default: '"packet_len"' +- id: output_is_shifted + label: Shift Output + dtype: enum + default: 'True' + options: ['False', 'True'] + option_labels: ['No', 'Yes'] inputs: - domain: stream @@ -38,7 +44,8 @@ outputs: templates: imports: from gnuradio import digital - make: digital.ofdm_carrier_allocator_cvc(${fft_len}, ${occupied_carriers}, ${pilot_carriers}, - ${pilot_symbols}, ${sync_words}, ${len_tag_key}) + make: digital.ofdm_carrier_allocator_cvc( + ${fft_len}, ${occupied_carriers}, ${pilot_carriers}, + ${pilot_symbols}, ${sync_words}, ${len_tag_key}, ${output_is_shifted}) file_format: 1 diff --git a/gr-digital/include/gnuradio/digital/ofdm_carrier_allocator_cvc.h b/gr-digital/include/gnuradio/digital/ofdm_carrier_allocator_cvc.h index ab371a98e8..6a15037b43 100644 --- a/gr-digital/include/gnuradio/digital/ofdm_carrier_allocator_cvc.h +++ b/gr-digital/include/gnuradio/digital/ofdm_carrier_allocator_cvc.h @@ -101,6 +101,7 @@ namespace gr { * sub-carrier being idle). Is a vector of complex vectors of length * \p fft_len * \param len_tag_key The key of the tag identifying the length of the input packet. + * \param output_is_shifted whether to 'fftshift' the output OFDM symbols. If used, the followup FFT should be instantaited such that it knows that the input is shifted. Default is true. */ static sptr make( int fft_len, @@ -116,4 +117,3 @@ namespace gr { } // namespace gr #endif /* INCLUDED_DIGITAL_OFDM_CARRIER_ALLOCATOR_CVC_H */ - |