From f48e8a8ba9b88800bbf8c09f6b67c5c9163bfa73 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Mon, 5 Dec 2016 15:57:42 +0100 Subject: gsm0408: add chreq_type for CHREQ_T_PDCH_ONE_PHASE and CHREQ_T_PDCH_TWO_PHASE The previous version of this commit got reverted to avoid a breakage in openbsc. The problem is openbsc use an array of chreq_type with a manual defined size. This array is using enums as index which breaks if any elements got added into the middle, because the size of the array can't hold elements greater or equal than the size. Change-Id: I6676105507fe4e5627f740dfe4c2770f766ad068 --- include/osmocom/gsm/protocol/gsm_04_08.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/osmocom/gsm') diff --git a/include/osmocom/gsm/protocol/gsm_04_08.h b/include/osmocom/gsm/protocol/gsm_04_08.h index da177554..f395b85f 100644 --- a/include/osmocom/gsm/protocol/gsm_04_08.h +++ b/include/osmocom/gsm/protocol/gsm_04_08.h @@ -1464,6 +1464,8 @@ enum chreq_type { CHREQ_T_LMU, CHREQ_T_RESERVED_SDCCH, CHREQ_T_RESERVED_IGNORE, + CHREQ_T_PDCH_ONE_PHASE, + CHREQ_T_PDCH_TWO_PHASE, }; /* Chapter 11.3 */ -- cgit v1.2.3