520 Commits (fed4e0ad820bf574356e2dd89402793505af7fc8)

Author SHA1 Message Date
Xavier Arteaga fda1d040e7 SRSENB: implement PUSCH threshold for UCI bits 4 years ago
Xavier Arteaga 729986f259 srsLTE: Added PUCCH format 3 valid correlation 4 years ago
Ismael Gomez 874e614970 Increase PUCCH detection threshold to avoid false alarms 4 years ago
Ismael Gomez 29e126a583
Add per-channel TX gain (#1450)
* Change type of rf_set_gain() to avoid unambiguous return with negative gains

* Add per-channel TX gain
4 years ago
Francisco Paisana 64e8f5e3ed update license year 4 years ago
Xavier Arteaga 89b24b54e5 Refactored radio class for acommodating multiple RF devices 4 years ago
Xavier Arteaga 039f2164a6 Initial Sounding Reference Signals implementation 4 years ago
Ismael Gomez 84b84eaad6 Move search_in_common variable 4 years ago
Ismael Gomez 9b634b8d2a Search DCI in UE space before common to avoid DCI size ambiguity. Fixes #1398 4 years ago
faluco cf5b321fb5 Replace magic numbers with macro constants.
Adjust comments to refer to these macros.
5 years ago
faluco 9484db8a90 Added header comments to srslte_sfidx_tdd_nof_X family of functions.
Fixed a comment referring to an older TS release.
Remove elses after returns.
5 years ago
faluco 8c59606d6f Add comment header to srslte_sfidx_tdd_type.
Remove else after return.
5 years ago
faluco 7354f49fe5 Added explanatory comments to TDD phy structs and enums. 5 years ago
Xavier Arteaga 20db13abc7 SRSUE: fix condition number calculation 5 years ago
faluco 3fa5926cd5 Fix SIMD neg operation which was inverted.
Re-enable -Werror.
5 years ago
faluco c39ea2f583 Adjust possible type mismatch. 5 years ago
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.
5 years ago
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.
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 7aeddfd186 fix potential error where return value -1 is used for loop termination 5 years ago
faluco 7ff251f112 - Fixed warnings caught by Clang 9.0.0 5 years ago
Xavier Arteaga 2d39c7261c renamed vector copy prefix from to 5 years ago
Andre Puschmann 9d529ba0d5 fix compilation on arm, add missing declaration and headers 5 years ago
Xavier Arteaga e15c49c5a5 Fix EVM hard-decision performance 5 years ago
Andre Puschmann 68a1868c33 npdsch_{ue,enodeb}: few more LGTM fixes 5 years ago
Ismael Gomez c0054140e9 Configure properly PUCCH CS mode for CA in ConnectionReconfiguration. Allocate n_pucch_cs resource and cqi/sr at rrc::ue constructor 5 years ago
Xavier Arteaga 9d0a3268e8 Added DL channel estimator algorithm options 5 years ago
Xavier Arteaga 355b2ed7e1 Wiener: fixed more issues 5 years ago
Xavier Arteaga 4b6691a630 DL Wiener: Fixed phy common header missing 5 years ago
Xavier Arteaga 3ab5f3a7e8 Initial wiener filter integradion in DL channel estimator 5 years ago
Xavier Arteaga 5199aaa94e DL Wiener: Fixed minor header issues, format and optimization 5 years ago
Xavier Arteaga f4eb61a37c Implementation DL channel estimator using wiener filter 5 years ago
Xavier Arteaga fff96d9aac Phy utils: Added initial matrix inverse 5 years ago
Xavier Arteaga 3f6eca1aea Initial Wiener channel estimator 5 years ago
Xavier Arteaga fe141dc002 Initial Wiener channel estimator 5 years ago
yagoda faf1cf6975 limiting prach search space to number of prachs set in sib2 5 years ago
Xavier Arteaga 0ad99a35f9 Minor changes 5 years ago
Andre Puschmann d6e0153b40 sci: add SCI format 1 transmission format flag 5 years ago
Andre Puschmann 80b303dbde sl: set correct SL-SCH max TB size 5 years ago
luis_pereira87 baf0ad5bf4 PSSCH implementation 5 years ago
Andre Puschmann a82b2da2dd dft_precoding: add helper to get largest valid PRB 5 years ago
Xavier Arteaga 7291a5db91 Implement on the fly sequence generation 5 years ago
Xavier Arteaga 89dcd6339f More LGTM fixes 5 years ago
Xavier Arteaga 60c4daccab Removed redundant code 5 years ago
Xavier Arteaga 77d5dedddc Fix LGTM warnings and recommendations 5 years ago
Xavier Arteaga 562590e595 Fix LGTM warnings 5 years ago
Xavier Arteaga e6792cf9b7 Refactored OFDM and added half CP window offset in UL Demodulator 5 years ago
Andre Puschmann e76e31e652 adding NB-IoT DL shared channel, UE DL object and PHY examples 5 years ago
Andre Puschmann dcb9004a71 zmq: refactor zmq argument parsing, allow zero indexing
It allows to provide an index for tx_port, rx_port, tx_freq and rx_freq even
for the first (and possibly only) port. So for example a MIMO config would be this for example:

tx_port0=tcp://*:2001,tx_port1=tcp://*:2003,rx_port0=tcp://localhost:2000,rx_port1=tcp://localhost:2002
5 years ago
luis_pereira87 653a1e0619 Added PSBCH Extended CP 5 years ago
Andre Puschmann e495c4d553 vector: add uint8 zero'ing function 5 years ago
Andre Puschmann 8f72d4c55e simd: fix compilation error under NEON 5 years ago
Xavier Arteaga 2bca321d4d Fix NEON 16 bit turbodecoder 5 years ago
Xavier Arteaga dc6128617b Fix SSE 16 bit turbodecoder 5 years ago
Xavier Arteaga a0fb150e58 Fix memory issues in PSCCH decoder 5 years ago
Xavier Arteaga 5b7493cab5 Added 256QAM modulation tables to scheduler 5 years ago
Xavier Arteaga 5e45e63519 Multiple fixes HARQ ACK/NACK feedback and CSI reporting for MIMO and CA 5 years ago
Xavier Arteaga 784bf81a1a Multiple fixes HARQ ACK/NACK feedback and CSI reporting for MIMO and CA 5 years ago
Xavier Arteaga cb6a8444df Added srsLTE helper for determining number of RI bits 5 years ago
Tiago Alves 47145c18b7 sidelink: refactor channel estimation 5 years ago
Xavier Arteaga 6d355ab61e SRSUE: Fix HO initial CFO 5 years ago
Xavier Arteaga cca3cccfbe Improved fading model generation 5 years ago
Xavier Arteaga a44a61d781 Fix HST channel emulator for keeping coherent phase between frames 5 years ago
Xavier Arteaga cd2f86687f Correction in AWGN generator 5 years ago
Xavier Arteaga 8e891b7038 Added AWGN channel to SRSUE and SRSENB 5 years ago
Xavier Arteaga c107b04f5a Implemented high performance AWGN generator 5 years ago
Xavier Arteaga b5be0b94b8 Added SIMD i32 add and and functions 5 years ago
Xavier Arteaga 8bf7acdeaf Added vector malloc for i32 and u32 5 years ago
Xavier Arteaga 2c93f6d20a Fix PUCCH DMRS correlation 5 years ago
Xavier Arteaga f3f03ad12d SRSUE PHY: Add extra debugging information to errors 5 years ago
Xavier Arteaga ada8772f57 Initial srenb TA compensation 5 years ago
Xavier Arteaga 0408d357a7 Minor fixes 5 years ago
Ismael Gomez 73447972d8
Fix issue with simultaneous CQI and ACK/NACK transmission in CA (#1067)
* Fix memory corruption when phy calling mac scheduler and not yet initiated

* Do not drop CQI if collision with ACK/NACK and PUSCH

* Allocate CQI resources for SCell properly

* Use UE_PCELL_CC_IDX macro

* Protect ul_sched from being called if not yet started
5 years ago
Xavier Arteaga e832769ae6 Updated copyright 5 years ago
yagoda 943d90bc48 consolidating different ringbuffer functionalities into one, adding unit tests for ringbuffer 5 years ago
Xavier Arteaga 5af89513eb use double precission for frequency in srsue and srsenb 5 years ago
Xavier Arteaga 834a081c09 Add EPRE measurement to PUSCH decoder 5 years ago
Xavier Arteaga 76408b195e Rename TX_DELAY and FDD_HARQ_DELAY_MS 5 years ago
Francisco Paisana fad897cb35 DL scheduler metric now takes into account the min and max of RBGs possible. This is to forbid segmentation of SRB0 allocations 5 years ago
Francisco Paisana 639f473042 fixed unsigned signed comparison 5 years ago
Francisco Paisana 1e63fa41cf made ue_cc_idx int to set to -1 for rar and bc allocs 5 years ago
Francisco Paisana f3c3c52fcd added ue_cc_idx to dci allocation 5 years ago
Xavier Arteaga 002a68e183 SRSENB: hard-coded parametrized PUCCH DMRS correlation threshold 5 years ago
Xavier Arteaga 64caa4321b Fix UL control decoding. Some minor aesthetic changes. 5 years ago
Xavier Arteaga 44a5ce172e Added vector srslte_vec_avg_power_sf 5 years ago
Ismael Gomez 4e12405fff
Remove radio_multi class and organize channels, ports and carrier buffers (#1019) 5 years ago
Xavier Arteaga a968fb02d3 Increase PUCCH correlatiion threasholds 5 years ago
Xavier Arteaga da701cd82b SRSENB: Added PUSCH TA and EVM measurement. Some more PHY cleanup. 5 years ago
Xavier Arteaga 47cbbcbd57 Improve PUSCH UCI decoder 5 years ago
Francisco Paisana a6320f93b8 remove remaining const_casts 5 years ago
Francisco Paisana ec1f1cc677 remove const_casts from scheduler. Fix ODR issue 5 years ago
Andre Puschmann e4b5fa122f add set_cell() call to PSCCH and allocate for max PRB in pscch_init() 5 years ago
Andre Puschmann 151ce10a96 remove SL specific CFO correction method 5 years ago
Andre Puschmann 09f7355870 use srslte_cell_sl_t in PSCCH 5 years ago
Andre Puschmann 14000f7ae7 adding phy_common_sl.{c,h} 5 years ago
Andre Puschmann 8b70ff7654 simplify SL chest and add RSRP and sync error measurements 5 years ago
Tiago Alves cabd9ae742 baseline implementation of pscch 5 years ago
Xavier Arteaga 125747ae4a Added external C to phy_common header and ACK/NACK feedack mode parser 5 years ago
Xavier Arteaga a4135e41a5 Added PUCCH collision checker 5 years ago
Xavier Arteaga 2fc0832f05 Addition of DL HARQ-ACK generation procedure for eNb DL and minor aesthetic changes 5 years ago
Xavier Arteaga e621853566 Minor aesthetics changes 5 years ago
Xavier Arteaga f261365c91 Initial EVM calculation commit and other easthetic changes 5 years ago
Pedro Alvarez aecfb151ce Apply clang-format to the lib in preperation for PR. 5 years ago
Ismael Gomez d8d10daebe
Fix bug in SRS using the previous grant to compute collision with PUSCH (#958) 5 years ago
Andre Puschmann 327aa97cfd add macro for invalid RNTI 0x0 5 years ago
Xavier Arteaga 67c07dfb56 Moved UL/DL PUCCH procedures into pucch_proc 5 years ago
Xavier Arteaga 7a20e3a51e Added boolean random generator 5 years ago
Xavier Arteaga 5dbc96458a Sets PUCCH decode threshold as macro 5 years ago
Xavier Arteaga bc10943a2b Added get max TB from DCI format 5 years ago
Xavier Arteaga 231431f569 SRSENB: enabled CA PUCCH decode in eNb 5 years ago
Xavier Arteaga d66fdefbb3 Added more docs to PUCCH 1b CS resource selection 5 years ago
Xavier Arteaga 1f762844ee Initial PUCCH format 3 decoder 5 years ago
Xavier Arteaga 35f4e5d69a Initial PUCCH 1B with channel selection 5 years ago
Andre Puschmann 6cce22d6b8 add support for GPS-based sync to UE sync object 5 years ago
Andre Puschmann c7343cf6d8 protect sf_buffer from overrun in receive_samples
this patch adds a buffer len paramter to the receive_samples() call
that protects the (also) provided buffer from overflowing.

currently each call to srslte_ue_sync_zerocopy() which then calls receive_samples()
relies on a buffer that is "big enough". But that buffer is sometimes
2 subframes, sometimes 3 or 5, sometimes has space for the maximum PRB size, sometimes
only for 6 PRBs (i.e. during cell search).

By extending the interface to pass the buffer size we can make sure that
only samples are received that actually fit inside the provided buffer.
5 years ago
Xavier Arteaga 68ad4960eb SRSLTE: added holding time before AGC starts measuring after setting gain 5 years ago
Francisco Paisana 1b958a60b5 casting .c_str() to mutable char* and changing the char* was causing all sort of weird format messages 5 years ago
Ismael Gomez cc7dfefa1a
Fix logic for UL HARQ retx causing Msg3 adaptive retx to be identified as a new transmission 5 years ago
Andre Puschmann 81b46723f6 adding NPDCCH 5 years ago
Andre Puschmann 073c57dc3d add NB-IoT DCI formats and move define to phy_common 5 years ago
Xavier Arteaga 9ee651d094 srsLTE: Added set vector zeros for float and cf 5 years ago
Andre Puschmann d98bc71057 fix PSBCH and use UL-SCH interleaver 5 years ago
Andre Puschmann 2e7a357226 expose UL-SCH interleaver to use in Sidelink 5 years ago
Xavier Arteaga bca5d1a95a srsLTE: extend viterbi test 5 years ago
Xavier Arteaga 0912701cb0 srsLTE: sidelink minor corrections 5 years ago
Andre Puschmann 7de51c8236 refactor Sidelink PSBCH and DMRS code 5 years ago
Xavier Arteaga 11eafa8ab4 srsLTE: FFTW wisdom gets loaded and saved by default 5 years ago
Xavier Arteaga c92dce71b7 srsLTE: AGC only uses boundaries for requesting gain to Radio 5 years ago
Tiago Ferreira Alves 3fed21ce3e PSSS and SSSS implementation 5 years ago
Andre Puschmann 476f970ee1 replace FIXME with TODO 5 years ago
Pedro Alvarez c5979f59eb Clang format UE, eNB and lib (#850)
* Clang-formated UE, eNB and lib.
* Fixed compiling errors from clang-format.
* Fix linking issues introduced by clang-format
* Fix poor formating in initializing arrays of arrays.
* Fix mistake in conflict resolution on rm_turbo.c
* Re-apply clang format to gtpc_ies.h
5 years ago
Xavier Arteaga 78dd9d7854 SRSLTE: Added float and complex vector allocation 5 years ago
Andre Puschmann 8bec22ff11 fixed naming for ue_sync_nbiot 5 years ago
Andre Puschmann 4dbbcaa668 add cell search and USRP capture examples for NB-IoT 5 years ago
Xavier Arteaga d96836a0fa SRSUE: Stack TTI based purely in radio timestamp 5 years ago
Ismael Gomez 713d98ecb9 Fix issue in AGC confusing dB with linear 5 years ago
Xavier Arteaga 8dd1c59e18 Added amplitude and power conversions to dB and viceversa 5 years ago
Andre Puschmann 40bacb80b1 fixing comments from Xavier's review 5 years ago
Andre Puschmann e05ecdb139 adding NB-IoT DL channel estamiation and NPBCH code 5 years ago
Andre Puschmann 792e2f7f8f add NB-IoT scrambling sequences 5 years ago
Ismael Gomez 3828e03f33
Refactor in eNodeB, add channel emulator and fixes in OFDM
* Added channel emulator to srsENB. Added support for fixed delay

* Bug in OFDM when using nonguru mode

* A few changes and refactor in eNodeB
5 years ago
Xavier Arteaga 423475173d Refactored magnitude and argument extraction from sf_worker 5 years ago
Xavier Arteaga 10480f62b3 SRSENB: Split sf_worker and cc_worker 5 years ago
Ismael Gomez 1d83bb08e2 Changes in ACK procedure to support CA. Tested 1 cell in SISO/MIMO 5 years ago
Xavier Arteaga 125f1e7282 ZMQ: Split Tx and Rx, bug fixes and clean up 5 years ago
Xavier Arteaga 6eb26be34e Fixed include headers 5 years ago
Xavier Arteaga 35f85c651c SRSUE: Added SCell synchronizer and measurements based on reference signals 5 years ago
Xavier Arteaga 8e17aba5d8 Improved SSS decoding and improved scell_search_test 5 years ago
Xavier Arteaga dedf0f2f78 Added initial time to delay channel simulator 5 years ago