nas: implement "Initiate Network Register" request/response
This commit is contained in:
parent
cc97645578
commit
dab5e3e764
|
@ -512,6 +512,44 @@
|
||||||
"format" : "guint8",
|
"format" : "guint8",
|
||||||
"public-format" : "gboolean" } ] } } ] },
|
"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",
|
{ "name" : "Get Serving System",
|
||||||
"type" : "Message",
|
"type" : "Message",
|
||||||
|
|
|
@ -332,6 +332,21 @@ typedef enum {
|
||||||
QMI_NAS_NETWORK_STATUS_NOT_PREFERRED = 1 << 7
|
QMI_NAS_NETWORK_STATUS_NOT_PREFERRED = 1 << 7
|
||||||
} QmiNasNetworkStatus;
|
} 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 */
|
/* Helper enums for the 'QMI NAS Get Serving System' request/response */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue