python bindings
This commit is contained in:
@@ -29,6 +29,7 @@ class IEEE802_11_API constellation_bpsk : virtual public digital::constellation
|
||||
public:
|
||||
typedef std::shared_ptr<gr::ieee802_11::constellation_bpsk> sptr;
|
||||
static sptr make();
|
||||
sptr base() { return std::dynamic_pointer_cast<gr::ieee802_11::constellation_bpsk>(shared_from_this()); }
|
||||
|
||||
protected:
|
||||
constellation_bpsk();
|
||||
@@ -39,6 +40,7 @@ class IEEE802_11_API constellation_qpsk : virtual public digital::constellation
|
||||
public:
|
||||
typedef std::shared_ptr<gr::ieee802_11::constellation_qpsk> sptr;
|
||||
static sptr make();
|
||||
sptr base() { return std::dynamic_pointer_cast<gr::ieee802_11::constellation_qpsk>(shared_from_this()); }
|
||||
|
||||
protected:
|
||||
constellation_qpsk();
|
||||
@@ -49,6 +51,7 @@ class IEEE802_11_API constellation_16qam : virtual public digital::constellation
|
||||
public:
|
||||
typedef std::shared_ptr<gr::ieee802_11::constellation_16qam> sptr;
|
||||
static sptr make();
|
||||
sptr base() { return std::dynamic_pointer_cast<gr::ieee802_11::constellation_16qam>(shared_from_this()); }
|
||||
|
||||
protected:
|
||||
constellation_16qam();
|
||||
@@ -59,6 +62,7 @@ class IEEE802_11_API constellation_64qam : virtual public digital::constellation
|
||||
public:
|
||||
typedef std::shared_ptr<gr::ieee802_11::constellation_64qam> sptr;
|
||||
static sptr make();
|
||||
sptr base() { return std::dynamic_pointer_cast<gr::ieee802_11::constellation_64qam>(shared_from_this()); }
|
||||
|
||||
protected:
|
||||
constellation_64qam();
|
||||
|
||||
@@ -23,6 +23,9 @@
|
||||
#include <gnuradio/block.h>
|
||||
#include <ieee802_11/api.h>
|
||||
|
||||
namespace gr {
|
||||
namespace ieee802_11 {
|
||||
|
||||
enum Equalizer {
|
||||
LS = 0,
|
||||
LMS = 1,
|
||||
@@ -30,8 +33,6 @@ enum Equalizer {
|
||||
STA = 3,
|
||||
};
|
||||
|
||||
namespace gr {
|
||||
namespace ieee802_11 {
|
||||
|
||||
class IEEE802_11_API frame_equalizer : virtual public gr::block
|
||||
{
|
||||
|
||||
@@ -20,6 +20,9 @@
|
||||
#include <gnuradio/block.h>
|
||||
#include <ieee802_11/api.h>
|
||||
|
||||
namespace gr {
|
||||
namespace ieee802_11 {
|
||||
|
||||
enum Encoding {
|
||||
BPSK_1_2 = 0,
|
||||
BPSK_3_4 = 1,
|
||||
@@ -31,9 +34,6 @@ enum Encoding {
|
||||
QAM64_3_4 = 7,
|
||||
};
|
||||
|
||||
namespace gr {
|
||||
namespace ieee802_11 {
|
||||
|
||||
class IEEE802_11_API mapper : virtual public block
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
#include <gnuradio/digital/packet_header_default.h>
|
||||
#include <ieee802_11/api.h>
|
||||
#include <memory>
|
||||
|
||||
namespace gr {
|
||||
namespace ieee802_11 {
|
||||
@@ -29,6 +30,12 @@ class IEEE802_11_API signal_field : virtual public digital::packet_header_defaul
|
||||
public:
|
||||
typedef std::shared_ptr<signal_field> sptr;
|
||||
static sptr make();
|
||||
sptr base() {
|
||||
return std::dynamic_pointer_cast<signal_field>(shared_from_this());
|
||||
}
|
||||
sptr formatter() {
|
||||
return std::dynamic_pointer_cast<signal_field>(shared_from_this());
|
||||
}
|
||||
|
||||
protected:
|
||||
signal_field();
|
||||
|
||||
Reference in New Issue
Block a user