aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/Transceiver.h
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-02-21 14:59:19 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2018-03-05 17:16:05 +0100
commitefac20b6bb856eccd4995c4513318375f292a1d1 (patch)
treef2768696d64eca95390a151936d2461de68ba16b /Transceiver52M/Transceiver.h
parent0bbd8922ea637dbfb013ebf2e79b754f03929cb0 (diff)
Move enums required by VTY to a separate header
This patch is a preparation for next patches, which add full VTY cfg support. Change-Id: I3d5b0576aa96869756f1629a40306c0043b6304b
Diffstat (limited to 'Transceiver52M/Transceiver.h')
-rw-r--r--Transceiver52M/Transceiver.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/Transceiver52M/Transceiver.h b/Transceiver52M/Transceiver.h
index ad7a469..f9b54f0 100644
--- a/Transceiver52M/Transceiver.h
+++ b/Transceiver52M/Transceiver.h
@@ -30,6 +30,10 @@
#include <sys/types.h>
#include <sys/socket.h>
+extern "C" {
+#include "config_defs.h"
+}
+
class Transceiver;
/** Channel descriptor for transceiver object and channel number pair */
@@ -54,7 +58,7 @@ struct TransceiverState {
~TransceiverState();
/* Initialize a multiframe slot in the filler table */
- bool init(int filler, size_t sps, float scale, size_t rtsc, unsigned rach_delay);
+ bool init(FillerType filler, size_t sps, float scale, size_t rtsc, unsigned rach_delay);
int chanType[8];
@@ -109,7 +113,7 @@ public:
~Transceiver();
/** Start the control loop */
- bool init(int filler, size_t rtsc, unsigned rach_delay, bool edge);
+ bool init(FillerType filler, size_t rtsc, unsigned rach_delay, bool edge);
/** attach the radioInterface receive FIFO */
bool receiveFIFO(VectorFIFO *wFIFO, size_t chan)
@@ -144,14 +148,6 @@ public:
LOOPBACK ///< similar go VII, used in loopback testing
} ChannelCombination;
- enum FillerType {
- FILLER_DUMMY,
- FILLER_ZERO,
- FILLER_NORM_RAND,
- FILLER_EDGE_RAND,
- FILLER_ACCESS_RAND,
- };
-
private:
int mBasePort;
std::string mLocalAddr;