code changes
This commit is contained in:
+12
-2
@@ -26,6 +26,11 @@ endif()
|
||||
include(GrSwig)
|
||||
include(GrPython)
|
||||
|
||||
set(GR_SWIG_INCLUDE_DIRS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../include/
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../include/
|
||||
)
|
||||
|
||||
########################################################################
|
||||
# Setup swig generation
|
||||
########################################################################
|
||||
@@ -35,7 +40,12 @@ endforeach(incdir)
|
||||
|
||||
set(GR_SWIG_LIBRARIES gnuradio-ieee802_11)
|
||||
set(GR_SWIG_DOC_FILE ${CMAKE_CURRENT_BINARY_DIR}/ieee802_11_swig_doc.i)
|
||||
set(GR_SWIG_DOC_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/../include)
|
||||
set(GR_SWIG_DOC_DIRS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../include/ieee802-11/
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../include/ieee802-11/
|
||||
)
|
||||
|
||||
set(GR_SWIG_TARGET_DEPS ieee802_11_generated_includes)
|
||||
|
||||
GR_SWIG_MAKE(ieee802_11_swig ieee802_11_swig.i)
|
||||
|
||||
@@ -49,7 +59,7 @@ GR_SWIG_INSTALL(TARGETS ieee802_11_swig DESTINATION ${GR_PYTHON_DIR}/ieee802_11)
|
||||
########################################################################
|
||||
install(
|
||||
FILES
|
||||
ieee802_11_swig.i
|
||||
ieee802_11_swig.i
|
||||
${CMAKE_CURRENT_BINARY_DIR}/ieee802_11_swig_doc.i
|
||||
DESTINATION ${GR_INCLUDE_DIR}/ieee802_11/swig
|
||||
)
|
||||
|
||||
@@ -22,27 +22,54 @@
|
||||
|
||||
%{
|
||||
#include "ieee802-11/ether_encap.h"
|
||||
#include "ieee802-11/moving_average_cc.h"
|
||||
#include "ieee802-11/moving_average_ff.h"
|
||||
#include "ieee802-11/ofdm_decode_mac.h"
|
||||
#include "ieee802-11/ofdm_decode_signal.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_mapper.h"
|
||||
#include "ieee802-11/ofdm_parse_mac.h"
|
||||
#include "ieee802-11/ofdm_pilot.h"
|
||||
#include "ieee802-11/ofdm_preamble.h"
|
||||
#include "ieee802-11/ofdm_sync_long.h"
|
||||
#include "ieee802-11/ofdm_sync_short.h"
|
||||
#include "ieee802-11/wave_llc.h"
|
||||
#include "ieee802-11/wave_short_message.h"
|
||||
%}
|
||||
|
||||
%include "ieee802-11/ether_encap.h"
|
||||
%include "ieee802-11/moving_average_cc.h"
|
||||
%include "ieee802-11/moving_average_ff.h"
|
||||
%include "ieee802-11/ofdm_decode_mac.h"
|
||||
%include "ieee802-11/ofdm_decode_signal.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_mapper.h"
|
||||
%include "ieee802-11/ofdm_parse_mac.h"
|
||||
%include "ieee802-11/ofdm_pilot.h"
|
||||
%include "ieee802-11/ofdm_preamble.h"
|
||||
%include "ieee802-11/ofdm_sync_long.h"
|
||||
%include "ieee802-11/ofdm_sync_short.h"
|
||||
%include "ieee802-11/wave_llc.h"
|
||||
%include "ieee802-11/wave_short_message.h"
|
||||
|
||||
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, ofdm_decode_mac);
|
||||
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_freq_est);
|
||||
GR_SWIG_BLOCK_MAGIC2(ieee802_11, ofdm_mac);
|
||||
GR_SWIG_BLOCK_MAGIC2(ieee802_11, ofdm_mapper);
|
||||
GR_SWIG_BLOCK_MAGIC2(ieee802_11, ofdm_parse_mac);
|
||||
GR_SWIG_BLOCK_MAGIC2(ieee802_11, ofdm_pilot);
|
||||
GR_SWIG_BLOCK_MAGIC2(ieee802_11, ofdm_preamble);
|
||||
GR_SWIG_BLOCK_MAGIC2(ieee802_11, ofdm_sync_long);
|
||||
GR_SWIG_BLOCK_MAGIC2(ieee802_11, ofdm_sync_short);
|
||||
GR_SWIG_BLOCK_MAGIC2(ieee802_11, wave_llc);
|
||||
GR_SWIG_BLOCK_MAGIC2(ieee802_11, wave_short_message);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user