diff options
author | Harald Welte <laforge@gnumonks.org> | 2009-11-29 20:02:53 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2009-11-29 20:02:53 +0100 |
commit | 8c83af65c1902811d8e9823153af09cc59f4d9f6 (patch) | |
tree | 676d70a05087c038c86cec04cae3eb13158af2bd /openbsc/include/openbsc | |
parent | ccd5a8892ded0832bd378fb33a24412b92920963 (diff) |
[handover] Implement 04.08 HANDOVER COMMAND
This is needed by a yet-to-be-implemented handover algorithm, after
it has allocated a new lchan for the MS. Also missing: handling
the actual HANDOVER COMPLETE / FAIL messages in response.
Diffstat (limited to 'openbsc/include/openbsc')
-rw-r--r-- | openbsc/include/openbsc/gsm_04_08.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gsm_04_08.h b/openbsc/include/openbsc/gsm_04_08.h index cd85dff8f..359aa1b39 100644 --- a/openbsc/include/openbsc/gsm_04_08.h +++ b/openbsc/include/openbsc/gsm_04_08.h @@ -90,6 +90,22 @@ struct gsm48_ass_cmd { u_int8_t data[0]; } __attribute__((packed)); +/* Chapter 10.5.2.2 */ +struct gsm48_cell_desc { + u_int8_t bcc:3, + ncc:3, + arfcn_hi:2; + u_int8_t arfcn_lo; +} __attribute__((packed)); + +/* Chapter 9.1.15 */ +struct gsm48_ho_cmd { + struct gsm48_cell_desc cell_desc; + struct gsm48_chan_desc chan_desc; + u_int8_t ho_ref; + u_int8_t power_command; + u_int8_t data[0]; +} __attribute__((packed)); /* Chapter 9.1.18 */ struct gsm48_imm_ass { |