delete unused block
This commit is contained in:
@@ -1,54 +0,0 @@
|
|||||||
<?xml version="1.0"?>
|
|
||||||
|
|
||||||
<block>
|
|
||||||
<name>OFDM Freq Est</name>
|
|
||||||
<key>ieee802_11_ofdm_freq_est</key>
|
|
||||||
<category>IEEE802.11</category>
|
|
||||||
<import>import ieee802_11</import>
|
|
||||||
<make>ieee802_11.ofdm_freq_est($log, $debug)</make>
|
|
||||||
|
|
||||||
<param>
|
|
||||||
<name>Log</name>
|
|
||||||
<key>log</key>
|
|
||||||
<value>False</value>
|
|
||||||
<type>bool</type>
|
|
||||||
|
|
||||||
<option>
|
|
||||||
<name>Enable</name>
|
|
||||||
<key>True</key>
|
|
||||||
</option>
|
|
||||||
<option>
|
|
||||||
<name>Disable</name>
|
|
||||||
<key>False</key>
|
|
||||||
</option>
|
|
||||||
</param>
|
|
||||||
|
|
||||||
<param>
|
|
||||||
<name>Debug</name>
|
|
||||||
<key>debug</key>
|
|
||||||
<value>False</value>
|
|
||||||
<type>bool</type>
|
|
||||||
|
|
||||||
<option>
|
|
||||||
<name>Enable</name>
|
|
||||||
<key>True</key>
|
|
||||||
</option>
|
|
||||||
<option>
|
|
||||||
<name>Disable</name>
|
|
||||||
<key>False</key>
|
|
||||||
</option>
|
|
||||||
</param>
|
|
||||||
|
|
||||||
<sink>
|
|
||||||
<name>in</name>
|
|
||||||
<type>complex</type>
|
|
||||||
<nports>1</nports>
|
|
||||||
</sink>
|
|
||||||
|
|
||||||
<source>
|
|
||||||
<name>out</name>
|
|
||||||
<type>complex</type>
|
|
||||||
<nports>1</nports>
|
|
||||||
</source>
|
|
||||||
|
|
||||||
</block>
|
|
||||||
@@ -74,7 +74,6 @@ list(APPEND include_sources
|
|||||||
ofdm_decode_mac.h
|
ofdm_decode_mac.h
|
||||||
ofdm_decode_signal.h
|
ofdm_decode_signal.h
|
||||||
ofdm_equalize_symbols.h
|
ofdm_equalize_symbols.h
|
||||||
ofdm_freq_est.h
|
|
||||||
ofdm_mac.h
|
ofdm_mac.h
|
||||||
ofdm_mapper.h
|
ofdm_mapper.h
|
||||||
ofdm_parse_mac.h
|
ofdm_parse_mac.h
|
||||||
|
|||||||
@@ -1,38 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (C) 2013 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_OFDM_FREQ_EST_H
|
|
||||||
#define INCLUDED_IEEE802_11_OFDM_FREQ_EST_H
|
|
||||||
|
|
||||||
#include <ieee802-11/api.h>
|
|
||||||
#include <gnuradio/block.h>
|
|
||||||
|
|
||||||
namespace gr {
|
|
||||||
namespace ieee802_11 {
|
|
||||||
|
|
||||||
class IEEE802_11_API ofdm_freq_est : virtual public block
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
|
|
||||||
typedef boost::shared_ptr<ofdm_freq_est> sptr;
|
|
||||||
static sptr make(bool log = false, bool debug = false);
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
} // namespace ieee802_11
|
|
||||||
} // namespace gr
|
|
||||||
|
|
||||||
#endif /* INCLUDED_IEEE802_11_OFDM_FREQ_EST_H */
|
|
||||||
@@ -99,7 +99,6 @@ list(APPEND gr_ieee802_11_sources
|
|||||||
ofdm_decode_mac.cc
|
ofdm_decode_mac.cc
|
||||||
ofdm_decode_signal.cc
|
ofdm_decode_signal.cc
|
||||||
ofdm_equalize_symbols.cc
|
ofdm_equalize_symbols.cc
|
||||||
ofdm_freq_est.cc
|
|
||||||
ofdm_mac.cc
|
ofdm_mac.cc
|
||||||
ofdm_mapper.cc
|
ofdm_mapper.cc
|
||||||
ofdm_parse_mac.cc
|
ofdm_parse_mac.cc
|
||||||
|
|||||||
@@ -1,64 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright (C) 2013 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/>.
|
|
||||||
*/
|
|
||||||
#include <ieee802-11/ofdm_freq_est.h>
|
|
||||||
#include "utils.h"
|
|
||||||
#include <gnuradio/io_signature.h>
|
|
||||||
|
|
||||||
using namespace gr::ieee802_11;
|
|
||||||
|
|
||||||
|
|
||||||
class ofdm_freq_est_impl : public ofdm_freq_est {
|
|
||||||
|
|
||||||
public:
|
|
||||||
ofdm_freq_est_impl(bool log, bool debug) : block("ofdm_freq_est",
|
|
||||||
gr::io_signature::make2(2, 2, sizeof(gr_complex), sizeof(gr_complex)),
|
|
||||||
gr::io_signature::make(1, 1, sizeof(gr_complex))),
|
|
||||||
d_log(log),
|
|
||||||
d_debug(debug),
|
|
||||||
d_state(SYNC) {
|
|
||||||
|
|
||||||
set_tag_propagation_policy(block::TPP_DONT);
|
|
||||||
}
|
|
||||||
|
|
||||||
int general_work (int noutput, gr_vector_int& ninput_items,
|
|
||||||
gr_vector_const_void_star& input_items,
|
|
||||||
gr_vector_void_star& output_items) {
|
|
||||||
|
|
||||||
const gr_complex *in = (const gr_complex*)input_items[0];
|
|
||||||
gr_complex *out = (gr_complex*)output_items[0];
|
|
||||||
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
void forecast (int noutput_items, gr_vector_int &ninput_items_required) {
|
|
||||||
ninput_items_required[0] = noutput_items;
|
|
||||||
}
|
|
||||||
|
|
||||||
private:
|
|
||||||
enum {SYNC, COPY, RESET} d_state;
|
|
||||||
std::vector<gr::tag_t> d_tags;
|
|
||||||
|
|
||||||
const bool d_log;
|
|
||||||
const bool d_debug;
|
|
||||||
};
|
|
||||||
|
|
||||||
ofdm_freq_est::sptr
|
|
||||||
ofdm_freq_est::make(bool log, bool debug) {
|
|
||||||
return gnuradio::get_initial_sptr(new ofdm_freq_est_impl(log, debug));
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -31,7 +31,6 @@
|
|||||||
#include "ieee802-11/ofdm_decode_mac.h"
|
#include "ieee802-11/ofdm_decode_mac.h"
|
||||||
#include "ieee802-11/ofdm_decode_signal.h"
|
#include "ieee802-11/ofdm_decode_signal.h"
|
||||||
#include "ieee802-11/ofdm_equalize_symbols.h"
|
#include "ieee802-11/ofdm_equalize_symbols.h"
|
||||||
#include "ieee802-11/ofdm_freq_est.h"
|
|
||||||
#include "ieee802-11/ofdm_mac.h"
|
#include "ieee802-11/ofdm_mac.h"
|
||||||
#include "ieee802-11/ofdm_mapper.h"
|
#include "ieee802-11/ofdm_mapper.h"
|
||||||
#include "ieee802-11/ofdm_parse_mac.h"
|
#include "ieee802-11/ofdm_parse_mac.h"
|
||||||
@@ -50,7 +49,6 @@
|
|||||||
%include "ieee802-11/ofdm_decode_mac.h"
|
%include "ieee802-11/ofdm_decode_mac.h"
|
||||||
%include "ieee802-11/ofdm_decode_signal.h"
|
%include "ieee802-11/ofdm_decode_signal.h"
|
||||||
%include "ieee802-11/ofdm_equalize_symbols.h"
|
%include "ieee802-11/ofdm_equalize_symbols.h"
|
||||||
%include "ieee802-11/ofdm_freq_est.h"
|
|
||||||
%include "ieee802-11/ofdm_mac.h"
|
%include "ieee802-11/ofdm_mac.h"
|
||||||
%include "ieee802-11/ofdm_mapper.h"
|
%include "ieee802-11/ofdm_mapper.h"
|
||||||
%include "ieee802-11/ofdm_parse_mac.h"
|
%include "ieee802-11/ofdm_parse_mac.h"
|
||||||
@@ -66,7 +64,6 @@ GR_SWIG_BLOCK_MAGIC2(ieee802_11, moving_average_ff);
|
|||||||
GR_SWIG_BLOCK_MAGIC2(ieee802_11, ofdm_decode_mac);
|
GR_SWIG_BLOCK_MAGIC2(ieee802_11, ofdm_decode_mac);
|
||||||
GR_SWIG_BLOCK_MAGIC2(ieee802_11, ofdm_decode_signal);
|
GR_SWIG_BLOCK_MAGIC2(ieee802_11, ofdm_decode_signal);
|
||||||
GR_SWIG_BLOCK_MAGIC2(ieee802_11, ofdm_equalize_symbols);
|
GR_SWIG_BLOCK_MAGIC2(ieee802_11, ofdm_equalize_symbols);
|
||||||
GR_SWIG_BLOCK_MAGIC2(ieee802_11, ofdm_freq_est);
|
|
||||||
GR_SWIG_BLOCK_MAGIC2(ieee802_11, ofdm_mac);
|
GR_SWIG_BLOCK_MAGIC2(ieee802_11, ofdm_mac);
|
||||||
GR_SWIG_BLOCK_MAGIC2(ieee802_11, ofdm_mapper);
|
GR_SWIG_BLOCK_MAGIC2(ieee802_11, ofdm_mapper);
|
||||||
GR_SWIG_BLOCK_MAGIC2(ieee802_11, ofdm_parse_mac);
|
GR_SWIG_BLOCK_MAGIC2(ieee802_11, ofdm_parse_mac);
|
||||||
|
|||||||
Reference in New Issue
Block a user