• Bi-Ruei, Chiu's avatar
    Add support of extension group inside CHOICE type · 3d76a039
    Bi-Ruei, Chiu authored
    In LTE-RRC 36.331 15.3.0, there is :
    
        RLC-Config-NB-r13 ::= CHOICE {
            am    SEQUENCE {
                ul-AM-RLC-r13                UL-AM-RLC-NB-r13,
                dl-AM-RLC-r13                DL-AM-RLC-NB-r13
            },
            ...,
            [[  um-Bi-Directional-r15        NULL,
                um-Uni-Directional-UL-r15    NULL,
                um-Uni-Directional-DL-r15    NULL
            ]]
        }
    
    that asn1c can not handle `[[` ... `]]` inside CHOICE type.
    
    1. Modify asn1p_y.y and asn1p_y.c to mimic the approach for handling extension
       group inside SEQUENCE type.
    
    2. Modify asn1c_C.c to use 'ext1', 'ext2' ... as extension groups names.
    3d76a039
asn1c_C.c 95.9 KB