diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2016-12-05 15:57:42 +0100 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2017-03-14 13:30:13 +0100 |
commit | f48e8a8ba9b88800bbf8c09f6b67c5c9163bfa73 (patch) | |
tree | 855dbc5c1ec2b205142c6c8e9ab3201629f45bab /include/osmocom | |
parent | 6d0fd7ba9705e3f0e037ea47668ae9e84ad38c2b (diff) |
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
Diffstat (limited to 'include/osmocom')
-rw-r--r-- | include/osmocom/gsm/protocol/gsm_04_08.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |