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
Andre Puschmann
bdd97ca25f
pdsch_enodeb: remove check in while-loop
...
this check is always true since the false case is caught
before and the application is closed()
2020-05-11 14:49:56 +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
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
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
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
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
Francisco Paisana
04e192eb0f
redesign fsm to use transition table
2020-05-05 19:42:34 +01: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