aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/osmo-trx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Transceiver52M/osmo-trx.cpp')
-rw-r--r--Transceiver52M/osmo-trx.cpp14
1 files changed, 12 insertions, 2 deletions
diff --git a/Transceiver52M/osmo-trx.cpp b/Transceiver52M/osmo-trx.cpp
index b121e48..3f562ba 100644
--- a/Transceiver52M/osmo-trx.cpp
+++ b/Transceiver52M/osmo-trx.cpp
@@ -67,7 +67,7 @@ struct trx_config {
unsigned chans;
unsigned rtsc;
bool extref;
- bool filler;
+ Transceiver::FillerType filler;
bool diversity;
double offset;
};
@@ -160,8 +160,18 @@ bool trx_setup_config(struct trx_config *config)
config->chans = 2;
refstr = config->extref ? "Enabled" : "Disabled";
- fillstr = config->filler ? "Enabled" : "Disabled";
divstr = config->diversity ? "Enabled" : "Disabled";
+ switch (config->filler) {
+ case Transceiver::FILLER_DUMMY:
+ fillstr = "Dummy bursts";
+ break;
+ case Transceiver::FILLER_ZERO:
+ fillstr = "Disabled";
+ break;
+ case Transceiver::FILLER_RAND:
+ fillstr = "Normal busrts with random payload";
+ break;
+ }
std::ostringstream ost("");
ost << "Config Settings" << std::endl;