Andre Puschmann
c892ae56be
rrc_cell_cfg: fix potential div by zero
...
similar fix has been applied for SR resources
2020-05-09 14:01:34 +02:00
Andre Puschmann
12ffce3597
gh_actions: enable gcc and clang builds, disable parallel ctest for x86
...
parallel tests have caused weird problems on x86 with
"illegal instructions" during execution, seems
to work fine on arm instances though
2020-05-09 12:28:45 +02:00
Fabian Eckermann
447b989aad
fix parsing of zmq arguments
...
Use the return value of parse_string function to determine whether a parameter was found.
I experienced issues when the rx_type was set, but the rx_format was not. This led to "Unsupported sample format pub" as the tmp variable is still set to the value of the rx_type.
2020-05-09 12:23:07 +02:00
Ismael Gomez
847366bcdb
Don't set high master clock rate for 75 PRB
2020-05-08 22:10:28 +02:00
faluco
3fa5926cd5
Fix SIMD neg operation which was inverted.
...
Re-enable -Werror.
2020-05-08 21:17:05 +02:00
faluco
4fb290ea27
Remove ifdefs now that this SIMD op is supported.
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
Andre Puschmann
39fe760d2b
add 20.04.1 changelog and bump version
2020-05-08 21:12:22 +02:00
Andre Puschmann
53ab53ee77
ue_sync: fix tracking in GNSS_SYNC mode
...
this fixes the subframe-accurate rx in tracking mode.
previously we've only alligned to the next subframe start in find and
when there was a single overflow we've lost the track.
this patch calculates the offset in samples to the actual start of the
subframe (full ms of the receive timestamp) vs. the actual
receive timestamp and uses the value as the "next_rf_sample_offset"
to realign on the next receive
2020-05-08 14:33:12 +02:00
Andre Puschmann
14143f8560
pssch_ue: fix memory leaks and operation with RF
...
- add missing free's for ofdm and chest objects
- fix sf_idx setting
- add getchar() when plotting from file to observe output
2020-05-08 14:33:12 +02:00
Andre Puschmann
248e2b5f7e
rrc: fix potential division by zero
2020-05-08 14:15:10 +02:00
Andre Puschmann
ca3b76df6e
chest_sl: fix some possible array access at negative index
2020-05-08 14:15:10 +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
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
52799192ab
pssch_ue: fix uninit var
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
d80bce79e0
Fix for 1489462.
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
b11ffaee7e
SRSENB: fix channel emulator for multiple channels
2020-05-07 13:09:46 +02:00
Xavier Arteaga
f69aad3aac
Clean up channel class
2020-05-07 13:09:46 +02:00
faluco
080ef5ae9a
Fix for 1480090.
2020-05-07 10:12:29 +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
faluco
eb69321649
Fix for issue 1476278.
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
2deeccb416
Re-enable -Werror.
2020-05-07 10:10:24 +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
da4f9cde40
Enable -Werror by default except for older GCCs.
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
dacf265d20
Fix typo.
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
yagoda
210eae8e7e
fixing small rr.conf config error
2020-05-06 11:33:39 +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
e3d0b1c89e
format missing fsm table
2020-05-05 19:42:34 +01:00
Francisco Paisana
f4d19a6d44
added fsm table formmatting comments
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