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.
diff --git a/src/sba.h b/src/sba.h
index c25aa14..b8d7675 100644
--- a/src/sba.h
+++ b/src/sba.h
@@ -35,8 +35,8 @@
*/
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 @@
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;