aboutsummaryrefslogtreecommitdiffstats
path: root/src/bts.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-19 18:15:44 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-10-30 21:24:10 +0100
commit24e98d039d6f2d60a8db36a8cf034a299e2372f9 (patch)
tree8a824df654f4871d502636a235493a6860af66f2 /src/bts.h
parent17b0d83a1f1a153b21b198f101294c8ed9e172ac (diff)
pdch: Move paging dequeue into the PDCH object
Rely on packet_paging_request returning NULL in case the queue is empty. We should move the write_packet_paging_request into a separate file/object as well.
Diffstat (limited to 'src/bts.h')
-rw-r--r--src/bts.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bts.h b/src/bts.h
index 8e88bc93..66043b19 100644
--- a/src/bts.h
+++ b/src/bts.h
@@ -40,6 +40,10 @@ struct BTS;
*/
struct gprs_rlcmac_pdch {
#ifdef __cplusplus
+ struct gprs_rlcmac_paging *dequeue_paging();
+ struct msgb *packet_paging_request();
+
+
/* TODO: the PDCH should know the trx/ts it belongs to */
void free_resources(uint8_t trx, uint8_t ts);