aboutsummaryrefslogtreecommitdiffstats
path: root/include/grgsm
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
commit5b7c60af7a2e910e11ce03884ee54081c911ff26 (patch)
treefbe345f3403fcb9a3b53a3258222008da015da2e /include/grgsm
parent5f393a41bb60a0b005be8823298e41d29190d05e (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/grgsm')
-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