76 lines
2.6 KiB
OpenEdge ABL
76 lines
2.6 KiB
OpenEdge ABL
/*
|
|
* 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/>.
|
|
*/
|
|
#define IEEE802_11_API
|
|
#define DIGITAL_API
|
|
|
|
%include "gnuradio.i"
|
|
|
|
%include "ieee802_11_swig_doc.i"
|
|
|
|
%{
|
|
#include "gnuradio/digital/packet_header_default.h"
|
|
|
|
#include "ieee802-11/chunks_to_symbols.h"
|
|
#include "ieee802-11/ether_encap.h"
|
|
#include "ieee802-11/moving_average_cc.h"
|
|
#include "ieee802-11/moving_average_ff.h"
|
|
#include "ieee802-11/decode_mac.h"
|
|
#include "ieee802-11/decode_signal.h"
|
|
#include "ieee802-11/equalize_symbols.h"
|
|
#include "ieee802-11/mac.h"
|
|
#include "ieee802-11/mapper.h"
|
|
#include "ieee802-11/parse_mac.h"
|
|
#include "ieee802-11/sync_long.h"
|
|
#include "ieee802-11/sync_short.h"
|
|
#include "ieee802-11/signal_field.h"
|
|
%}
|
|
|
|
%include "gnuradio/digital/packet_header_default.h"
|
|
|
|
%include "ieee802-11/chunks_to_symbols.h"
|
|
%include "ieee802-11/ether_encap.h"
|
|
%include "ieee802-11/moving_average_cc.h"
|
|
%include "ieee802-11/moving_average_ff.h"
|
|
%include "ieee802-11/decode_mac.h"
|
|
%include "ieee802-11/decode_signal.h"
|
|
%include "ieee802-11/equalize_symbols.h"
|
|
%include "ieee802-11/mac.h"
|
|
%include "ieee802-11/mapper.h"
|
|
%include "ieee802-11/parse_mac.h"
|
|
%include "ieee802-11/sync_long.h"
|
|
%include "ieee802-11/sync_short.h"
|
|
%include "ieee802-11/signal_field.h"
|
|
|
|
GR_SWIG_BLOCK_MAGIC2(ieee802_11, chunks_to_symbols);
|
|
GR_SWIG_BLOCK_MAGIC2(ieee802_11, ether_encap);
|
|
GR_SWIG_BLOCK_MAGIC2(ieee802_11, moving_average_cc);
|
|
GR_SWIG_BLOCK_MAGIC2(ieee802_11, moving_average_ff);
|
|
GR_SWIG_BLOCK_MAGIC2(ieee802_11, decode_mac);
|
|
GR_SWIG_BLOCK_MAGIC2(ieee802_11, decode_signal);
|
|
GR_SWIG_BLOCK_MAGIC2(ieee802_11, equalize_symbols);
|
|
GR_SWIG_BLOCK_MAGIC2(ieee802_11, mac);
|
|
GR_SWIG_BLOCK_MAGIC2(ieee802_11, mapper);
|
|
GR_SWIG_BLOCK_MAGIC2(ieee802_11, parse_mac);
|
|
GR_SWIG_BLOCK_MAGIC2(ieee802_11, sync_long);
|
|
GR_SWIG_BLOCK_MAGIC2(ieee802_11, sync_short);
|
|
|
|
%template(signal_field_sptr) boost::shared_ptr<gr::ieee802_11::signal_field>;
|
|
%pythoncode %{
|
|
signal_field_sptr.__repr__ = lambda self: "<signal_field>"
|
|
signal_field = signal_field .make;
|
|
%}
|