comparison extensions/dict_dcca_3gpp/dict_dcca_3gpp.c @ 1448:b6be23e0d1be

swap 3GPP Measurement-Period-LTE and Measurement-Period-UMTS AVP codes 3GPP Measurement-Period-LTE is AVP code 1655 not 1656. 3GPP Measurement-Period-UMTS is AVP code 1656 not 1655. Changed in 3GPP TS 29.272 V12.9.0 (2015-12).
author Luke Mewburn <luke@mewburn.net>
date Thu, 27 Feb 2020 23:05:26 +1100
parents 652aa883aae7
children ffe2f27e00e5
comparison
equal deleted inserted replaced
1447:652aa883aae7 1448:b6be23e0d1be
6882 AVP_TYPE_UNSIGNED32 /* base type of data */ 6882 AVP_TYPE_UNSIGNED32 /* base type of data */
6883 }; 6883 };
6884 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); 6884 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
6885 }; 6885 };
6886 6886
6887 /* Measurement-Period-UMTS, Enumerated, code 1655, section 7.3.166 */ 6887 /* 3GPP TS 29.272 V12.9.0 (2015-12) changed AVP code of */
6888 /* Measurement-Period-LTE from 1656 to 1655. */
6889 /* Measurement-Period-LTE, Enumerated, code 1655, section 7.3.166 */
6888 { 6890 {
6889 struct dict_avp_data data = { 6891 struct dict_avp_data data = {
6890 1655, /* Code */ 6892 1655, /* Code */
6891 10415, /* Vendor */ 6893 10415, /* Vendor */
6894 "Measurement-Period-LTE", /* Name */
6895 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
6896 AVP_FLAG_VENDOR, /* Fixed flag values */
6897 AVP_TYPE_INTEGER32 /* base type of data */
6898 };
6899 struct dict_object *type;
6900 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(3GPP/Measurement-Period-LTE)", NULL, NULL, NULL };
6901 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type);
6902 CHECK_dict_new(DICT_AVP, &data, type, NULL);
6903 };
6904
6905 /* 3GPP TS 29.272 V12.9.0 (2015-12) changed AVP code of */
6906 /* Measurement-Period-UMTS from 1655 to 1656. */
6907 /* Measurement-Period-UMTS, Enumerated, code 1656, section 7.3.167 */
6908 {
6909 struct dict_avp_data data = {
6910 1656, /* Code */
6911 10415, /* Vendor */
6892 "Measurement-Period-UMTS", /* Name */ 6912 "Measurement-Period-UMTS", /* Name */
6893 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */ 6913 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
6894 AVP_FLAG_VENDOR, /* Fixed flag values */ 6914 AVP_FLAG_VENDOR, /* Fixed flag values */
6895 AVP_TYPE_INTEGER32 /* base type of data */ 6915 AVP_TYPE_INTEGER32 /* base type of data */
6896 }; 6916 };
6897 struct dict_object *type; 6917 struct dict_object *type;
6898 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(3GPP/Measurement-Period-UMTS)", NULL, NULL, NULL }; 6918 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(3GPP/Measurement-Period-UMTS)", NULL, NULL, NULL };
6899 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type);
6900 CHECK_dict_new(DICT_AVP, &data, type, NULL);
6901 };
6902
6903 /* Measurement-Period-LTE, Enumerated, code 1656, section 7.3.167 */
6904 {
6905 struct dict_avp_data data = {
6906 1656, /* Code */
6907 10415, /* Vendor */
6908 "Measurement-Period-LTE", /* Name */
6909 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
6910 AVP_FLAG_VENDOR, /* Fixed flag values */
6911 AVP_TYPE_INTEGER32 /* base type of data */
6912 };
6913 struct dict_object *type;
6914 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(3GPP/Measurement-Period-LTE)", NULL, NULL, NULL };
6915 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); 6919 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type);
6916 CHECK_dict_new(DICT_AVP, &data, type, NULL); 6920 CHECK_dict_new(DICT_AVP, &data, type, NULL);
6917 }; 6921 };
6918 6922
6919 /* Collection-Period-RRM-LTE, Enumerated, code 1657, section 7.3.168 */ 6923 /* Collection-Period-RRM-LTE, Enumerated, code 1657, section 7.3.168 */
"Welcome to our mercurial repository"