diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-10-17 15:38:23 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-10-30 21:20:45 +0100 |
commit | 485860cc31ba66b016bc4641b9a88705aa67c0f6 (patch) | |
tree | 1ac3bb3ec91417061612238c656046fd2a653ef5 /src/gprs_rlcmac.cpp | |
parent | d507ce6b854b4cc61560c50ad7d044e689bd6b40 (diff) |
bts: Remove global state from write_packet_uplink_assignment
Diffstat (limited to 'src/gprs_rlcmac.cpp')
-rw-r--r-- | src/gprs_rlcmac.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gprs_rlcmac.cpp b/src/gprs_rlcmac.cpp index 419470b6..7ab187fc 100644 --- a/src/gprs_rlcmac.cpp +++ b/src/gprs_rlcmac.cpp @@ -587,13 +587,14 @@ int write_immediate_assignment(bitvec * dest, uint8_t downlink, uint8_t ra, } /* generate uplink assignment */ -void write_packet_uplink_assignment(bitvec * dest, uint8_t old_tfi, +void 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, uint8_t gamma, int8_t ta_idx) { // TODO We should use our implementation of encode RLC/MAC Control messages. - struct gprs_rlcmac_bts *bts = gprs_rlcmac_bts; unsigned wp = 0; uint8_t ts; |