From 9732ad5eb9b77488c52f8a0ea88359d1bf19ba8c Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Fri, 10 Feb 2017 21:10:41 -0600 Subject: nas: add Get Operator Name and Operator Name indication --- data/qmi-common.json | 97 ++++++++++++++++++++++++++++++++++++++++++++++- data/qmi-service-nas.json | 41 ++++++++++++++++++++ 2 files changed, 137 insertions(+), 1 deletion(-) (limited to 'data') diff --git a/data/qmi-common.json b/data/qmi-common.json index d29f5a0..7b81360 100644 --- a/data/qmi-common.json +++ b/data/qmi-common.json @@ -409,5 +409,100 @@ { "name" : "Guaranteed Uplink Bitrate", "format" : "guint32" }, { "name" : "Max Uplink Bitrate", - "format" : "guint32" } ] } + "format" : "guint32" } ] }, + + // ********************************************************************************* + // NAS common TLVs + + { "common-ref" : "NAS Service Provider Name", + "name" : "Service Provider Name", + "id" : "0x10", + "mandatory" : "no", + "type" : "TLV", + "format" : "sequence", + "contents" : [ { "name" : "Name Display Condition", + "format" : "guint8", + "public-format" : "QmiNasNetworkNameDisplayCondition" }, + { "name" : "Name", + "format" : "string" } ] }, + + { "common-ref" : "NAS Operator PLMN List", + "name" : "Operator PLMN List", + "id" : "0x11", + "mandatory" : "no", + "type" : "TLV", + "format" : "array", + "size-prefix-format" : "guint16", + "array-element" : { "name" : "Element", + "format" : "struct", + "contents" : [ { "name" : "MCC", + "format" : "string", + "fixed-size" : "3" }, + { "name" : "MNC", + "format" : "string", + "fixed-size" : "3" }, + { "name" : "LAC1", + "format" : "guint16" }, + { "name" : "LAC2", + "format" : "guint16" }, + { "name" : "PLMN Name Record Identifier", + "format" : "guint8" } ] } }, + + { "common-ref" : "NAS Operator PLMN Name", + "name" : "Operator PLMN Name", + "id" : "0x12", + "mandatory" : "no", + "type" : "TLV", + "format" : "array", + "array-element" : { "name" : "Element", + "format" : "struct", + "contents" : [ { "name" : "Name Encoding", + "format" : "guint8", + "public-format" : "QmiNasPlmnEncodingScheme" }, + { "name" : "Short Country Initials", + "format" : "guint8", + "public-format" : "QmiNasPlmnNameCountryInitials" }, + { "name" : "Long Name Spare Bits", + "format" : "guint8", + "public-format" : "QmiNasPlmnNameSpareBits" }, + { "name" : "Short Name Spare Bits", + "format" : "guint8", + "public-format" : "QmiNasPlmnNameSpareBits" }, + { "name" : "Long Name", + "format" : "array", + "array-element" : { "format" : "guint8" } }, + { "name" : "Short Name", + "format" : "array", + "array-element" : { "format" : "guint8" } } ] } }, + + { "common-ref" : "NAS Operator String Name", + "name" : "Operator String Name", + "id" : "0x13", + "mandatory" : "no", + "type" : "TLV", + "format" : "string" }, + + { "common-ref" : "NAS Operator NITZ Information", + "name" : "Operator NITZ Information", + "id" : "0x14", + "mandatory" : "no", + "type" : "TLV", + "format" : "sequence", + "contents" : [ { "name" : "Name Encoding", + "format" : "guint8", + "public-format" : "QmiNasPlmnEncodingScheme" }, + { "name" : "Short Country Initials", + "format" : "guint8", + "public-format" : "QmiNasPlmnNameCountryInitials" }, + { "name" : "Long Name Spare Bits", + "format" : "guint8", + "public-format" : "QmiNasPlmnNameSpareBits" }, + { "name" : "Short Name Spare Bits", + "format" : "guint8", + "public-format" : "QmiNasPlmnNameSpareBits" }, + { "name" : "Long Name", + "format" : "string" }, + { "name" : "Short Name", + "format" : "string" } ] } + ] diff --git a/data/qmi-service-nas.json b/data/qmi-service-nas.json index c4259ec..7f6b809 100644 --- a/data/qmi-service-nas.json +++ b/data/qmi-service-nas.json @@ -1493,6 +1493,47 @@ "public-format" : "gboolean" } ] } ] }, // ********************************************************************************* + { "name" : "Get Operator Name", + "type" : "Message", + "service" : "NAS", + "id" : "0x0039", + "version" : "1.3", + "since" : "1.18", + "output" : [ { "common-ref" : "Operation Result" }, + { "common-ref" : "NAS Service Provider Name", + "since" : "1.18", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "NAS Operator PLMN List", + "since" : "1.18", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "NAS Operator PLMN Name", + "since" : "1.18", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "NAS Operator String Name", + "since" : "1.18", + "prerequisites" : [ { "common-ref" : "Success" } ] }, + { "common-ref" : "NAS Operator NITZ Information", + "since" : "1.18", + "prerequisites" : [ { "common-ref" : "Success" } ] } ] }, + + { "name" : "Operator Name", + "type" : "Indication", + "service" : "NAS", + "id" : "0x003A", + "version" : "1.3", + "since" : "1.18", + "output" : [ { "common-ref" : "NAS Service Provider Name", + "since" : "1.18" }, + { "common-ref" : "NAS Operator PLMN List", + "since" : "1.18" }, + { "common-ref" : "NAS Operator PLMN Name", + "since" : "1.18" }, + { "common-ref" : "NAS Operator String Name", + "since" : "1.18" }, + { "common-ref" : "NAS Operator NITZ Information", + "since" : "1.18" } ] }, + + // ********************************************************************************* { "name" : "Get Cell Location Info", "type" : "Message", "service" : "NAS", -- cgit v1.1