add wifi constellation objects

This commit is contained in:
Bastian Bloessl
2016-05-31 15:32:18 +02:00
parent f9aa4b5ec2
commit 7f95f47ec6
9 changed files with 507 additions and 2 deletions
+1
View File
@@ -70,6 +70,7 @@ list(APPEND include_sources
${generated_includes}
api.h
chunks_to_symbols.h
constellations.h
decode_mac.h
decode_signal.h
equalize_symbols.h
+71
View File
@@ -0,0 +1,71 @@
/*
* Copyright (C) 2016 Bastian Bloessl <bloessl@ccs-labs.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef INCLUDED_IEEE802_11_CONSTELLATIONS_H
#define INCLUDED_IEEE802_11_CONSTELLATIONS_H
#include <ieee802-11/api.h>
#include <gnuradio/digital/constellation.h>
namespace gr {
namespace ieee802_11 {
class IEEE802_11_API constellation_bpsk : virtual public digital::constellation
{
public:
typedef boost::shared_ptr<gr::ieee802_11::constellation_bpsk> sptr;
static sptr make();
protected:
constellation_bpsk();
};
class IEEE802_11_API constellation_qpsk : virtual public digital::constellation
{
public:
typedef boost::shared_ptr<gr::ieee802_11::constellation_qpsk> sptr;
static sptr make();
protected:
constellation_qpsk();
};
class IEEE802_11_API constellation_16qam : virtual public digital::constellation
{
public:
typedef boost::shared_ptr<gr::ieee802_11::constellation_16qam> sptr;
static sptr make();
protected:
constellation_16qam();
};
class IEEE802_11_API constellation_64qam : virtual public digital::constellation
{
public:
typedef boost::shared_ptr<gr::ieee802_11::constellation_64qam> sptr;
static sptr make();
protected:
constellation_64qam();
};
} // namespace ieee802_11
} // namespace gr
#endif /* INCLUDED_IEEE802_11_CONSTELLATIONS_H */