aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-07-19 17:30:44 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2017-07-19 17:30:44 +0700
commitdd4a89c761f987041d18a80180d3908928299dfb (patch)
treefbe345f3403fcb9a3b53a3258222008da015da2e /include
parent484445ad2c09190aefdf82dc60b2b2792f580b07 (diff)
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.
Diffstat (limited to 'include')
-rw-r--r--include/grgsm/trx_interface/trx.h4
1 files changed, 4 insertions, 0 deletions
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 @@ namespace gr {
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