aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/gsm
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2016-05-25 15:25:02 +0200
committerHolger Freyther <holger@freyther.de>2016-05-30 21:21:20 +0000
commitadef12a3497d14aafe677b77b468b952f4c6b5d5 (patch)
treea4c843dfed0beb38b1e0550751e7e3b7a83997b0 /include/osmocom/gsm
parente4c294f79b8df9a2a36a630d97f8dc7ed206c7d6 (diff)
Add strings with PH primitive names
It's useful debugging helper while troubleshooting L1-related issues. Change-Id: Id7a6d478fd725c51f54ad746bdf9b9095579ff77 Reviewed-on: https://gerrit.osmocom.org/117 Tested-by: Jenkins Builder Reviewed-by: Max <msuraev@sysmocom.de> Reviewed-by: Holger Freyther <holger@freyther.de>
Diffstat (limited to 'include/osmocom/gsm')
-rw-r--r--include/osmocom/gsm/l1sap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/gsm/l1sap.h b/include/osmocom/gsm/l1sap.h
index 1af8ba84..ad942eae 100644
--- a/include/osmocom/gsm/l1sap.h
+++ b/include/osmocom/gsm/l1sap.h
@@ -14,6 +14,8 @@ enum osmo_ph_prim {
PRIM_TCH_RTS, /*!< \brief TCH */
};
+extern const struct value_string osmo_ph_prim_names[];
+
/*! \brief PH-SAP related primitives (L1<->L2 SAP) */
enum osmo_mph_info_type {
PRIM_INFO_TIME, /*!< \brief Current GSM time */