trx_interface: implement built-in timeslot filter
There is a dedicated block named 'Burst Timeslot Filter', which
could be used, but one doesn't expose the API to change the
timeslot index 'on fly'.
This change implements built-in timeslot filter in 'TRX Interface'
block, which will be used until the proper block expose API.
diff --git a/include/grgsm/trx_interface/trx.h b/include/grgsm/trx_interface/trx.h
index 7821389..997ef62 100644
--- a/include/grgsm/trx_interface/trx.h
+++ b/include/grgsm/trx_interface/trx.h
@@ -50,6 +50,10 @@
static sptr make(
const std::string &remote_addr,
const std::string &base_port);
+
+ /* Expose internal timeslot filter API */
+ virtual void ts_filter_set_tn(int tn) = 0;
+ virtual int ts_filter_get_tn(void) = 0;
};
} // namespace grgsm