nas: implement "System Info" indication

This commit is contained in:
Aleksander Morgado 2012-08-03 09:49:12 +02:00
parent 8852e3115d
commit 8e6bc8af74
1 changed files with 619 additions and 0 deletions

View File

@ -1835,6 +1835,625 @@
"format" : "guint32",
"public-format" : "QmiNasSimRejectState" } ] },
// *********************************************************************************
{ "name" : "System Info",
"type" : "Indication",
"service" : "NAS",
"id" : "0x004E",
"version" : "1.8",
"output" : [ { "name" : "CDMA Service Status",
"id" : "0x10",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Service Status",
"format" : "guint8",
"public-format" : "QmiNasServiceStatus" },
{ "name" : "Preferred Data Path",
"format" : "guint8",
"public-format" : "gboolean" } ] },
{ "name" : "HDR Service Status",
"id" : "0x11",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Service Status",
"format" : "guint8",
"public-format" : "QmiNasServiceStatus" },
{ "name" : "Preferred Data Path",
"format" : "guint8",
"public-format" : "gboolean" } ] },
{ "name" : "GSM Service Status",
"id" : "0x12",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Service Status",
"format" : "guint8",
"public-format" : "QmiNasServiceStatus" },
{ "name" : "True Service Status",
"format" : "guint8",
"public-format" : "QmiNasServiceStatus" },
{ "name" : "Preferred Data Path",
"format" : "guint8",
"public-format" : "gboolean" } ] },
{ "name" : "WCDMA Service Status",
"id" : "0x13",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Service Status",
"format" : "guint8",
"public-format" : "QmiNasServiceStatus" },
{ "name" : "True Service Status",
"format" : "guint8",
"public-format" : "QmiNasServiceStatus" },
{ "name" : "Preferred Data Path",
"format" : "guint8",
"public-format" : "gboolean" } ] },
{ "name" : "LTE Service Status",
"id" : "0x14",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Service Status",
"format" : "guint8",
"public-format" : "QmiNasServiceStatus" },
{ "name" : "True Service Status",
"format" : "guint8",
"public-format" : "QmiNasServiceStatus" },
{ "name" : "Preferred Data Path",
"format" : "guint8",
"public-format" : "gboolean" } ] },
{ "name" : "CDMA System Info",
"id" : "0x15",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Domain Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Domain",
"format" : "guint8",
"public-format" : "QmiNasNetworkServiceDomain" },
{ "name" : "Service Capability Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Service Capability",
"format" : "guint8",
"public-format" : "QmiNasNetworkServiceDomain" },
{ "name" : "Roaming Status Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Roaming Status",
"format" : "guint8",
"public-format" : "QmiNasRoamingStatus" },
{ "name" : "Forbidden Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Forbidden",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "PRL Match Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "PRL Match",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "P Rev Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "P Rev",
"format" : "guint8" },
{ "name" : "Base Station P Rev Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Base Station P Rev",
"format" : "guint8" },
{ "name" : "Concurrent Service Support Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Concurrent Service Support",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "CDMA System ID Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "SID",
"format" : "guint16" },
{ "name" : "NID",
"format" : "guint16" },
{ "name" : "Base Station Info Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Base Station ID",
"format" : "guint16" },
{ "name" : "Base Station Latitude",
"format" : "gint32" },
{ "name" : "Base Station Longitude",
"format" : "gint32" },
{ "name" : "Packet Zone Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Packet Zone",
"format" : "guint16" },
{ "name" : "Network ID Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "MCC",
"format" : "string",
"fixed-size" : "3" },
{ "name" : "MNC",
"format" : "string",
"fixed-size" : "3" } ] },
{ "name" : "HDR System Info",
"id" : "0x16",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Domain Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Domain",
"format" : "guint8",
"public-format" : "QmiNasNetworkServiceDomain" },
{ "name" : "Service Capability Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Service Capability",
"format" : "guint8",
"public-format" : "QmiNasNetworkServiceDomain" },
{ "name" : "Roaming Status Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Roaming Status",
"format" : "guint8",
"public-format" : "QmiNasRoamingStatus" },
{ "name" : "Forbidden Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Forbidden",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "PRL Match Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "PRL Match",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Personality Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Personality",
"format" : "guint8",
"public-format" : "QmiNasHdrPersonality" },
{ "name" : "Protocol Revision Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Protocol Revision",
"format" : "guint8",
"public-format" : "QmiNasHdrProtocolRevision" },
{ "name" : "IS 856 System ID Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "IS 856 System ID",
"format" : "string",
"fixed-size" : "16" } ] },
{ "name" : "GSM System Info",
"id" : "0x17",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Domain Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Domain",
"format" : "guint8",
"public-format" : "QmiNasNetworkServiceDomain" },
{ "name" : "Service Capability Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Service Capability",
"format" : "guint8",
"public-format" : "QmiNasNetworkServiceDomain" },
{ "name" : "Roaming Status Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Roaming Status",
"format" : "guint8",
"public-format" : "QmiNasRoamingStatus" },
{ "name" : "Forbidden Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Forbidden",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "LAC Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "LAC",
"format" : "guint16" },
{ "name" : "CID Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "CID",
"format" : "guint32" },
{ "name" : "Registration Reject Info Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Registration Reject Domain",
"format" : "guint8",
"public-format" : "QmiNasNetworkServiceDomain" },
{ "name" : "Registration Reject Cause",
"format" : "guint8" },
{ "name" : "Network ID Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "MCC",
"format" : "string",
"fixed-size" : "3" },
{ "name" : "MNC",
"format" : "string",
"fixed-size" : "3" },
{ "name" : "EGPRS Support Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "EGPRS Support",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "DTM Support Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "DTM Support",
"format" : "guint8",
"public-format" : "gboolean" } ] },
{ "name" : "WCDMA System Info",
"id" : "0x18",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Domain Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Domain",
"format" : "guint8",
"public-format" : "QmiNasNetworkServiceDomain" },
{ "name" : "Service Capability Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Service Capability",
"format" : "guint8",
"public-format" : "QmiNasNetworkServiceDomain" },
{ "name" : "Roaming Status Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Roaming Status",
"format" : "guint8",
"public-format" : "QmiNasRoamingStatus" },
{ "name" : "Forbidden Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Forbidden",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "LAC Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "LAC",
"format" : "guint16" },
{ "name" : "CID Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "CID",
"format" : "guint32" },
{ "name" : "Registration Reject Info Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Registration Reject Domain",
"format" : "guint8",
"public-format" : "QmiNasNetworkServiceDomain" },
{ "name" : "Registration Reject Cause",
"format" : "guint8" },
{ "name" : "Network ID Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "MCC",
"format" : "string",
"fixed-size" : "3" },
{ "name" : "MNC",
"format" : "string",
"fixed-size" : "3" },
{ "name" : "HS Call Status Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "HS Call Status",
"format" : "guint8",
"public-format" : "QmiNasWcdmaHsService" },
{ "name" : "HS Service Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "HS Service",
"format" : "guint8",
"public-format" : "QmiNasWcdmaHsService" },
{ "name" : "Primary Scrambling Code Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Primary Scrambling Code",
"format" : "guint16" } ] },
{ "name" : "LTE System Info",
"id" : "0x19",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Domain Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Domain",
"format" : "guint8",
"public-format" : "QmiNasNetworkServiceDomain" },
{ "name" : "Service Capability Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Service Capability",
"format" : "guint8",
"public-format" : "QmiNasNetworkServiceDomain" },
{ "name" : "Roaming Status Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Roaming Status",
"format" : "guint8",
"public-format" : "QmiNasRoamingStatus" },
{ "name" : "Forbidden Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Forbidden",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "LAC Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "LAC",
"format" : "guint16" },
{ "name" : "CID Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "CID",
"format" : "guint32" },
{ "name" : "Registration Reject Info Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Registration Reject Domain",
"format" : "guint8",
"public-format" : "QmiNasNetworkServiceDomain" },
{ "name" : "Registration Reject Cause",
"format" : "guint8" },
{ "name" : "Network ID Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "MCC",
"format" : "string",
"fixed-size" : "3" },
{ "name" : "MNC",
"format" : "string",
"fixed-size" : "3" },
{ "name" : "TAC Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "TAC",
"format" : "guint16" } ] },
{ "name" : "Additional CDMA System Info",
"id" : "0x1A",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Geo System Index",
"format" : "guint16" },
{ "name" : "Registration Period",
"format" : "guint16" } ] },
{ "name" : "Additional HDR System Info",
"id" : "0x1B",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Geo System Index",
"format" : "guint16" } ] },
{ "name" : "Additional GSM System Info",
"id" : "0x1C",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Geo System Index",
"format" : "guint16" },
{ "name" : "Cell Broadcast Support",
"format" : "guint32",
"public-format" : "QmiNasCellBroadcastCapability" } ] },
{ "name" : "Additional WCDMA System Info",
"id" : "0x1D",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Geo System Index",
"format" : "guint16" },
{ "name" : "Cell Broadcast Support",
"format" : "guint32",
"public-format" : "QmiNasCellBroadcastCapability" } ] },
{ "name" : "Additional LTE System Info",
"id" : "0x1E",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Geo System Index",
"format" : "guint16" } ] },
{ "name" : "GSM Call Barring Status",
"id" : "0x1F",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "CS Status",
"format" : "gint32",
"public-format" : "QmiNasCallBarringStatus" },
{ "name" : "PS Status",
"format" : "gint32",
"public-format" : "QmiNasCallBarringStatus" } ] },
{ "name" : "WCDMA Call Barring Status",
"id" : "0x20",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "CS Status",
"format" : "gint32",
"public-format" : "QmiNasCallBarringStatus" },
{ "name" : "PS Status",
"format" : "gint32",
"public-format" : "QmiNasCallBarringStatus" } ] },
{ "name" : "LTE Voice Support",
"id" : "0x21",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "GSM Cipher Domain",
"id" : "0x22",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint8",
"public-format" : "QmiNasNetworkServiceDomain" },
{ "name" : "WCDMA Cipher Domain",
"id" : "0x23",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint8",
"public-format" : "QmiNasNetworkServiceDomain" },
{ "name" : "PLMN Not Changed Indication",
"id" : "0x24",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "TD SCDMA Service Status",
"id" : "0x25",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Service Status",
"format" : "guint8",
"public-format" : "QmiNasServiceStatus" },
{ "name" : "True Service Status",
"format" : "guint8",
"public-format" : "QmiNasServiceStatus" },
{ "name" : "Preferred Data Path",
"format" : "guint8",
"public-format" : "gboolean" } ] },
{ "name" : "TD SCMA System Info",
"id" : "0x26",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "Domain Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Domain",
"format" : "guint8",
"public-format" : "QmiNasNetworkServiceDomain" },
{ "name" : "Service Capability Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Service Capability",
"format" : "guint8",
"public-format" : "QmiNasNetworkServiceDomain" },
{ "name" : "Roaming Status Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Roaming Status",
"format" : "guint8",
"public-format" : "QmiNasRoamingStatus" },
{ "name" : "Forbidden Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Forbidden",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "LAC Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "LAC",
"format" : "guint16" },
{ "name" : "CID Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "CID",
"format" : "guint32" },
{ "name" : "Registration Reject Info Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Registration Reject Domain",
"format" : "guint8",
"public-format" : "QmiNasNetworkServiceDomain" },
{ "name" : "Registration Reject Cause",
"format" : "guint8" },
{ "name" : "Network ID Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "MCC",
"format" : "string",
"fixed-size" : "3" },
{ "name" : "MNC",
"format" : "string",
"fixed-size" : "3" },
{ "name" : "HS Call Status Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "HS Call Status",
"format" : "guint8",
"public-format" : "QmiNasWcdmaHsService" },
{ "name" : "HS Service Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "HS Service",
"format" : "guint8",
"public-format" : "QmiNasWcdmaHsService" },
{ "name" : "Cell Parameter ID Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Cell Parameter ID",
"format" : "guint16" },
{ "name" : "Cell Broadcast Support Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Cell Broadcast Support",
"format" : "guint32",
"public-format" : "QmiNasCellBroadcastCapability" },
{ "name" : "CS Call Barring Status Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "CS Call Barring Status",
"format" : "gint32",
"public-format" : "QmiNasCallBarringStatus" },
{ "name" : "PS Call Barring Status Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "PS Call Barring Status",
"format" : "gint32",
"public-format" : "QmiNasCallBarringStatus" },
{ "name" : "Cipher Domain Valid",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "Cipher Domain",
"format" : "guint8",
"public-format" : "QmiNasNetworkServiceDomain" } ] },
{ "name" : "LTE eMBMS Coverage Info Support",
"id" : "0x27",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint8",
"public-format" : "gboolean" },
{ "name" : "SIM Reject Info",
"id" : "0x28",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint32",
"public-format" : "QmiNasSimRejectState" } ] },
// *********************************************************************************
{ "name" : "Get Signal Info",
"type" : "Message",