Navigation



Ignore:
Timestamp:
Mar 27, 2020, 7:55:33 AM (4 years ago)
Author:
Luke Mewburn <luke@mewburn.net>
Branch:
default
Phase:
public
Message:

dict_dcca_3gpp: change External-Identifier code

3GPP TS 29.061 table 9a does not define
External-Identifier (28) for Diameter.
3GPP TS 29.061 table 9b refers to 3GPP TS 29.336
for External-Identifier (3111).

External-Identifier (28) OctetString? replaced by
External-Identifier (3111) UTF8String,
from 3GPP TS 29.336 Table 6.4.1/1 and clause 6.4.11.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/dict_dcca_3gpp/dict_dcca_3gpp.c

    r1483 r1484  
    7373 * it is Mandatory or not. The data currently in the document does not
    7474 * match what was in the previous version of the freeDiameter
    75  * extension (the one that existedbefore I rewrote it) or what I saw
     75 * extension (the one that existed before I rewrote it) or what I saw
    7676 * so far. IIRC, even the table and the document contradict each
    77  * other. The AVP table is also missing an entry for
    78  * "External-Identifier", 28.
     77 * other.
    7978 *
    8079 * 2. 29.140 has conflicting AVP names with other documents:
     
    738737        };
    739738
    740         /* added manually, missing in AVP table                             */
    741         /* External-Identifier, OctetString, code 28, section 16.4.7        */
    742         {
    743                 struct dict_avp_data data = {
    744                         28,     /* Code */
    745                         10415,  /* Vendor */
    746                         "External-Identifier",  /* Name */
    747                         AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY,    /* Fixed flags */
    748                         AVP_FLAG_VENDOR,        /* Fixed flag values */
    749                         AVP_TYPE_OCTETSTRING    /* base type of data */
    750                 };
    751                 CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
    752         };
     739        /* Note: 3GPP TS 29.061 table 9a does not define                    */
     740        /* External-Identifier (28) for Diameter.                           */
     741        /* 3GPP TS 29.061 table 9b refers to 3GPP TS 29.336                 */
     742        /* for External-Identifier (3111).                                  */
     743        /*                                                                  */
     744        /* External-Identifier (28) OctetString replaced by                 */
     745        /* External-Identifier (3111) UTF8String.                           */
    753746
    754747        /* TMGI, OctetString, code 900, section 17.07.02                    */
     
    87698762                };
    87708763                CHECK_dict_new(DICT_AVP, &data, NULL, NULL);
     8764        };
     8765
     8766        /*==================================================================*/
     8767        /* 3GPP TS 29.336 V15.7.0 (2019-09)                                 */
     8768        /* From 3GPP 29336-f70.docx                                         */
     8769        /*==================================================================*/
     8770
     8771        /*==================================================================*/
     8772        /* 3GPP TS 29.336 Table 6.4.1/1: S6m/S6n specific Diameter AVPs     */
     8773        /*                                                                  */
     8774        /* Note: This is incomplete.                                        */
     8775        /*==================================================================*/
     8776
     8777        /* External-Identifier, UTF8String, code 3111, section 6.4.11       */
     8778        {
     8779                struct dict_avp_data data = {
     8780                        3111,   /* Code */
     8781                        10415,  /* Vendor */
     8782                        "External-Identifier",  /* Name */
     8783                        AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY,    /* Fixed flags */
     8784                        AVP_FLAG_VENDOR |AVP_FLAG_MANDATORY,    /* Fixed flag values */
     8785                        AVP_TYPE_OCTETSTRING    /* base type of data */
     8786                };
     8787                CHECK_dict_new(DICT_AVP, &data, UTF8String_type, NULL);
    87718788        };
    87728789
Note: See TracChangeset for help on using the changeset viewer.