Commit Graph

5776 Commits

Author SHA1 Message Date
Francisco Paisana 1ac91f2f93 updated erab_setup_test 2020-05-12 14:17:57 +01:00
Francisco Paisana 0515229240 perform mac bearer addiction via the bearer handler class 2020-05-12 14:17:57 +01:00
Francisco Paisana 6bcb5910c9 usage of new bearer list cfg class for srb1/srb2 setup 2020-05-12 14:17:57 +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
Andre Puschmann 63fd12a705 epc,s1ap: fix loop counter that is narrower than size_t 2020-05-11 14:49:56 +02: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
Francisco Paisana dbcaec6689 avoid dangling reference 2020-05-11 12:44:08 +01:00
Francisco Paisana 71520d681a changes in pucch res allocation api to allow replacing p/scells 2020-05-11 12:44:08 +01:00
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