diff options
Diffstat (limited to 'Transceiver52M/osmo-trx.cpp')
-rw-r--r-- | Transceiver52M/osmo-trx.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Transceiver52M/osmo-trx.cpp b/Transceiver52M/osmo-trx.cpp index e7b2a16..3026f55 100644 --- a/Transceiver52M/osmo-trx.cpp +++ b/Transceiver52M/osmo-trx.cpp @@ -181,9 +181,12 @@ bool trx_setup_config(struct trx_config *config) case Transceiver::FILLER_ZERO: fillstr = "Disabled"; break; - case Transceiver::FILLER_RAND: + case Transceiver::FILLER_NORM_RAND: fillstr = "Normal busrts with random payload"; break; + case Transceiver::FILLER_EDGE_RAND: + fillstr = "EDGE busrts with random payload"; + break; } std::ostringstream ost(""); @@ -376,7 +379,7 @@ static void handle_options(int argc, char **argv, struct trx_config *config) break; case 'r': config->rtsc = atoi(optarg); - config->filler = Transceiver::FILLER_RAND; + config->filler = Transceiver::FILLER_NORM_RAND; break; case 'R': config->rssi_offset = atof(optarg); @@ -394,6 +397,9 @@ static void handle_options(int argc, char **argv, struct trx_config *config) } } + if (config->edge && (config->filler == Transceiver::FILLER_NORM_RAND)) + config->filler = Transceiver::FILLER_EDGE_RAND; + if ((config->tx_sps != 1) && (config->tx_sps != 4)) { printf("Unsupported samples-per-symbol %i\n\n", config->tx_sps); print_help(); |