Commit Graph

1731 Commits

Author SHA1 Message Date
Andre Puschmann ca3b76df6e chest_sl: fix some possible array access at negative index 2020-05-08 14:15:10 +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 d64fa19321 ue_dl_nbiot: check sf_idx before accessing buffer
this fixes a potential out-of-bounds access
2020-05-07 19:53:10 +02:00
Andre Puschmann ba4c2f10f0 fix potential out-of-bounds access in static look-up-tables
check index before accessing lut
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 340ec61e8e Code review. 2020-05-07 18:53:40 +02:00
faluco e28d9bb473 Fix for 1492950. 2020-05-07 18:53:40 +02:00
faluco 6fdceadc4e Fix for 1480100. 2020-05-07 18:53:40 +02:00
faluco 7bec101831 Small refactor to eliminate a function that causes undefined behaviour. 2020-05-07 18:52:01 +02:00
Andre Puschmann a0665b721e prach: fix illegal mem access when wrong configs are passed
this fixes Coverity issue 1480095
2020-05-07 13:25:02 +02:00
Xavier Arteaga 282cda7155 Fix Radio segfault 2020-05-07 13:09:46 +02:00
Xavier Arteaga f69aad3aac Clean up channel class 2020-05-07 13:09:46 +02:00
faluco d9529a3a8f Fix for 1480071. 2020-05-07 10:12:29 +02:00
faluco 0ba9164ae2 Fix for 1480055. 2020-05-07 10:12:29 +02:00
Andre Puschmann 8185b7c793 ue_dl: fix potential out-of-bounds access when decoding DCIs
fixes Coverity issue 1480088 where srslte_ue_dl_find_dl_dci() expects
an array of struct srslte_dci_dl_t but is only given one element.

srslte_ue_dl_find_and_decode() itself only uses the first decoded
message but find_dl_dci() may still decode more than that
2020-05-07 10:11:21 +02:00
faluco 9efa24bfa9 More warning fixes. 2020-05-07 10:10:24 +02:00
faluco d3cb5dcffd Start fixing clang 10.0.0 warnings.
Disable -Werror temporarily.
2020-05-07 10:10:24 +02:00
faluco 74dae2c287 - Small refactor to make math operations without implicit casts. 2020-05-07 10:10:24 +02:00
faluco d7433a551b Initialize TDD matrix with shorter symbols using macros. While there move another matrix next to where it is used. 2020-05-07 10:10:24 +02:00
faluco 7ff251f112 - Fixed warnings caught by Clang 9.0.0 2020-05-07 10:10:24 +02:00
Andre Puschmann 49a375ce1a arch_select: fix compilation for clang 3
In clang 3's C headers, the bit_SSE4_2 and bit_AVX2 macros
aren't defined/supported. So we can only use them if
they exist.
2020-05-05 19:04:14 +01:00
Francisco Paisana fbd889ad4d fix formatting issues in asn1 2020-05-05 18:33:52 +01:00
Francisco Paisana e79fc9bf08 fixed generation of ie containers of one single ie object 2020-05-05 13:10:41 +01:00
Andre Puschmann f5d55847c2 nbiot: add r14 parameter to NPDSCH eNB and file test and make it the default
also add skip SIB2 option to UE example
2020-05-04 17:52:21 +02:00
Andre Puschmann 92fb6a94f4 npdsch: use r14 bcch sequence when encoding SIB 2020-05-04 17:52:21 +02:00
Andre Puschmann 2c6a95c1d5 nbiot_sync: fix potential segfault during sync when time gap is too big 2020-05-04 17:52:21 +02:00
yagoda 3f99e40159 -changing rlc so that mrb is never removed when going to idle
-adding metric counting to eMBMS MAC so that the count is not lost during eMBMS subframes
2020-05-04 17:50:57 +02:00
Xavier Arteaga d94078d543 Minor changes
Fix UE sequence generation

minor change
2020-05-01 21:07:33 +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
Andre Puschmann cd26f6988c temporarily disbale rf_zmq_test test due to hanging on exit on some platforms 2020-04-30 09:48:12 +02:00
Andre Puschmann 6a764ae87c psbch: change memcpy() to srs_vec alternative 2020-04-29 15:31:29 +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 928439b94c DL Wiener: optimized with inlining 2020-04-28 17:26:01 +02: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 9b9389ead5 DL Wiener: bug fixed and verified 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 6248ab43e3 Minor optimization in SIMD dot product kernel 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 1f6d5fd23a small fixed to limiting prach search 2020-04-28 14:40:20 +02:00
yagoda faf1cf6975 limiting prach search space to number of prachs set in sib2 2020-04-28 14:40:20 +02:00