aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2008-12-30 18:01:02 +0000
committerHarald Welte <laforge@gnumonks.org>2008-12-30 18:01:02 +0000
commitc6ba9c2a97d924b605f9096db061e2be44d878ff (patch)
treeb98b63e665892745d75bbb6aeddd36f88863e03d
parentf5cbab7478bc8e57b605838616bad9e67d96ea8d (diff)
* 04:08: add MM INFO information elements
* gsm_data: add network name to gsm_network
-rw-r--r--include/openbsc/gsm_04_08.h7
-rw-r--r--include/openbsc/gsm_data.h2
2 files changed, 9 insertions, 0 deletions
diff --git a/include/openbsc/gsm_04_08.h b/include/openbsc/gsm_04_08.h
index 6b0517e00..0ba623519 100644
--- a/include/openbsc/gsm_04_08.h
+++ b/include/openbsc/gsm_04_08.h
@@ -321,6 +321,11 @@ struct gsm48_system_information_type_6 {
#define GSM_MI_ODD 0x08
#define GSM48_IE_MOBILE_ID 0x17
+#define GSM48_IE_NAME_LONG 0x43 /* 10.5.3.5a */
+#define GSM48_IE_NAME_SHORT 0x45 /* 10.5.3.5a */
+#define GSM48_IE_UTC 0x46 /* 10.5.3.8 */
+#define GSM48_IE_NET_TIME_TZ 0x47 /* 10.5.3.9 */
+#define GSM48_IE_LSA_IDENT 0x48 /* 10.5.3.11 */
/* Section 10.5.4.11 / Table 10.5.122 */
#define GSM48_CAUSE_CS_GSM 0x60
@@ -383,5 +388,7 @@ int gsm48_cc_tx_setup(struct gsm_lchan *lchan);
enum gsm_chan_t get_ctype_by_chreq(struct gsm_bts *bts, u_int8_t ra);
enum gsm_chreq_reason_t get_reason_by_chreq(struct gsm_bts *bts, u_int8_t ra);
+int gsm48_tx_mm_info(struct gsm_lchan *lchan);
+
#endif
diff --git a/include/openbsc/gsm_data.h b/include/openbsc/gsm_data.h
index 2f3e3092c..d9974a767 100644
--- a/include/openbsc/gsm_data.h
+++ b/include/openbsc/gsm_data.h
@@ -145,6 +145,8 @@ struct gsm_network {
/* global parameters */
u_int16_t country_code;
u_int16_t network_code;
+ char *name_long;
+ char *name_short;
unsigned int num_bts;
/* private lists */