Commit Graph

4801 Commits

Author SHA1 Message Date
Andre Puschmann cf1e742120 add a simple log_filter test to print a long hex message
the purpose of this is to show that the hex message is cut if the
lenght exceeds the size of the preallocated buffer
2019-12-14 22:37:08 +01:00
Xavier Arteaga 2ebaf39c5a ZMQ: transmit zeros if buffer is not provided 2019-12-13 16:40:46 +01:00
Andre Puschmann fa2821a4e7 fixing periodic measurment reporting
fixes various issues with unset timers, interval parameters, etc.
with those fixes, TC_8_3_1_1 and TC_8_3_1_2 pass
2019-12-13 13:25:24 +01:00
Francisco Paisana d59016ae68 use of srslte::log* type for ASN1 logging. Initialization of the asn1 and rrc_asn1 loggers done now in both the ue and enb 2019-12-12 15:45:24 +00:00
Ismael Gomez 9546f3ccc4 Make PDCP/RLC write_sdu() calls non-blocking by default 2019-12-12 16:32:23 +01:00
Andre Puschmann c379ef6cb1 fix uninit var 2019-12-12 16:29:04 +01:00
Andre Puschmann 94ca9bcf22 fix potential invalid array access 2019-12-12 16:29:04 +01:00
Andre Puschmann 9078b2baf1 rlc_am: add check to prevent out of bounds access 2019-12-12 16:29:04 +01:00
Andre Puschmann 45e0233fee add simple Github action for compilation and tests 2019-12-12 15:43:04 +01:00
Vasil Velichkov f3cdee4bb2 Compile without -Werror when compiling with clang
clang currently prints a lot of warnings that will be fixed in
subsequent commits
2019-12-12 15:34:29 +01:00
Aleksander Morgado 52ce1fbfd1 enb: fix list of logging layers in conf example
Added 'phy_lib' and 's1ap', removed 'nas'.

As per the srsenb help:
  $ srsenb --help | grep level | grep log
    --log.rf_level arg                    RF log level
    --log.phy_level arg                   PHY log level
    --log.phy_lib_level arg (=none)       PHY lib log level
    --log.mac_level arg                   MAC log level
    --log.rlc_level arg                   RLC log level
    --log.pdcp_level arg                  PDCP log level
    --log.rrc_level arg                   RRC log level
    --log.gtpu_level arg                  GTPU log level
    --log.s1ap_level arg                  S1AP log level
    --log.all_level arg (=info)           ALL log level
2019-12-12 15:31:25 +01:00
Ismael Gomez 44c23b1690 Fix bug in rrc_meas in ASN to_number() conversion, making the UE to generate Measurement reports every TTI 2019-12-12 13:04:50 +01:00
Xavier Arteaga 1fa5a19a55 SRSUE: SRSUE: fix timealigmenttimer 2019-12-12 12:05:51 +01:00
Xavier Arteaga bcde542111 SRSUE: fix typo 2019-12-12 12:04:36 +01:00
Xavier Arteaga b9492bbd73 SRSUE: Fix set intra-frequency cell during cell search 2019-12-12 12:04:36 +01:00
Xavier Arteaga 8ad69b0c4d SRSUE: Fixed minor RRC measurement 2019-12-12 12:04:36 +01:00
Xavier Arteaga db36fb08a2 SRSUE: fix intra-frequency measurement cell select 2019-12-12 12:04:36 +01:00
Xavier Arteaga 22e4d3c905 SRSUE: Camping SFN synchronism discards cell 2019-12-12 11:57:17 +01:00
Xavier Arteaga e89dde0f35 SRSUE: Check cell is valid 2019-12-12 11:57:17 +01:00
Xavier Arteaga 4be4f56333 SRSUE: Fix duplicates ACK 2019-12-12 11:55:58 +01:00
Francisco Paisana d270518d69 updated rrc to new srsasn1 version 2019-12-11 19:58:20 +00:00
Francisco Paisana 1212d403c6 added {} in if condition 2019-12-11 17:41:49 +00:00
Francisco Paisana 0894e6b2f1 updated dummy interfaces 2019-12-11 17:41:49 +00:00
Francisco Paisana 67411ecfa9 updated dummy interfaces 2019-12-11 17:41:49 +00:00
Francisco Paisana 6b4488d5c1 added sending of enb status transfer from SeNB 2019-12-11 17:41:49 +00:00
Francisco Paisana c7f11e5690 fixed issue with the liblte_s1ap transparent container packing 2019-12-11 17:41:49 +00:00
Andre Puschmann 7885b5b9ee add CMake flag to enable 5G-NR components 2019-12-11 17:50:11 +01:00
Andre Puschmann 8bec22ff11 fixed naming for ue_sync_nbiot 2019-12-10 16:53:44 +01:00
Andre Puschmann 447f71b8c9 fix compilation of zmq_remote_rx 2019-12-10 16:53:44 +01:00
Andre Puschmann 4dbbcaa668 add cell search and USRP capture examples for NB-IoT 2019-12-10 16:53:44 +01:00
Andre Puschmann e53910010e fix missing byte_buffer cleanup 2019-12-10 16:53:44 +01:00
Andre Puschmann 20409b4fc2 fix valgrind check caused by missing dft_exit 2019-12-10 16:53:44 +01:00
Xavier Arteaga 0ec49f00f7 SRSUE: Reset measurements during cell search in PHY 2019-12-09 11:53:22 +01:00
Francisco Paisana 39fcf25e0d added extra tests for handover. Did a some refactoring to move boilerplate out of the test mobility function 2019-12-06 11:49:01 +00:00
Francisco Paisana a18a7e307e moved all the parsing of the libconfig files to separate functions that can be called from individual tests. Created several stack layer dummy classes for testing. Extended the rrc_mobility test to check correctness of RRC HOPreparation struct 2019-12-06 10:21:41 +00:00
Francisco Paisana b792a3158c removed magic numbers for s1ap timers, and handled the error in the s1 ho cmd 2019-12-05 17:36:15 +00:00
Francisco Paisana 524c80a804 added handling of ho command 2019-12-05 17:36:15 +00:00
Xavier Arteaga a51d989e2e Fixed static analysis float/double conversion 2019-12-05 09:41:12 +01:00
Pedro Alvarez 41e911fd76 Replaced PRIu32 for %u in pdcp_nr_entity 2019-12-04 18:21:14 +01:00
Pedro Alvarez e1cdd51eba Clang-formated before pull request 2019-12-04 18:21:14 +01:00
Pedro Alvarez 61958af70b Timer removes itself from the map upon expiration 2019-12-04 18:21:14 +01:00
Pedro Alvarez 47a918d680 Split PDCP NR tests into multiple files 2019-12-04 18:21:14 +01:00
Pedro Alvarez c30eb2c166 Starting to add test for when the RLC notifies the PDCP of tx and disarms the discardTimer. 2019-12-04 18:21:14 +01:00
Pedro Alvarez 972d44be23 Remove printfs in test. PDCP seems to be notifing correctly the RLC when discard happens. 2019-12-04 18:21:14 +01:00
Pedro Alvarez 60feab3d7b Added map to keep discardTimers in PDCP NR entity. 2019-12-04 18:21:14 +01:00
Pedro Alvarez 8810f35498 Adding test of SDU discard timout to PDCP NR tests. 2019-12-04 18:21:14 +01:00
Pedro Alvarez ea0fb00b22 Added test for PDCP SDU discard. 2019-12-04 18:21:14 +01:00
Pedro Alvarez e68956bcf6 Adding discard timer timeout to PDCP config. 2019-12-04 18:21:14 +01:00
Pedro Alvarez a049ec6b82 Finished to add boiler plate code to support PDCP discard notifications to RLC. 2019-12-04 18:21:14 +01:00
Pedro Alvarez 2e7ddef038 Continue to add discard_sdu to RLC interfaces. 2019-12-04 18:21:14 +01:00