aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocore/rsl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocore/rsl.h')
-rw-r--r--include/osmocore/rsl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocore/rsl.h b/include/osmocore/rsl.h
index 0da05206..4c5f75b8 100644
--- a/include/osmocore/rsl.h
+++ b/include/osmocore/rsl.h
@@ -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[];