diff options
author | Daniel Willmann <dwillmann@sysmocom.de> | 2014-08-07 15:02:16 +0200 |
---|---|---|
committer | Daniel Willmann <daniel@totalueberwachung.de> | 2014-08-07 16:12:05 +0200 |
commit | f55e58f5cfb585fa357d1c081718034dc3258c54 (patch) | |
tree | 4efcfc9def1b78e72b3a790e973415730a474391 /src/encoding.h | |
parent | 350f64d9e282f0d337c04344a57dda69279119c1 (diff) |
encoding: Change function signature to use UL TBFs where it makes sense
encode_rbb() and write_packet_uplink_assignment are only called with UL
TBFs so change the function signature to reflect that.
Ticket: SYS#389
Sponsored by: On-Waves ehf
Diffstat (limited to 'src/encoding.h')
-rw-r--r-- | src/encoding.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/encoding.h b/src/encoding.h index e62c2c8f..0004c42b 100644 --- a/src/encoding.h +++ b/src/encoding.h @@ -47,7 +47,7 @@ public: struct gprs_rlcmac_bts *bts, bitvec * dest, uint8_t old_tfi, uint8_t old_downlink, uint32_t tlli, uint8_t use_tlli, - struct gprs_rlcmac_tbf *tbf, uint8_t poll, uint8_t alpha, + struct gprs_rlcmac_ul_tbf *tbf, uint8_t poll, uint8_t alpha, uint8_t gamma, int8_t ta_idx); static void write_packet_downlink_assignment(RlcMacDownlink_t * block, uint8_t old_tfi, @@ -56,7 +56,7 @@ public: static void encode_rbb(const char *show_rbb, uint8_t *rbb); - static void write_packet_uplink_ack(struct gprs_rlcmac_bts *bts, RlcMacDownlink_t * block, struct gprs_rlcmac_tbf *tbf, + static void write_packet_uplink_ack(struct gprs_rlcmac_bts *bts, RlcMacDownlink_t * block, struct gprs_rlcmac_ul_tbf *tbf, uint8_t final); static int write_paging_request(bitvec * dest, uint8_t *ptmsi, uint16_t ptmsi_len); |