From aed38a602857dcb60b606b6979d019f708160e65 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Tue, 7 Jul 2020 14:53:59 +0200 Subject: [PATCH] rf_zmq: increase default ZMQ timeout to 2s amarisoft flags an RF error and exits after not receiving samples for the radio. Running with ZMQ in the RFCI, the UE sometimes needs more time to start up due to slow processing and no fftw wisdom file and then Amarisoft eNB times out. This gives the whole process a little bit more time. Should we still find it too short we may increase it further. --- lib/src/phy/rf/rf_zmq_imp_trx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/phy/rf/rf_zmq_imp_trx.h b/lib/src/phy/rf/rf_zmq_imp_trx.h index 33390563b..25eaf992c 100644 --- a/lib/src/phy/rf/rf_zmq_imp_trx.h +++ b/lib/src/phy/rf/rf_zmq_imp_trx.h @@ -32,7 +32,7 @@ #define NSAMPLES2NBYTES(X) (((uint32_t)(X)) * sizeof(cf_t)) #define NBYTES2NSAMPLES(X) ((X) / sizeof(cf_t)) #define ZMQ_MAX_BUFFER_SIZE (NSAMPLES2NBYTES(3072000)) // 10 subframes at 20 MHz -#define ZMQ_TIMEOUT_MS (1000) +#define ZMQ_TIMEOUT_MS (2000) #define ZMQ_BASERATE_DEFAULT_HZ (23040000) #define ZMQ_ID_STRLEN 16 #define ZMQ_MAX_GAIN_DB (30.0f)