diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-22 12:37:41 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-06-22 12:40:30 +0800 |
commit | d7cb8aa275101cb7b59d2f40fed5d8b8041987ff (patch) | |
tree | b5f1aef3cf24a3f84fd1f3d00626b61cb1a1f437 /openbsc/include | |
parent | 38454904cbeb1881f63a3507fc48dde6e0cdcd3f (diff) |
abis_rsl: Send the IMMEDIATE Assignment after the Channel Ack.
The Channel Activate might be sent to a different TRX than the
Immediate Assignment. So we need to make sure that the channel
is activated before we send the immediate assignment for the RACH.
Another reason for that is according to GSM 08.58 we should take
the frame number from the activate and use it for the starting
time inside the immediate assignment message. We obviously do not
do this yet.
The code assumes that the BTS will either respond with a CHAN ACK
or a CHAN NACK if not the lchan will remain in the request state.
Conflicts:
openbsc/include/openbsc/gsm_data.h
openbsc/src/abis_rsl.c
openbsc/src/chan_alloc.c
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/gsm_data.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index dcb2fe66c..9e9dc6d52 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -266,6 +266,9 @@ struct gsm_lchan { */ struct bss_sccp_connection_data *msc_data; + /* GSM Random Access data */ + struct gsm48_req_ref *rqd_ref; + uint8_t rqd_ta; /* cache of last measurement reports on this lchan */ struct gsm_meas_rep meas_rep[6]; |