nas: implement "Serving System" indication

This commit is contained in:
Aleksander Morgado 2012-08-02 17:43:06 +02:00
parent dab5e3e764
commit ba480fdf53
1 changed files with 244 additions and 0 deletions

View File

@ -766,6 +766,250 @@
"format" : "guint8",
"public-format" : "gboolean" } ] } ] },
{ "name" : "Serving System",
"type" : "Indication",
"service" : "NAS",
"id" : "0x0024",
"version" : "1.0",
"output" : [ { "name" : "Serving System",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Registration State",
"format" : "guint8",
"public-format" : "QmiNasRegistrationState" },
{ "name" : "CS Attach State",
"format" : "guint8",
"public-format" : "QmiNasAttachState" },
{ "name" : "PS Attach State",
"format" : "guint8",
"public-format" : "QmiNasAttachState" },
{ "name" : "Selected Network",
"format" : "guint8",
"public-format" : "QmiNasNetworkType" },
{ "name" : "Radio Interfaces",
"format" : "array",
"array-element" : { "format" : "gint8",
"public-format" : "QmiNasRadioInterface" } } ] },
{ "name" : "Roaming Indicator",
"id" : "0x10",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint8",
"public-format" : "QmiNasRoamingIndicatorStatus" },
{ "name" : "Data Service Capability",
"id" : "0x11",
"mandatory" : "no",
"type" : "TLV",
"format" : "array",
"array-element" : { "format" : "guint8",
"public-format" : "QmiNasDataCapability" } },
{ "name" : "Current PLMN",
"id" : "0x12",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "MCC",
"format" : "guint16" },
{ "name" : "MNC",
"format" : "guint16" },
{ "name" : "Description",
"format" : "string" } ] },
{ "name" : "CDMA System ID",
"id" : "0x13",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "SID",
"format" : "guint16" },
{ "name" : "NID",
"format" : "guint16" } ] },
{ "name" : "CDMA Base Station Info",
"id" : "0x14",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Base Station ID",
"format" : "guint16" },
{ "name" : "Base Station Latitude",
"format" : "gint32" },
{ "name" : "Base Station Longitude",
"format" : "gint32" } ] },
{ "name" : "Roaming Indicator List",
"id" : "0x15",
"mandatory" : "no",
"type" : "TLV",
"format" : "array",
"array-element" : { "name" : "Element",
"format" : "struct",
"contents" : [ { "name" : "Radio Interface",
"format" : "guint8",
"public-format" : "QmiNasRadioInterface" },
{ "name" : "Roaming Indicator",
"format" : "guint8",
"public-format" : "QmiNasRoamingIndicatorStatus" } ] } },
{ "name" : "Default Roaming Indicator",
"id" : "0x16",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint8",
"public-format" : "QmiNasRoamingIndicatorStatus" },
{ "name" : "Time Zone 3GPP2",
"id" : "0x17",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Leap Seconds",
"format" : "guint8" },
{ "name" : "Local Time Offset",
"format" : "gint8" },
{ "name" : "Daylight Saving Time",
"format" : "guint8",
"public-format" : "gboolean" } ] },
{ "name" : "CDMA P Rev",
"id" : "0x18",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint8" },
{ "name" : "PLMN Name Flag 3GPP",
"id" : "0x19",
"mandatory" : "no",
"type" : "TLV",
"format" : "gint8",
"public-format" : "gboolean" },
{ "name" : "Time Zone 3GPP",
"id" : "0x1A",
"mandatory" : "no",
"type" : "TLV",
"format" : "gint8" },
{ "name" : "Daylight Saving Time Adjustment 3GPP",
"id" : "0x1B",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint8" },
{ "name" : "Universal Time and Local Time Zone 3GPP",
"id" : "0x1C",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Year",
"format" : "guint16" },
{ "name" : "Month",
"format" : "guint8" },
{ "name" : "Day",
"format" : "guint8" },
{ "name" : "Hour",
"format" : "guint8" },
{ "name" : "Minute",
"format" : "guint8" },
{ "name" : "Second",
"format" : "guint8" },
{ "name" : "Time Zone",
"format" : "guint8" } ] },
{ "name" : "LAC",
"id" : "0x1D",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint16" },
{ "name" : "CID 3GPP",
"id" : "0x1E",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint32" },
{ "name" : "Concurrent Service Info 3GPP2",
"id" : "0x1F",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint8",
"public-format" : "gboolean"},
{ "name" : "PRL Indicator 3GPP2",
"id" : "0x20",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint8",
"public-format" : "gboolean"},
{ "name" : "Dual Transfer Mode Supported",
"id" : "0x21",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint8",
"public-format" : "gboolean"},
{ "name" : "Detailed Service Status",
"id" : "0x22",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Status",
"format" : "guint8",
"public-format" : "QmiNasServiceStatus" },
{ "name" : "Capability",
"format" : "guint8",
"public-format" : "QmiNasNetworkServiceDomain" },
{ "name" : "HDR Status",
"format" : "guint8",
"public-format" : "QmiNasServiceStatus" },
{ "name" : "HDR Hybrid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Forbidden",
"format" : "guint8",
"public-format" : "gboolean" } ] },
{ "name" : "CDMA System Info",
"id" : "0x23",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "MCC",
"format" : "guint16" },
{ "name" : "IMSI_11_12",
"format" : "guint8" } ] },
{ "name" : "HDR Personality",
"id" : "0x24",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint8",
"public-format" : "QmiNasHdrPersonality"},
{ "name" : "LTE TAC",
"id" : "0x25",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint16" },
{ "name" : "Call Barring Status",
"id" : "0x26",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "CS Status",
"format" : "gint32",
"public-format" : "QmiNasCallBarringStatus" },
{ "name" : "PS Status",
"format" : "gint32",
"public-format" : "QmiNasCallBarringStatus" } ] },
{ "name" : "PLMN Not Changed Indication",
"id" : "0x27",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "UMTS Primary Scrambling Code",
"id" : "0x28",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint16" },
{ "name" : "MNC PCS Digit Include Status",
"id" : "0x29",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "MCC",
"format" : "guint16" },
{ "name" : "MNC",
"format" : "guint16" },
{ "name" : "Includes PCS Digit",
"format" : "guint8",
"public-format" : "gboolean" } ] } ] },
// *********************************************************************************
{ "name" : "Set Technology Preference",
"type" : "Message",