summaryrefslogtreecommitdiffstats
path: root/src/host/trxcon/include
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2023-03-08 02:30:48 +0700
committerfixeria <vyanitskiy@sysmocom.de>2023-03-08 09:03:11 +0000
commit616949a0bec09f566abdff62610aa85c1e32de02 (patch)
tree40404426a9e88ccb247ced445451b16f0d60222d /src/host/trxcon/include
parentede61f5dede7dbacbc3b9ef132360a1c606cda7b (diff)
trxcon: use 3GPP TS 45.002 definitions from libosmogsm
Diffstat (limited to 'src/host/trxcon/include')
-rw-r--r--src/host/trxcon/include/osmocom/bb/l1sched/l1sched.h10
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;
};