diff abis/submux.h @ 32:94f11dc0d474

abis: Rx osmo_trau_sync hooked in
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 13 Aug 2024 22:07:49 +0000
parents 5dd30224b70a
children 351bd801cdce
line wrap: on
line diff
--- a/abis/submux.h	Tue Aug 13 21:44:30 2024 +0000
+++ b/abis/submux.h	Tue Aug 13 22:07:49 2024 +0000
@@ -9,6 +9,7 @@
 #include <stdbool.h>
 
 #include <osmocom/core/bits.h>
+#include <osmocom/core/fsm.h>
 #include <osmocom/isdn/i460_mux.h>
 
 #define	ABIS_SUBSLOTS	4
@@ -18,9 +19,11 @@
 	int nr;
 	bool is_active;
 	bool is_efr;
+	struct osmo_fsm_inst *sync;
 };
 
 extern struct abis_subslot subslots[ABIS_SUBSLOTS];
 
 void i460_rx_func(struct osmo_i460_subchan *schan, void *user_data,
 		  const ubit_t *bits, unsigned int num_bits);
+void sync_rx_func(void *user_data, const ubit_t *bits, unsigned int num_bits);