Navigation


Changeset 1483:900d11ff9d17 in freeDiameter


Ignore:
Timestamp:
Mar 26, 2020, 1:52:18 PM (4 years ago)
Author:
Luke Mewburn <luke@mewburn.net>
Branch:
default
Phase:
public
Message:

Update to 3GPP2 X.S0057-0 v2.0

Define 3GPP2-BSID (vendor 5535, code 9010) in dict_dcca_3gpp.csv
per 3GPP2 X.S0057-0 v2.0.

Note: Type changed from OctetString? to UTF8String.
Note: Must Flag M set.

Generate AVP instead of hand-coding.

Location:
extensions/dict_dcca_3gpp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/dict_dcca_3gpp/dict_dcca_3gpp.c

    r1482 r1483  
    1478314783
    1478414784        /*==================================================================*/
    14785         /* End of generated data.                                           */
     14785        /* 3GPP2 X.S0057-0 v2.0                                             */
     14786        /* From 3GPP2 X.S0057-0_v2.0_091215.pdf                             */
    1478614787        /*==================================================================*/
    1478714788
    14788         /* 3GPP2-BSID */
     14789        /* Note: 3GPP2-BSID (9010) corrected from OctetString to UTF8String. */
     14790        /* 3GPP2-BSID, UTF8String, code 9010, section 5.6.2.1.1             */
    1478914791        {
    1479014792                struct dict_avp_data data = {
     
    1479314795                        "3GPP2-BSID",   /* Name */
    1479414796                        AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY,    /* Fixed flags */
    14795                         AVP_FLAG_VENDOR,        /* Fixed flag values */
    14796                         AVP_TYPE_OCTETSTRING    /* base type of data */ /* XXX: guessed */
    14797                 };
    14798                 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
    14799         };
    14800 
     14797                        AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY,    /* Fixed flag values */
     14798                        AVP_TYPE_OCTETSTRING    /* base type of data */
     14799                };
     14800                CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL);
     14801        };
     14802
     14803        /*==================================================================*/
     14804        /* End of generated data.                                           */
     14805        /*==================================================================*/
    1480114806
    1480214807        /*==================================================================*/
  • extensions/dict_dcca_3gpp/dict_dcca_3gpp.csv

    r1482 r1483  
    1 Attribute Name,AVP Code,Section defined,Value Type,Must,May,Should not,Must not,May Encrypt
     1Attribute Name,AVP Code,Section defined,Value Type,Must,May,Should not,Must not,extra rows
    22@vendor,10415,,,,,,,
    33,,,,,,,,
     
    12891289Total-Number-Of-Messages-Exploded,2113,8.4,Unsigned32,"M,V",,,,Y
    12901290Total-Number-Of-Messages-Sent,2114,8.4,Unsigned32,"M,V",,,,Y
     1291,,,,,,,,
     1292,,,,,,,,
     1293@vendor,5535,,,,,,,
     1294,,,,,,,,
     1295@standard,X.S0057-0,,,,,,,
     1296#=,,,,,,,,
     1297# 3GPP2 X.S0057-0 v2.0,,,,,,,,
     1298# From 3GPP2 X.S0057-0_v2.0_091215.pdf,,,,,,,,
     1299#=,,,,,,,,
     1300#,,,,,,,,
     1301# Note: 3GPP2-BSID (9010) corrected from OctetString to UTF8String.,,,,,,,,
     13023GPP2-BSID,9010,5.6.2.1.1,UTF8String,"M,V",P,,,No
Note: See TracChangeset for help on using the changeset viewer.