diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2014-07-08 08:20:26 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-07-08 06:30:33 +0000 |
commit | 55ce1bc6a65423b31cdd055eb58051d61f7532bb (patch) | |
tree | 55e7f87855111c125e28ce010bc8b15d058b1310 | |
parent | a6fc598aa79f45f0ece6c17656b15e323815cccf (diff) | |
download | wireshark-55ce1bc6a65423b31cdd055eb58051d61f7532bb.tar.gz |
Upgrade LPP dissector to v11.5.0
Change-Id: I8c51cebec5b234b9d0667aaf3f70b0a48bb842f6
Reviewed-on: https://code.wireshark.org/review/2933
Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r-- | asn1/lpp/LPP.asn | 25 | ||||
-rw-r--r-- | asn1/lpp/lpp.cnf | 2 | ||||
-rw-r--r-- | asn1/lpp/packet-lpp-template.c | 2 | ||||
-rw-r--r-- | asn1/lpp/packet-lpp-template.h | 2 | ||||
-rw-r--r-- | epan/dissectors/packet-lpp.c | 31 | ||||
-rw-r--r-- | epan/dissectors/packet-lpp.h | 2 |
6 files changed, 43 insertions, 21 deletions
diff --git a/asn1/lpp/LPP.asn b/asn1/lpp/LPP.asn index de1a93664b..2617174de3 100644 --- a/asn1/lpp/LPP.asn +++ b/asn1/lpp/LPP.asn @@ -1,4 +1,4 @@ --- 3GPP TS 36.355 V11.5.0 (2013-12) +-- 3GPP TS 36.355 V11.6.0 (2014-06) -- LPP-PDU-Definitions { @@ -666,7 +666,7 @@ OTDOA-SignalMeasurementInformation ::= SEQUENCE { NeighbourMeasurementList ::= SEQUENCE (SIZE(1..24)) OF NeighbourMeasurementElement NeighbourMeasurementElement ::= SEQUENCE { - physCellIdNeighbor INTEGER (0..503), + physCellIdNeighbour INTEGER (0..503), cellGlobalIdNeighbour ECGI OPTIONAL, earfcnNeighbour ARFCN-ValueEUTRA OPTIONAL, -- Cond NotSameAsRef2 rstd INTEGER (0..12711), @@ -697,7 +697,8 @@ OTDOA-ProvideCapabilities ::= SEQUENCE { supportedBandListEUTRA SEQUENCE (SIZE (1..maxBands)) OF SupportedBandEUTRA OPTIONAL, supportedBandListEUTRA-v9a0 SEQUENCE (SIZE (1..maxBands)) OF SupportedBandEUTRA-v9a0 OPTIONAL, - interFreqRSTDmeasurement-r10 ENUMERATED { supported } OPTIONAL + interFreqRSTDmeasurement-r10 ENUMERATED { supported } OPTIONAL, + additionalNeighbourCellInfoList-r10 ENUMERATED { supported } OPTIONAL } maxBands INTEGER ::= 64 @@ -1473,9 +1474,9 @@ GNSS-GenericAssistDataReqElement ::= SEQUENCE { GNSS-ReferenceTimeReq ::= SEQUENCE { - gnss-TimeReqPrefList SEQUENCE (SIZE (1..8)) OF GNSS-ID, - gps-TOW-assistReq BOOLEAN OPTIONAL, -- Cond gps - notOfLeapSecReq BOOLEAN OPTIONAL, -- Cond glonass + gnss-TimeReqPrefList SEQUENCE (SIZE (1..8)) OF GNSS-ID, + gps-TOW-assistReq BOOLEAN OPTIONAL, -- Cond gps + notOfLeapSecReq BOOLEAN OPTIONAL, -- Cond glonass ... } @@ -1532,15 +1533,15 @@ SatListRelatedDataList ::= SEQUENCE (SIZE (1..64)) OF SatListRelatedDataElement SatListRelatedDataElement ::= SEQUENCE { svID SV-ID, - iod BIT STRING (SIZE(11)), - clockModelID INTEGER (1..8) OPTIONAL, - orbitModelID INTEGER (1..8) OPTIONAL, - ... + iod BIT STRING (SIZE(11)), + clockModelID INTEGER (1..8) OPTIONAL, +orbitModelID INTEGER (1..8) OPTIONAL, + ... } ReqNavListInfo ::= SEQUENCE { svReqList BIT STRING (SIZE (64)), - clockModelID-PrefList SEQUENCE (SIZE (1..8)) OF INTEGER (1..8) OPTIONAL, + clockModelID-PrefList SEQUENCE (SIZE (1..8)) OF INTEGER (1..8) OPTIONAL, orbitModelID-PrefList SEQUENCE (SIZE (1..8)) OF INTEGER (1..8) OPTIONAL, addNavparamReq BOOLEAN OPTIONAL, -- Cond orbitModelID-2 ... @@ -1736,7 +1737,7 @@ GNSS-SupportElement ::= SEQUENCE { } AssistanceDataSupportList ::= SEQUENCE { - gnss-CommonAssistanceDataSupport GNSS-CommonAssistanceDataSupport, + gnss-CommonAssistanceDataSupport GNSS-CommonAssistanceDataSupport, gnss-GenericAssistanceDataSupport GNSS-GenericAssistanceDataSupport, ... } diff --git a/asn1/lpp/lpp.cnf b/asn1/lpp/lpp.cnf index e2622cc8f1..ca80a47719 100644 --- a/asn1/lpp/lpp.cnf +++ b/asn1/lpp/lpp.cnf @@ -1,6 +1,6 @@ # lpp.cnf # llp conformation file -# Copyright 2011-2013 Pascal Quantin +# Copyright 2011-2014 Pascal Quantin #.OPT PER diff --git a/asn1/lpp/packet-lpp-template.c b/asn1/lpp/packet-lpp-template.c index 4e473740ba..c39ddb3410 100644 --- a/asn1/lpp/packet-lpp-template.c +++ b/asn1/lpp/packet-lpp-template.c @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * - * Ref 3GPP TS 36.355 version 11.5.0 Release 11 + * Ref 3GPP TS 36.355 version 11.6.0 Release 11 * http://www.3gpp.org */ diff --git a/asn1/lpp/packet-lpp-template.h b/asn1/lpp/packet-lpp-template.h index f0f1d691e6..b7c605b465 100644 --- a/asn1/lpp/packet-lpp-template.h +++ b/asn1/lpp/packet-lpp-template.h @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * - * Ref 3GPP TS 36.355 version 11.5.0 Release 11 + * Ref 3GPP TS 36.355 version 11.6.0 Release 11 * http://www.3gpp.org */ diff --git a/epan/dissectors/packet-lpp.c b/epan/dissectors/packet-lpp.c index 189a82ff4d..d4c0ac00ac 100644 --- a/epan/dissectors/packet-lpp.c +++ b/epan/dissectors/packet-lpp.c @@ -28,7 +28,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * - * Ref 3GPP TS 36.355 version 11.5.0 Release 11 + * Ref 3GPP TS 36.355 version 11.6.0 Release 11 * http://www.3gpp.org */ @@ -297,7 +297,7 @@ static int hf_lpp_cellGlobalIdRef = -1; /* ECGI */ static int hf_lpp_referenceQuality = -1; /* OTDOA_MeasQuality */ static int hf_lpp_neighbourMeasurementList = -1; /* NeighbourMeasurementList */ static int hf_lpp_NeighbourMeasurementList_item = -1; /* NeighbourMeasurementElement */ -static int hf_lpp_physCellIdNeighbor = -1; /* INTEGER_0_503 */ +static int hf_lpp_physCellIdNeighbour = -1; /* INTEGER_0_503 */ static int hf_lpp_cellGlobalIdNeighbour = -1; /* ECGI */ static int hf_lpp_earfcnNeighbour = -1; /* ARFCN_ValueEUTRA */ static int hf_lpp_rstd = -1; /* INTEGER_0_12711 */ @@ -313,6 +313,7 @@ static int hf_lpp_supportedBandListEUTRA_item = -1; /* SupportedBandEUTRA */ static int hf_lpp_supportedBandListEUTRA_v9a0 = -1; /* SEQUENCE_SIZE_1_maxBands_OF_SupportedBandEUTRA_v9a0 */ static int hf_lpp_supportedBandListEUTRA_v9a0_item = -1; /* SupportedBandEUTRA_v9a0 */ static int hf_lpp_interFreqRSTDmeasurement_r10 = -1; /* T_interFreqRSTDmeasurement_r10 */ +static int hf_lpp_additionalNeighbourCellInfoList_r10 = -1; /* T_additionalNeighbourCellInfoList_r10 */ static int hf_lpp_bandEUTRA = -1; /* INTEGER_1_maxFBI */ static int hf_lpp_bandEUTRA_v9a0 = -1; /* INTEGER_maxFBI_Plus1_maxFBI2 */ static int hf_lpp_locationServerErrorCauses = -1; /* OTDOA_LocationServerErrorCauses */ @@ -3817,11 +3818,27 @@ dissect_lpp_T_interFreqRSTDmeasurement_r10(tvbuff_t *tvb _U_, int offset _U_, as } +static const value_string lpp_T_additionalNeighbourCellInfoList_r10_vals[] = { + { 0, "supported" }, + { 0, NULL } +}; + + +static int +dissect_lpp_T_additionalNeighbourCellInfoList_r10(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { + offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index, + 1, NULL, FALSE, 0, NULL); + + return offset; +} + + static const per_sequence_t OTDOA_ProvideCapabilities_sequence[] = { { &hf_lpp_otdoa_Mode , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_lpp_T_otdoa_Mode }, { &hf_lpp_supportedBandListEUTRA, ASN1_NOT_EXTENSION_ROOT, ASN1_OPTIONAL , dissect_lpp_SEQUENCE_SIZE_1_maxBands_OF_SupportedBandEUTRA }, { &hf_lpp_supportedBandListEUTRA_v9a0, ASN1_NOT_EXTENSION_ROOT, ASN1_OPTIONAL , dissect_lpp_SEQUENCE_SIZE_1_maxBands_OF_SupportedBandEUTRA_v9a0 }, { &hf_lpp_interFreqRSTDmeasurement_r10, ASN1_NOT_EXTENSION_ROOT, ASN1_OPTIONAL , dissect_lpp_T_interFreqRSTDmeasurement_r10 }, + { &hf_lpp_additionalNeighbourCellInfoList_r10, ASN1_NOT_EXTENSION_ROOT, ASN1_OPTIONAL , dissect_lpp_T_additionalNeighbourCellInfoList_r10 }, { NULL, 0, 0, NULL } }; @@ -9817,7 +9834,7 @@ dissect_lpp_NeighbourMeasurementElement_eag_1(tvbuff_t *tvb _U_, int offset _U_, static const per_sequence_t NeighbourMeasurementElement_sequence[] = { - { &hf_lpp_physCellIdNeighbor, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_lpp_INTEGER_0_503 }, + { &hf_lpp_physCellIdNeighbour, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_lpp_INTEGER_0_503 }, { &hf_lpp_cellGlobalIdNeighbour, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_lpp_ECGI }, { &hf_lpp_earfcnNeighbour , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_lpp_ARFCN_ValueEUTRA }, { &hf_lpp_rstd , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_lpp_INTEGER_0_12711 }, @@ -11559,8 +11576,8 @@ void proto_register_lpp(void) { { "NeighbourMeasurementElement", "lpp.NeighbourMeasurementElement_element", FT_NONE, BASE_NONE, NULL, 0, NULL, HFILL }}, - { &hf_lpp_physCellIdNeighbor, - { "physCellIdNeighbor", "lpp.physCellIdNeighbor", + { &hf_lpp_physCellIdNeighbour, + { "physCellIdNeighbour", "lpp.physCellIdNeighbour", FT_UINT32, BASE_DEC, NULL, 0, "INTEGER_0_503", HFILL }}, { &hf_lpp_cellGlobalIdNeighbour, @@ -11623,6 +11640,10 @@ void proto_register_lpp(void) { { "interFreqRSTDmeasurement-r10", "lpp.interFreqRSTDmeasurement_r10", FT_UINT32, BASE_DEC, VALS(lpp_T_interFreqRSTDmeasurement_r10_vals), 0, "T_interFreqRSTDmeasurement_r10", HFILL }}, + { &hf_lpp_additionalNeighbourCellInfoList_r10, + { "additionalNeighbourCellInfoList-r10", "lpp.additionalNeighbourCellInfoList_r10", + FT_UINT32, BASE_DEC, VALS(lpp_T_additionalNeighbourCellInfoList_r10_vals), 0, + "T_additionalNeighbourCellInfoList_r10", HFILL }}, { &hf_lpp_bandEUTRA, { "bandEUTRA", "lpp.bandEUTRA", FT_UINT32, BASE_DEC, NULL, 0, diff --git a/epan/dissectors/packet-lpp.h b/epan/dissectors/packet-lpp.h index 5989646931..5db541d90e 100644 --- a/epan/dissectors/packet-lpp.h +++ b/epan/dissectors/packet-lpp.h @@ -28,7 +28,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * - * Ref 3GPP TS 36.355 version 11.5.0 Release 11 + * Ref 3GPP TS 36.355 version 11.6.0 Release 11 * http://www.3gpp.org */ |