diff options
Diffstat (limited to 'src/encoding.cpp')
-rw-r--r-- | src/encoding.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/encoding.cpp b/src/encoding.cpp index e96894f2..39cbe249 100644 --- a/src/encoding.cpp +++ b/src/encoding.cpp @@ -255,7 +255,9 @@ static inline int write_ia_rest_uplink(const gprs_rlcmac_ul_tbf *tbf, bitvec * d rc = write_alpha_gamma(dest, alpha, gamma); check(rc); - set_0(dest); /* No TIMING_ADVANCE_INDEX */ + rc = write_ta_index(dest, ta_idx); + check(rc); + set_0(dest); /* No TBF_STARTING_TIME */ } else { set_0(dest); /* Single Block Allocation */ @@ -317,7 +319,9 @@ static inline int write_ia_rest_egprs_uplink(const gprs_rlcmac_ul_tbf *tbf, bitv rc = write_alpha_gamma(dest, alpha, gamma); /* ALPHA and GAMMA */ check(rc); - set_0(dest); /* No TIMING_ADVANCE_INDEX */ + rc = write_ta_index(dest, ta_idx); + check(rc); + set_0(dest); /* No TBF_STARTING_TIME */ bitvec_set_bit(dest, L); /* No Additions for Rel-7 */ } else { |