diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-10-19 18:28:59 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-10-30 21:24:10 +0100 |
commit | f0984897a5fc0a7a75aae48a52c8dc8f59a40867 (patch) | |
tree | 56b018a8208cb6d98b75d06793ccf7392bf2fc2f /src/bts.h | |
parent | 24e98d039d6f2d60a8db36a8cf034a299e2372f9 (diff) |
bts/pdch: Move the adding of paging to the BTS/PDCH objects
Only the gprs_rlcmac_pdch will manipulate the paging list now. There
can be various more refactorings of the code but they can be done
later. E.g. on memory allocation failure we can continue instead
of leaving the code, we should also set any_tbf only after things
have been paged.
Diffstat (limited to 'src/bts.h')
-rw-r--r-- | src/bts.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -43,6 +43,7 @@ struct gprs_rlcmac_pdch { struct gprs_rlcmac_paging *dequeue_paging(); struct msgb *packet_paging_request(); + void add_paging(struct gprs_rlcmac_paging *pag); /* TODO: the PDCH should know the trx/ts it belongs to */ void free_resources(uint8_t trx, uint8_t ts); @@ -126,6 +127,9 @@ public: void set_current_frame_number(int frame_number); int current_frame_number() const; + /** add paging to paging queue(s) */ + int add_paging(uint8_t chan_needed, uint8_t *identity_lv); + private: int m_cur_fn; struct gprs_rlcmac_bts m_bts; |