python bindings

This commit is contained in:
Bastian Bloessl
2021-07-19 23:30:34 +02:00
parent cd0bb1fafd
commit afe85e2c71
32 changed files with 1310 additions and 5 deletions
+9
View File
@@ -20,6 +20,15 @@
#include <cassert>
#include <cstring>
using gr::ieee802_11::BPSK_1_2;
using gr::ieee802_11::BPSK_3_4;
using gr::ieee802_11::QPSK_1_2;
using gr::ieee802_11::QPSK_3_4;
using gr::ieee802_11::QAM16_1_2;
using gr::ieee802_11::QAM16_3_4;
using gr::ieee802_11::QAM64_2_3;
using gr::ieee802_11::QAM64_3_4;
ofdm_param::ofdm_param(Encoding e)
{
encoding = e;
+2
View File
@@ -23,6 +23,8 @@
#include <cinttypes>
#include <iostream>
using gr::ieee802_11::Encoding;
#define MAX_PAYLOAD_SIZE 1500
#define MAX_PSDU_SIZE (MAX_PAYLOAD_SIZE + 28) // MAC, CRC
#define MAX_SYM (((16 + 8 * MAX_PSDU_SIZE + 6) / 24) + 1)