Commit Graph

1396 Commits

Author SHA1 Message Date
Andre Puschmann 8512c10286 create simple helper method to log command line arguments 2020-06-09 20:55:38 +02:00
Xavier Arteaga 039f2164a6 Initial Sounding Reference Signals implementation 2020-06-08 09:33:51 +02:00
Francisco Paisana 613003ac53 add srsenb::rrc class 2020-06-05 15:10:11 +01: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 c6dde24476 avoid blocking when new procedure is launched from within proc::then call 2020-06-02 22:42:53 +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 452c043370 created a global map of lcids to srbs/drbs for NR 2020-05-29 14:11:23 +01: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 cf5b321fb5 Replace magic numbers with macro constants.
Adjust comments to refer to these macros.
2020-05-28 11:27:15 +02:00
faluco 9484db8a90 Added header comments to srslte_sfidx_tdd_nof_X family of functions.
Fixed a comment referring to an older TS release.
Remove elses after returns.
2020-05-28 11:27:15 +02:00
faluco 8c59606d6f Add comment header to srslte_sfidx_tdd_type.
Remove else after return.
2020-05-28 11:27:15 +02:00
faluco 7354f49fe5 Added explanatory comments to TDD phy structs and enums. 2020-05-28 11:27:15 +02:00
Francisco Paisana 026628a84f use of reestablishment method to reset the RLC bearers during handover 2020-05-26 14:46:41 +01:00
Ismael Gomez 270c7ce9dc Separate PHY interface to add rnti and pregenerate sequences. Calculate the sequences on the reception of ConnectionSetup instead of PRACH 2020-05-25 13:12:19 +02:00
Francisco Paisana d7c7bb382a fix license year 2020-05-25 11:48:16 +01:00
Francisco Paisana 2da8c923b1 removed commented code and fixed interfaces 2020-05-25 11:48:16 +01:00
Francisco Paisana b4b5cd7cd6 added nr gnb and ue interfaces 2020-05-25 11:48:16 +01:00
Ismael Gomez a1f0f8de35
Add callback to RLC to indicate BSR for TX and reTX queues (used in ENB) (#1361) 2020-05-22 11:20:33 +02:00
Francisco Paisana 8e9da9d12e avoid creating unused static variable to avoid linking issues 2020-05-21 16:45:16 +01:00
Andre Puschmann 1eaa99530f rlc_am: tiny refactor of rlc_amd_pdu_header_t
mainly turning header into proper class and adding default init value
2020-05-21 10:33:55 +02:00
Andre Puschmann 8756d14660 enb_interface: add default initialize to zero 2020-05-21 10:32:31 +02:00
Francisco Paisana c87197dd4e fix deadlock in multiqueue reset method. 2020-05-20 11:04:16 +01:00
Xavier Arteaga 20db13abc7 SRSUE: fix condition number calculation 2020-05-19 22:31:56 +02:00
Xavier Arteaga 9d5c2d70df SRSENB: Fix PHY reconfiguration for HO
Minimal aesthetic change
2020-05-19 16:38:55 +02:00
Pedro Alvarez 6ce33c3812 Small compilation fixes for GCC 10.1 2020-05-18 18:08:45 +01:00
Francisco Paisana e8aff22e1b using new rrc obj id util methods in handover code 2020-05-14 20:51:16 +01:00
Francisco Paisana f43985b6cd small updates for testing handover and configuring the rrc 2020-05-13 21:02:53 +01:00
Francisco Paisana 598bad1f0e changed rrc ue cfg files names 2020-05-13 12:39:58 +01:00
Francisco Paisana d43448e8a1 created security cfg handling class for rrc ue and refactor bearer_list handling 2020-05-12 17:28:11 +01:00
Francisco Paisana ca0db7fffe created generic methods to apply toaddmodlist and removelists. 2020-05-12 14:17:57 +01:00
Francisco Paisana c65c081b51 created separate files to handle rrc bearers 2020-05-12 14:17:57 +01:00
Francisco Paisana 65abcd2903 use true_type to represent success 2020-05-11 16:08:20 +01:00
Francisco Paisana 791d84e639 created error_type and cleaned up expected 2020-05-11 16:08:20 +01:00
Francisco Paisana 9a7f48b6a5 fix gcc4.8 compilation issue 2020-05-11 16:08:20 +01:00
Francisco Paisana 975d004224 fix compilation error 2020-05-11 16:08:20 +01:00
Francisco Paisana 0f49cb7357 abort if bad access 2020-05-11 16:08:20 +01:00
Francisco Paisana a2b76a4a5f use references rather than pointers 2020-05-11 16:08:20 +01:00
Francisco Paisana a88bffa5d5 created expected type and respective test 2020-05-11 16:08:20 +01:00
faluco 3fa5926cd5 Fix SIMD neg operation which was inverted.
Re-enable -Werror.
2020-05-08 21:17:05 +02:00
faluco c39ea2f583 Adjust possible type mismatch. 2020-05-08 21:17:05 +02:00
Andre Puschmann 189685b6f5 demod_soft: fix clang warning in demod NEON code
Try to bring back compilation.
Disable temporarily Werror.

Re-enable two simd functions.
2020-05-08 21:17:05 +02:00
Andre Puschmann f67524707d neon: add srslte_simd_b_neg()
clang complained about an uinit var that is returned and it turned
out that we don't even implement that function in NEON.

I've found a nice MIT-licensed header that was easy to integrate.
2020-05-08 21:17:05 +02:00
Francisco Paisana cf9d31ea64 fix coverity warning for useless call 2020-05-08 14:14:25 +02:00
Andre Puschmann 28c98280d7 ue_dl_nbiot: convert macro to access SF contents into member var
also use srslte_vec_cf_cp() helper functions
2020-05-07 19:53:10 +02:00
Andre Puschmann 9648e47eb6 ue_cell_search_nbiot: fix potential out-of-bounds access
we've used a macro that can return -1 as access index
for an array. this has now been converted in a member
that is initialized and checked during init
2020-05-07 19:53:10 +02:00
Andre Puschmann 7aeddfd186 fix potential error where return value -1 is used for loop termination 2020-05-07 19:53:10 +02:00
faluco 7ff251f112 - Fixed warnings caught by Clang 9.0.0 2020-05-07 10:10:24 +02:00
Francisco Paisana 2204cab4c8 old gcc version cannot support the detected pattern. Removing it 2020-05-05 19:42:34 +01:00
Francisco Paisana 3ef8c67d67 enter/exit are now inside the state class. No need for friend classes anymore 2020-05-05 19:42:34 +01:00
Francisco Paisana 2641c6ef08 resolve template type derivation in clang 2020-05-05 19:42:34 +01:00
Francisco Paisana 9b48130ae1 use of transition table to support guards in fsms 2020-05-05 19:42:34 +01:00
Francisco Paisana 04e192eb0f redesign fsm to use transition table 2020-05-05 19:42:34 +01:00
Andre Puschmann 99c3975f83 remove CMake option to disable glibc header for IPv6
we've added this to allow building for older glibc
version that cause issues with redefining some structs.

this patch removes the flag and auto-detects it using the glibc version
2020-05-05 19:04:14 +01:00
Francisco Paisana e79fc9bf08 fixed generation of ie containers of one single ie object 2020-05-05 13:10:41 +01:00
Francisco Paisana e5533e4bcd gcc 4.8.5 does not have std::max_align_t 2020-05-04 14:59:25 +01:00
Ismael Gomez 8c82203c74 Removed unused pregenerate option 2020-05-01 21:05:00 +02:00
Xavier Arteaga 2d39c7261c renamed vector copy prefix from to 2020-04-30 13:43:17 +02:00
Andre Puschmann 9d529ba0d5 fix compilation on arm, add missing declaration and headers 2020-04-30 13:37:49 +02:00
Xavier Arteaga 2569a94deb Radio Tx handles more overlap/gap cases 2020-04-30 09:51:19 +02:00
Xavier Arteaga e15c49c5a5 Fix EVM hard-decision performance 2020-04-29 21:11:30 +02:00
Andre Puschmann 68a1868c33 npdsch_{ue,enodeb}: few more LGTM fixes 2020-04-29 18:56:46 +02:00
Francisco Paisana 615bd54fd5 fix uninit var 2020-04-29 11:17:00 +02:00
Francisco Paisana f8c6f55cac fix uninit var usages and signed bit manipulations 2020-04-29 11:17:00 +02:00
Francisco Paisana de4d58d8fe fix coverity scan issues in master 2020-04-29 11:17:00 +02:00
Ismael Gomez c0054140e9 Configure properly PUCCH CS mode for CA in ConnectionReconfiguration. Allocate n_pucch_cs resource and cqi/sr at rrc::ue constructor 2020-04-29 10:11:43 +01:00
Xavier Arteaga 9d0a3268e8 Added DL channel estimator algorithm options 2020-04-28 17:26:01 +02:00
Xavier Arteaga 355b2ed7e1 Wiener: fixed more issues 2020-04-28 17:26:01 +02:00
Xavier Arteaga 4b6691a630 DL Wiener: Fixed phy common header missing 2020-04-28 17:26:01 +02:00
Xavier Arteaga 3ab5f3a7e8 Initial wiener filter integradion in DL channel estimator 2020-04-28 17:26:01 +02:00
Xavier Arteaga 5199aaa94e DL Wiener: Fixed minor header issues, format and optimization 2020-04-28 17:26:01 +02:00
Xavier Arteaga f4eb61a37c Implementation DL channel estimator using wiener filter 2020-04-28 17:26:01 +02:00
Xavier Arteaga fff96d9aac Phy utils: Added initial matrix inverse 2020-04-28 17:26:01 +02:00
Xavier Arteaga 3f6eca1aea Initial Wiener channel estimator 2020-04-28 17:26:01 +02:00
Xavier Arteaga fe141dc002 Initial Wiener channel estimator 2020-04-28 17:26:01 +02:00
yagoda faf1cf6975 limiting prach search space to number of prachs set in sib2 2020-04-28 14:40:20 +02:00
Xavier Arteaga 0ad99a35f9 Minor changes 2020-04-28 09:07:46 +02:00
Francisco Paisana 38f848ecdf fix type name deducing for clang 2020-04-27 22:19:08 +01:00
Francisco Paisana af9ca9f9e5 remove unecessary moves 2020-04-27 22:19:08 +01:00
Francisco Paisana 12b2ea7dde remove warnings for base classes with no virtual dtors 2020-04-27 22:19:08 +01:00
Francisco Paisana b8e6ba02e4 remove warnings related to unused vars and fwd declarations with trivial dtors 2020-04-27 22:19:08 +01:00
Francisco Paisana df06443470 use c++ variadic template instead of variadic function 2020-04-27 22:19:08 +01:00
Francisco Paisana 3da8464a21 fix compilation issue with lack of override keyword and scoping in fsm 2020-04-27 22:19:08 +01:00
Francisco Paisana e1ac6d7cfe use macro to disable throw 2020-04-27 22:19:08 +01:00
Xavier Arteaga d7e7399e7b srsENB: PHY configuration in two stages 2020-04-27 21:03:44 +02:00
Xavier Arteaga b9583d4182 Fix Extended CSI request bits in DCI 2020-04-27 21:03:44 +02:00
Andre Puschmann d6e0153b40 sci: add SCI format 1 transmission format flag 2020-04-27 21:01:46 +02:00
Andre Puschmann 80b303dbde sl: set correct SL-SCH max TB size 2020-04-27 21:01:46 +02:00
luis_pereira87 baf0ad5bf4 PSSCH implementation 2020-04-27 21:01:46 +02:00
yagoda 8e0b106c22 fixing some warnings from LGTM 2020-04-27 20:59:40 +02:00
Andre Puschmann 5d92111586 pcap: adding SL-SCH support 2020-04-27 15:54:54 +02:00
Andre Puschmann a82b2da2dd dft_precoding: add helper to get largest valid PRB 2020-04-27 15:54:54 +02:00
Francisco Paisana b506e29b72 removed common ce_typeenum 2020-04-24 11:55:53 +01:00
Francisco Paisana 372126deac created ul-sch and mch lcid types 2020-04-24 11:55:53 +01:00
Francisco Paisana 367a190829 created dl-sch lcid type 2020-04-24 11:55:53 +01:00
Xavier Arteaga 58803d1b3e Added UL EARFCN map and UE PHY interface cleanup 2020-04-23 09:00:45 +02:00
Xavier Arteaga 7291a5db91 Implement on the fly sequence generation 2020-04-23 09:00:15 +02:00
Xavier Arteaga 89dcd6339f More LGTM fixes 2020-04-22 18:01:43 +02:00
Xavier Arteaga 60c4daccab Removed redundant code 2020-04-22 18:01:43 +02:00