diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2012-07-26 08:13:06 +0200 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2012-07-26 08:13:06 +0200 |
commit | 08e93cdc3fe54df7753170e973d119c6bbbb6181 (patch) | |
tree | f62e27afb71797381204c1d8035bb1a01059285e /src/gprs_rlcmac.h | |
parent | 4b55962e556b344131dce67fde2b46a602da8c81 (diff) |
Use final_ack_sent and contention_resolution_done to define ongoing UL TBF
Both flags can be used to determine wether assignment must be sent on PCH
or on AGCH. Before contention resolution is done, mobile will ignore
downlink assinment. When final uplink acknowledge was sent, the mobile
will go back to PCH after reception of akcnowledge.
Diffstat (limited to 'src/gprs_rlcmac.h')
-rw-r--r-- | src/gprs_rlcmac.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gprs_rlcmac.h b/src/gprs_rlcmac.h index 7291f77a..fc4173de 100644 --- a/src/gprs_rlcmac.h +++ b/src/gprs_rlcmac.h @@ -139,7 +139,6 @@ struct gprs_rlcmac_tbf { uint8_t tfi; uint32_t tlli; uint8_t tlli_valid; - uint8_t contention_resolution_done; /* set after done */ uint8_t trx; uint16_t arfcn; uint8_t tsc; @@ -187,6 +186,8 @@ struct gprs_rlcmac_tbf { int32_t rx_counter; /* count all received blocks */ uint8_t n3103; /* N3103 counter */ uint8_t usf[8]; /* list USFs per PDCH (timeslot) */ + uint8_t contention_resolution_done; /* set after done */ + uint8_t final_ack_sent; /* set if we sent final ack */ } ul; } dir; uint8_t rlc_block[RLC_MAX_SNS/2][RLC_MAX_LEN]; /* block history */ |