* 04:08: add MM INFO information elements

* gsm_data: add network name to gsm_network
This commit is contained in:
Harald Welte 2008-12-30 18:01:02 +00:00
parent f5cbab7478
commit c6ba9c2a97
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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 */