comparison extensions/dict_dcca_3gpp/add_avps.c @ 1502:515421a9ac5e

Add 3GPP TS 29.154 V15.3.0 (2019-09) Add AVPs: - Network-Area-Info-List, OctetString, code 4201, section 5.3.2 - Number-Of-UEs, Unsigned32, code 4209, section 5.3.10 - Reference-Id, OctetString, code 4202, section 5.3.3 - Transfer-Request-Type, Unsigned32, code 4203, section 5.3.4 - Time-Window, Grouped, code 4204, section 5.3.5 - Transfer-End-Time, Time, code 4205, section 5.3.6 - Transfer-Policy, Grouped, code 4207, section 5.3.8 - Transfer-Policy-Id, Unsigned32, code 4208, section 5.3.9 - Transfer-Start-Time, Time, code 4206, section 5.3.7 - Access-Network-Reports, Grouped, code 4210, section A.6.3.2 - Event-Configuration, Grouped, code 4211, section A.6.3.3 - Event-Configuration-State, Unsigned32, code 4212, section A.6.3.4 - Event-Configuration-Status, Grouped, code 4213, section A.6.3.5 - Event-Reporting-Results, Unsigned32, code 4214, section A.6.3.6 - Event-Reports, Grouped, code 4215, section A.6.3.7 - Extended-SCEF-Reference-ID, Unsigned64, code 4216, section A.6.3.8
author Luke Mewburn <luke@mewburn.net>
date Fri, 03 Apr 2020 15:33:12 +1100
parents 4372ae041a93
children b526a9899931
comparison
equal deleted inserted replaced
1501:f9d9de30d522 1502:515421a9ac5e
1605 }; 1605 };
1606 struct dict_object *type; 1606 struct dict_object *type;
1607 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(3GPP/Routeing-Address-Resolution)", NULL, NULL, NULL }; 1607 struct dict_type_data tdata = { AVP_TYPE_INTEGER32, "Enumerated(3GPP/Routeing-Address-Resolution)", NULL, NULL, NULL };
1608 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type); 1608 CHECK_dict_new(DICT_TYPE, &tdata, NULL, &type);
1609 CHECK_dict_new(DICT_AVP, &data, type, NULL); 1609 CHECK_dict_new(DICT_AVP, &data, type, NULL);
1610 };
1611
1612 /*==================================================================*/
1613 /* 3GPP TS 29.154 V15.3.0 (2019-09) */
1614 /* Service capability exposure functionality over */
1615 /* Nt reference point */
1616 /* */
1617 /* From 3GPP 29154-f30.doc */
1618 /*==================================================================*/
1619
1620 /*==================================================================*/
1621 /* 3GPP TS 29.154 Table 5.3.1.1: Nt specific Diameter AVPs */
1622 /*==================================================================*/
1623
1624 /* Network-Area-Info-List, OctetString, code 4201, section 5.3.2 */
1625 {
1626 struct dict_avp_data data = {
1627 4201, /* Code */
1628 10415, /* Vendor */
1629 "Network-Area-Info-List", /* Name */
1630 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
1631 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
1632 AVP_TYPE_OCTETSTRING /* base type of data */
1633 };
1634 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
1635 };
1636
1637 /* Number-Of-UEs, Unsigned32, code 4209, section 5.3.10 */
1638 {
1639 struct dict_avp_data data = {
1640 4209, /* Code */
1641 10415, /* Vendor */
1642 "Number-Of-UEs", /* Name */
1643 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
1644 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
1645 AVP_TYPE_UNSIGNED32 /* base type of data */
1646 };
1647 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
1648 };
1649
1650 /* Reference-Id, OctetString, code 4202, section 5.3.3 */
1651 {
1652 struct dict_avp_data data = {
1653 4202, /* Code */
1654 10415, /* Vendor */
1655 "Reference-Id", /* Name */
1656 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
1657 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
1658 AVP_TYPE_OCTETSTRING /* base type of data */
1659 };
1660 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
1661 };
1662
1663 /* Transfer-Request-Type, Unsigned32, code 4203, section 5.3.4 */
1664 {
1665 struct dict_avp_data data = {
1666 4203, /* Code */
1667 10415, /* Vendor */
1668 "Transfer-Request-Type", /* Name */
1669 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
1670 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
1671 AVP_TYPE_UNSIGNED32 /* base type of data */
1672 };
1673 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
1674 };
1675
1676 /* Time-Window, Grouped, code 4204, section 5.3.5 */
1677 {
1678 struct dict_avp_data data = {
1679 4204, /* Code */
1680 10415, /* Vendor */
1681 "Time-Window", /* Name */
1682 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
1683 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
1684 AVP_TYPE_GROUPED /* base type of data */
1685 };
1686 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
1687 };
1688
1689 /* Transfer-End-Time, Time, code 4205, section 5.3.6 */
1690 {
1691 struct dict_avp_data data = {
1692 4205, /* Code */
1693 10415, /* Vendor */
1694 "Transfer-End-Time", /* Name */
1695 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
1696 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
1697 AVP_TYPE_OCTETSTRING /* base type of data */
1698 };
1699 CHECK_dict_new(DICT_AVP, &data, Time_type, NULL);
1700 };
1701
1702 /* Transfer-Policy, Grouped, code 4207, section 5.3.8 */
1703 {
1704 struct dict_avp_data data = {
1705 4207, /* Code */
1706 10415, /* Vendor */
1707 "Transfer-Policy", /* Name */
1708 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
1709 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
1710 AVP_TYPE_GROUPED /* base type of data */
1711 };
1712 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
1713 };
1714
1715 /* Transfer-Policy-Id, Unsigned32, code 4208, section 5.3.9 */
1716 {
1717 struct dict_avp_data data = {
1718 4208, /* Code */
1719 10415, /* Vendor */
1720 "Transfer-Policy-Id", /* Name */
1721 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
1722 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
1723 AVP_TYPE_UNSIGNED32 /* base type of data */
1724 };
1725 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
1726 };
1727
1728 /* Transfer-Start-Time, Time, code 4206, section 5.3.7 */
1729 {
1730 struct dict_avp_data data = {
1731 4206, /* Code */
1732 10415, /* Vendor */
1733 "Transfer-Start-Time", /* Name */
1734 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
1735 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
1736 AVP_TYPE_OCTETSTRING /* base type of data */
1737 };
1738 CHECK_dict_new(DICT_AVP, &data, Time_type, NULL);
1739 };
1740
1741 /*==================================================================*/
1742 /* 3GPP TS 29.154 Table A.6.3.1-1: Nta specific Diameter AVPs */
1743 /*==================================================================*/
1744
1745 /* Access-Network-Reports, Grouped, code 4210, section A.6.3.2 */
1746 {
1747 struct dict_avp_data data = {
1748 4210, /* Code */
1749 10415, /* Vendor */
1750 "Access-Network-Reports", /* Name */
1751 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
1752 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
1753 AVP_TYPE_GROUPED /* base type of data */
1754 };
1755 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
1756 };
1757
1758 /* Event-Configuration, Grouped, code 4211, section A.6.3.3 */
1759 {
1760 struct dict_avp_data data = {
1761 4211, /* Code */
1762 10415, /* Vendor */
1763 "Event-Configuration", /* Name */
1764 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
1765 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
1766 AVP_TYPE_GROUPED /* base type of data */
1767 };
1768 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
1769 };
1770
1771 /* Event-Configuration-State, Unsigned32, code 4212, section A.6.3.4 */
1772 {
1773 struct dict_avp_data data = {
1774 4212, /* Code */
1775 10415, /* Vendor */
1776 "Event-Configuration-State", /* Name */
1777 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
1778 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
1779 AVP_TYPE_UNSIGNED32 /* base type of data */
1780 };
1781 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
1782 };
1783
1784 /* Event-Configuration-Status, Grouped, code 4213, section A.6.3.5 */
1785 {
1786 struct dict_avp_data data = {
1787 4213, /* Code */
1788 10415, /* Vendor */
1789 "Event-Configuration-Status", /* Name */
1790 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
1791 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
1792 AVP_TYPE_GROUPED /* base type of data */
1793 };
1794 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
1795 };
1796
1797 /* Event-Reporting-Results, Unsigned32, code 4214, section A.6.3.6 */
1798 {
1799 struct dict_avp_data data = {
1800 4214, /* Code */
1801 10415, /* Vendor */
1802 "Event-Reporting-Results", /* Name */
1803 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
1804 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
1805 AVP_TYPE_UNSIGNED32 /* base type of data */
1806 };
1807 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
1808 };
1809
1810 /* Event-Reports, Grouped, code 4215, section A.6.3.7 */
1811 {
1812 struct dict_avp_data data = {
1813 4215, /* Code */
1814 10415, /* Vendor */
1815 "Event-Reports", /* Name */
1816 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
1817 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
1818 AVP_TYPE_GROUPED /* base type of data */
1819 };
1820 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
1821 };
1822
1823 /* Extended-SCEF-Reference-ID, Unsigned64, code 4216, section A.6.3.8 */
1824 {
1825 struct dict_avp_data data = {
1826 4216, /* Code */
1827 10415, /* Vendor */
1828 "Extended-SCEF-Reference-ID", /* Name */
1829 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
1830 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
1831 AVP_TYPE_UNSIGNED64 /* base type of data */
1832 };
1833 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
1610 }; 1834 };
1611 1835
1612 /*==================================================================*/ 1836 /*==================================================================*/
1613 /* 3GPP TS 29.172 V15.2.0 (2019-12) */ 1837 /* 3GPP TS 29.172 V15.2.0 (2019-12) */
1614 /* Location Services (LCS); */ 1838 /* Location Services (LCS); */
"Welcome to our mercurial repository"