Serializes complex modulations symbols from OFDM sub-carriersThis is the inverse block to the carrier_allocator_cvc. It outputs the complex data symbols as a tagged stream, discarding the pilot symbols.
More...
Additional Inherited Members |
void | forecast (int noutput_items, gr_vector_int &ninput_items_required) |
| Don't override this.
|
int | general_work (int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) |
virtual int | work (int noutput_items, gr_vector_int &ninput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)=0 |
| Just like gr_block::general_work, but makes sure the input is valid.
|
enum | vcolor { WHITE,
GREY,
BLACK
} |
| gr_tagged_stream_block (void) |
| gr_tagged_stream_block (const std::string &name, gr_io_signature_sptr input_signature, gr_io_signature_sptr output_signature, const std::string &length_tag_key) |
virtual void | parse_length_tags (const std::vector< std::vector< gr_tag_t > > &tags, gr_vector_int &n_input_items_reqd) |
| Parse all tags on the first sample of a PDU, return the number of items per input and prune the length tags.
|
virtual int | calculate_output_stream_length (const gr_vector_int &ninput_items) |
| Calculate the number of output items.
|
virtual void | update_length_tags (int n_produced, int n_ports) |
| Set the new length tags on the output stream.
|
std::string | d_length_tag_key_str |
Serializes complex modulations symbols from OFDM sub-carriers
This is the inverse block to the carrier_allocator_cvc. It outputs the complex data symbols as a tagged stream, discarding the pilot symbols.
If given, two different tags are parsed: The first key (len_tag_key
) specifies the number of OFDM symbols in the frame at the input. The second key (packet_len_tag_key
) specifies the number of complex symbols that are coded into this frame. If given, this second key is then used at the output, otherwise, len_tag_key
is used. If both are given, the packet length specifies the maximum number of output items, and the frame length specifies the exact number of consumed input items.
It is possible to correct a carrier offset in this function by passing another tag with said offset.
Input: Complex vectors of length fft_len
Output: Complex scalars, in the same order as specified in occupied_carriers.