[PATCH 1/2] nas: add "Get Cell Location Info"

Bjørn Mork bjorn at mork.no
Tue Apr 29 13:03:09 PDT 2014


Signed-off-by: Bjørn Mork <bjorn at mork.no>
---
 data/qmi-service-nas.json | 254 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 254 insertions(+)

diff --git a/data/qmi-service-nas.json b/data/qmi-service-nas.json
index d360168..077f8cb 100644
--- a/data/qmi-service-nas.json
+++ b/data/qmi-service-nas.json
@@ -1307,6 +1307,260 @@
                                         "public-format" : "gboolean" } ] } ] },
 
   // *********************************************************************************
+  {  "name"    : "Get Cell Location Info",
+     "type"    : "Message",
+     "service" : "NAS",
+     "id"      : "0x0043",
+     "version" : "1.4",
+     "output"  : [  { "common-ref" : "Operation Result" },
+                    { "name"      : "GERAN Info",
+                      "id"        : "0x10",
+                      "mandatory" : "no",
+                      "type"      : "TLV",
+                      "format"    : "sequence",
+                      "contents"  : [ { "name"          : "Cell ID",
+                                        "format"        : "guint32" },
+                                      { "name"          : "Packed BCD Operator",
+                                        "format"        : "string",
+                                        "fixed-size"    : "3" },
+                                      { "name"          : "Location Area Code",
+                                        "format"        : "guint16" },
+                                      { "name"          : "UTRA Absolute RFChannel Number",
+                                        "format"        : "guint16" },
+                                      { "name"          : "Base Station Identity Code",
+                                        "format"        : "guint8" },
+                                      { "name"          : "Timing Advance",
+                                        "format"        : "guint32" },
+                                      { "name"          : "RXLevel",
+                                        "format"        : "gint16" },
+                                      { "name"          : "NMR Cell",
+                                        "format"        : "array",
+                                        "array-element" : { "name"     : "Element",
+                                                            "format"   : "struct",
+                                                            "contents" : [ { "name"          : "Cell ID",
+                                                                             "format"        : "guint32" },
+                                                                           { "name"          : "Packed BCD Operator",
+                                                                             "format"        : "string",
+                                                                             "fixed-size"    : "3" },
+                                                                           { "name"          : "Location Area Code",
+                                                                             "format"        : "guint16" },
+                                                                           { "name"          : "UTRA Absolute RFChannel Number",
+                                                                             "format"        : "guint16" },
+                                                                           { "name"          : "Base Station Identity Code",
+                                                                             "format"        : "guint8" },
+                                                                           { "name"          : "RXLevel",
+                                                                             "format"        : "gint16" } ] } } ] },
+                    { "name"      : "UMTS Info",
+                      "id"        : "0x11",
+                      "mandatory" : "no",
+                      "type"      : "TLV",
+                      "format"    : "sequence",
+                      "contents"  : [ { "name"          : "Cell ID",
+                                        "format"        : "guint32" },
+                                      { "name"          : "Packed BCD Operator",
+                                        "format"        : "string",
+                                        "fixed-size"    : "3" },
+                                      { "name"          : "Location Area Code",
+                                        "format"        : "guint16" },
+                                      { "name"          : "UTRA Absolute RFChannel Number",
+                                        "format"        : "guint16" },
+                                      { "name"          : "Primary Scrambling Code",
+                                        "format"        : "guint16" },
+                                      { "name"          : "Received Signal Code Power",
+                                        "format"        : "gint16" },
+                                      { "name"          : "ECIO",
+                                        "format"        : "guint16" },
+                                      { "name"          : "UMTS Monitored Cell",
+                                        "format"        : "array",
+                                        "array-element" : { "name"     : "Element",
+                                                            "format"   : "struct",
+                                                            "contents" : [ { "name"          : "UTRA Absolute RFChannel Number",
+                                                                             "format"        : "guint16" },
+                                                                           { "name"          : "Primary Scrambling Code",
+                                                                             "format"        : "guint16" },
+                                                                           { "name"          : "ReceivedSignal Code Power",
+                                                                             "format"        : "gint16" },
+                                                                           { "name"          : "ECIO",
+                                                                             "format"        : "guint16" } ] } },
+                                      { "name"          : "GERAN NBR Cell",
+                                        "format"        : "array",
+                                        "array-element" : { "name"     : "Element",
+                                                            "format"   : "struct",
+                                                            "contents" : [ { "name"          : "Absolute RFChannel Number",
+                                                                             "format"        : "guint16" },
+                                                                           { "name"          : "Network Color Code",
+                                                                             "format"        : "guint8" },
+                                                                           { "name"          : "Base Station Color Code",
+                                                                             "format"        : "guint8" },
+                                                                           { "name"          : "RSSI",
+                                                                             "format"        : "gint16" } ] } } ] },
+                    { "name"      : "CDMA Info",
+                      "id"        : "0x12",
+                      "mandatory" : "no",
+                      "type"      : "TLV",
+                      "format"    : "sequence",
+                      "contents"  : [ { "name"          : "System ID",
+                                        "format"        : "guint16" },
+                                      { "name"          : "Network ID",
+                                        "format"        : "guint16" },
+                                      { "name"          : "Base Station ID",
+                                        "format"        : "guint16" },
+                                      { "name"          : "Latitude",
+                                        "format"        : "guint32" },
+                                      { "name"          : "Longitude",
+                                        "format"        : "guint32" } ] },
+                    { "name"       : "Intrafrequency LTE Info",
+                      "id"        : "0x13",
+                      "mandatory" : "no",
+                      "type"      : "TLV",
+                      "format"    : "sequence",
+                      "contents"  : [ { "name"          : "UE In Idle Mode",
+                                        "format"        : "guint8",
+					"public-format" : "gboolean" },
+                                      { "name"          : "Packed BCD Operator",
+                                        "format"        : "string",
+                                        "fixed-size"    : "3" },
+                                      { "name"          : "Tracking Area Code",
+                                        "format"        : "guint16" },
+                                      { "name"          : "Global Cell ID",
+                                        "format"        : "guint32" },
+                                      { "name"          : "EUTRA Absolute RFChannel Number",
+                                        "format"        : "guint16" },
+                                      { "name"          : "Serving Cell ID",
+                                        "format"        : "guint16" },
+                                      { "name"          : "Cell Reselection Priority",
+                                        "format"        : "guint8" },
+                                      { "name"          : "SNon Intra Search Threshold",
+                                        "format"        : "guint8" },
+                                      { "name"          : "Serving Cell Low Threshold",
+                                        "format"        : "guint8" },
+                                      { "name"          : "SIntra Search Threshold",
+                                        "format"        : "guint8" },
+                                      { "name"          : "Cell",
+                                        "format"        : "array",
+                                        "array-element" : { "name"     : "Element",
+                                                            "format"   : "struct",
+                                                            "contents" : [ { "name"          : "Physical Cell ID",
+                                                                             "format"        : "guint16" },
+                                                                           { "name"          : "RSRQ",
+                                                                             "format"        : "gint16" },
+                                                                           { "name"          : "RSRP",
+                                                                             "format"        : "gint16" },
+                                                                           { "name"          : "RSSI",
+                                                                             "format"        : "gint16" },
+                                                                           { "name"          : "Cell Selection RXLevel",
+                                                                             "format"        : "gint16" } ] } } ] },
+                    { "name"      : "Interfrequency LTE Info",
+                      "id"        : "0x14",
+                      "mandatory" : "no",
+                      "type"      : "TLV",
+                      "format"    : "sequence",
+                      "contents"  : [ { "name"          : "UE In Idle Mode",
+                                        "format"        : "guint8",
+					"public-format" : "gboolean" },
+                                      { "name"          : "Frequency",
+                                        "format"        : "array",
+                                        "array-element" : { "name"     : "Element",
+                                                            "format"   : "struct",
+                                                            "contents" : [ { "name"          : "EUTRA Absolute RFChannel Number",
+                                                                             "format"        : "guint16" },
+                                                                           { "name"          : "Cell Selection RXLevel Low Threshold",
+                                                                             "format"        : "guint8" },
+                                                                           { "name"          : "Cell Selection RXLevel High Threshold",
+                                                                             "format"        : "guint8" },
+                                                                           { "name"          : "Cell Reselection Priority",
+                                                                             "format"        : "guint8" },
+                                                                           { "name"          : "Cell",
+                                                                             "format"        : "array",
+                                                                             "array-element" : { "name"     : "Element",
+                                                                                                 "format"   : "struct",
+                                                                                                 "contents" : [ { "name"          : "Physical Cell ID",
+                                                                                                                  "format"        : "guint16" },
+                                                                                                                { "name"          : "RSRQ",
+                                                                                                                  "format"        : "gint16" },
+                                                                                                                { "name"          : "RSRP",
+                                                                                                                  "format"        : "gint16" },
+                                                                                                                { "name"          : "RSSI",
+                                                                                                                  "format"        : "gint16" },
+                                                                                                                { "name"          : "Cell Selection RXLevel",
+                                                                                                                  "format"        : "gint16" } ] } } ] } } ] },
+                    { "name"      : "LTE Info Neighboring GSM",
+                      "id"        : "0x15",
+                      "mandatory" : "no",
+                      "type"      : "TLV",
+                      "format"    : "sequence",
+                      "contents"  : [ { "name"          : "UE In Idle Mode",
+                                        "format"        : "guint8",
+					"public-format" : "gboolean" },
+                                      { "name"          : "Frequency",
+                                        "format"        : "array",
+                                        "array-element" : { "name"     : "Element",
+                                                            "format"   : "struct",
+                                                            "contents" : [ { "name"          : "Cell Reselection Priority",
+                                                                             "format"        : "guint8" },
+                                                                           { "name"          : "Cell Reselection High Threshold",
+                                                                             "format"        : "guint8" },
+                                                                           { "name"          : "Cell Reselection Low Threshold",
+                                                                             "format"        : "guint8" },
+                                                                           { "name"          : "NCC Permitted",
+                                                                             "format"        : "guint8" },
+                                                                           { "name"          : "Cell",
+                                                                             "format"        : "array",
+                                                                             "array-element" : { "name"     : "Element",
+                                                                                                 "format"   : "struct",
+                                                                                                 "contents" : [ { "name"          : "Absolute RFChannel Number",
+                                                                                                                  "format"        : "guint16" },
+                                                                                                                { "name"          : "Band Is 1900",
+                                                                                                                  "format"        : "guint8",
+                                                                                                                  "public-format" : "gboolean" },
+                                                                                                                { "name"          : "Cell ID Valid",
+                                                                                                                  "format"        : "guint8",
+                                                                                                                  "public-format" : "gboolean" },
+                                                                                                                { "name"          : "Base Station Identity Code",
+                                                                                                                  "format"        : "guint8" },
+                                                                                                                { "name"          : "RSSI",
+                                                                                                                  "format"        : "gint16" },
+                                                                                                                { "name"          : "Cell Selection RXLevel",
+                                                                                                                  "format"        : "gint16" } ] } } ] } } ] },
+                     { "name"      : "LTE Info Neighboring WCDMA",
+                      "id"        : "0x16",
+                      "mandatory" : "no",
+                      "type"      : "TLV",
+                      "format"    : "sequence",
+                      "contents"  : [ { "name"          : "UE In Idle Mode",
+                                        "format"        : "guint8",
+					"public-format" : "gboolean" },
+                                      { "name"          : "Frequency",
+                                        "format"        : "array",
+                                        "array-element" : { "name"     : "Element",
+                                                            "format"   : "struct",
+                                                            "contents" : [ { "name"          : "EUTRA Absolute RFChannel Number",
+                                                                             "format"        : "guint16" },
+                                                                           { "name"          : "Cell Reselection Priority",
+                                                                             "format"        : "guint8" },
+                                                                           { "name"          : "Cell Reselection High Threshold",
+                                                                             "format"        : "guint16" },
+                                                                           { "name"          : "Cell Reselection Low Threshold",
+                                                                             "format"        : "guint16" },
+                                                                           { "name"          : "Cell",
+                                                                             "format"        : "array",
+                                                                             "array-element" : { "name"     : "Element",
+                                                                                                 "format"   : "struct",
+                                                                                                 "contents" : [ { "name"          : "Primary Scrambling Code",
+                                                                                                                  "format"        : "guint16" },
+                                                                                                                { "name"          : "CPICH RSCP",
+                                                                                                                  "format"        : "gint16" },
+                                                                                                                { "name"          : "CPICH EcNo",
+                                                                                                                  "format"        : "gint16" },
+                                                                                                                { "name"          : "Cell Selection RXLevel",
+                                                                                                                  "format"        : "guint16" } ] } } ] } } ] },
+                    { "name"      : "UMTS Cell ID",
+                      "id"        : "0x17",
+                      "mandatory" : "no",
+                      "type"      : "TLV",
+                      "format"    : "guint32" } ] },
+
+  // *********************************************************************************
   {  "name"    : "Network Time",
      "type"    : "Indication",
      "service" : "NAS",
-- 
2.0.0.rc0



More information about the libqmi-devel mailing list