comparison extensions/dict_dcca_3gpp/add_avps.c @ 1505:b382cbd1a710

Add 3GPP TS 29.217 V15.1.0 (2019-09) Add AVPs: - Aggregated-Congestion-Info, Grouped, code 4000, section 5.3.2 - Aggregated-RUCI-Report, Grouped, code 4001, section 5.3.3 - Congestion-Level-Definition, Grouped, code 4002, section 5.3.4 - Congestion-Level-Range, Unsigned32, code 4003, section 5.3.5 - Congestion-Level-Set-Id, Unsigned32, code 4004, section 5.3.6 - Congestion-Level-Value, Unsigned32, code 4005, section 5.3.7 - Congestion-Location-Id, Grouped, code 4006, section 5.3.8 - Conditional-Restriction, Unsigned32, code 4007, section 5.3.9 - eNodeB-Id, OctetString, code 4008, section 5.3.10 - IMSI-List, OctetString, code 4009, section 5.3.11 - RCAF-Id, DiameterIdentity, code 4010, section 5.3.12 - Reporting-Restriction, Unsigned32, code 4011, section 5.3.13 - RUCI-Action, Unsigned32, code 4012, section 5.3.14 - Extended-eNodeB-Id, OctetString, code 4013, section 5.3.15
author Luke Mewburn <luke@mewburn.net>
date Fri, 03 Apr 2020 17:01:16 +1100
parents 4dff34cd2d3d
children f5b1c2e2827f
comparison
equal deleted inserted replaced
1504:4dff34cd2d3d 1505:b382cbd1a710
6116 }; 6116 };
6117 CHECK_dict_new(DICT_AVP, &data, NULL, NULL); 6117 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
6118 }; 6118 };
6119 6119
6120 /*==================================================================*/ 6120 /*==================================================================*/
6121 /* 3GPP TS 29.217 V15.1.0 (2019-09) */
6122 /* Policy and Charging Control (PCC); */
6123 /* Congestion reporting over Np reference point */
6124 /* */
6125 /* From 3GPP 29217-f10.doc */
6126 /*==================================================================*/
6127
6128 /*==================================================================*/
6129 /* 3GPP TS 29.217 Table 5.3.1.1: Np specific Diameter AVPs */
6130 /*==================================================================*/
6131
6132 /* Aggregated-Congestion-Info, Grouped, code 4000, section 5.3.2 */
6133 {
6134 struct dict_avp_data data = {
6135 4000, /* Code */
6136 10415, /* Vendor */
6137 "Aggregated-Congestion-Info", /* Name */
6138 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
6139 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
6140 AVP_TYPE_GROUPED /* base type of data */
6141 };
6142 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
6143 };
6144
6145 /* Aggregated-RUCI-Report, Grouped, code 4001, section 5.3.3 */
6146 {
6147 struct dict_avp_data data = {
6148 4001, /* Code */
6149 10415, /* Vendor */
6150 "Aggregated-RUCI-Report", /* Name */
6151 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
6152 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
6153 AVP_TYPE_GROUPED /* base type of data */
6154 };
6155 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
6156 };
6157
6158 /* Congestion-Level-Definition, Grouped, code 4002, section 5.3.4 */
6159 {
6160 struct dict_avp_data data = {
6161 4002, /* Code */
6162 10415, /* Vendor */
6163 "Congestion-Level-Definition", /* Name */
6164 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
6165 AVP_FLAG_VENDOR, /* Fixed flag values */
6166 AVP_TYPE_GROUPED /* base type of data */
6167 };
6168 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
6169 };
6170
6171 /* Congestion-Level-Range, Unsigned32, code 4003, section 5.3.5 */
6172 {
6173 struct dict_avp_data data = {
6174 4003, /* Code */
6175 10415, /* Vendor */
6176 "Congestion-Level-Range", /* Name */
6177 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
6178 AVP_FLAG_VENDOR, /* Fixed flag values */
6179 AVP_TYPE_UNSIGNED32 /* base type of data */
6180 };
6181 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
6182 };
6183
6184 /* Congestion-Level-Set-Id, Unsigned32, code 4004, section 5.3.6 */
6185 {
6186 struct dict_avp_data data = {
6187 4004, /* Code */
6188 10415, /* Vendor */
6189 "Congestion-Level-Set-Id", /* Name */
6190 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
6191 AVP_FLAG_VENDOR, /* Fixed flag values */
6192 AVP_TYPE_UNSIGNED32 /* base type of data */
6193 };
6194 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
6195 };
6196
6197 /* Congestion-Level-Value, Unsigned32, code 4005, section 5.3.7 */
6198 {
6199 struct dict_avp_data data = {
6200 4005, /* Code */
6201 10415, /* Vendor */
6202 "Congestion-Level-Value", /* Name */
6203 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
6204 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
6205 AVP_TYPE_UNSIGNED32 /* base type of data */
6206 };
6207 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
6208 };
6209
6210 /* Congestion-Location-Id, Grouped, code 4006, section 5.3.8 */
6211 {
6212 struct dict_avp_data data = {
6213 4006, /* Code */
6214 10415, /* Vendor */
6215 "Congestion-Location-Id", /* Name */
6216 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
6217 AVP_FLAG_VENDOR, /* Fixed flag values */
6218 AVP_TYPE_GROUPED /* base type of data */
6219 };
6220 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
6221 };
6222
6223 /* Conditional-Restriction, Unsigned32, code 4007, section 5.3.9 */
6224 {
6225 struct dict_avp_data data = {
6226 4007, /* Code */
6227 10415, /* Vendor */
6228 "Conditional-Restriction", /* Name */
6229 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
6230 AVP_FLAG_VENDOR, /* Fixed flag values */
6231 AVP_TYPE_UNSIGNED32 /* base type of data */
6232 };
6233 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
6234 };
6235
6236 /* eNodeB-Id, OctetString, code 4008, section 5.3.10 */
6237 {
6238 struct dict_avp_data data = {
6239 4008, /* Code */
6240 10415, /* Vendor */
6241 "eNodeB-Id", /* Name */
6242 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
6243 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
6244 AVP_TYPE_OCTETSTRING /* base type of data */
6245 };
6246 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
6247 };
6248
6249 /* IMSI-List, OctetString, code 4009, section 5.3.11 */
6250 {
6251 struct dict_avp_data data = {
6252 4009, /* Code */
6253 10415, /* Vendor */
6254 "IMSI-List", /* Name */
6255 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
6256 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
6257 AVP_TYPE_OCTETSTRING /* base type of data */
6258 };
6259 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
6260 };
6261
6262 /* RCAF-Id, DiameterIdentity, code 4010, section 5.3.12 */
6263 {
6264 struct dict_avp_data data = {
6265 4010, /* Code */
6266 10415, /* Vendor */
6267 "RCAF-Id", /* Name */
6268 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
6269 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flag values */
6270 AVP_TYPE_OCTETSTRING /* base type of data */
6271 };
6272 CHECK_dict_new(DICT_AVP, &data, DiameterIdentity_type, NULL);
6273 };
6274
6275 /* Reporting-Restriction, Unsigned32, code 4011, section 5.3.13 */
6276 {
6277 struct dict_avp_data data = {
6278 4011, /* Code */
6279 10415, /* Vendor */
6280 "Reporting-Restriction", /* Name */
6281 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
6282 AVP_FLAG_VENDOR, /* Fixed flag values */
6283 AVP_TYPE_UNSIGNED32 /* base type of data */
6284 };
6285 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
6286 };
6287
6288 /* RUCI-Action, Unsigned32, code 4012, section 5.3.14 */
6289 {
6290 struct dict_avp_data data = {
6291 4012, /* Code */
6292 10415, /* Vendor */
6293 "RUCI-Action", /* Name */
6294 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
6295 AVP_FLAG_VENDOR, /* Fixed flag values */
6296 AVP_TYPE_UNSIGNED32 /* base type of data */
6297 };
6298 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
6299 };
6300
6301 /* Extended-eNodeB-Id, OctetString, code 4013, section 5.3.15 */
6302 {
6303 struct dict_avp_data data = {
6304 4013, /* Code */
6305 10415, /* Vendor */
6306 "Extended-eNodeB-Id", /* Name */
6307 AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY, /* Fixed flags */
6308 AVP_FLAG_VENDOR, /* Fixed flag values */
6309 AVP_TYPE_OCTETSTRING /* base type of data */
6310 };
6311 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
6312 };
6313
6314 /*==================================================================*/
6121 /* 3GPP TS 29.229 V15.2.0 (2019-09) */ 6315 /* 3GPP TS 29.229 V15.2.0 (2019-09) */
6122 /* Cx and Dx interfaces based on the Diameter protocol; */ 6316 /* Cx and Dx interfaces based on the Diameter protocol; */
6123 /* Protocol details */ 6317 /* Protocol details */
6124 /* */ 6318 /* */
6125 /* From 3GPP 29229-f20.doc */ 6319 /* From 3GPP 29229-f20.doc */
"Welcome to our mercurial repository"