diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2023-03-08 02:30:48 +0700 |
---|---|---|
committer | fixeria <vyanitskiy@sysmocom.de> | 2023-03-08 09:03:11 +0000 |
commit | 616949a0bec09f566abdff62610aa85c1e32de02 (patch) | |
tree | 40404426a9e88ccb247ced445451b16f0d60222d /src/host/trxcon/include | |
parent | ede61f5dede7dbacbc3b9ef132360a1c606cda7b (diff) |
trxcon: use 3GPP TS 45.002 definitions from libosmogsm
Change-Id: Ieb3b502e1e5432e425a55c1217211b77e9ca91c9
Depends: libosmocore.git I1c38ccc2b64ba9046bb3b1221d99cc55ec493802
Diffstat (limited to 'src/host/trxcon/include')
-rw-r--r-- | src/host/trxcon/include/osmocom/bb/l1sched/l1sched.h | 10 |
1 files changed, 2 insertions, 8 deletions
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 <osmocom/core/linuxlist.h> #include <osmocom/core/timer.h> -#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; }; |