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.cpp | |
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.cpp')
-rw-r--r-- | src/encoding.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/encoding.cpp b/src/encoding.cpp index 13848aa8..9be96b4b 100644 --- a/src/encoding.cpp +++ b/src/encoding.cpp @@ -166,7 +166,7 @@ void Encoding::write_packet_uplink_assignment( 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) { // TODO We should use our implementation of encode RLC/MAC Control messages. @@ -375,7 +375,7 @@ void Encoding::encode_rbb(const char *show_rbb, uint8_t *rbb) /* generate uplink ack */ void Encoding::write_packet_uplink_ack(struct gprs_rlcmac_bts *bts, - RlcMacDownlink_t * block, struct gprs_rlcmac_tbf *tbf, + RlcMacDownlink_t * block, struct gprs_rlcmac_ul_tbf *tbf, uint8_t final) { // Packet Uplink Ack/Nack TS 44.060 11.2.28 |