Commit Graph

2451 Commits

Author SHA1 Message Date
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
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 e3e3848210 cell_search_nbiot: show DL frequency in MHz 2020-05-04 17:52:21 +02: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
Francisco Paisana e5533e4bcd gcc 4.8.5 does not have std::max_align_t 2020-05-04 14:59:25 +01:00
Xavier Arteaga d94078d543 Minor changes
Fix UE sequence generation

minor change
2020-05-01 21:07:33 +02:00
Ismael Gomez 8c82203c74 Removed unused pregenerate option 2020-05-01 21:05:00 +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
Xavier Arteaga e15c49c5a5 Fix EVM hard-decision performance 2020-04-29 21:11:30 +02:00
Andre Puschmann f4f7210c56 pssch_ue: LGTM fixes 2020-04-29 18:56:46 +02:00
Andre Puschmann 68a1868c33 npdsch_{ue,enodeb}: few more LGTM fixes 2020-04-29 18:56:46 +02:00
Andre Puschmann 6a764ae87c psbch: change memcpy() to srs_vec alternative 2020-04-29 15:31:29 +02:00
Francisco Paisana 615bd54fd5 fix uninit var 2020-04-29 11:17:00 +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 4b6691a630 DL Wiener: Fixed phy common header missing 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
Andre Puschmann 1a8bb82c0f pssch_ue: fix compile issue on gcc 9.3
gcc 9.3 complained about incompatible pointer type
2020-04-28 15:26:45 +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
Andre Puschmann 39680ffd26 rrc_asn1_decoder: fix uninit var 2020-04-28 12:05:15 +02:00
Andre Puschmann edd6e881e3 pssch_ue: fix use of uninit var 2020-04-28 10:55:03 +02:00
Xavier Arteaga 0ad99a35f9 Minor changes 2020-04-28 09:07:46 +02:00
Francisco Paisana 38f848ecdf fix type name deducing for clang 2020-04-27 22:19:08 +01:00
Francisco Paisana af9ca9f9e5 remove unecessary moves 2020-04-27 22:19:08 +01:00
Francisco Paisana 12b2ea7dde remove warnings for base classes with no virtual dtors 2020-04-27 22:19:08 +01:00
Francisco Paisana b8e6ba02e4 remove warnings related to unused vars and fwd declarations with trivial dtors 2020-04-27 22:19:08 +01:00
Francisco Paisana df06443470 use c++ variadic template instead of variadic function 2020-04-27 22:19:08 +01:00
Francisco Paisana 1c74c5675e remove ambiguous enter/exit template method 2020-04-27 22:19:08 +01:00
Francisco Paisana 3da8464a21 fix compilation issue with lack of override keyword and scoping in fsm 2020-04-27 22:19:08 +01:00
Francisco Paisana e1ac6d7cfe use macro to disable throw 2020-04-27 22:19:08 +01:00
Andre Puschmann 0fdb5f0114 nbiot_examples_tests: make npdsch_ue tests depend on npdsch_enodeb
this fixes issue with CTest in parallel mode where npdsch_ue
test would run before the input file was even created
2020-04-27 22:38:51 +02:00
Paul Sutton 8692e08737 Close rf device after use 2020-04-27 22:37:52 +02:00
Xavier Arteaga d7e7399e7b srsENB: PHY configuration in two stages 2020-04-27 21:03:44 +02:00
Xavier Arteaga 28b2a69c8a ZMQ module uses default base srate 2020-04-27 21:03:44 +02:00
Xavier Arteaga b9583d4182 Fix Extended CSI request bits in DCI 2020-04-27 21:03:44 +02:00
Andre Puschmann 8d52343c72 pssch: address review comments 2020-04-27 21:01:46 +02:00
Andre Puschmann d6e0153b40 sci: add SCI format 1 transmission format flag 2020-04-27 21:01:46 +02:00
Andre Puschmann 7109379d83 pssch_test: fix memleak 2020-04-27 21:01:46 +02:00
Andre Puschmann edcf6d1e51 pssch_test: zero sample vectors after alloc 2020-04-27 21:01:46 +02:00
Andre Puschmann 723503fded pssch_test: disable PSSCH tests that currently fail decoding TB 2020-04-27 21:01:46 +02:00
Andre Puschmann 80b303dbde sl: set correct SL-SCH max TB size 2020-04-27 21:01:46 +02:00
Andre Puschmann 7355bc499e pssch_ue: add support for PCAP and reading from file 2020-04-27 21:01:46 +02:00
Andre Puschmann 28de7a9c93 pssch_test: expose start SF index as parameter and use helper to calc PRB 2020-04-27 21:01:46 +02:00
Andre Puschmann 955960f22d write decoded PSSCH symbols to file with PHY debug enabled 2020-04-27 21:01:46 +02:00
luis_pereira87 baf0ad5bf4 PSSCH implementation 2020-04-27 21:01:46 +02:00
David Rupprecht 4e283ec942 Standalone decoders for nas and rrc in asn1 test. Thanks Dirk 2020-04-27 21:01:03 +02:00
Andre Puschmann 95bc7b48df ue_dl_nbiot: fix storing of softbits after first decoding failed
memcpy wasn't using sizeof(float)
2020-04-27 21:00:36 +02:00
Andre Puschmann 4c242f8d77 ue_dl_nbiot: remove fixme's 2020-04-27 21:00:36 +02:00
Andre Puschmann 9132446e6b npdsch_ue: rename global variables 2020-04-27 21:00:36 +02:00
Andre Puschmann e52577ecd3 npdsch_enodeb: rename too short global variable 2020-04-27 21:00:36 +02:00
Andre Puschmann dd04f45ca0 rename global rf object in examples to radio
LGTM complains about global variables with short names (foo)
2020-04-27 21:00:36 +02:00
yagoda 8e0b106c22 fixing some warnings from LGTM 2020-04-27 20:59:40 +02:00
Andre Puschmann 5d92111586 pcap: adding SL-SCH support 2020-04-27 15:54:54 +02:00
Andre Puschmann 5a95af6ce1 ofdm: move var init into loop 2020-04-27 15:54:54 +02:00
Andre Puschmann a82b2da2dd dft_precoding: add helper to get largest valid PRB 2020-04-27 15:54:54 +02:00
Andre Puschmann 04051a5cd0 soapy: add missing error messages for some soapy calls 2020-04-27 15:32:38 +02:00
Andre Puschmann 42bb387dae benchmark_radio: added option to change sampling rate during experiment
this patch adds the -y paramter that changes the sampling rate
during a radio benchmark to stress-test the API

it turned out that some devices/drivers are very prone to
sampling rate changes. since this happens during UE operation
when the UE is searching for cells, we need to make sure
the driver/device supports that operation.
2020-04-27 15:32:38 +02:00
Justin Tallon 3a258c16be
fixing a time alignment issue in the case where the number of samples… (#1255)
* fixing a time alignment issue in the case where the number of samples supplied by the frontend is differnt to the number requested
2020-04-27 15:13:53 +02:00
Francisco Paisana b506e29b72 removed common ce_typeenum 2020-04-24 11:55:53 +01:00
Francisco Paisana 372126deac created ul-sch and mch lcid types 2020-04-24 11:55:53 +01:00
Francisco Paisana 367a190829 created dl-sch lcid type 2020-04-24 11:55:53 +01:00
Andre Puschmann 13b59b42c7 npdcch: replace fixme with todo 2020-04-24 12:21:17 +02:00
Andre Puschmann a98a94e74b fix some non-critical warnings found by Coverity scan 2020-04-23 20:58:46 +02:00
Xavier Arteaga 58803d1b3e Added UL EARFCN map and UE PHY interface cleanup 2020-04-23 09:00:45 +02:00
Xavier Arteaga 7291a5db91 Implement on the fly sequence generation 2020-04-23 09:00:15 +02:00
Xavier Arteaga 89dcd6339f More LGTM fixes 2020-04-22 18:01:43 +02:00
Xavier Arteaga 60c4daccab Removed redundant code 2020-04-22 18:01:43 +02:00
Xavier Arteaga 01e224348c Fix compilation for NR HL 2020-04-22 18:01:43 +02:00
Xavier Arteaga 77d5dedddc Fix LGTM warnings and recommendations 2020-04-22 18:01:43 +02:00
Xavier Arteaga 562590e595 Fix LGTM warnings 2020-04-22 18:01:43 +02:00
Pedro Alvarez ad0abe740b Added support to PDCP SN len of 7. Also added a check for valid configs in pdcp entity. 2020-04-22 17:44:00 +02:00
Francisco Paisana 5db2c62530 comments for handover commands 2020-04-22 13:34:37 +01:00
Francisco Paisana 7a132f9ccd more enb interface comments 2020-04-22 13:34:37 +01:00
Francisco Paisana 0526ae8ab1 updated rrc mobility parsing. added some utility methods 2020-04-22 12:57:11 +01:00
Francisco Paisana 64557740fc use mac_buffer_state interface to schedule CEs in scheduler 2020-04-22 11:34:08 +01:00
Francisco Paisana ec94819f08 changed mechanism for conres ce scheduling to be controlled by rrc 2020-04-22 11:34:08 +01:00
Francisco Paisana d183d64409 added allocate_rnti method to mac. Useful both during PRACH and handover UE resource allocation 2020-04-22 11:34:08 +01:00
Francisco Paisana 6ddedd5972 moved pdu to common mac folder 2020-04-22 10:06:08 +01:00
Xavier Arteaga c26a70c8da Fix compilation 2020-04-20 18:28:35 +02:00
Andre Puschmann 80bdb0ea17 soapy: fix compilation on Soapy version < 6 2020-04-20 17:17:33 +02:00
Xavier Arteaga a7525d3e12 Fix somememory leaks 2020-04-20 16:10:27 +02:00