Attempting to transmit a wifi packet with gr-ieee802.11. I'm reading in the payload binary from a file source. The output of the file source block is a gr_stream. But the Wifi MAC block requires a gr_message input, which I gather to be in PMT format.
How can I turn my payload into something that the Wifi MAC block can understand? My current attempt, below, runs it through a stream-to-tagged-stream block and then a tagged-stream-to-PDU block, which feeds into a message strobe. This generates a flowchart fine but segfaults ~3 seconds into execution, so I must be doing something terribly wrong.
Thanks!
--
Eamon Heaney
Fleet Commander
President, Model UN at Virginia Tech