start porting to 3.9

This commit is contained in:
Bastian Bloessl
2021-07-19 20:36:39 +02:00
parent 4d1befbc05
commit cd0bb1fafd
61 changed files with 12769 additions and 332 deletions
+6 -21
View File
@@ -1,25 +1,15 @@
# Copyright 2011,2012 Free Software Foundation, Inc.
#
# Copyright (C) 2013, 2016 Bastian Bloessl <bloessl@ccs-labs.org>
# This file was generated by gr_modtool, a tool from the GNU Radio framework
# This file is a part of gr-ieee802_11
#
# 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/>.
# SPDX-License-Identifier: GPL-3.0-or-later
#
########################################################################
# Install public header files
########################################################################
list(APPEND include_sources
install(FILES
api.h
chunks_to_symbols.h
constellations.h
@@ -33,10 +23,5 @@ list(APPEND include_sources
signal_field.h
sync_long.h
sync_short.h
)
install(
FILES ${include_sources}
DESTINATION ${GR_INCLUDE_DIR}
COMPONENT "ieee802_11_devel"
DESTINATION include/ieee802_11
)
+5 -11
View File
@@ -1,19 +1,13 @@
/*
* Copyright (C) 2013 Bastian Bloessl <bloessl@ccs-labs.org>
* Copyright 2011 Free Software Foundation, Inc.
*
* 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 file was generated by gr_modtool, a tool from the GNU Radio framework
* This file is a part of gr-ieee802_11
*
* 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.
* SPDX-License-Identifier: GPL-3.0-or-later
*
* 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_API_H
#define INCLUDED_IEEE802_11_API_H
+1 -1
View File
@@ -26,7 +26,7 @@ namespace ieee802_11 {
class IEEE802_11_API chunks_to_symbols : virtual public tagged_stream_block
{
public:
typedef boost::shared_ptr<chunks_to_symbols> sptr;
typedef std::shared_ptr<chunks_to_symbols> sptr;
static sptr make();
};
+4 -4
View File
@@ -27,7 +27,7 @@ namespace ieee802_11 {
class IEEE802_11_API constellation_bpsk : virtual public digital::constellation
{
public:
typedef boost::shared_ptr<gr::ieee802_11::constellation_bpsk> sptr;
typedef std::shared_ptr<gr::ieee802_11::constellation_bpsk> sptr;
static sptr make();
protected:
@@ -37,7 +37,7 @@ protected:
class IEEE802_11_API constellation_qpsk : virtual public digital::constellation
{
public:
typedef boost::shared_ptr<gr::ieee802_11::constellation_qpsk> sptr;
typedef std::shared_ptr<gr::ieee802_11::constellation_qpsk> sptr;
static sptr make();
protected:
@@ -47,7 +47,7 @@ protected:
class IEEE802_11_API constellation_16qam : virtual public digital::constellation
{
public:
typedef boost::shared_ptr<gr::ieee802_11::constellation_16qam> sptr;
typedef std::shared_ptr<gr::ieee802_11::constellation_16qam> sptr;
static sptr make();
protected:
@@ -57,7 +57,7 @@ protected:
class IEEE802_11_API constellation_64qam : virtual public digital::constellation
{
public:
typedef boost::shared_ptr<gr::ieee802_11::constellation_64qam> sptr;
typedef std::shared_ptr<gr::ieee802_11::constellation_64qam> sptr;
static sptr make();
protected:
+1 -1
View File
@@ -26,7 +26,7 @@ namespace ieee802_11 {
class IEEE802_11_API decode_mac : virtual public block
{
public:
typedef boost::shared_ptr<decode_mac> sptr;
typedef std::shared_ptr<decode_mac> sptr;
static sptr make(bool log = false, bool debug = false);
};
+1 -1
View File
@@ -26,7 +26,7 @@ namespace ieee802_11 {
class IEEE802_11_API ether_encap : virtual public block
{
public:
typedef boost::shared_ptr<ether_encap> sptr;
typedef std::shared_ptr<ether_encap> sptr;
static sptr make(bool debug);
};
+1 -1
View File
@@ -30,7 +30,7 @@ namespace ieee802_11 {
class IEEE802_11_API extract_csi : virtual public gr::sync_block
{
public:
typedef boost::shared_ptr<extract_csi> sptr;
typedef std::shared_ptr<extract_csi> sptr;
static sptr make();
};
+1 -1
View File
@@ -37,7 +37,7 @@ class IEEE802_11_API frame_equalizer : virtual public gr::block
{
public:
typedef boost::shared_ptr<frame_equalizer> sptr;
typedef std::shared_ptr<frame_equalizer> sptr;
static sptr make(Equalizer algo, double freq, double bw, bool log, bool debug);
virtual void set_algorithm(Equalizer algo) = 0;
virtual void set_bandwidth(double bw) = 0;
+1 -1
View File
@@ -26,7 +26,7 @@ namespace ieee802_11 {
class IEEE802_11_API mac : virtual public block
{
public:
typedef boost::shared_ptr<mac> sptr;
typedef std::shared_ptr<mac> sptr;
static sptr make(std::vector<uint8_t> src_mac,
std::vector<uint8_t> dst_mac,
std::vector<uint8_t> bss_mac);
+1 -1
View File
@@ -37,7 +37,7 @@ namespace ieee802_11 {
class IEEE802_11_API mapper : virtual public block
{
public:
typedef boost::shared_ptr<mapper> sptr;
typedef std::shared_ptr<mapper> sptr;
static sptr make(Encoding mcs, bool debug = false);
virtual void set_encoding(Encoding mcs) = 0;
};
+1 -1
View File
@@ -26,7 +26,7 @@ namespace ieee802_11 {
class IEEE802_11_API parse_mac : virtual public block
{
public:
typedef boost::shared_ptr<parse_mac> sptr;
typedef std::shared_ptr<parse_mac> sptr;
static sptr make(bool log = false, bool debug = false);
};
+1 -1
View File
@@ -27,7 +27,7 @@ namespace ieee802_11 {
class IEEE802_11_API signal_field : virtual public digital::packet_header_default
{
public:
typedef boost::shared_ptr<signal_field> sptr;
typedef std::shared_ptr<signal_field> sptr;
static sptr make();
protected:
+1 -1
View File
@@ -26,7 +26,7 @@ namespace ieee802_11 {
class IEEE802_11_API sync_long : virtual public block
{
public:
typedef boost::shared_ptr<sync_long> sptr;
typedef std::shared_ptr<sync_long> sptr;
static sptr make(unsigned int sync_length, bool log = false, bool debug = false);
};
+1 -1
View File
@@ -26,7 +26,7 @@ namespace ieee802_11 {
class IEEE802_11_API sync_short : virtual public block
{
public:
typedef boost::shared_ptr<sync_short> sptr;
typedef std::shared_ptr<sync_short> sptr;
static sptr make(double threshold,
unsigned int min_plateau,
bool log = false,