aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-bts/l1sap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmo-bts/l1sap.h')
-rw-r--r--include/osmo-bts/l1sap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmo-bts/l1sap.h b/include/osmo-bts/l1sap.h
index 3225a60f..e2c92fa2 100644
--- a/include/osmo-bts/l1sap.h
+++ b/include/osmo-bts/l1sap.h
@@ -29,7 +29,7 @@
#define L1SAP_IS_PACKET_RACH(ra) ((ra & 0xf0) == 0x70 && (ra & 0x0f) != 0x0f)
/* CCCH block from frame number */
-#define L1SAP_FN2CCCHBLOCK(fn) ((fn % 51) / 5 - 1)
+unsigned int l1sap_fn2ccch_block(uint32_t fn);
/* PTCH layout from frame number */
#define L1SAP_FN2MACBLOCK(fn) ((fn % 52) / 4)