22 #ifndef INCLUDED_DIGITAL_PACKET_HEADER_OFDM_H 23 #define INCLUDED_DIGITAL_PACKET_HEADER_OFDM_H 39 typedef boost::shared_ptr<packet_header_ofdm>
sptr;
43 const std::string& len_tag_key,
44 const std::string& frame_len_tag_key,
45 const std::string& num_tag_key,
46 int bits_per_header_sym,
47 int bits_per_payload_sym,
48 bool scramble_header);
59 header_formatter(
long packet_len,
unsigned char* out,
const std::vector<tag_t>& tags);
71 bool header_parser(
const unsigned char* header, std::vector<tag_t>& tags);
91 static sptr make(
const std::vector<std::vector<int>>& occupied_carriers,
93 const std::string& len_tag_key =
"packet_len",
94 const std::string& frame_len_tag_key =
"frame_len",
95 const std::string& num_tag_key =
"packet_num",
96 int bits_per_header_sym = 1,
97 int bits_per_payload_sym = 1,
98 bool scramble_header =
false);
103 const std::vector<std::vector<int>>
106 std::vector<unsigned char>
boost::shared_ptr< pmt_base > pmt_t
typedef for shared pointer (transparent reference counting). See http://www.boost.org/libs/smart_ptr/smart_ptr.htm
Definition: pmt.h:96
#define DIGITAL_API
Definition: gr-digital/include/gnuradio/digital/api.h:30
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43