nas: implement "Initiate Network Register" request/response

This commit is contained in:
Aleksander Morgado 2012-08-02 12:15:29 +02:00
parent cc97645578
commit dab5e3e764
2 changed files with 53 additions and 0 deletions

View File

@ -512,6 +512,44 @@
"format" : "guint8",
"public-format" : "gboolean" } ] } } ] },
// *********************************************************************************
{ "name" : "Initiate Network Register",
"type" : "Message",
"service" : "NAS",
"id" : "0x0022",
"version" : "1.0",
"input" : [ { "name" : "Action",
"id" : "0x01",
"mandatory" : "yes",
"type" : "TLV",
"format" : "guint8",
"public-format" : "QmiNasNetworkRegisterType" },
{ "name" : "Manual Registration Info 3GPP",
"id" : "0x10",
"mandatory" : "no",
"type" : "TLV",
"format" : "sequence",
"contents" : [ { "name" : "MCC",
"format" : "guint16" },
{ "name" : "MNC",
"format" : "guint16" },
{ "name" : "Radio Interface",
"format" : "gint8",
"public-format" : "QmiNasRadioInterface" } ] },
{ "name" : "Change Duration",
"id" : "0x11",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint8",
"public-format" : "QmiNasChangeDuration" },
{ "name" : "MNC PCS Digit Include Status",
"id" : "0x12",
"mandatory" : "no",
"type" : "TLV",
"format" : "guint8",
"public-format" : "gboolean" } ],
"output" : [ { "common-ref" : "Operation Result" } ] },
// *********************************************************************************
{ "name" : "Get Serving System",
"type" : "Message",

View File

@ -332,6 +332,21 @@ typedef enum {
QMI_NAS_NETWORK_STATUS_NOT_PREFERRED = 1 << 7
} QmiNasNetworkStatus;
/*****************************************************************************/
/* Helper enums for the 'QMI NAS Initiate Network Register' request/response */
/**
* QmiNasNetworkRegisterType:
* @QMI_NAS_NETWORK_REGISTER_TYPE_AUTOMATIC: Automatic network registration.
* @QMI_NAS_NETWORK_REGISTER_TYPE_MANUAL: Manual network registration.
*
* Type of network registration.
*/
typedef enum {
QMI_NAS_NETWORK_REGISTER_TYPE_AUTOMATIC = 0x01,
QMI_NAS_NETWORK_REGISTER_TYPE_MANUAL = 0x02
} QmiNasNetworkRegisterType;
/*****************************************************************************/
/* Helper enums for the 'QMI NAS Get Serving System' request/response */