Commit Graph

560 Commits

Author SHA1 Message Date
Xavier Arteaga 231431f569 SRSENB: enabled CA PUCCH decode in eNb 2020-02-13 10:29:00 +01:00
Xavier Arteaga d66fdefbb3 Added more docs to PUCCH 1b CS resource selection 2020-02-13 10:29:00 +01:00
Xavier Arteaga 1f762844ee Initial PUCCH format 3 decoder 2020-02-13 10:29:00 +01:00
Xavier Arteaga 35f4e5d69a Initial PUCCH 1B with channel selection 2020-02-13 10:29:00 +01:00
Andre Puschmann 6cce22d6b8 add support for GPS-based sync to UE sync object 2020-02-10 20:25:54 +01:00
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.
2020-02-07 10:21:30 +01:00
Xavier Arteaga 68ad4960eb SRSLTE: added holding time before AGC starts measuring after setting gain 2020-02-06 09:14:05 +01:00
Francisco Paisana 1b958a60b5 casting .c_str() to mutable char* and changing the char* was causing all sort of weird format messages 2020-01-31 19:08:56 +00:00
Ismael Gomez cc7dfefa1a
Fix logic for UL HARQ retx causing Msg3 adaptive retx to be identified as a new transmission 2020-01-28 21:33:10 +01:00
Andre Puschmann 81b46723f6 adding NPDCCH 2020-01-28 17:46:54 +01:00
Andre Puschmann 073c57dc3d add NB-IoT DCI formats and move define to phy_common 2020-01-28 17:46:54 +01:00
Xavier Arteaga 9ee651d094 srsLTE: Added set vector zeros for float and cf 2020-01-28 11:22:50 +01:00
Andre Puschmann d98bc71057 fix PSBCH and use UL-SCH interleaver 2020-01-14 21:23:43 +01:00
Andre Puschmann 2e7a357226 expose UL-SCH interleaver to use in Sidelink 2020-01-14 21:23:43 +01:00
Xavier Arteaga bca5d1a95a srsLTE: extend viterbi test 2020-01-13 16:20:31 +01:00
Xavier Arteaga 0912701cb0 srsLTE: sidelink minor corrections 2019-12-23 23:08:32 +01:00
Andre Puschmann 7de51c8236 refactor Sidelink PSBCH and DMRS code 2019-12-23 23:08:32 +01:00
Xavier Arteaga 11eafa8ab4 srsLTE: FFTW wisdom gets loaded and saved by default 2019-12-23 22:57:37 +01:00
Xavier Arteaga c92dce71b7 srsLTE: AGC only uses boundaries for requesting gain to Radio 2019-12-23 22:57:37 +01:00
Tiago Ferreira Alves 3fed21ce3e PSSS and SSSS implementation 2019-12-18 11:27:10 +01:00
Andre Puschmann 476f970ee1 replace FIXME with TODO 2019-12-18 11:25:56 +01:00
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
2019-12-16 16:04:22 +01:00
Xavier Arteaga 78dd9d7854 SRSLTE: Added float and complex vector allocation 2019-12-16 12:37:19 +01:00
Andre Puschmann 8bec22ff11 fixed naming for ue_sync_nbiot 2019-12-10 16:53:44 +01:00
Andre Puschmann 4dbbcaa668 add cell search and USRP capture examples for NB-IoT 2019-12-10 16:53:44 +01:00
Xavier Arteaga d96836a0fa SRSUE: Stack TTI based purely in radio timestamp 2019-12-04 15:29:43 +01:00
Ismael Gomez 713d98ecb9 Fix issue in AGC confusing dB with linear 2019-12-02 17:49:30 +01:00
Xavier Arteaga 8dd1c59e18 Added amplitude and power conversions to dB and viceversa 2019-12-02 09:47:22 +01:00
Andre Puschmann 40bacb80b1 fixing comments from Xavier's review 2019-11-17 18:51:24 +01:00
Andre Puschmann e05ecdb139 adding NB-IoT DL channel estamiation and NPBCH code 2019-11-17 18:51:24 +01:00
Andre Puschmann 792e2f7f8f add NB-IoT scrambling sequences 2019-11-17 18:51:24 +01:00
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
2019-10-23 11:09:39 -05:00
Xavier Arteaga 423475173d Refactored magnitude and argument extraction from sf_worker 2019-10-21 16:17:37 +02:00
Xavier Arteaga 10480f62b3 SRSENB: Split sf_worker and cc_worker 2019-10-21 16:17:37 +02:00
Ismael Gomez 1d83bb08e2 Changes in ACK procedure to support CA. Tested 1 cell in SISO/MIMO 2019-10-14 11:20:35 +02:00
Xavier Arteaga 125f1e7282 ZMQ: Split Tx and Rx, bug fixes and clean up 2019-09-20 18:32:38 +02:00
Xavier Arteaga 6eb26be34e Fixed include headers 2019-09-20 16:20:31 +02:00
Xavier Arteaga 35f85c651c SRSUE: Added SCell synchronizer and measurements based on reference signals 2019-09-20 16:20:31 +02:00
Xavier Arteaga 8e17aba5d8 Improved SSS decoding and improved scell_search_test 2019-09-20 16:20:31 +02:00
Xavier Arteaga dedf0f2f78 Added initial time to delay channel simulator 2019-09-20 16:20:31 +02:00
Xavier Arteaga 368690ea6b SRSUE: Added intra frequency SCell search test 2019-09-20 16:20:31 +02:00
Xavier Arteaga d7c1a0bda9 Added High Speed Train model to channel emulator 2019-09-20 16:20:31 +02:00
Xavier Arteaga db5a21e659 Remove set_master_clock_rate from PHY RF API 2019-09-20 15:43:07 +02:00
Andre Puschmann 4869509c7b add write function to netsource
this is useful for listening sockets to also send responses,
i.e. implement bi-directional communication
2019-09-16 21:39:15 +02:00
Ismael Gomez bfddc55148
RRC-PHY interface (#639)
RRC-PHY interface refactor. Moved RRC-MAC interface to rrc_asn1_utils and created RRC-PHY interface also in rrc_asn1_utils. All ASN1 includes should be made from rrc_asn1_utils only keeping ue_interfaces clean of ASN1

Tested with different common and dedicated configurations (64QAM UL, 256QAM, CA, SRS enabled/disabled, etc)
2019-09-04 16:59:10 +02:00
Andre Puschmann ada4e6644f fixing various issues in NB-IoT sync code detected by Coverity and clang-tidy 2019-08-08 11:12:49 +02:00
Andre Puschmann 80655db4a4 fix missing include in filesink 2019-08-05 11:11:04 +02:00
Andre Puschmann 95a5c2dcdb adding NB-IoT sync code 2019-08-05 11:11:04 +02:00
Ismael Gomez 19066c49ab Ad Rel10 info to dci logs 2019-07-30 18:18:44 +02:00
Andre Puschmann e0bd7f156d replace remaining warning macros with pragma message 2019-07-23 15:38:21 +02:00
Xavier Arteaga 5e49aca835
Merge pull request #570 from softwareradiosystems/feature_256qam_fix
Resource allocation extended tables and PDSCH table 2 for 256QAM
2019-07-12 12:32:47 -04:00
Xavier Arteaga aa6652155c Phy: added ue_ul normalization mode parameter 2019-07-12 13:05:10 +02:00
Xavier Arteaga 20823e191d SRSUE: Added UL force amplitude optional parameter 2019-07-12 13:05:10 +02:00
Guillem Foreman 535325bc37 srsLTE: added resource allocation extended tables for 256QAM and integration with PDSCH test 2019-07-04 15:49:43 +02:00
Ismael Gomez 67b6a40c1b Use correlation for neighbour RSRP measurement 2019-06-18 17:55:41 +02:00
Guillem Foreman 50edd9a325 Initial 256QAM Modem and Demodulator 2019-06-17 18:04:32 +02:00
Joseph Giovatto 0bb7f590b3 Moved include complex.h from header files to impl files to prevent
error /wr to complex.h and c linkage in CentOS 7.
2019-06-14 12:19:57 +02:00
Ismael Gomez 594d62f229 Added read_block function to ringbuffer 2019-06-03 21:39:24 +02:00
Ismael Gomez 19cb5c172b Added read-and-convert function to ringbuffer 2019-06-03 21:19:06 +02:00
Xavier Arteaga b903e61548 Initialise all channel emulator attributes by default 2019-05-31 10:51:11 +02:00
Xavier Arteaga 9c84f8e3fd SRSLTE: Added Uniform Random vector generator; Delay channel test; Fixed Delay channel SEGFAULT; SRSUE channel unique pointer; 2019-05-30 13:07:23 +02:00
Xavier Arteaga 2ffa1f9f1e SRSUE: Added RLF simulator in channel emulator and integrated it in SRSUE. Removed Zeros Command 2019-05-30 13:07:23 +02:00
Xavier Arteaga 7c97e40e63 SRSUE: Improved internal channel emulator help 2019-05-30 13:07:23 +02:00
Xavier Arteaga 9ab2b2de81 SRSUE: Created delay channel emulator and added fading to the UE 2019-05-30 13:07:23 +02:00
Xavier Arteaga 2c78111666 SRSUE: Fixed CLang Tidy in ue.cc 2019-05-27 12:21:57 +02:00
Andre Puschmann 4edcedd2b3 add helper to create cexp function for entire subframe 2019-05-16 12:32:36 +02:00
Andre Puschmann 4f42c0796c add CFO correction method with offset
- CFO correction which allows to specify the offset within
  the correction table to allow phase-continuity across
  multi-subframe transmissions (NB-IoT)
2019-05-16 12:32:36 +02:00
Andre Puschmann e647dac3e4 add simple cross-correlation method
- implements a cross-correlation that takes the complex conjugate
  of one of the input signals (filter)
- the fft of this input signal is only computed once
2019-05-16 12:32:36 +02:00
Andre Puschmann 13c17ad9e7 add text output capabilities to filesink 2019-05-16 12:32:36 +02:00
Ismael Gomez efe74e765b Fix coverty non-inititalized variables in tdec 2019-05-08 10:56:48 +02:00
Ismael Gomez 786830daf3 Fix minor issues for TDD 2019-05-02 19:31:46 +02:00
Xavier Arteaga c18a59730c Solved PHY unit test memory leaks 2019-04-30 15:56:47 +02:00
Xavier Arteaga baac179d95 Added vector complex sine generator 2019-04-30 15:08:39 +02:00
Xavier Arteaga 7bd3a9a43b Added ringbuffer read function with timeout 2019-04-30 15:06:39 +02:00
Xavier Arteaga a1a797589a Added UE synchronization error metric (hard-coded disabled by default) 2019-04-30 15:02:08 +02:00
Xavier Arteaga 06a9d8eb6f Added vector estimate frequency 2019-04-30 14:52:16 +02:00
Xavier Arteaga 4187781268 Random module return pointer object and solved NAN issue 2019-04-30 14:48:13 +02:00
Ismael Gomez 47acbc1e08 Compute per-antenna and per-port chest metrics in chest_res 2019-04-29 15:25:01 +02:00
Andre Puschmann 4b01a2e4a0 update copyright notice 2019-04-29 09:20:02 +02:00
Ismael Gomez 7780b1aba5 add tdd/ca support 2019-04-25 20:57:58 +02:00
Andre Puschmann f2266bb264 add uint64 (sample based) time stamp helpers 2019-04-22 15:35:26 +02:00
Xavier Arteaga ed6b138cb2 Added safe and good quality random generator in phy/utils 2019-04-21 21:41:17 +02:00
Xavier Arteaga c42fbbe6a5 Created 3GPP fading channel emulator 2019-04-21 15:27:31 +02:00
Xavier Arteaga c782ef2aa5 Solved unitialised values in UE (up to prach) and free 2019-01-22 12:23:57 +01:00
Francisco Paisana 0204db2e12 new asn1 rrc library 2019-01-17 17:43:13 +01:00
Ismael Gomez a8a0c3ebe7 Fixed compilation in zynq 2018-12-12 14:34:13 +01:00
yagoda 3762738bc1 adding windowed neon turbodecoder (can be further optimized) 2018-12-12 11:27:07 +01:00
yagoda 69dc16c4c8 changes to fix arm compilation 2018-11-27 14:27:59 +01:00
Xavier Arteaga 8c3a0153b9 Added missing AVX512 intrinsics and flags. Fixes #291. 2018-11-21 18:09:09 +01:00
Andre Puschmann 0380c83175 remove RF device calibration settings from UE/eNB config
- this remove RF calibration parameters that were an extra
  section in the eNB/UE config but were hardly used (only old bladeRF)
- a better way to pass those parameter would be through the
  device args in the normal rf config section
2018-10-01 21:59:07 +02:00
Andre Puschmann d981f129e0 Merge branch 'master' into next 2018-09-20 12:54:05 +02:00
IgnasJ 67c8bf1368 Fixes for srsLTE on ARM (#229)
* Fix ARM NEON code compilation

Fix LV_HAVE_NEON defintion incorrecly used instead of HAVE_NEON in some places
Replace vqabsq_s32 with vabsq_f32 as vqabsq_s32 requires int type (fails to compile)
Fix missing NEON code path in mat.h in srslte_mat_2x2_mmse_csi_simd()

* Fix timestamp overflow issue on 32-bit systems with Soapy driver

'time_t secs' can be 32-bit on some systems. This causes calculation:
'secs * 1000000000;' to overflow.
2018-09-19 17:34:59 +02:00
Ismael Gomez 0294923e2b Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-09-19 16:42:11 +02:00
Ismael Gomez 197d855d3f Fix issue #240 2018-09-19 16:41:59 +02:00
Xavier Arteaga a9fcd64b1f Fixes #259: Turbodecoder AVX2 instructions under LV_HAVE_AVX (instead of LV_HAVE_AVX2) 2018-09-19 12:35:37 +02:00
Ismael Gomez 826fbccf11 Fixed memory leaks in new decoder 2018-09-07 14:05:45 +02:00
Ismael Gomez bc9d342959
New optimization on the PHY for both UE and eNodeB (#251)
* New parallel Turbodecoder implementation in SSE/AVX 16-bit and 8-bit

* Optimised UL Interleaver

* Include TB CRC calculation in FEC encoder

* New threading priorities
2018-09-04 17:51:35 +02:00
Xavier Arteaga a21db86a78 SCH Codeblock CRC is computed at same time than parity 0 2018-07-17 15:37:57 +02:00
Pedro Alvarez 8017b792cf Changing SRSLTE_PHY_DEBUG back to SRSLTE_DEBUG. 2018-07-13 11:59:03 +01:00
Pedro Alvarez 7aaa9a1789 Moved srslte_debug_handle_crash to common/debug.c 2018-07-09 14:33:50 +01:00
Pedro Alvarez 96786e96da Splitting the lib debug into phy and common debug. 2018-07-09 13:15:35 +01:00
Ismael Gomez 8c92f3fddc
Improvements and fixes on srsENB scheduler (#228) 2018-06-29 11:25:22 +02:00
Xavier Arteaga f01f7b4945 Added Vector max abs SIMD function 2018-06-28 09:28:17 +02:00
Ismael Gomez e18ba937dc Limit uplink signal normalization to avoid clipping 2018-06-27 16:29:40 +02:00
Xavier Arteaga 5e4fb48184 Refactored CQI reporting logging in UE. Fixes #199 2018-06-25 14:57:12 +02:00
Xavier Arteaga 301415a00a Fixed AGC out of bounds gain 2018-06-11 13:14:47 +02:00
Xavier Arteaga 6ab69b1d4c Added PDSCH coworkers 2018-06-06 16:59:00 +02:00
Xavier Arteaga 681b98ae50 Added vector CFO 2018-05-25 16:06:32 +02:00
Andre Puschmann 61d525ea80 Merge branch 'next' into embms_merge_final 2018-05-22 10:39:05 +02:00
Ismael Gomez 467ba4e326 Average sampling offset estimate before adjusting timing to be more robust against EVA and ETU fading 2018-05-21 23:00:57 +02:00
yagoda 9d7d6c9415 adding adaptations to the phy layer for mbms 2018-05-15 16:13:03 +02:00
Ismael Gomez 3bf9ca6195 Send end of burst on idle 2018-04-26 17:33:21 +02:00
Xavier Arteaga 0bc3be7abb Added DL CSI decoding to TM2 and TM3 2018-04-20 11:27:39 +02:00
Ismael Gomez 384e0f8649 Fixed UL interleaver (missing SIMD deinterleaver) 2018-04-17 19:16:55 +02:00
Xavier Arteaga d0d5893a1c New DL channel noise estimator based on RS 2018-04-10 13:25:26 +02:00
Andre Puschmann e7a268d79b fix SIMD compile issue on NEON 2018-04-04 12:20:32 +02:00
David Rupprecht 9d71bec7b6 Unified include guards 2018-03-31 19:04:04 +02:00
Ismael Gomez 321a750f56 Added features to ringbuffer 2018-03-16 11:23:37 +01:00
Ismael Gomez 809c550ca2 Use RS power estimation for serving cell RSRP/SNR measurements. Use correlation of RS sequences for neighbour cell verification of Cell ID 2018-03-13 19:07:15 +01:00
Ismael Gomez c2098ad626 Removed unused sample offset correction 2018-03-13 18:52:21 +01:00
Andre Puschmann 57e0c01fc4 check max buffer length in hex print 2018-03-07 21:23:57 +01:00
Ismael Gomez 3adc6b5cbc
Merge pull request #158 from softwareradiosystems/csi
Csi
2018-03-07 14:40:57 +01:00
Andre Puschmann c198547728 add new RF RX error type and make the UHD driver issue that if anything unexpected happens 2018-03-04 21:53:06 +01:00
Xavier Arteaga ec901373d4 Correction ofo simd.h for AVX512 2018-03-01 14:01:36 +01:00
Xavier Arteaga 2a69211f32 SCH does not terminate all codeblocks if one fail. Also, SCH does not decode blocks with CRC=OK 2018-03-01 14:01:36 +01:00
Xavier Arteaga 6fc9c96c58 Added CSI softbits weightening for Single antenna transmission 2018-02-28 12:07:31 +01:00
Xavier Arteaga ff5ac85c7d Added int16 to float SIMD vector function 2018-02-21 14:51:09 +01:00
Ismael Gomez 2cf6f96f24 Fixes #6 AGC 2018-02-13 15:06:22 +01:00
Ismael Gomez a279ab47f0 Improved neighbour cell accuracy. Changed RRC to avoid segfault when neighbour cell addition 2018-02-02 19:31:22 +01:00
Ismael Gomez 2347fe0e6f Fixed incorrect DCI location bug. Make all calls to regs/pdcch atomic w.r.t. the CFI 2018-02-02 16:27:11 +01:00
Andre Puschmann 8258c28a4c Revert "fix coverity issue in macro returning negative nof symbols per subframe"
This reverts commit ed46abbad0.
2018-02-01 15:53:09 +01:00
Andre Puschmann ed46abbad0 fix coverity issue in macro returning negative nof symbols per subframe 2018-01-31 12:17:05 +01:00
Xavier Arteaga c4247c7aca Fix coverity for complex 16bit 2018-01-31 10:44:52 +01:00
Xavier Arteaga 0299e9aae1 Fixed Aperiodic reporting RM31 for TM4 (Amarisoft proof) 2018-01-31 10:18:48 +01:00
Ismael Gomez 71a2ad8ea8 Catches RA PDCCH order in Format1A 2018-01-29 16:33:28 +01:00
Ismael Gomez 76969932dc
Merge pull request #134 from softwareradiosystems/enbmimo
Enbmimo
2018-01-17 11:03:34 +01:00
Ismael Gomez 0750ff3091 Option to not wrap when reading signal from file 2018-01-16 19:33:51 +01:00
Xavier Arteaga 57d443ace2 Merge branch 'next' into enbmimo 2018-01-15 13:56:50 +01:00
Xavier Arteaga 9ffdb1e62d Refactored PMI/CQI/RI reporting 2018-01-11 14:37:01 +01:00
Xavier Arteaga de654cd344 Merge branch 'next' into enbmimo 2018-01-10 16:30:36 +01:00
Ismael Gomez e16839d7a7 Merge branch 'next' into 16bit_avx_viterbi 2018-01-10 16:06:49 +01:00
yagoda d749ee66f4 introducing 16 bit viterbi support 2018-01-08 17:05:23 +00:00
Xavier Arteaga a01c5ea08f Fixes #119: channel estimation subframe averaging 2018-01-08 12:05:31 +01:00
Ismael Gomez e4696fec38 Added ue location calculation for a particular L 2018-01-03 18:07:23 +01:00
Ismael Gomez be880e16f4 Do not include srslte.h in debug 2017-12-29 00:25:31 +01:00
Ismael Gomez a08c662028 Per-antenna SNR 2017-12-29 00:23:53 +01:00
Ismael Gomez a799098784 Merge branch 'next' into merge_patch 2017-12-21 11:28:18 +01:00
yagoda 23afd44a7d modifications to enable phy lib logging 2017-12-20 14:57:22 +00:00
Ismael Gomez 33c35d575d Save last PHICH correlation 2017-12-20 13:47:49 +01:00
Ismael Gomez 821d5595c5 Fixed AVX compilation 2017-12-20 12:35:28 +01:00
Ismael Gomez ba7d4ca3a4 Added API to access port/ant chest values 2017-12-20 10:37:36 +01:00
Ismael Gomez dfda8edc04 Minor changes to log 2017-12-20 10:01:57 +01:00
Ismael Gomez 37ee5505e9 Removed unused log_line() functions. Added DCI info string 2017-12-19 21:25:55 +01:00
yagoda 1b1301101c adding support for phy(C level) logging to file 2017-12-18 19:04:47 +00:00
Ismael Gomez c54cb02efd Increased REF BW CFO loop 2017-12-18 16:35:21 +01:00
Ismael Gomez 6711387ad7 Disabled AGC for initial cell search. Copy CFO from search and disable CP based CFO after search to reduce overhead 2017-12-17 23:05:28 +01:00
Ismael Gomez 9355cd5732 Improved CFO loop. Fixed issue with sinusoid tolerance 2017-12-16 12:46:29 +01:00
Xavier Arteaga ec254a9971 Merge branch 'next' of https://github.com/softwareradiosystems/srsLTE into enbmimo 2017-12-15 10:01:38 +01:00
Ismael Gomez 142ee30029 Merge branch 'next_novolk' into next 2017-12-13 10:28:08 +01:00
Xavier Arteaga 4fec7799e2 Fixed Aperiodic RI reporting for TM1-2 2017-12-07 09:41:47 +01:00
Xavier Arteaga f71240d845 Merge branch 'next' into enbmimo 2017-12-06 10:55:59 +01:00
Ismael Gomez b0a2fa3b0b Merge branch 'enbmimo' into mob_crypto_mimo 2017-12-04 12:10:46 -06:00
Ismael Gomez e720568e82 Revert "Added UE Mode 3-1 aperiodic reporting"
This reverts commit 0bd683b3c4.
2017-12-04 12:08:02 -06:00
Ismael Gomez eefbdbc913 Revert "Added Aperiodic mode 3-1 in enb and some more optimizations"
This reverts commit 8ab196901f.
2017-12-04 12:07:49 -06:00
Xavier Arteaga 8ab196901f Added Aperiodic mode 3-1 in enb and some more optimizations 2017-12-04 12:01:05 -06:00
Xavier Arteaga 0bd683b3c4 Added UE Mode 3-1 aperiodic reporting 2017-12-04 11:58:23 -06:00
Ismael Gomez 48dfc08fa3 Fixed SIC for PSS using channel estimates, added option to disable it (not usable on synchronous same-site cells). Use PSS CE in SSS decoding 2017-12-03 22:13:07 -06:00
Ismael Gomez f1c6bcd252 Merge branch 'next' into mobility 2017-11-30 20:13:06 +01:00
Ismael Gomez dd8bacf466 Calibrated CFO loop default values 2017-11-30 20:01:35 +01:00
Ismael Gomez 46f15c19e6 Added subframe averaging option in chest_dl. Optional in pdsch_ue 2017-11-29 20:28:04 +01:00
Ismael Gomez a3a1d268b7 Improved CFO estimation/correction by filtering central 6 PRB. Cleaned ue_sync/sync/pss objects. Used const attr in vector and other objects 2017-11-29 18:30:21 +01:00
Ismael Gomez 2772471e41 Added filtering function to PSS 2017-11-29 12:00:10 +01:00
Ismael Gomez 2fd2f15157 Cell RS based CFO estimation 2017-11-29 12:00:05 +01:00
Ismael Gomez 15a1304395 Revert "Add noise reduction in PSS before estimating CFO"
This reverts commit 0d7af88822.
2017-11-28 16:20:40 +01:00
Ismael Gomez 0d7af88822 Add noise reduction in PSS before estimating CFO 2017-11-28 15:52:10 +01:00
Xavier Arteaga 854a77455d
Merge pull request #113 from softwareradiosystems/next_new_features
adding simd xor functionality
2017-11-28 11:24:15 +01:00
Ismael Gomez aacd9e1e5b Revert "Use CP-based CFO estimation only for DL and UL. Estimate every subframe. Calibrated EMA to 0.3 highest valid for low SNR"
This reverts commit 6196c096af.
2017-11-27 18:27:48 +01:00
Ismael Gomez 3a0ab02264 S1/X2 handover tested and working 2017-11-27 13:57:05 +01:00
yagoda 38903de07c adding simd xor functionality 2017-11-27 11:10:50 +00:00
Ismael Gomez cfbea7a6c1 Restored non-guru DFT interface. Removed input buffer from ue_dl interface 2017-11-26 00:38:23 +01:00
Ismael Gomez d428760b20 Merge branch 'next' into mobility 2017-11-24 12:02:41 +01:00
Ismael Gomez 408545dab8 X2 (constant NCC) working 2017-11-23 19:46:34 +01:00
Ismael Gomez 053f5a619d Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2017-11-23 12:38:48 +01:00
Ismael Gomez 6196c096af Use CP-based CFO estimation only for DL and UL. Estimate every subframe. Calibrated EMA to 0.3 highest valid for low SNR 2017-11-23 12:36:16 +01:00
Xavier Arteaga f377b12f91 Merge branch 'next' of https://github.com/softwareradiosystems/srsLTE into enbmimo 2017-11-22 18:17:48 +01:00
Xavier Arteaga dbf10cff17 Solved PDSCH Power Allocation p_b on eNB side 2017-11-22 18:01:13 +01:00
Xavier Arteaga 176dae270c Fixes #105. Added backtrace print in 'srsLTE.backtrace.crash' 2017-11-22 16:00:07 +01:00
Xavier Arteaga 91e706d4d1 Fixes #107: srslte_simd_f_sqrt NaN solved if input is 0 2017-11-22 12:23:46 +01:00
Xavier Arteaga 401cc9a20a Merge branch 'power' of https://github.com/softwareradiosystems/srsLTE into enbmimo 2017-11-21 16:36:30 +01:00
Xavier Arteaga 58aac96a6e Added Power Allocation from HL in UE side 2017-11-21 16:11:08 +01:00
Xavier Arteaga 91c9ddf244 Added scaling factor to predecoder 2017-11-21 10:14:09 +01:00
Ismael Gomez 12d8b373c7 srsUE takes and reports intra-frequency measurements correctly 2017-11-20 10:02:39 +01:00
Xavier Arteaga e2a61af462 Added Aperiodic mode 3-1 in enb and some more optimizations 2017-11-16 14:48:03 +01:00
Xavier Arteaga d041431c13 Merge branch 'reporting' into enbmimo 2017-11-14 17:25:43 +01:00
Xavier Arteaga b084b153cf Added UE Mode 3-1 aperiodic reporting 2017-11-14 17:11:48 +01:00
Xavier Arteaga 9fbcf95367 Merge branch 'next' of https://github.com/softwareradiosystems/srsLTE into enbmimo 2017-11-09 16:16:39 +01:00
Xavier Arteaga 75957d41d7 Added DCI formats 2 and 2a inScheduler. Improved UE PHCH, corrected some MIMO bugs on both sides. 2017-11-08 17:10:16 +01:00
yagoda cd6ca95cd1 lime additions and resampler optimizations (#94)
* adding optimizations to fractional resampler

* adding txrx delay for N210 and Lime

* minor corrections to Lime api

* optimization of the fractional resampler
2017-11-08 07:43:38 -08:00
Ismael Gomez 641eceb328 Merge branch 'next' into mobility 2017-11-07 17:13:57 -08:00
Xavier Arteaga 98969b2011 Implemented 3GPP 36.212 Tables 5.3.3.1.5-1 and 5.3.3.1.5-2 2017-10-31 12:19:35 +01:00
Xavier Arteaga f9e428ef68 Optimised RI/PMI calculation call 2017-10-30 14:25:03 +01:00
Ismael Gomez 1d095b006a Removed unused nof_tb variable 2017-10-28 23:30:29 -07:00
Xavier Arteaga 96a6d6ae9f Merge branch 'next' into enbmimo 2017-10-27 16:25:03 +02:00
Xavier Arteaga 6985682ef0 Added 2nd Codeword interface in scheduler, plus pmi close loop reporting 2017-10-26 17:09:28 +02:00
Xavier Arteaga af669a6cbb Added RI reporting in enb and optimised RI computing calling time 2017-10-24 10:07:54 +02:00
Xavier Arteaga 15e75b2c65 Created Bit interleaver object and SSE optimised interleaver 2017-10-23 14:23:03 +02:00
Ismael Gomez 610e892036 Merge branch 'next_novolk' of github.com:softwareradiosystems/srsLTE into next_novolk 2017-10-20 12:34:42 -04:00
Ismael Gomez 85571c47cd Added option to ue.conf to configure CFO EMA (set default to 0.4) 2017-10-20 12:34:34 -04:00
Xavier Arteaga a400999927 Merge branch 'next_novolk' of https://github.com/softwareradiosystems/srsLTE into next_novolk 2017-10-20 18:17:43 +02:00
Ismael Gomez 7bef0b0e7f Merge branch 'next' into next_novolk 2017-10-20 10:13:04 -04:00
Xavier Arteaga c8bba2f4d0 DFT optimization. memcpy removal (#76)
* Solved PHICH Segmentation fault for MIMO

* Initial Guru FFT optimitzation

* Guru (i)FFT implemented. All test passed!

* Integrated new DFT into pdsch_enodeb and pdsch_ue. Solved more DFT bugs.

* Solved Merge Errors and bugs

* Solved UL Guru bug (DC missing). Updated Init and OFDM calls for enb and ue (cell measurement too).
2017-10-20 10:09:27 -04:00
Xavier Arteaga a570e63c5b Corrected bug in RA 2017-10-20 15:05:04 +02:00
Xavier Arteaga 02680ed2aa Merge pull request #75 from softwareradiosystems/next_novolk_update
Next novolk update
2017-10-20 14:24:08 +02:00
Ismael Gomez 2f44e2bf3a Refactored cases mcs>29 for ul/dl 2017-10-19 16:13:50 -04:00
yagoda 3292f9c269 simd.h tidy up & small fix for eMBMS 2017-10-19 16:38:58 +00:00
Xavier Arteaga 0504e7a51b Fixed test for abs value. Solved compilation Neon warnings and SSE errors 2017-10-18 12:49:43 +02:00
yagoda f4b9e7311a adding neon support to new vector structure 2017-10-17 15:51:27 +00:00
Xavier Arteaga 6657892b80 Added UCI CQI decoder for variable number of bits 2017-10-16 17:33:30 +02:00
Ismael Gomez c4c1c62360 stable connection. Runs out of samples in ringbuffer if clock differences 2017-10-13 17:59:12 +02:00
yagoda 2019ca31ef adding neon support for new kernel structure 2017-10-13 15:35:48 +01:00
Ismael Gomez f4e883d24f Divided phch_recv in subclasses 2017-10-10 16:42:24 +02:00
Xavier Arteaga e8da7160f0 eNB transmits diversity by default if two cell ports are configured 2017-10-10 13:24:23 +02:00
Xavier Arteaga 1a5cf45dda Solved compilation error for SSE (Tested in Atom) 2017-10-09 16:30:32 +02:00
Ismael Gomez dbae016b00 Removed unused vector functions 2017-10-02 18:16:03 +01:00
Ismael Gomez 4375113efc Merge branch 'next' into next_novolk 2017-10-02 17:57:38 +01:00
Xavier Arteaga 94a06867a3 Optimized SIMD includes and solved AVX512 bugs 2017-09-29 16:42:46 +02:00
Xavier Arteaga 9e5f999666 Added more functions 2017-09-28 11:04:26 +02:00
Ismael Gomez db17c67194 Fixed bug in SSE turbo decoder 2017-09-26 17:26:29 +02:00
Ismael Gomez 736b73bb4b Print PDSCH iterations per codeword 2017-09-26 14:51:37 +02:00
Ismael Gomez 680ba2761c Fixed number of iterations calculation 2017-09-26 14:48:59 +02:00
Xavier Arteaga c41ad5453c Solved bugs and compilation error in simd and vector_simd 2017-09-25 17:08:11 +02:00
Justin Tallon 774a456e31 adding phy layer support for mbms 2017-09-25 13:45:56 +02:00
Xavier Arteaga 0c52c5651d Merge branch 'next_novolk' of https://github.com/softwareradiosystems/srsLTE into next_novolk 2017-09-25 13:23:50 +02:00
Xavier Arteaga c9f6bfccd4 Refactored vector library with SIMD independent architecture inline functions test-benchmark 2017-09-25 13:19:34 +02:00
Xavier Arteaga 1c3b5552be added c16 type and architecture independent inline SIMD calls 2017-09-25 13:15:59 +02:00
Xavier Arteaga 8078238cb5 Removed test macros from mat.h 2017-09-25 13:08:38 +02:00
Xavier Arteaga c0fac73a84 Solved PHICH Segmentation fault for MIMO 2017-09-20 18:32:03 +02:00
Ismael Gomez 120544baa0 Remove LV_HAVE_SSE from turbodecoder interface. Fixes #99 2017-09-14 10:09:52 +02:00
Ismael Gomez bf79d463d4 Merge branch 'next' into next_novolk 2017-09-13 17:10:22 +02:00
Ismael Gomez 05da1ac480 Merge branch 'mobility' of github.com:softwareradiosystems/srsLTE into mobility 2017-09-13 13:39:17 +02:00
Xavier Arteaga afd2bbbfc2 Added periodic RI on PUCCH for TM3 and TM4 2017-09-13 13:37:48 +02:00
Xavier Arteaga 65f5987ea8 Added RI reporting for TM3 and TM4 (no PMI) 2017-09-13 13:37:42 +02:00
Xavier Arteaga d9b6ae7563 PUSCH supports 2 ACK 2017-09-13 13:37:31 +02:00
Xavier Arteaga 91fe032276 Added PUSCH ACK decoder and test 2017-09-13 13:37:23 +02:00
Xavier Arteaga 230eb63a97 Refactored grant: removed nof_tb from grant. Use tb_en instead. 2017-09-13 13:36:20 +02:00
Ismael Gomez d9ddef9209 Merge branch 'next' into next_novolk 2017-09-13 13:13:00 +02:00
Ismael Gomez 3e712d6a57 Merge branch 'next_mimo' into next 2017-09-13 13:12:50 +02:00
Ismael Gomez 7aa33c1f27 Merge branch 'next' into next_novolk 2017-09-13 13:05:28 +02:00
Ismael Gomez 41188b409e cleaned up cfo set tolerance functions 2017-09-12 11:10:32 +02:00
Xavier Arteaga 0c31a5cfc1 Added periodic RI on PUCCH for TM3 and TM4 2017-09-08 16:24:34 +02:00
Xavier Arteaga 52bdd9290d Added RI reporting for TM3 and TM4 (no PMI) 2017-09-08 11:36:43 +02:00
Xavier Arteaga c04eadaa6b PUSCH supports 2 ACK 2017-09-07 17:50:05 +02:00
Xavier Arteaga 6a668ef27f Added PUSCH ACK decoder and test 2017-09-07 17:50:05 +02:00
Ismael Gomez f0d9b333b2 Improved stability when UE reattaches 2017-09-07 13:19:53 +02:00
Ismael Gomez 394d8f166a Improved initial CFO estimation for PRACH. Fixed bug in PDCCH after changing cell 2017-09-06 18:05:07 +02:00
Ismael Gomez b59e4d08ca fixed incorrect initialization of PUSCH estimator 2017-09-06 12:43:50 +02:00
Ismael Gomez b0639ab394 resolved merge conflicts 2017-09-05 15:26:36 +02:00
Xavier Arteaga 338be7d0c2 Refactored grant: removed nof_tb from grant. Use tb_en instead. 2017-09-05 13:17:33 +02:00
Ismael Gomez 79b0ca81d0 Fix memory alignment in PUCCH processing. Fixes #94 2017-09-05 10:57:00 +02:00
Ismael Gomez 5341d79b8a Fix memory alignment in PUCCH processing. Fixes #94 2017-09-05 10:54:48 +02:00
Ismael Gomez 9dffa10550 fixed compiling issues 2017-09-04 17:56:58 +02:00
Ismael Gomez 29ca3705a7 Merge pull request #17 from softwareradiosystems/next_mimo
Next mimo
2017-09-04 17:36:13 +02:00
Xavier Arteaga 1486911e32 DCI blind search takes Transmission mode in consideration and some _multi functions removed 2017-09-04 15:28:18 +02:00
Ismael Gomez 9ae21dfd5d reattaching cells with different IDs and PRB 2017-09-04 12:26:58 +02:00
Ismael Gomez 38c67dc410 Moved FFTW to WISDOM and save/load from file 2017-09-04 10:53:41 +02:00
Ismael Gomez 6e0fd43c1f Moved FFTW to WISDOM and save/load from file 2017-09-04 10:45:13 +02:00
Ismael Gomez a51b6b09dd Merged with next. Attach successful 2017-09-01 19:32:57 +02:00
Ismael Gomez 8a3ff19b30 set all pdsch functionts to MIMO by default (removed _multi) 2017-09-01 18:59:28 +02:00
Ismael Gomez e5feec1934 Temporal commit before merge. Changed sequence objects to avoid reallocating memory. new NAS/RRC working with initial attachment 2017-09-01 13:29:11 +02:00
Ismael Gomez 408bb7da66 Merge branch 'next' into next_novolk 2017-08-31 14:54:06 +02:00
Xavier Arteaga fee8337c67 Removed unused function entries 2017-08-31 14:22:42 +02:00
Xavier Arteaga c2b5499284 Removed SCH object vector from PDSCH object (only SCH object from now on) 2017-08-31 12:35:27 +02:00
Xavier Arteaga d933f1b817 Renamed module algebra (it is now named mat) and moved usefl math SIMD macros to simd.h 2017-08-31 12:24:26 +02:00
Xavier Arteaga 0947173fc1 Merge branch 'next' into next_mimo 2017-08-29 17:30:40 +02:00
Xavier Arteaga bbf7ffffa2 Added Condition number calculation for Rank Indicator in TM3
(cherry picked from commit f8a4472)
2017-08-29 17:11:49 +02:00
Ismael Gomez fabeca49c7 moved pdsch_coderate to phy_common 2017-08-29 15:38:16 +02:00
Xavier Arteaga cedc32fbb0 Added RI (CQI periodic reporting) send condition function 2017-08-28 14:12:56 +02:00
Xavier Arteaga 8c71c716c9 PDSCH decoder acknowledges TBs/CWs per sepparate and softbuffers are arrays of pointers 2017-08-28 13:06:54 +02:00
Xavier Arteaga e22a526350 Correction RF module for supporting Rx diversity in the UE 2017-08-28 13:05:27 +02:00
Ismael Gomez 616e18c570 fixed PUCCH correlation estimator 2017-08-24 15:16:13 +02:00
Xavier Arteaga 7e9e9a6a7d Included precoding information (pinfo) in grant and interfaced TM4 2017-08-21 17:36:44 +02:00
Xavier Arteaga 2c07a16189 DL grant parameter are now vectors of MAX_CODEWORDS 2017-08-21 16:53:12 +02:00
Xavier Arteaga 9c9c07a845 Improvement in how PDSCH UE shows downlink statistics. 2017-08-21 12:01:34 +02:00
Xavier Arteaga ed19a4d200 Removed PDSCH threads and refactored RI/PMI select 2017-08-18 16:48:21 +02:00
Xavier Arteaga 801b210511 Include open RF multi 2017-08-17 10:23:28 +02:00
Xavier Arteaga 94325d13d2 Scalable PDSCH with MAX_CODEWORDS PDSCH plus decoding threads for bitrate increase 2017-08-17 10:23:03 +02:00
Xavier Arteaga 48d508aeba Added srs_lte_cpy for aligned copy which improves a bit performance for aligned data 2017-08-17 10:19:19 +02:00
Xavier Arteaga a9d9c92205 Added MMSE in SSE and AVX plus subroutines refactor 2017-08-17 10:17:48 +02:00
Xavier Arteaga d1709e06af Added algebra SSE, AVX (+FMA) implementatiokns with test 2017-08-17 10:14:37 +02:00
Xavier Arteaga 4007a15581 Merge branch 'next' into next_mimo 2017-08-17 09:38:52 +02:00
Xavier Arteaga 2bf288ff59 Solved infinite loop and/or segmentation fault in the SCH decoder for non-SSE compilation. 2017-08-16 17:39:49 +02:00
Xavier Arteaga 1d00e1acaa Merge with next_with_matlab 2017-08-03 13:56:57 +02:00
Xavier Arteaga 19bc98081a PDSCH decoder multi has been modified for future parallel decoding of codewords. 2017-07-25 15:35:25 +02:00
Xavier Arteaga 6142a5f9e5 Merge to next_with_matlab 2017-07-25 13:17:36 +02:00
Andre Puschmann e8c41d4620 Revert "Soapy(lime) tx support"
This reverts commit 10c0f03f33.
2017-07-12 17:34:14 +02:00
Ismael Gomez 7a02efe0e5 fixed segfault due to race condition in scrambling sequence pre-generation 2017-07-11 13:43:06 +02:00
Ismael Gomez 012d14f4b5 fixed segfault due to race condition in scrambling sequence pre-generation 2017-07-11 13:18:04 +02:00
Ismael Gomez 41edfcc7ab fixed segfault due to race condition in scrambling sequence pre-generation 2017-07-11 13:17:51 +02:00
Ismael Gomez f629e10fcf fixed bug in sub_sse() and added couple of avx functions 2017-07-07 18:44:17 +02:00
Ismael Gomez fd2a6f13e2 Merge branch 'next' into next_novolk 2017-07-07 16:34:05 +02:00