Use an un-official community collaboration version of asn1c
1. It's no need to modify LTE-RRC's ASN.1 file for enabling option group feature in generate_asn1. 2. It's no need to patch the C header files generated from LTE-RRC/S1AP/X2AP's ASN.1 in fix_asn1. 3. It's no need to pre-process S1AP/X2AP's ASN.1 for enabling information object class feature by asn1tostruct.py. This commit requires an un-official version of asn1c which are collaboration of asn1c community members and `build_helper` is modified in this commit accordingly : https://github.com/brchiu/asn1c/tree/velichkov_s1ap_plus_option_group This asn1c can also convert ASN.1 of 5G NR RRC (38.331, v15.1.0) and generate C files with -findirect-choice command line option without tweaking ASN.1 file. Examples for how to use this asn1c for S1AP are in S1AP files, e.g. s1ap_eNB_nas_procedures.c and s1ap_eNB_handler.c. There is an modified openair-cn (based on tag 0.5.0) with this new asn1c at : https://github.com/brchiu/openair-cn/tree/new-asn1c Basic S1AP interaction and data transfer operation between OAI eNB and this modified openair-cn has been tested. Note: Community version of asn1c is keeping evolved to provide better usage.
Showing
- cmake_targets/CMakeLists.txt 87 additions, 111 deletionscmake_targets/CMakeLists.txt
- cmake_targets/tools/build_helper 3 additions, 1 deletioncmake_targets/tools/build_helper
- openair2/COMMON/gtpv1_u_messages_types.h 1 addition, 1 deletionopenair2/COMMON/gtpv1_u_messages_types.h
- openair2/COMMON/platform_constants.h 1 addition, 1 deletionopenair2/COMMON/platform_constants.h
- openair2/COMMON/ral_messages_types.h 1 addition, 1 deletionopenair2/COMMON/ral_messages_types.h
- openair2/COMMON/s1ap_messages_def.h 1 addition, 1 deletionopenair2/COMMON/s1ap_messages_def.h
- openair2/LAYER2/RLC/rlc.h 1 addition, 1 deletionopenair2/LAYER2/RLC/rlc.h
- openair2/NETWORK_DRIVER/UE_IP/device.c 23 additions, 4 deletionsopenair2/NETWORK_DRIVER/UE_IP/device.c
- openair2/RRC/LTE/L2_interface.c 1 addition, 0 deletionsopenair2/RRC/LTE/L2_interface.c
- openair2/RRC/LTE/MESSAGES/asn1_msg.c 20 additions, 1 deletionopenair2/RRC/LTE/MESSAGES/asn1_msg.c
- openair2/RRC/LTE/MESSAGES/asn1_msg_NB_IoT.c 11 additions, 0 deletionsopenair2/RRC/LTE/MESSAGES/asn1_msg_NB_IoT.c
- openair2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-10.21.0.asn1 4978 additions, 0 deletions...r2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-10.21.0.asn1
- openair2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-11.18.0.asn1 5979 additions, 0 deletions...r2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-11.18.0.asn1
- openair2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-12.16.0.asn1 7775 additions, 0 deletions...r2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-12.16.0.asn1
- openair2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-13.9.1.asn1 11905 additions, 0 deletions...ir2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-13.9.1.asn1
- openair2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-14.4.0.asn1 14042 additions, 0 deletions...ir2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-14.4.0.asn1
- openair2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-14.6.2.asn1 14278 additions, 0 deletions...ir2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-14.6.2.asn1
- openair2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-15.1.0.asn1 14695 additions, 0 deletions...ir2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-15.1.0.asn1
- openair2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-8.21.0.asn1 2905 additions, 0 deletions...ir2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-8.21.0.asn1
- openair2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-9.18.0.asn1 3787 additions, 0 deletions...ir2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-9.18.0.asn1
Loading
Please register or sign in to comment