Merge commit '6fec514d7bcf8e6fe469d31ccc13d5cd473058a4'
[osmocom-bb.git] / src / shared / libosmocore / include / osmocore / rsl.h
index 0da0520..4c5f75b 100644 (file)
@@ -13,6 +13,8 @@ extern const struct tlv_definition rsl_att_tlvdef;
 
 /* encode channel number as per Section 9.3.1 */
 uint8_t rsl_enc_chan_nr(uint8_t type, uint8_t subch, uint8_t timeslot);
+/* decode channel number as per Section 9.3.1 */
+int rsl_dec_chan_nr(uint8_t chan_nr, uint8_t *type, uint8_t *subch, uint8_t *timeslot);
 
 const struct value_string rsl_rlm_cause_strs[];