10 #ifndef INCLUDED_DIGITAL_PACKET_HEADER_OFDM_H
11 #define INCLUDED_DIGITAL_PACKET_HEADER_OFDM_H
27 typedef std::shared_ptr<packet_header_ofdm>
sptr;
31 const std::string& len_tag_key,
32 const std::string& frame_len_tag_key,
33 const std::string& num_tag_key,
34 int bits_per_header_sym,
35 int bits_per_payload_sym,
36 bool scramble_header);
48 const std::vector<tag_t>& tags)
override;
60 bool header_parser(
const unsigned char* header, std::vector<tag_t>& tags)
override;
80 static sptr make(
const std::vector<std::vector<int>>& occupied_carriers,
82 const std::string& len_tag_key =
"packet_len",
83 const std::string& frame_len_tag_key =
"frame_len",
84 const std::string& num_tag_key =
"packet_num",
85 int bits_per_header_sym = 1,
86 int bits_per_payload_sym = 1,
87 bool scramble_header =
false);
92 const std::vector<std::vector<int>>
95 std::vector<unsigned char>
#define DIGITAL_API
Definition: gr-digital/include/gnuradio/digital/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29
std::shared_ptr< pmt_base > pmt_t
typedef for shared pointer (transparent reference counting).
Definition: pmt.h:83