Move tbf::free_all static methods to proper object files
Move each method to the object on which they operate, be it a trx or a
pdch ts.
Change-Id: Ida715cbf384431d37b2b192fbd7882957c93a4d1
diff --git a/src/bts.cpp b/src/bts.cpp
index 0e08091..499c033 100644
--- a/src/bts.cpp
+++ b/src/bts.cpp
@@ -70,6 +70,12 @@
}
}
+void bts_trx_free_all_tbf(struct gprs_rlcmac_trx *trx)
+{
+ for (uint8_t ts = 0; ts < 8; ts++)
+ pdch_free_all_tbf(&trx->pdch[ts]);
+}
+
static struct osmo_tdef T_defs_bts[] = {
{ .T=3142, .default_val=20, .unit=OSMO_TDEF_S, .desc="timer (s)", .val=0 },
{ .T=3169, .default_val=5, .unit=OSMO_TDEF_S, .desc="Reuse of USF and TFI(s) after the MS uplink TBF assignment is invalid (s)", .val=0 },