comparison extensions/dict_dcca_3gpp/add_avps.c @ 1519:64191a7142ce

Add 3GPP TS 29.389 V15.1.0 (2019-09) Add AVPs: - V2X-Authorization-Data, Grouped, code 4700, section 6.3.2 - V2X-Permission-in-VPLMN, Unsigned32, code 4701, section 6.3.3 - V2X-Application-Server, Grouped, code 4702, section 6.3.4 Fix: All AVPs were missing M and V; assume MUST for both.
author Luke Mewburn <luke@mewburn.net>
date Thu, 09 Apr 2020 10:54:52 +1000
parents 3ea61a6aaefe
children 5aa6d237b306
comparison
equal deleted inserted replaced
1518:3ea61a6aaefe 1519:64191a7142ce
6416 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); 6416 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type);
6417 CHECK_dict_new(DICT_AVP, &data, type, NULL); 6417 CHECK_dict_new(DICT_AVP, &data, type, NULL);
6418 }; 6418 };
6419 6419
6420 /*==================================================================*/ 6420 /*==================================================================*/
6421 /* Table A.7.3.1.1: S9a specific Diameter AVPs */ 6421 /* 3GPP TS 29.215 Table A.7.3.1.1: S9a specific Diameter AVPs */
6422 /*==================================================================*/ 6422 /*==================================================================*/
6423 6423
6424 /* PCRF-Address, DiameterIdentity, code 2207, section A.7.3.1.1 */ 6424 /* PCRF-Address, DiameterIdentity, code 2207, section A.7.3.1.1 */
6425 { 6425 {
6426 struct dict_avp_data data = { 6426 struct dict_avp_data data = {
6433 }; 6433 };
6434 CHECK_dict_new(DICT_AVP, &data, DiameterIdentity_type, NULL); 6434 CHECK_dict_new(DICT_AVP, &data, DiameterIdentity_type, NULL);
6435 }; 6435 };
6436 6436
6437 /*==================================================================*/ 6437 /*==================================================================*/
6438 /* Table A.8.3.1.1: S9a* specific Diameter AVPs */ 6438 /* 3GPP TS 29.215 Table A.8.3.1.1: S9a* specific Diameter AVPs */
6439 /*==================================================================*/ 6439 /*==================================================================*/
6440 6440
6441 /* UE-Local-IPv6-Prefix, OctetString, code 2205, section A.8.3.1 */ 6441 /* UE-Local-IPv6-Prefix, OctetString, code 2205, section A.8.3.1 */
6442 { 6442 {
6443 struct dict_avp_data data = { 6443 struct dict_avp_data data = {
14786 }; 14786 };
14787 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); 14787 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
14788 }; 14788 };
14789 14789
14790 /*==================================================================*/ 14790 /*==================================================================*/
14791 /* 3GPP TS 29.389 V15.1.0 (2019-09) */
14792 /* Inter-V2X Control Function Signalling aspects (V6); */
14793 /* Stage 3 */
14794 /* */
14795 /* From 3GPP 29389-f10.doc */
14796 /*==================================================================*/
14797
14798 /*==================================================================*/
14799 /* 3GPP TS 29.389 Table 6.3.1-1: V6 specific Diameter AVPs */
14800 /* */
14801 /* Fix: All AVPs were missing M and V; assume MUST for both. */
14802 /*==================================================================*/
14803
14804 /* V2X-Authorization-Data, Grouped, code 4700, section 6.3.2 */
14805 {
14806 struct dict_avp_data data = {
14807 4700, /* Code */
14808 10415, /* Vendor */
14809 "V2X-Authorization-Data", /* Name */
14810 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
14811 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
14812 AVP_TYPE_GROUPED /* base type of data */
14813 };
14814 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
14815 };
14816
14817 /* V2X-Permission-in-VPLMN, Unsigned32, code 4701, section 6.3.3 */
14818 {
14819 struct dict_avp_data data = {
14820 4701, /* Code */
14821 10415, /* Vendor */
14822 "V2X-Permission-in-VPLMN", /* Name */
14823 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
14824 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
14825 AVP_TYPE_UNSIGNED32 /* base type of data */
14826 };
14827 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
14828 };
14829
14830 /* V2X-Application-Server, Grouped, code 4702, section 6.3.4 */
14831 {
14832 struct dict_avp_data data = {
14833 4702, /* Code */
14834 10415, /* Vendor */
14835 "V2X-Application-Server", /* Name */
14836 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
14837 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
14838 AVP_TYPE_GROUPED /* base type of data */
14839 };
14840 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
14841 };
14842
14843 /*==================================================================*/
14791 /* 3GPP TS 29.468 V15.8.0 (2019-12) */ 14844 /* 3GPP TS 29.468 V15.8.0 (2019-12) */
14792 /* Group Communication System Enablers for LTE (GCSE_LTE); */ 14845 /* Group Communication System Enablers for LTE (GCSE_LTE); */
14793 /* MB2 Reference Point; */ 14846 /* MB2 Reference Point; */
14794 /* Stage 3 */ 14847 /* Stage 3 */
14795 /*==================================================================*/ 14848 /*==================================================================*/
"Welcome to our mercurial repository"