diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-10-20 16:37:05 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-10-30 21:24:10 +0100 |
commit | 09ef27ae04a11e758de81939ff479445d38e0b6d (patch) | |
tree | 90c0590149a8de8af5b32ef46960462bfc6281e4 /src/sba.h | |
parent | 4ed1dae5339bb85b98afa245ae37b1eb4925724a (diff) |
pdch: Simplify the reset code, rename variables to XYZ_no
Simplify the reset code now that the PDCH can know where it is
located. Rename the variables in the sba to trx_no and ts_no as
it stores the number and not the actual thing.
Diffstat (limited to 'src/sba.h')
-rw-r--r-- | src/sba.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -35,8 +35,8 @@ struct gprs_rlcmac_sba; */ struct gprs_rlcmac_sba { struct llist_head list; - uint8_t trx; - uint8_t ts; + uint8_t trx_no; + uint8_t ts_no; uint32_t fn; uint8_t ta; }; @@ -57,7 +57,7 @@ public: uint32_t sched(uint8_t trx, uint8_t ts, uint32_t fn, uint8_t block_nr); int timeout(struct gprs_rlcmac_sba *sba); - void free_resources(uint8_t trx, uint8_t ts); + void free_resources(struct gprs_rlcmac_pdch *pdch); private: BTS &m_bts; |