aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/gsm/protocol/gsm_08_58.h
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2023-03-03 09:50:09 +0100
committerOliver Smith <osmith@sysmocom.de>2023-03-03 11:14:06 +0100
commit341d9e1c6b18740f78dc36ec316454bc32c50de5 (patch)
treeeb4f0dc78762f141f902bad258c1f0f835a7f132 /include/osmocom/gsm/protocol/gsm_08_58.h
parent9d92c6e52fb823990e9e9215ff7eecdbae3d3bf1 (diff)
rsl: RSL_CMOD_CSD_T: make enum values consistent
Use the 32k0, 29k0, 14k4, … notation instead of 32000, 29000, 14400 etc to make transparent data enums with non-transparent data enums where this notation is already used. Related: OS#4393 Change-Id: I7b7c8f175f349811b17a3db68a57577bd3f1d2df
Diffstat (limited to 'include/osmocom/gsm/protocol/gsm_08_58.h')
-rw-r--r--include/osmocom/gsm/protocol/gsm_08_58.h21
1 files changed, 14 insertions, 7 deletions
diff --git a/include/osmocom/gsm/protocol/gsm_08_58.h b/include/osmocom/gsm/protocol/gsm_08_58.h
index 6d7a6a3a..67b76f8f 100644
--- a/include/osmocom/gsm/protocol/gsm_08_58.h
+++ b/include/osmocom/gsm/protocol/gsm_08_58.h
@@ -537,15 +537,22 @@ enum rsl_cmod_csd_nt {
#define RSL_CMOD_SP_NT_14k5 RSL_CMOD_CSD_NT_14k5
#define RSL_CMOD_SP_NT_12k0 RSL_CMOD_CSD_NT_12k0
#define RSL_CMOD_SP_NT_6k0 RSL_CMOD_CSD_NT_6k0
+#define RSL_CMOD_CSD_T_32000 RSL_CMOD_CSD_T_32k0
+#define RSL_CMOD_CSD_T_29000 RSL_CMOD_CSD_T_29k0
+#define RSL_CMOD_CSD_T_14400 RSL_CMOD_CSD_T_14k4
+#define RSL_CMOD_CSD_T_9600 RSL_CMOD_CSD_T_9k6
+#define RSL_CMOD_CSD_T_4800 RSL_CMOD_CSD_T_4k8
+#define RSL_CMOD_CSD_T_2400 RSL_CMOD_CSD_T_2k4
+#define RSL_CMOD_CSD_T_1200 RSL_CMOD_CSD_T_1k2
/*! Transparent data */
enum rsl_cmod_csd_t {
- RSL_CMOD_CSD_T_32000 = 0x38,
- RSL_CMOD_CSD_T_29000 = 0x39,
- RSL_CMOD_CSD_T_14400 = 0x18,
- RSL_CMOD_CSD_T_9600 = 0x10,
- RSL_CMOD_CSD_T_4800 = 0x11,
- RSL_CMOD_CSD_T_2400 = 0x12,
- RSL_CMOD_CSD_T_1200 = 0x13,
+ RSL_CMOD_CSD_T_32k0 = 0x38,
+ RSL_CMOD_CSD_T_29k0 = 0x39,
+ RSL_CMOD_CSD_T_14k4 = 0x18,
+ RSL_CMOD_CSD_T_9k6 = 0x10,
+ RSL_CMOD_CSD_T_4k8 = 0x11,
+ RSL_CMOD_CSD_T_2k4 = 0x12,
+ RSL_CMOD_CSD_T_1k2 = 0x13,
RSL_CMOD_CSD_T_600 = 0x14,
RSL_CMOD_CSD_T_1200_75 = 0x15,
};