From 616949a0bec09f566abdff62610aa85c1e32de02 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Wed, 8 Mar 2023 02:30:48 +0700 Subject: trxcon: use 3GPP TS 45.002 definitions from libosmogsm Change-Id: Ieb3b502e1e5432e425a55c1217211b77e9ca91c9 Depends: libosmocore.git I1c38ccc2b64ba9046bb3b1221d99cc55ec493802 --- src/host/trxcon/include/osmocom/bb/l1sched/l1sched.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/host/trxcon/include') diff --git a/src/host/trxcon/include/osmocom/bb/l1sched/l1sched.h b/src/host/trxcon/include/osmocom/bb/l1sched/l1sched.h index 0ea1ba01..84695fe7 100644 --- a/src/host/trxcon/include/osmocom/bb/l1sched/l1sched.h +++ b/src/host/trxcon/include/osmocom/bb/l1sched/l1sched.h @@ -14,12 +14,6 @@ #include #include -#define GSM_BURST_LEN 148 -#define GSM_BURST_PL_LEN 116 - -#define GPRS_BURST_LEN GSM_BURST_LEN -#define EDGE_BURST_LEN 444 - #define GPRS_L2_MAX_LEN 54 #define EDGE_L2_MAX_LEN 155 @@ -141,7 +135,7 @@ struct l1sched_burst_req { /* Internally used by the scheduler */ uint8_t bid; - ubit_t burst[EDGE_BURST_LEN]; + ubit_t burst[GSM_NBITS_NB_8PSK_BURST]; size_t burst_len; }; @@ -158,7 +152,7 @@ struct l1sched_burst_ind { /* Internally used by the scheduler */ uint8_t bid; - sbit_t burst[EDGE_BURST_LEN]; + sbit_t burst[GSM_NBITS_NB_8PSK_BURST]; size_t burst_len; }; -- cgit v1.2.3