You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
3.3 KiB
CMake

#
# Copyright 2013-2023 Software Radio Systems Limited
#
# This file is part of srsRAN
#
# srsRAN is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of
# the License, or (at your option) any later version.
#
# srsRAN is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# A copy of the GNU Affero General Public License can be found in
# the LICENSE file in the top-level directory of this distribution
# and at http://www.gnu.org/licenses/.
#
add_executable(s1ap_asn1_test s1ap_test.cc)
target_link_libraries(s1ap_asn1_test srsran_common srsran_asn1 s1ap_asn1 ${ATOMIC_LIBS})
add_test(s1ap_asn1_test s1ap_asn1_test)
add_executable(srsran_asn1_rrc_mcch_test srsran_asn1_rrc_mcch_test.cc)
target_link_libraries(srsran_asn1_rrc_mcch_test rrc_asn1 srsran_common)
add_test(srsran_asn1_rrc_mcch_test srsran_asn1_rrc_mcch_test)
add_executable(srsran_asn1_rrc_meas_test srsran_asn1_rrc_meas_test.cc)
target_link_libraries(srsran_asn1_rrc_meas_test rrc_asn1 rrc_nr_asn1 srsran_common)
add_test(srsran_asn1_rrc_meas_test srsran_asn1_rrc_meas_test)
M2 interface packing/unpacking (#305) * Starting to add M2AP serialization structures. * Added M2AP procedure ids. * Added some M2AP max values. * Removing m2ap.cc for now. * Adding cause IE. * Adding dummy m2ap.cc to check correct compilation of m2ap.h * Fixed compilation issues in m2ap.h * Adding Cell Information IE. * Added Criticality diagnostics IE. * Adding eNB-MBMS-ConfigurationDataItem. * Adding MBMS-Service-Area-Id-List * Added MBMS Service Area Id. * Added Global eNB Id IE. * Added Global MCE id IE. * Added MBMS-Service-associatedLogicalM2-ConnectionItem IE. * Added MBSFN_SUBFRAME_CONFIGURATION IE * Added MCCHrelatedBCCH-ConfigPerMBSFNArea IE. * Added MCH scheduling period IE. * Added PMCH-Configuration IE. * Added Time-to-Wait IE. * Added TNL-Information IE. * Starting to add M2SetupRequest msg. * Adding M2 Setup Request message. * Fixed up enums related to initiating messages, successful outcome and unscesseful outcome. * Starting to add m2ap apck/unpack PDU functions. * Started to add a test for M2 Setup Request Pack/Unpack. * Filling in M2SetupRequest structure. * Adding packing of more IEs in the M2SetupRequest. * Starting to add unpacking functions to M2SetupRequest. * Continuing to unpack M2SetupRequest. Unpacking PLMN Identity correctly now. * Fixed up enb_id unpacking. eNB Id and eNB name unpacking correctly now. * Starting to add unpacking for dataconfiguration item. * Adding support for eCGI unpacking. * Adding MBSFN Synchronization Area id Unpacking. * Adding service area unpacking. * Added unpacking functionality to the rest of the IEs in the M2 Setup Request. Unpacking the M2 Setup Request is passing unit test. * Fized mistake in packing eNB Id. Starting to add packing to eCGI. * Starting to pack value in ENB MBMS Configuration item. * Fixed packing of ENB MBMS configuration item header. * Packing of M2 Setup request is now passing the unit test. * Starting to add M2setup response. * Starting to add packing/unpacking succeful outcome. * Starting to add M2SetupResponse to test. * Continue to add testing to setup response. Choice type seems OK. * Starting to add unpacking to MCE Id. * Adding MCEname packing/unpacking. * Continue to unpack m2setupresponse. * Adding MBMS Area Id unpacking * Added pddch length unpacking. * Adding more IE unpacking. * Adding more code to unpack M2 Setup response. * Added M2 Setup response unpacking. * Added M2 response packing. Fixed mistake on eCGI packing/unpacking, which broke M2 Setup request. * M2 setup request and response pack and unpacking seems to work. * Starting to add MBMS Session Start Request. * Continue to unpack MBMS session start request. * Added TMGI unpacking. * Continue to add unpacking to MBMS session start request * Starting to add TNL Information unpacking * Added unpack for MBMS session start request. * Strating to add MBMS session start request packing. * Adding MCE MBMS M2AP Id packing. * Added MBMS Session Start Reqeust pack and unpack. * Added MBMS Session start response packing/unpacking. * Starting to add unpacking of MBMS Scheduling information. * Adding MCCH Update time Unpacking. * Adding MBSFN Area Configuration List Unpacking. * Starting to add unpack PMCH configuration Item. * Adding AllocatedSubframesEnd unpack * Fixed multiple mistakes in unpacking PMCH configuration. * Unpacking MCH Scheduling Period * Continue to unpack MBMS Session List Per PMCH Item. * Added unpacking of PMCH Configuration List. Starting to add unpacking of MBSFN Subframe Configuration List. * Adding radioframe allocation period and offset unpacking. * Added unpacking of MBMS Scheduling Information (needs testing.) * Added more testing to MBMS Scheduling Info. * Small commit. * Added more testing to the unpacking of MBMS Scheduling Information. Unpacking correctly now. * Continue to pack MBMS Scheduling information. Packing PMCH Configuration. * Fixed mistach in packing PMCH configuration list. * Adding more packing to MBMS scheduling info message. * Fixed more mistakes in MBMS Scheduling information packing. Passing tests now. * Added MBMS Scheduling Information Response. * Remove debug prints.
6 years ago
add_executable(srsran_asn1_rrc_ul_dcch_test srsran_asn1_rrc_ul_dcch_test.cc)
target_link_libraries(srsran_asn1_rrc_ul_dcch_test rrc_asn1 srsran_common)
add_test(srsran_asn1_rrc_ul_dcch_test srsran_asn1_rrc_ul_dcch_test)
add_executable(srsran_asn1_rrc_dl_ccch_test srsran_asn1_rrc_dl_ccch_test.cc)
target_link_libraries(srsran_asn1_rrc_dl_ccch_test rrc_asn1 srsran_common)
add_test(srsran_asn1_rrc_dl_ccch_test srsran_asn1_rrc_dl_ccch_test)
add_executable(srsran_asn1_rrc_dl_dcch_test srsran_asn1_rrc_dl_dcch_test.cc)
target_link_libraries(srsran_asn1_rrc_dl_dcch_test rrc_asn1 srsran_common)
add_test(srsran_asn1_rrc_dl_dcch_test srsran_asn1_rrc_dl_dcch_test)
add_executable(srsran_asn1_nas_test srsran_asn1_nas_test.cc)
target_link_libraries(srsran_asn1_nas_test srsran_common srsran_phy srsran_asn1)
add_test(srsran_asn1_nas_test srsran_asn1_nas_test)
add_executable(asn1_utils_test asn1_utils_test.cc)
target_link_libraries(asn1_utils_test asn1_utils srsran_common)
add_test(asn1_utils_test asn1_utils_test)
add_executable(rrc_asn1_test rrc_test.cc)
target_link_libraries(rrc_asn1_test rrc_asn1 asn1_utils srsran_common)
add_test(rrc_asn1_test rrc_asn1_test)
add_executable(srsran_asn1_rrc_nr_test srsran_asn1_rrc_nr_test.cc)
target_link_libraries(srsran_asn1_rrc_nr_test rrc_nr_asn1 asn1_utils srsran_common srsran_mac)
add_test(srsran_asn1_rrc_nr_test srsran_asn1_rrc_nr_test)
add_executable(ngap_asn1_test ngap_test.cc)
target_link_libraries(ngap_asn1_test ngap_nr_asn1 srsran_common)
add_test(ngap_asn1_test ngap_asn1_test)
add_executable(rrc_nr_utils_test rrc_nr_utils_test.cc)
target_link_libraries(rrc_nr_utils_test ngap_nr_asn1 srsran_common rrc_nr_asn1)
add_test(rrc_nr_utils_test rrc_nr_utils_test)
add_executable(rrc_asn1_decoder rrc_asn1_decoder.cc)
target_link_libraries(rrc_asn1_decoder rrc_asn1)
add_executable(nas_decoder nas_decoder.cc)
target_link_libraries(nas_decoder srsran_asn1)
add_executable(nas_5g_msg_test nas_5g_msg_test.cc)
target_link_libraries(nas_5g_msg_test nas_5g_msg)