diff options
Diffstat (limited to 'include/osmocom/coding')
-rw-r--r-- | include/osmocom/coding/gsm0503_coding.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/osmocom/coding/gsm0503_coding.h b/include/osmocom/coding/gsm0503_coding.h index a2d4115b..86610bac 100644 --- a/include/osmocom/coding/gsm0503_coding.h +++ b/include/osmocom/coding/gsm0503_coding.h @@ -5,6 +5,8 @@ #pragma once #include <stdint.h> + +#include <osmocom/core/defs.h> #include <osmocom/core/bits.h> /*! \addtogroup coding @@ -63,8 +65,11 @@ int gsm0503_tch_ahs_decode(uint8_t *tch_data, const sbit_t *bursts, int odd, int codec_mode_req, uint8_t *codec, int codecs, uint8_t *ft, uint8_t *cmr, int *n_errors, int *n_bits_total); -int gsm0503_rach_encode(ubit_t *burst, const uint8_t *ra, uint8_t bsic); +int gsm0503_rach_ext_encode(ubit_t *burst, uint16_t ra, uint8_t bsic, bool is_11bit); +int gsm0503_rach_encode(ubit_t *burst, const uint8_t *ra, uint8_t bsic) OSMO_DEPRECATED("Use gsm0503_rach_ext_encode() instead"); + int gsm0503_rach_decode(uint8_t *ra, const sbit_t *burst, uint8_t bsic); +int gsm0503_rach_ext_decode(uint16_t *ra, const sbit_t *burst, uint8_t bsic); int gsm0503_sch_encode(ubit_t *burst, const uint8_t *sb_info); int gsm0503_sch_decode(uint8_t *sb_info, const sbit_t *burst); |