i460: Add back-pointer from sub-channel to timeslot
A user may want to walk back from a sub-channel to the timeslot
to which it belongs.
Change-Id: Id6e5e208c5daa63fd23ac719d62314622b5d0ed9
diff --git a/include/osmocom/gsm/i460_mux.h b/include/osmocom/gsm/i460_mux.h
index dd752db..e7ea9bd 100644
--- a/include/osmocom/gsm/i460_mux.h
+++ b/include/osmocom/gsm/i460_mux.h
@@ -62,6 +62,7 @@
};
struct osmo_i460_subchan {
+ struct osmo_i460_timeslot *ts; /* back-pointer */
enum osmo_i460_rate rate; /* 8/16/32/64k */
uint8_t bit_offset; /* bit offset inside each byte of the B-channel */
struct osmo_i460_subchan_demux demux;