laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/31647 )
Change subject: rsl: RSL_CMOD_CSD_T: make enum values consistent ......................................................................
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 --- M include/osmocom/gsm/protocol/gsm_08_58.h 1 file changed, 28 insertions(+), 7 deletions(-)
Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved
diff --git a/include/osmocom/gsm/protocol/gsm_08_58.h b/include/osmocom/gsm/protocol/gsm_08_58.h index 6d7a6a3..67b76f8 100644 --- a/include/osmocom/gsm/protocol/gsm_08_58.h +++ b/include/osmocom/gsm/protocol/gsm_08_58.h @@ -537,15 +537,22 @@ #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, };