Review at https://gerrit.osmocom.org/6797
host/trxcon/scheduler: use new libosmocoding API for RACH Since the 32e5641d, the gsm0503_rach_encode() is deprecated, and the library provides new API with extended (11-bit) RACH support. Change-Id: I1955fe46eebd173d6eddd1d47ee9f7318b9b4e2d --- M src/host/trxcon/sched_lchan_rach.c 1 file changed, 3 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/97/6797/1 diff --git a/src/host/trxcon/sched_lchan_rach.c b/src/host/trxcon/sched_lchan_rach.c index 8201783..bf81fd2 100644 --- a/src/host/trxcon/sched_lchan_rach.c +++ b/src/host/trxcon/sched_lchan_rach.c @@ -26,6 +26,7 @@ #include <string.h> #include <talloc.h> #include <stdint.h> +#include <stdbool.h> #include <osmocom/core/linuxlist.h> #include <osmocom/core/logging.h> @@ -70,8 +71,8 @@ if (req->offset-- > 0) return 0; - /* Encode payload */ - rc = gsm0503_rach_encode(payload, &req->ra, trx->bsic); + /* Encode (8-bit) payload */ + rc = gsm0503_rach_ext_encode(payload, req->ra, trx->bsic, false); if (rc) { LOGP(DSCHD, LOGL_ERROR, "Could not encode RACH burst\n"); return rc; -- To view, visit https://gerrit.osmocom.org/6797 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1955fe46eebd173d6eddd1d47ee9f7318b9b4e2d Gerrit-PatchSet: 1 Gerrit-Project: osmocom-bb Gerrit-Branch: master Gerrit-Owner: Harald Welte <lafo...@gnumonks.org>