arehbein has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/31303 )
Change subject: Includes: Add gprs/rlc related enums ......................................................................
Includes: Add gprs/rlc related enums
These enums have been present in both osmo-bts and osmo-bsc. This commit is part of a series of commits moving these enums to libosmocore
Related: OS#5335 Change-Id: I1ec2e52ad7fa625c08fe9df04d4a4f5323bf609c --- M include/osmocom/gprs/gprs_rlc.h 1 file changed, 32 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/03/31303/1
diff --git a/include/osmocom/gprs/gprs_rlc.h b/include/osmocom/gprs/gprs_rlc.h index b74f9e4..519227a 100644 --- a/include/osmocom/gprs/gprs_rlc.h +++ b/include/osmocom/gprs/gprs_rlc.h @@ -44,6 +44,38 @@ _NUM_OSMO_GPRS_CS };
+enum gprs_rlc_par { + RLC_T3142, + RLC_T3169, + RLC_T3191, + RLC_T3193, + RLC_T3195, + RLC_N3101, + RLC_N3103, + RLC_N3105, + CV_COUNTDOWN, + T_DL_TBF_EXT, /* ms */ + T_UL_TBF_EXT, /* ms */ + _NUM_RLC_PAR +}; + +enum gprs_cs { + GPRS_CS1, + GPRS_CS2, + GPRS_CS3, + GPRS_CS4, + GPRS_MCS1, + GPRS_MCS2, + GPRS_MCS3, + GPRS_MCS4, + GPRS_MCS5, + GPRS_MCS6, + GPRS_MCS7, + GPRS_MCS8, + GPRS_MCS9, + _NUM_GRPS_CS +}; + int egprs_get_cps(struct egprs_cps *cps, uint8_t type, uint8_t bits);
int osmo_gprs_ul_block_size_bits(enum osmo_gprs_cs cs);