Xavier Arteaga
ada8772f57
Initial srenb TA compensation
2020-03-17 17:21:43 +01:00
Xavier Arteaga
0408d357a7
Minor fixes
2020-03-16 15:07:12 +01:00
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
2020-03-16 13:10:21 +01:00
Xavier Arteaga
e832769ae6
Updated copyright
2020-03-16 11:26:06 +01:00
yagoda
943d90bc48
consolidating different ringbuffer functionalities into one, adding unit tests for ringbuffer
2020-03-16 07:48:10 +01:00
Xavier Arteaga
5af89513eb
use double precission for frequency in srsue and srsenb
2020-03-13 14:01:58 +01:00
Xavier Arteaga
834a081c09
Add EPRE measurement to PUSCH decoder
2020-03-13 14:01:58 +01:00
Xavier Arteaga
76408b195e
Rename TX_DELAY and FDD_HARQ_DELAY_MS
2020-03-11 21:16:36 +01:00
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
2020-03-10 22:06:07 +00:00
Francisco Paisana
639f473042
fixed unsigned signed comparison
2020-03-10 14:17:49 +01:00
Francisco Paisana
1e63fa41cf
made ue_cc_idx int to set to -1 for rar and bc allocs
2020-03-10 14:17:49 +01:00
Francisco Paisana
f3c3c52fcd
added ue_cc_idx to dci allocation
2020-03-10 14:17:49 +01:00
Xavier Arteaga
002a68e183
SRSENB: hard-coded parametrized PUCCH DMRS correlation threshold
2020-03-10 09:19:54 +01:00
Xavier Arteaga
64caa4321b
Fix UL control decoding. Some minor aesthetic changes.
2020-03-10 09:19:54 +01:00
Xavier Arteaga
44a5ce172e
Added vector srslte_vec_avg_power_sf
2020-03-10 09:19:54 +01:00
Ismael Gomez
4e12405fff
Remove radio_multi class and organize channels, ports and carrier buffers ( #1019 )
2020-03-06 15:26:48 +01:00
Xavier Arteaga
a968fb02d3
Increase PUCCH correlatiion threasholds
2020-03-06 13:58:49 +01:00
Xavier Arteaga
da701cd82b
SRSENB: Added PUSCH TA and EVM measurement. Some more PHY cleanup.
2020-03-06 13:58:49 +01:00
Xavier Arteaga
47cbbcbd57
Improve PUSCH UCI decoder
2020-03-06 13:58:49 +01:00
Francisco Paisana
a6320f93b8
remove remaining const_casts
2020-03-05 20:23:07 +00:00
Francisco Paisana
ec1f1cc677
remove const_casts from scheduler. Fix ODR issue
2020-03-05 20:23:07 +00:00
Andre Puschmann
e4b5fa122f
add set_cell() call to PSCCH and allocate for max PRB in pscch_init()
2020-03-03 16:22:51 +01:00
Andre Puschmann
151ce10a96
remove SL specific CFO correction method
2020-03-03 16:22:51 +01:00
Andre Puschmann
09f7355870
use srslte_cell_sl_t in PSCCH
2020-03-03 16:22:51 +01:00
Andre Puschmann
14000f7ae7
adding phy_common_sl.{c,h}
2020-03-03 16:22:51 +01:00
Andre Puschmann
8b70ff7654
simplify SL chest and add RSRP and sync error measurements
2020-03-03 16:22:51 +01:00
Tiago Alves
cabd9ae742
baseline implementation of pscch
2020-03-03 16:22:51 +01:00
Xavier Arteaga
125747ae4a
Added external C to phy_common header and ACK/NACK feedack mode parser
2020-03-02 12:19:09 +01:00
Xavier Arteaga
a4135e41a5
Added PUCCH collision checker
2020-03-02 12:19:09 +01:00
Xavier Arteaga
2fc0832f05
Addition of DL HARQ-ACK generation procedure for eNb DL and minor aesthetic changes
2020-03-02 12:19:09 +01:00
Xavier Arteaga
e621853566
Minor aesthetics changes
2020-02-28 12:10:32 +01:00
Xavier Arteaga
f261365c91
Initial EVM calculation commit and other easthetic changes
2020-02-28 12:10:32 +01:00
Pedro Alvarez
aecfb151ce
Apply clang-format to the lib in preperation for PR.
2020-02-20 20:53:27 +01:00
Ismael Gomez
d8d10daebe
Fix bug in SRS using the previous grant to compute collision with PUSCH ( #958 )
2020-02-16 21:30:04 +01:00
Andre Puschmann
327aa97cfd
add macro for invalid RNTI 0x0
2020-02-15 19:33:25 +01:00
Xavier Arteaga
67c07dfb56
Moved UL/DL PUCCH procedures into pucch_proc
2020-02-13 10:29:00 +01:00
Xavier Arteaga
7a20e3a51e
Added boolean random generator
2020-02-13 10:29:00 +01:00
Xavier Arteaga
5dbc96458a
Sets PUCCH decode threshold as macro
2020-02-13 10:29:00 +01:00
Xavier Arteaga
bc10943a2b
Added get max TB from DCI format
2020-02-13 10:29:00 +01:00
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