aboutsummaryrefslogtreecommitdiffstats
path: root/include/openbsc/gsm_04_08.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-01-10 01:49:35 +0000
committerHarald Welte <laforge@gnumonks.org>2009-01-10 01:49:35 +0000
commitba4cf164b0795dd2a13d2de04d2c1be676b01ba3 (patch)
tree7cafb7704bcb8e311d1a79a2931e0b3fab19934b /include/openbsc/gsm_04_08.h
parentc627afceaa07dae35a474a3e32e1ae133f221895 (diff)
Start working on CM Service Request
Be able to send Accept/Reject the Service Request. Use mi_string instead of the the msgb buffer (even if it is memsetted and such)... The TMSI allocation seems to be a bit problematic and needs some further checking. The rough idea is that we try to find the subscriber for a CM Service Request and then decide based on the subscriber if we want to handle the call.
Diffstat (limited to 'include/openbsc/gsm_04_08.h')
-rw-r--r--include/openbsc/gsm_04_08.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/openbsc/gsm_04_08.h b/include/openbsc/gsm_04_08.h
index b5eecf051..e44b061e2 100644
--- a/include/openbsc/gsm_04_08.h
+++ b/include/openbsc/gsm_04_08.h
@@ -86,6 +86,17 @@ struct gsm48_rach_control {
u_int8_t t3;
} __attribute__ ((packed));
+/* Section 9.2.9 CM service request */
+struct gsm48_service_request {
+ u_int8_t cm_service_type : 4,
+ cipher_key_seq : 4;
+ /* length + 3 bytes */
+ u_int32_t classmark;
+ u_int8_t mi_len;
+ u_int8_t mi[0];
+ /* optional priority level */
+} __attribute__ ((packed));
+
/* Section 9.1.31 System information Type 1 */
struct gsm48_system_information_type_1 {
struct gsm48_system_information_type_header header;