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
5 years ago
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
5 years ago
Andre Puschmann
248e2b5f7e
rrc: fix potential division by zero
5 years ago
Andre Puschmann
ca3b76df6e
chest_sl: fix some possible array access at negative index
5 years ago
Francisco Paisana
cf9d31ea64
fix coverity warning for useless call
5 years ago
Andre Puschmann
28c98280d7
ue_dl_nbiot: convert macro to access SF contents into member var
...
also use srslte_vec_cf_cp() helper functions
5 years ago
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
5 years ago
Andre Puschmann
d64fa19321
ue_dl_nbiot: check sf_idx before accessing buffer
...
this fixes a potential out-of-bounds access
5 years ago
Andre Puschmann
ba4c2f10f0
fix potential out-of-bounds access in static look-up-tables
...
check index before accessing lut
5 years ago
Andre Puschmann
52799192ab
pssch_ue: fix uninit var
5 years ago
Andre Puschmann
7aeddfd186
fix potential error where return value -1 is used for loop termination
5 years ago
faluco
340ec61e8e
Code review.
5 years ago
faluco
e28d9bb473
Fix for 1492950.
5 years ago
faluco
d80bce79e0
Fix for 1489462.
5 years ago
faluco
6fdceadc4e
Fix for 1480100.
5 years ago
faluco
7bec101831
Small refactor to eliminate a function that causes undefined behaviour.
5 years ago
Andre Puschmann
a0665b721e
prach: fix illegal mem access when wrong configs are passed
...
this fixes Coverity issue 1480095
5 years ago
Xavier Arteaga
282cda7155
Fix Radio segfault
5 years ago
Xavier Arteaga
b11ffaee7e
SRSENB: fix channel emulator for multiple channels
5 years ago
Xavier Arteaga
f69aad3aac
Clean up channel class
5 years ago
faluco
080ef5ae9a
Fix for 1480090.
5 years ago
faluco
d9529a3a8f
Fix for 1480071.
5 years ago
faluco
0ba9164ae2
Fix for 1480055.
5 years ago
faluco
eb69321649
Fix for issue 1476278.
5 years ago
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
5 years ago
faluco
2deeccb416
Re-enable -Werror.
5 years ago
faluco
9efa24bfa9
More warning fixes.
5 years ago
faluco
d3cb5dcffd
Start fixing clang 10.0.0 warnings.
...
Disable -Werror temporarily.
5 years ago
faluco
74dae2c287
- Small refactor to make math operations without implicit casts.
5 years ago
faluco
da4f9cde40
Enable -Werror by default except for older GCCs.
5 years ago
faluco
d7433a551b
Initialize TDD matrix with shorter symbols using macros. While there move another matrix next to where it is used.
5 years ago
faluco
dacf265d20
Fix typo.
5 years ago
faluco
7ff251f112
- Fixed warnings caught by Clang 9.0.0
5 years ago
yagoda
210eae8e7e
fixing small rr.conf config error
5 years ago
Francisco Paisana
2204cab4c8
old gcc version cannot support the detected pattern. Removing it
5 years ago
Francisco Paisana
e3d0b1c89e
format missing fsm table
5 years ago
Francisco Paisana
f4d19a6d44
added fsm table formmatting comments
5 years ago
Francisco Paisana
3ef8c67d67
enter/exit are now inside the state class. No need for friend classes anymore
5 years ago
Francisco Paisana
2641c6ef08
resolve template type derivation in clang
5 years ago
Francisco Paisana
9b48130ae1
use of transition table to support guards in fsms
5 years ago
Francisco Paisana
04e192eb0f
redesign fsm to use transition table
5 years ago
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.
5 years ago
Andre Puschmann
2bda8368c1
fix typo in FindSoapy CMake script
5 years ago
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
5 years ago
Francisco Paisana
fbd889ad4d
fix formatting issues in asn1
5 years ago
Francisco Paisana
aab989022d
avoid forward declarations
5 years ago
Francisco Paisana
08e1f01c72
allocation of the sr/cqi/pucch_cs resources takes place at a frequency basis now
5 years ago
Francisco Paisana
ee994468f7
separate sr and pucch_cs allocation from rrc class
5 years ago
Francisco Paisana
b16c7c1cfa
created separate cqi res allocation types
5 years ago
Francisco Paisana
4b525127c9
created separate cell ctxt common list
5 years ago