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
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 @@
~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 @@
~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 @@
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;