nas: don't mistake 'change duration' with 'preference duration'
They actually have POWER_CYCLE and PERMANENT values swapped. Kudos to the one who decided that.
This commit is contained in:
parent
ebfa80154f
commit
cc97645578
|
@ -827,12 +827,12 @@
|
|||
"format" : "guint16" },
|
||||
{ "name" : "MNC",
|
||||
"format" : "guint16" } ] },
|
||||
{ "name" : "Preference Duration",
|
||||
{ "name" : "Change Duration",
|
||||
"id" : "0x17",
|
||||
"mandatory" : "no",
|
||||
"type" : "TLV",
|
||||
"format" : "guint8",
|
||||
"public-format" : "QmiNasPreferenceDuration" },
|
||||
"public-format" : "QmiNasChangeDuration" },
|
||||
{ "name" : "Service Domain Preference",
|
||||
"id" : "0x18",
|
||||
"mandatory" : "no",
|
||||
|
|
|
@ -589,6 +589,18 @@ typedef enum {
|
|||
QMI_NAS_NETWORK_SELECTION_PREFERENCE_MANUAL = 0x01
|
||||
} QmiNasNetworkSelectionPreference;
|
||||
|
||||
/**
|
||||
* QmiNasChangeDuration:
|
||||
* @QMI_NAS_CHANGE_DURATION_PERMANENT: Permanent.
|
||||
* @QMI_NAS_CHANGE_DURATION_POWER_CYCLE: Until the next power cycle.
|
||||
*
|
||||
* Duration of the change setting.
|
||||
*/
|
||||
typedef enum {
|
||||
QMI_NAS_CHANGE_DURATION_POWER_CYCLE = 0x00,
|
||||
QMI_NAS_CHANGE_DURATION_PERMANENT = 0x01
|
||||
} QmiNasChangeDuration;
|
||||
|
||||
/**
|
||||
* QmiNasServiceDomainPreference:
|
||||
* @QMI_NAS_SERVICE_DOMAIN_PREFERENCE_CS_ONLY: Circuit-switched only.
|
||||
|
|
Loading…
Reference in New Issue