Commit Graph

5979 Commits

Author SHA1 Message Date
Ismael Gomez 60b5fb9a74 Refactor variable name 2020-06-10 21:30:39 +02:00
Ismael Gomez edb1fcc892 srsENB: Apply new PUCCH configuration when setting dedicated config 2020-06-10 21:30:39 +02:00
Andre Puschmann 6a71e83d70 run_lte: adding stricter checks for pass/fail
* enable all layer logs in info
* check that no component ever logs an error/warning
* check that all PHY UL and DL transmissions are always crc=OK
* check PHICH, PUCCH, cqi
2020-06-10 20:50:47 +02:00
Pedro Alvarez 396dc82b98 Swapped resume with reestablish in the UE. 2020-06-10 15:08:32 +01:00
Pedro Alvarez 9df40c3af0 Added debug GTPU print. 2020-06-10 15:08:32 +01:00
Pedro Alvarez 20c5ea7d17 Fix warning with GCC 10.1 with EEA/EIA prefrence list. 2020-06-10 15:08:32 +01:00
Xavier Arteaga 0e5704731e Removed UHD unrelated changes 2020-06-10 11:44:44 +02:00
Xavier Arteaga 258f7a180c Improved PRACH test USRP 2020-06-10 11:44:44 +02:00
Xavier Arteaga cd463d1b87 UHD: Initial C++ porting
UHD: cmakefix

x3
2020-06-10 11:44:44 +02:00
Andre Puschmann 8512c10286 create simple helper method to log command line arguments 2020-06-09 20:55:38 +02:00
Andre Puschmann db7478e9f0 enb: fix eNB shutdown if layers cant be initialized
this fixed #1392 which ocurrured because we were going on with the eNB
init even if the radio failed to initialize
2020-06-08 10:25:42 +02:00
Xavier Arteaga 039f2164a6 Initial Sounding Reference Signals implementation 2020-06-08 09:33:51 +02:00
Francisco Paisana 857c4de420 extended handover test to check for correct SR/CQI resource setup 2020-06-06 12:16:00 +01:00
Francisco Paisana 7ce23e0afb extend handover intraenb handover fsm to account for multiple C-RNTI CEs 2020-06-06 12:16:00 +01:00
Francisco Paisana 92c4b3f226 fix non-final sdap/mac/rlc dtor error 2020-06-05 15:10:11 +01:00
Francisco Paisana e4a91a207d remove unused variables 2020-06-05 15:10:11 +01:00
Francisco Paisana b843585abc add srsgnb stack class 2020-06-05 15:10:11 +01:00
Francisco Paisana f5174415f8 add srsenb::sdap class 2020-06-05 15:10:11 +01:00
Francisco Paisana b0717cd560 remove unecessary macros 2020-06-05 15:10:11 +01:00
Francisco Paisana cea2fe797d add rrc nr test 2020-06-05 15:10:11 +01:00
Francisco Paisana 613003ac53 add srsenb::rrc class 2020-06-05 15:10:11 +01:00
Francisco Paisana 0916e29de4 add srsenb::rlc_nr class 2020-06-05 15:10:11 +01:00
Francisco Paisana 9001117b2d add srsenb::pdcp_nr class 2020-06-05 15:10:11 +01:00
Xavier Arteaga 6398cd841d SRSENB: PHY reports MAC all UL grants 2020-06-05 10:47:34 +02:00
Xavier Arteaga fbce38dc27 SRSENB: PHY tries to remove always the RNTI in PHY-lib. No error messages prompted. 2020-06-03 19:19:33 +02:00
Ismael Gomez 84b84eaad6 Move search_in_common variable 2020-06-03 17:23:42 +02:00
Ismael Gomez 9b634b8d2a Search DCI in UE space before common to avoid DCI size ambiguity. Fixes #1398 2020-06-03 17:23:42 +02:00
Francisco Paisana 6908e0fab1 disabled all UL in the MAC during handover, including scheduling requests 2020-06-03 11:28:44 +01:00
Francisco Paisana 17cd3a02cb fix pcch error message 2020-06-02 22:42:53 +01:00
Francisco Paisana c6dde24476 avoid blocking when new procedure is launched from within proc::then call 2020-06-02 22:42:53 +01:00
Francisco Paisana 877dee2ba8 fix use of phy cell select procedure 2020-06-02 22:42:53 +01:00
Francisco Paisana 3d76cc6c1a fix dangling pointer in cell selection dispatching 2020-06-02 19:11:26 +01:00
Francisco Paisana 81848deae2 extended handover procedure to accommodate all the handover (phy cell select + ra) 2020-06-02 19:11:26 +01:00
Francisco Paisana 556fcb69e7 fix handover my defering to next tti the reestablishment of bearers 2020-06-02 19:11:26 +01:00
Francisco Paisana 71cac8f5b8 fix phy cell selection triggering 2020-06-02 19:11:26 +01:00
Francisco Paisana 37ce475398 fix+refactor of the ue rrc handover preparation procedure to avoid deadlocking 2020-06-02 19:11:26 +01:00
Pedro Alvarez 960c0e97cd Added handling of RRC re-establishment to srsENB.
* Added the appropriate code for handling and sending the
   re-establishment procedure messages to rrc_ue.c/.h.
 * Triggered RRC reconfiguration after the reception of RRC
   re-establishment complete
 * Refreshed K_eNB at the reception of re-establishment
   request
 * Changed the mapping of TEIDs to RNTIs in the GTP-U layer,
   as the RNTI might change with reestablishment.
2020-06-02 11:19:17 +01:00
Daniel Willmann 0e99e2f6eb srsue: Refactor definition to live in its own .cc file 2020-06-02 10:05:38 +02:00
Francisco Paisana 8f4f37e89b remove more unused rrc variables 2020-06-01 19:59:50 +01:00
Francisco Paisana 29fd147d41 remove unused rrc variables 2020-06-01 19:59:50 +01:00
Francisco Paisana b2aae8763b made mac_nr and rrc_nr final to avoid using virtual dtors 2020-06-01 19:59:50 +01:00
Francisco Paisana 76a3c0ed1c removed deadcode 2020-05-29 14:11:23 +01:00
Francisco Paisana 452c043370 created a global map of lcids to srbs/drbs for NR 2020-05-29 14:11:23 +01:00
Francisco Paisana 4cf756434f add srsue::rrc_nr srsue::ue_stack_nr 2020-05-29 14:11:23 +01:00
Francisco Paisana 6a164e032d added srsue::rrc_nr 2020-05-29 14:11:23 +01:00
chaolinyi bbe25a00d4 Update proc_ra.cc to bugfix RA-RNTI calculation
Bugfix the wrong ra_rnti calculation in ra_proc::state_pdcch_setup.
According to TS 36.321 Subsection 5.1.4 Random Access Response reception, we can see the formula on RA-RNTI, which is,
    RA-RNTI= 1 + t_id + 10*f_id,
where t_id is the index of the first subframe of the specified PRACH (0≤ t_id <10), and f_id is the index of the specified PRACH within that subframe, in ascending order of frequency domain (0≤ f_id< 6). Then, reading the srslte source code, we can see that, the code should bugfix. 
BTW, the wrong code can run normal for LTE_FDD, causing of the info_f_id = 0; but it should be wrong, when it is LTE_TDD.
2020-05-28 23:11:37 +02:00
Andre Puschmann 9fd327fcac soapy: use SoapySDRDevice_enumerateStrArgs to create Soapy args object
this allows to use Soapy device parameter when creating the device
2020-05-28 14:17:20 +02:00
Andre Puschmann ff508a2c6b npdsch_ue: add rf_dev param and make remove samp rate check
the remove of the samp rate check was needed on the PlutoSDR
because the result would not be the exact value that was
asked for
2020-05-28 14:17:20 +02:00
David Rupprecht 61b69a0dab security: refactor code, fix race in eia1
* state funktion for eia1 (mitigate race condition)
* Extra file for snow3g
* just use mbedtls aes
* ref specification
* adding const keyword to security functions
2020-05-28 14:02:14 +02:00
faluco 617cad58ab Fix identation of arrays. 2020-05-28 11:27:15 +02:00