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
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
5 years ago
Andre Puschmann
ca3b76df6e
chest_sl: fix some possible array access at negative index
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
d64fa19321
ue_dl_nbiot: check sf_idx before accessing buffer
...
this fixes a potential out-of-bounds access
5 years ago
Andre Puschmann
ba4c2f10f0
fix potential out-of-bounds access in static look-up-tables
...
check index before accessing lut
5 years ago
Andre Puschmann
7aeddfd186
fix potential error where return value -1 is used for loop termination
5 years ago
faluco
340ec61e8e
Code review.
5 years ago
faluco
e28d9bb473
Fix for 1492950.
5 years ago
faluco
6fdceadc4e
Fix for 1480100.
5 years ago
faluco
7bec101831
Small refactor to eliminate a function that causes undefined behaviour.
5 years ago
Andre Puschmann
a0665b721e
prach: fix illegal mem access when wrong configs are passed
...
this fixes Coverity issue 1480095
5 years ago
Xavier Arteaga
f69aad3aac
Clean up channel class
5 years ago
faluco
d9529a3a8f
Fix for 1480071.
5 years ago
faluco
0ba9164ae2
Fix for 1480055.
5 years ago
Andre Puschmann
8185b7c793
ue_dl: fix potential out-of-bounds access when decoding DCIs
...
fixes Coverity issue 1480088 where srslte_ue_dl_find_dl_dci() expects
an array of struct srslte_dci_dl_t but is only given one element.
srslte_ue_dl_find_and_decode() itself only uses the first decoded
message but find_dl_dci() may still decode more than that
5 years ago
faluco
9efa24bfa9
More warning fixes.
5 years ago
faluco
d3cb5dcffd
Start fixing clang 10.0.0 warnings.
...
Disable -Werror temporarily.
5 years ago
faluco
74dae2c287
- Small refactor to make math operations without implicit casts.
5 years ago
faluco
d7433a551b
Initialize TDD matrix with shorter symbols using macros. While there move another matrix next to where it is used.
5 years ago
faluco
7ff251f112
- Fixed warnings caught by Clang 9.0.0
5 years ago
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
5 years ago
Andre Puschmann
92fb6a94f4
npdsch: use r14 bcch sequence when encoding SIB
5 years ago
Andre Puschmann
2c6a95c1d5
nbiot_sync: fix potential segfault during sync when time gap is too big
5 years ago
Xavier Arteaga
d94078d543
Minor changes
...
Fix UE sequence generation
minor change
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
Andre Puschmann
cd26f6988c
temporarily disbale rf_zmq_test test due to hanging on exit on some platforms
5 years ago
Andre Puschmann
6a764ae87c
psbch: change memcpy() to srs_vec alternative
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
928439b94c
DL Wiener: optimized with inlining
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
9b9389ead5
DL Wiener: bug fixed and verified
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
6248ab43e3
Minor optimization in SIMD dot product kernel
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
1f6d5fd23a
small fixed to limiting prach search
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
Paul Sutton
8692e08737
Close rf device after use
5 years ago
Xavier Arteaga
28b2a69c8a
ZMQ module uses default base srate
5 years ago
Xavier Arteaga
b9583d4182
Fix Extended CSI request bits in DCI
5 years ago
Andre Puschmann
8d52343c72
pssch: address review comments
5 years ago
Andre Puschmann
d6e0153b40
sci: add SCI format 1 transmission format flag
5 years ago
Andre Puschmann
7109379d83
pssch_test: fix memleak
5 years ago
Andre Puschmann
edcf6d1e51
pssch_test: zero sample vectors after alloc
5 years ago
Andre Puschmann
723503fded
pssch_test: disable PSSCH tests that currently fail decoding TB
5 years ago
Andre Puschmann
28de7a9c93
pssch_test: expose start SF index as parameter and use helper to calc PRB
5 years ago
Andre Puschmann
955960f22d
write decoded PSSCH symbols to file with PHY debug enabled
5 years ago
luis_pereira87
baf0ad5bf4
PSSCH implementation
5 years ago
Andre Puschmann
95bc7b48df
ue_dl_nbiot: fix storing of softbits after first decoding failed
...
memcpy wasn't using sizeof(float)
5 years ago
Andre Puschmann
4c242f8d77
ue_dl_nbiot: remove fixme's
5 years ago
Andre Puschmann
5a95af6ce1
ofdm: move var init into loop
5 years ago
Andre Puschmann
a82b2da2dd
dft_precoding: add helper to get largest valid PRB
5 years ago
Andre Puschmann
04051a5cd0
soapy: add missing error messages for some soapy calls
5 years ago
Andre Puschmann
13b59b42c7
npdcch: replace fixme with todo
5 years ago
Andre Puschmann
a98a94e74b
fix some non-critical warnings found by Coverity scan
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
c26a70c8da
Fix compilation
5 years ago
Andre Puschmann
80bdb0ea17
soapy: fix compilation on Soapy version < 6
5 years ago
Xavier Arteaga
a7525d3e12
Fix somememory leaks
5 years ago
Xavier Arteaga
e6792cf9b7
Refactored OFDM and added half CP window offset in UL Demodulator
5 years ago
Xavier Arteaga
4756319e8f
Reduce PHY logging
5 years ago
Andre Puschmann
34bc192f70
soapy: fix bug in selecting soapy device
5 years ago
Andre Puschmann
e7f28a57f3
soapy: reuse device args again as stream args
5 years ago
Andre Puschmann
8f79619efe
soapy: disable LimeSDR specific modifciations
...
this turns off some Lime specific tweaks that we did, for example
turning off streaming before changing the sampling rate.
those are now implemented inside the LimeSuite (as of 20.01)
and are no longer required here
patch also disable the explicit BW setting and async background thread
5 years ago
Andre Puschmann
c145d80547
nbiot: address review comments
5 years ago
Andre Puschmann
e76e31e652
adding NB-IoT DL shared channel, UE DL object and PHY examples
5 years ago
Andre Puschmann
890436e07f
remove uneeded include
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
Xavier Arteaga
fa776b1243
minor changes
5 years ago
Xavier Arteaga
d76c77c188
Optimized PR sequence generator
5 years ago
Xavier Arteaga
375ac1388a
Implemented SSE bit pack vector
5 years ago
Xavier Arteaga
24466fd242
Added PR sequence unit test/benchmark
5 years ago
luis_pereira87
653a1e0619
Added PSBCH Extended CP
5 years ago
Andre Puschmann
8e7b49b949
pscch: fix PSCCH memory allocation and failing tests
...
the missing mem zero'ing caused the unit test to fail on some
machines where the memory wasn't initialized by default.
for d and d16 allocate the maximum number of bits, not
only the max length of a DCI
5 years ago
Andre Puschmann
e495c4d553
vector: add uint8 zero'ing function
5 years ago
Xavier Arteaga
11a8db202a
Removed PDSCH traces
5 years ago
Xavier Arteaga
210ce0ac48
Fix modulation table
5 years ago
Xavier Arteaga
93771126ed
More clear PDSCH CP function
5 years ago
Xavier Arteaga
029f8c1562
Removed redundant test cases
5 years ago
Xavier Arteaga
e25acdfd1d
AWGN channel: same behaviour for all CPU architectures
5 years ago
Xavier Arteaga
a0fb150e58
Fix memory issues in PSCCH decoder
5 years ago
yagoda
eed6240a4b
adding expected results to the viterbi test for neon
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
9a2b0b7cc7
Standard vector allocation uses vector library
5 years ago
Xavier Arteaga
6d355ab61e
SRSUE: Fix HO initial CFO
5 years ago
Andre Puschmann
6911ee3004
soapy: add macro to disable stream stopping before changing sample rate
5 years ago
Andre Puschmann
ed646de7f1
soapy: fix segfault when launching and no device args where provided
5 years ago
Andre Puschmann
c82e7d313a
soapy: fix stream setup for new Soapy API
...
this caused an issue when compiling with latest SoapySDR drivers
that changed API for setupStream
5 years ago
Ismael Gomez
8e07547909
Fix device_args in x300 when setting master_clock
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
Ismael Gomez
95c6916987
Improve robustness in RF Overflow ( #1124 )
...
* Use task id to track old background tasks in RA procedure
* Improve robustness against RF overflow in PHY
* Increase SNR out-of-sync threshold
* Do not change frequency if it's the same
* Increase sync priority
* Increase time to start receiving to reduce input buffer occupation
* Use scoped lock in sf_worker
5 years ago
Xavier Arteaga
cd2f86687f
Correction in AWGN generator
5 years ago
Xavier Arteaga
ca9611654d
Minor correction in AWGN channel test
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
8bf7acdeaf
Added vector malloc for i32 and u32
5 years ago
Xavier Arteaga
2c93f6d20a
Fix PUCCH DMRS correlation
5 years ago
Xavier Arteaga
ea1b6b60dd
Fix UHD memory issues
5 years ago
Xavier Arteaga
f3f03ad12d
SRSUE PHY: Add extra debugging information to errors
5 years ago
Xavier Arteaga
d191b1c8e0
Do not bundle ACK/NACK if PUCCH CS and no ACK to transmit
5 years ago
Xavier Arteaga
0408d357a7
Minor fixes
5 years ago
Xavier Arteaga
e832769ae6
Updated copyright
5 years ago
yagoda
4f818b04ae
adding return macros to ringbuffer
5 years ago
yagoda
943d90bc48
consolidating different ringbuffer functionalities into one, adding unit tests for ringbuffer
5 years ago
Xavier Arteaga
44593120c6
SRSUE: Zero UL signal if no transmission
5 years ago
Xavier Arteaga
66b98cf224
Fix ZMQ typo
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
Ismael Gomez
e8b8c9922e
Add RF per-channel frequency band constraints ( #1026 )
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
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
Pau Espin Pedrol
3633859d09
rf_imp.c: Ignore case when matching device_name
...
This allows using device_name = UHD, uhd, ZMQ, zmq, etc.
5 years ago
Ismael Gomez
4e12405fff
Remove radio_multi class and organize channels, ports and carrier buffers ( #1019 )
5 years ago
Xavier Arteaga
5aff042c6e
Avoid repeated PDCCH locations
5 years ago
Xavier Arteaga
02dd5bd8c4
Fix PUSCH segfault
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
Andre Puschmann
4553ce7ff1
temporarily disable SCI checks for PSCCH file tests
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
3adfbcadbc
disbable three Sidelink tests that are currently failing on AVX2
5 years ago
Andre Puschmann
c471f6c900
chest_sl: tiny refactor and comments
5 years ago
Andre Puschmann
3e51734a39
adopt sample path for sync_sl_test
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
Andre Puschmann
d85339187a
pass offset parameter to CMW capture to compensate SFO
5 years ago
Tiago Alves
cabd9ae742
baseline implementation of pscch
5 years ago
Andre Puschmann
0aff9d9d26
fix -Wstringop-trunc in phy_common helper
...
gcc8 added a -Wstringop-truncation warning that flags
an issue in phy_common because we are copying a str
to another str without explicitly saying it's null-terminated.
we could turn off the warning using a pragma in the code
but I guess it's safe to just null-terminate after
copying manually
[1] https://stackoverflow.com/questions/50198319/gcc-8-wstringop-truncation-what-is-the-good-practice
5 years ago
Andre Puschmann
31673d1797
rf_zmq: increase param len to capture longer rf args
5 years ago
Xavier Arteaga
125747ae4a
Added external C to phy_common header and ACK/NACK feedack mode parser
5 years ago
Xavier Arteaga
5893f66364
SRSENB: fixes, srsUE attaches srsENB
5 years ago
Xavier Arteaga
a4135e41a5
Added PUCCH collision checker
5 years ago
Xavier Arteaga
85171f3ca7
Fix eNb UL PUCCH1b CS decoding
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
d56b87f68c
Typo
5 years ago
Ismael Gomez
72e6fa40fc
Fix multiple issues with DCI sizes when using CA.
5 years ago
Ismael Gomez
be82e1f368
Fix concurrency bug in ZMQ during srate change ( #954 )
...
The bug was manifesting as buffer overflow in 20 MHz 2x2 CA
5 years ago
Ismael Gomez
d8d10daebe
Fix bug in SRS using the previous grant to compute collision with PUSCH ( #958 )
5 years ago
Xavier Arteaga
6c960da808
Fix UE's SR transmission
5 years ago
Xavier Arteaga
344016ef0a
Refactored and commented SRSUE's Intra measure component
5 years ago
Xavier Arteaga
8f6dd184be
SRSUE: neighbour cell measurement test defined
5 years ago
Xavier Arteaga
385102fa2d
SRSENB: minor format, renaming and interface changes
5 years ago
Xavier Arteaga
67c07dfb56
Moved UL/DL PUCCH procedures into pucch_proc
5 years ago
Xavier Arteaga
bf4ecc8064
Fix srsenb PHY and unit/component tests
5 years ago
Xavier Arteaga
7a20e3a51e
Added boolean random generator
5 years ago
Xavier Arteaga
f9c3dd2748
more fixes in the srsenb
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
f6cf7780e8
Minor aesthetic corrections
5 years ago
Xavier Arteaga
d66fdefbb3
Added more docs to PUCCH 1b CS resource selection
5 years ago
Xavier Arteaga
b4d1f737f3
Minor PUCCH 1b CS resouce selection fix
5 years ago
Xavier Arteaga
cd12307c91
SRSLTE: fix PUCCH 1b Channel selection resource
5 years ago
Xavier Arteaga
86a62c3584
removed unreachable code
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
d62b835a4c
sync USRP time to GPS when GPSDO is used as clock source
5 years ago
Andre Puschmann
cccabdaf4f
removing unneeded install targets for static libs (reported by Filipe)
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
Jason Tang
e15eb936fa
Support multiple SoapySDR devices using soapy=# device_arg
5 years ago
Xavier Arteaga
f8fc226b89
Removed 5dB offset to the minimum Rx gain of the AGC
5 years ago
Xavier Arteaga
68ad4960eb
SRSLTE: added holding time before AGC starts measuring after setting gain
5 years ago
Andre Puschmann
6a50fe3233
zmq: add monitor code for sockets but disable it
...
according to the ZMQ dev guide, one can use a socket monitor
to get informed about changes to a socket, e.g. when a client disconnected.
This is useful to detect when a UE dropped the connection to reinitialize
the socket and timers in a eNB.
This commit adds code to create such a socket monitor but leaves
it disabled because it still doesn't work as expected.
5 years ago
Andre Puschmann
995774c830
add ZMQ device argument to fail reception when end point disconnects
...
this allows to gracefully exit the eNB when the UE disconnected.
5 years ago
Andre Puschmann
2a46413121
during cell search don't configure found cell as serving cell
...
this fixes an issue in which, during cell search, the sync code
itself would set the serving cell whenever it found a new cell.
instead, only report the found cell to RRC and keep the sample
rate at 1.92 MHz. RRC may select a new serving cell and then tell
PHY to camp on it.
5 years ago
Xavier Arteaga
f8294fb9df
SRSUE: RRC measurements refactor and more fixes
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
Xavier Arteaga
c0b611dd0d
srsLTE: DL channel estimator compensates channel delay
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
Ismael Gomez
171e26ee68
Add checks more checks for UL grants
5 years ago
Xavier Arteaga
dcb3bc0135
srsLTE: apply CLang Format in sch.c
5 years ago
Xavier Arteaga
905273b36a
srsLTE: more memory corruption counter measures in ul_sch_encode
5 years ago
Xavier Arteaga
3b138b25c6
srsLTE: UL SCH Beta offset access fortification
5 years ago
Andre Puschmann
b43c531c15
adding CMW500 SLSS capture and enable PSBCH test
5 years ago
Andre Puschmann
d98bc71057
fix PSBCH and use UL-SCH interleaver
5 years ago
Andre Puschmann
9012ca5faa
fix PSBCH tests
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
8a666ee455
srsLTE: Increase UHD default sampling rate. Enables warning if USB2 is used.
5 years ago
Andre Puschmann
be4ba504bd
fix another bunch of uninit memory in tests, and one in srsENB
5 years ago
Andre Puschmann
0554064bf0
refactor NPBCH init, fix memset with zero length
5 years ago
Andre Puschmann
0394d21dd2
fix uninit memory in chest sl test when not test is executed
5 years ago
Andre Puschmann
03512547f5
add test for Sidelink channel estimator
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
36b2102de8
SRSUE: avoid testing ue_phy_test
5 years ago
Xavier Arteaga
307c27dc30
srsLTE: ZMQ renamed struct field
5 years ago
Xavier Arteaga
2d98f92823
srsLTE: upgraded ZMQ for supporting frequency selection
5 years ago
Xavier Arteaga
11eafa8ab4
srsLTE: FFTW wisdom gets loaded and saved by default
5 years ago
Xavier Arteaga
892ece8cdd
srsLTE: reduce number of SF for rf_zmq_test
5 years ago
Xavier Arteaga
c92dce71b7
srsLTE: AGC only uses boundaries for requesting gain to Radio
5 years ago
Xavier Arteaga
097f492430
srsLTE: fix ZMQ RF module gain
5 years ago
Pedro Alvarez
6d4303cd94
Added option to force 32bit compilation (useful for debug). Fixed various warnings when compiling in a 32 bit arch.
5 years ago
Xavier Arteaga
089a5e21dc
Label test that memcheck is excessively long
5 years ago
Xavier Arteaga
173defd676
srsLTE: Execute load and save FFTW wisdom automatically
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
Vasil Velichkov
ef9d16a3cf
PHY: Initialize pucch3_w_n_oc_5 using precomputed constants when compiled with clang
...
Fixes the following clang-7's error
srsLTE/lib/src/phy/phch/pucch.c:307:9: error: initializer element is not a compile-time constant
{1, cexpf(I * 2 * M_PI / 5), cexpf(I * 4 * M_PI / 5), cexpf(I * 6 * M_PI / 5), cexpf(I * 8 * M_PI / 5)},
^~~~~~~~~~~~~~~~~~~~~~~
Add SRSLTE_PUCCH_FORMAT_3 in the pucch_test
5 years ago
Vasil Velichkov
a44671fc77
PHY: Manually unroll loops that use _mm_extract_epi(8/16)
...
clang does not unroll those loops even though it supports the
-funroll-loops command line option, adding various #pragma unroll
options also does not help.
The unroll is needed to make the second argument a constant integer.
Enable the SSE/AVX turbo rate matching when compiling in debug mode.
srsLTE/lib/src/phy/fec/rm_turbo.c:590:33: error: argument to '__builtin_ia32_vec_ext_v16qi' must be a constant integer
int8_t x = (int8_t) _mm_extract_epi8(xVal, j+8);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib64/clang/7.0.1/include/smmintrin.h:1048:23: note: expanded from macro '_mm_extract_epi8'
(int)(unsigned char)__builtin_ia32_vec_ext_v16qi((__v16qi)(__m128i)(X), \
^
srsLTE/lib/src/phy/fec/rm_turbo.c:591:35: error: argument to '__builtin_ia32_vec_ext_v8hi' must be a constant integer
uint16_t l = (uint16_t) _mm_extract_epi16(lutVal2, j);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib64/clang/7.0.1/include/emmintrin.h:4273:24: note: expanded from macro '_mm_extract_epi16'
(int)(unsigned short)__builtin_ia32_vec_ext_v8hi((__v8hi)(__m128i)(a), \
5 years ago
Xavier Arteaga
78dd9d7854
SRSLTE: Added float and complex vector allocation
5 years ago
Xavier Arteaga
2ebaf39c5a
ZMQ: transmit zeros if buffer is not provided
5 years ago
Andre Puschmann
94ca9bcf22
fix potential invalid array access
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
Andre Puschmann
20409b4fc2
fix valgrind check caused by missing dft_exit
5 years ago
Xavier Arteaga
a51d989e2e
Fixed static analysis float/double conversion
5 years ago
Xavier Arteaga
d96836a0fa
SRSUE: Stack TTI based purely in radio timestamp
5 years ago
Ismael Gomez
f7e6da050e
Adds PUB/SUB model to ZMQ and option to use sc16 sample type over the socket ( #815 )
...
* Adds PUB/SUB model to ZMQ and option to use sc16 sample type over the socket. Adds example application for remote RX RF head using ZMQ
* Addressed comments and other bugs
* Removed atoi atof
5 years ago
Ismael Gomez
969e0e211d
Addressed comments
5 years ago
Ismael Gomez
2dbbd8b466
Minor esthetic changes
5 years ago
Ismael Gomez
713d98ecb9
Fix issue in AGC confusing dB with linear
5 years ago
Xavier Arteaga
6d896ee453
Fixed more static code analysis warnings
5 years ago
Xavier Arteaga
b48bb0d754
Removed atof, atoll and atoi calls
5 years ago
Xavier Arteaga
8dd1c59e18
Added amplitude and power conversions to dB and viceversa
5 years ago
Xavier Arteaga
f75d0e5b26
Change M_SQRT2 and M_SQRT1_2 instead of sqrt(2) and 1/sqrt(2)
5 years ago
Xavier Arteaga
ff2c0cd115
ZMQ: return error if no arguments provided
5 years ago
Xavier Arteaga
ff77bcb782
ZMQ: Fix empty arguments SEGFAULT
5 years ago
Xavier Arteaga
14b673a6ba
Update dft_fftw.c
5 years ago
Xavier Arteaga
865f6bd6d4
FFTW: fix FFTW wisdom file path under user's home folder
5 years ago
Xavier Arteaga
f057e9ae67
BladeRF & ZMQ: more fixes
5 years ago
Andre Puschmann
4f83c27e93
fix some compilation warning in RF lib
5 years ago
Xavier Arteaga
75c00ba1b0
Change .fftw_wisdom default path
5 years ago
Andre Puschmann
768ce745dc
fixing issue in Viterbi when decoding zero codeword
...
it seems that when the input is only zero, the calculated max
becomes zero too. This causes a div by zero later in the
normalization (q->gain_quant/max).
5 years ago
Xavier Arteaga
dca1be9157
SRSLTE/RF/ZMQ: Added ZMQ MIMO capability
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
2401a2982b
adding various NB-IoT test captures
5 years ago
Andre Puschmann
792e2f7f8f
add NB-IoT scrambling sequences
5 years ago
Justin Tallon
4a1b8a5952
adding support for neon soft demodulation, adding cmake checks for aarch64
...
* adding support for neon soft demodulation, adding cmake checks for aarch64
* rearranging some arm cmake flags
5 years ago
Andre Puschmann
2ec62f7fa9
fixing weird gcc9 bug with strncpy
...
see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88780 for details
5 years ago
Andre Puschmann
1d6f72b478
soapy: fixing various soapy bugs detected with asan
...
- use nof_rx_channels to set rx pointers
- use returned value to set bw
- fix heap use after free
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
73517f981e
Minor fixes
5 years ago
Xavier Arteaga
423475173d
Refactored magnitude and argument extraction from sf_worker
5 years ago
Xavier Arteaga
4227da9bd0
Fixed DCI Format1B length
5 years ago
Xavier Arteaga
73cf593891
SRSENB: Fixed PUCCH resource selection
5 years ago
Andre Puschmann
2d730389fe
fix type mismatch in bzero
5 years ago
Pedro Alvarez
fd01c44d4e
Fix compilation error on GCC 8.x due to usage of strncpy in zmq_imp_rx/tx.
...
Fixed also order in which zmq object is zero'ed out.
5 years ago
Xavier Arteaga
ba6a68825c
UE DL: Extended ack test for FDD
5 years ago
Xavier Arteaga
0b00e6d94a
SRSUE: fixed CSI and HARQ collision for CA
5 years ago
Ismael Gomez
1d83bb08e2
Changes in ACK procedure to support CA. Tested 1 cell in SISO/MIMO
5 years ago
Xavier Arteaga
665f899a74
Fixed some coverity and Clang tidy warnings
5 years ago
Ismael Gomez
4b5353e87a
BladeRF: tx gain range was incorrectly obtained from rx module
5 years ago
Ismael Gomez
9325aaddf2
Do not change master clock rate if not necessary. Hint in ue/enb configs for low BW cells
5 years ago
Andre Puschmann
2f47010eb6
fix various uninitialized vars
5 years ago
Andre Puschmann
b0fd588a23
fixing zmq includes
5 years ago
Xavier Arteaga
191e8d6520
ZMQ: Fixed for more stability
5 years ago
Xavier Arteaga
125f1e7282
ZMQ: Split Tx and Rx, bug fixes and clean up
5 years ago
Ismael Gomez
cf550f6e56
Fix incorrect pointer passing in rf_uhd
5 years ago
Xavier Arteaga
f8dcb8bf67
CRS SCell searcher: Minimal simplification
5 years ago
Xavier Arteaga
9ee8cc0ad2
CRS SCell searcher: Fixed memory leaks
5 years ago
Xavier Arteaga
9ea9aab39d
Added High Speed Train model to channel emulator
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
Xavier Arteaga
368690ea6b
SRSUE: Added intra frequency SCell search test
5 years ago
Xavier Arteaga
d7c1a0bda9
Added High Speed Train model to channel emulator
5 years ago
Xavier Arteaga
78fcc11a30
Fixes minor unitialised/leaked memory
5 years ago
Xavier Arteaga
703bbb44a3
Removed master clock rate for soapy. Tested with LimeSDR.
5 years ago
Xavier Arteaga
531ea2d0cd
Cleaned up unused RF functions. Integrated Soapy Master Clock Rate in set srate.
5 years ago
Xavier Arteaga
db5a21e659
Remove set_master_clock_rate from PHY RF API
5 years ago
Xavier Arteaga
9984e14170
BladeRF: Solved all clang tidy warnings
5 years ago
Andre Puschmann
a2ab043c0d
fix memleaks and uninitialized vars found by cppcheck
5 years ago
Andre Puschmann
4869509c7b
add write function to netsource
...
this is useful for listening sockets to also send responses,
i.e. implement bi-directional communication
5 years ago
Andre Puschmann
4ea9ed058c
fix reporting of Tx gain stages in rf_soapy
...
reported by DreamNik
5 years ago
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)
5 years ago
Merlin Chlosta
2079c1324c
UHD: Wait for `lo_locked` after frequency change ( #635 )
...
* UHD: clang-tidy rf_uhd_imp.c
* UHD: wait for LO_lock after frequency change
5 years ago
Robert Falkenberg
bf35f83a5e
Fixed inverted interpretation of new data indication (ndi) field in dci_format1As_pack() function
5 years ago
Mark Rohrbacher
4a76801459
Fixed duplex spacing for bands 65 to 70
5 years ago
Robert Falkenberg
3cf4431c66
Fixed inverted handling of fseek result value in srslte_filesource_seek
5 years ago
Igor Kim
dd613c1514
Fix TBS table with auto-generated one ( #368 )
5 years ago
Andre Puschmann
ada4e6644f
fixing various issues in NB-IoT sync code detected by Coverity and clang-tidy
5 years ago
Andre Puschmann
deb3cbec28
soapy: start rx stream without extra flags and print error if not successful
5 years ago
Andre Puschmann
95a5c2dcdb
adding NB-IoT sync code
5 years ago
Ismael Gomez
d887624e74
Increased PSS threshold to detect RLF after change to number of missed subframes
5 years ago
Ismael Gomez
19066c49ab
Ad Rel10 info to dci logs
5 years ago
Ismael Gomez
069c55f2e5
Fix db to dbm typo
5 years ago
Ismael Gomez
2859a75ca0
Reset counter for sync lost when PSS is found
5 years ago
Ismael Gomez
d32739c315
Minor logging changes in PHY
5 years ago
Andre Puschmann
e0bd7f156d
replace remaining warning macros with pragma message
5 years ago
Andre Puschmann
e562dfed15
minor code formating and debug fixes
5 years ago
yagoda
408400bee6
adding fixes and tests for eMBMS
5 years ago
Guillem Foreman
2574de4d2d
Fixed soft demodulator
5 years ago
Ismael Gomez
126f2efb5c
Radio and UHD fixes to avoid changing master clock rate and fixes X300 ( #589 )
...
* Fixes X300 MIMO
* Do not change sampling rate and calibrate time_adv_nsamples for b210
5 years ago
Xavier Arteaga
5e49aca835
Merge pull request #570 from softwareradiosystems/feature_256qam_fix
...
Resource allocation extended tables and PDSCH table 2 for 256QAM
5 years ago
Ismael Gomez
6d2c6ec58d
Do not change master clock rate in UHD if dynamic rate is supported
5 years ago
Guillem Foreman
eab73829f6
Changes requested
5 years ago
Xavier Arteaga
aa6652155c
Phy: added ue_ul normalization mode parameter
5 years ago
Xavier Arteaga
20823e191d
SRSUE: Added UL force amplitude optional parameter
5 years ago
Xavier Arteaga
2530894374
Channel emulator: added input pointer checks
5 years ago
Andre Puschmann
aff26abc89
fix memleak in Soapy driver when no device was found
5 years ago
Ismael Gomez
773c2a9721
Fixed multiple issues in Random Access procedure and extended MAC test
5 years ago
Guillem Foreman
46724c336d
Fixed errors for phy_dl_test and pdsch test
5 years ago
Guillem Foreman
4627737c87
Revert "Disable 256QAM tests failing in CentOS"
...
This reverts commit 833ce5224a
.
5 years ago
Guillem Foreman
c71763dc93
Fixed minor message in modem test
5 years ago
Guillem Foreman
db4127ca64
Fixes 256QAM, added pdsch table 2, fixed warnings
5 years ago
Guillem Foreman
535325bc37
srsLTE: added resource allocation extended tables for 256QAM and integration with PDSCH test
5 years ago
Xavier Arteaga
a417d3a70a
Added DCI trace if cqi is requested
5 years ago
Ismael Gomez
833ce5224a
Disable 256QAM tests failing in CentOS
5 years ago
Xavier Arteaga
5d792e7ebe
AGC: Fixed gain hysteresis
5 years ago
Ismael Gomez
67b6a40c1b
Use correlation for neighbour RSRP measurement
5 years ago
Guillem Foreman
269e21e3af
Fixed minor format
5 years ago
Guillem Foreman
50edd9a325
Initial 256QAM Modem and Demodulator
5 years ago
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.
5 years ago
Andre Puschmann
2b82f21fd2
fix compiler warning
5 years ago
Xavier Arteaga
1f4cf8121b
SRSUE: Initial UL channel simulator
5 years ago
Ismael Gomez
b31b668a8e
Remove unnecessary find_package(GUI)
6 years ago
Ismael Gomez
594d62f229
Added read_block function to ringbuffer
6 years ago
Ismael Gomez
19cb5c172b
Added read-and-convert function to ringbuffer
6 years ago
Xavier Arteaga
9c84f8e3fd
SRSLTE: Added Uniform Random vector generator; Delay channel test; Fixed Delay channel SEGFAULT; SRSUE channel unique pointer;
6 years ago
Xavier Arteaga
2ffa1f9f1e
SRSUE: Added RLF simulator in channel emulator and integrated it in SRSUE. Removed Zeros Command
6 years ago
Xavier Arteaga
7c97e40e63
SRSUE: Improved internal channel emulator help
6 years ago
Xavier Arteaga
9ab2b2de81
SRSUE: Created delay channel emulator and added fading to the UE
6 years ago
Xavier Arteaga
2c78111666
SRSUE: Fixed CLang Tidy in ue.cc
6 years ago
Andre Puschmann
4edcedd2b3
add helper to create cexp function for entire subframe
6 years ago
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)
6 years ago
Andre Puschmann
7138126896
add short-cirtuit evaluation for calculating nof of ref symbols without passing object
6 years ago
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
6 years ago
Andre Puschmann
13c17ad9e7
add text output capabilities to filesink
6 years ago
Xavier Arteaga
114f66f8b9
Reduce ctest execution time
6 years ago
Andre Puschmann
3f50e5f51c
fix overlapping memcpy detected by valgrind
...
this has been detected by valgrind+gcc on Ubuntu 16.04 but
isn't an issue for more recent versions. Not sure if that is because
of an issue in older libc and there memcpy implementation or a
bug in valgrind, or both.
In any case, overlapping memcpy may cause undefined behaviour so
it seems ok to only copy the symbols that do not contain the
DMRS, i.e. not symbol 3 in each slot.
6 years ago
yagoda
0213045d74
small cmake bugfix for case where srsenb is disabled
6 years ago
Andre Puschmann
fc432adb66
fix uninitialize variable in ue_ul.c
6 years ago
Andre Puschmann
779d599289
fix naming of unittest for ch_estimation (was overwriting previous test)
6 years ago
Ismael Gomez
786830daf3
Fix minor issues for TDD
6 years ago
Pedro Alvarez
2edc0a6b00
Fix printf of possibly uninitialized variable in chest_test_dl.c.
6 years ago
Xavier Arteaga
0b796c2956
Fixed random isnan
6 years ago
Xavier Arteaga
c18a59730c
Solved PHY unit test memory leaks
6 years ago
Xavier Arteaga
794325fa29
Fixed in-buffer time and use vector sine generator
6 years ago
Xavier Arteaga
baac179d95
Added vector complex sine generator
6 years ago
Xavier Arteaga
7bd3a9a43b
Added ringbuffer read function with timeout
6 years ago
Xavier Arteaga
a1a797589a
Added UE synchronization error metric (hard-coded disabled by default)
6 years ago
Xavier Arteaga
06a9d8eb6f
Added vector estimate frequency
6 years ago
Xavier Arteaga
4187781268
Random module return pointer object and solved NAN issue
6 years ago
Ismael Gomez
47acbc1e08
Compute per-antenna and per-port chest metrics in chest_res
6 years ago
Ismael Gomez
2d9b7756df
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
6 years ago
Ismael Gomez
860e192cfb
Do not stop/start stream if timed commands are not supported
6 years ago
yagoda
3842beab0f
- fixing pmch file test for standard LTE rates
...
- adding special value for MTCH stop
- adding error messages for config values incompatible with MBMS
6 years ago
Andre Puschmann
4b01a2e4a0
update copyright notice
6 years ago
Andre Puschmann
205db6f229
add missing license headers
6 years ago
Xavier Arteaga
e2daeca0b5
UHD v3.14 Set sample rate walkaround for N310 and X310
6 years ago
Ismael Gomez
7780b1aba5
add tdd/ca support
6 years ago
Xavier Arteaga
963a5faad0
Disable UHD inmediate messages automatically
6 years ago
Xavier Arteaga
54d11f9e88
UE AGC Fix. Tries to set the Rx gain even if it reaches the limit.
6 years ago
Andre Puschmann
c6e19645af
add zmq-based rf driver
6 years ago
Andre Puschmann
f2266bb264
add uint64 (sample based) time stamp helpers
6 years ago
Xavier Arteaga
ed6b138cb2
Added safe and good quality random generator in phy/utils
6 years ago
Xavier Arteaga
c42fbbe6a5
Created 3GPP fading channel emulator
6 years ago
Andre Puschmann
3149e4191a
Merge branch 'master' into next
6 years ago
aholtzma
429ee9019d
Fix enb putting the SSS in the wrong place with ext CP enabled.
6 years ago
Andre Puschmann
3405a1bff6
add multi-channel support for soapy
6 years ago
Andre Puschmann
beec489dd4
fix issue in SoapySDR tx routine
...
correct offsetting tx buffer when first call couldn't tx all samples
6 years ago
Ralf Lindstedt
5c088d75ae
Fixed check for valid cell-identity group
6 years ago
Andre Puschmann
7343453e25
fix bug in rf_imp
...
- set thread gain run variable to false by default
6 years ago
Xavier Arteaga
c782ef2aa5
Solved unitialised values in UE (up to prach) and free
6 years ago
Francisco Paisana
0204db2e12
new asn1 rrc library
6 years ago
yagoda
d4e72d7128
small change to eMBMS channel estimation
6 years ago
Andre Puschmann
0abc7d4dbd
fix bug when stopping ringbuffer
6 years ago
Andre Puschmann
e328681343
add decode/encode when printing CB misconfig
6 years ago
Andre Puschmann
98780c1af5
free mem for UHD handler if no UHD device was found
6 years ago
Ismael Gomez
a8a0c3ebe7
Fixed compilation in zynq
6 years ago
yagoda
3762738bc1
adding windowed neon turbodecoder (can be further optimized)
6 years ago
Andre Puschmann
e25d0f5d8a
fix Soapy deactivation during build if lib was found
6 years ago
yagoda
b31538a0b9
small fix to interpolator to fix pmch test
6 years ago
yagoda
2acf282a8b
adding fixes to embms channel estimation
6 years ago
yagoda
69dc16c4c8
changes to fix arm compilation
6 years ago
Xavier Arteaga
8c3a0153b9
Added missing AVX512 intrinsics and flags. Fixes #291 .
6 years ago
Xavier Arteaga
27df357a66
Fixes #273
6 years ago
Xavier Arteaga
45e6473303
Removed not implemented/reserved TM4 PMI Error messages
6 years ago
Xavier Arteaga
717d767c2b
Removed PUSCH redundant line
6 years ago
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
6 years ago
Ismael Gomez
6f0c554445
TA estimate correction factor calibrated for all bandwidths
6 years ago
Andre Puschmann
d981f129e0
Merge branch 'master' into next
6 years ago
Ismael Gomez
2cf381823c
Fixed bug in commit 197d855d3f
6 years ago
Zhe Huang
3433b0ffde
assign correct values from BladeRf manual calibration to correction
...
* Assign correct values from BladeRf manual calibration to correction
The rf_calibration function for blade RF was assgiing dc_gain to
BLADERF_CORR_FPGA_PHASE and dc_phase to BLADERF_CORR_FPGA_GAIN. This hot
fix corrects the value assignments in both rf_blade_set_tx_cal and
rf_blade_set_rx_cal functions.
6 years ago
Xavier Arteaga
f865296421
Added BladeRF Micro Support (required bladerf driver > 2.0.2)
6 years ago
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.
6 years ago
Ismael Gomez
0294923e2b
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
6 years ago
Ismael Gomez
197d855d3f
Fix issue #240
6 years ago
Xavier Arteaga
a9fcd64b1f
Fixes #259 : Turbodecoder AVX2 instructions under LV_HAVE_AVX (instead of LV_HAVE_AVX2)
6 years ago
Xavier Arteaga
7f72a90051
Implemented 16 bit LLR CSI in SSE
6 years ago
Ismael Gomez
243a7708d4
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
6 years ago
Ismael Gomez
826fbccf11
Fixed memory leaks in new decoder
6 years ago
Andre Puschmann
d19eb28a16
fix various variable initializations that gcc-4.8 complained about
6 years ago
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
6 years ago
Xavier Arteaga
8d56b254f5
Fixed vector test failure criteria for conversions
6 years ago
Xavier Arteaga
ca429d2be5
Fixed turbocoder free
6 years ago
Andre Puschmann
dc41240106
increase UHD tx timeout to 1.0
6 years ago
Andre Puschmann
bfb9ba43b4
increase UHD recv timeout to 1.0
6 years ago
Andre Puschmann
e6366b4570
fix stopping of async thread in UHD
6 years ago
Andre Puschmann
9b8d7aeddf
fix warning
6 years ago
Andre Puschmann
b0a79ac616
fix segfault when ASYNC thread is disabled
6 years ago
wangqiang1588
dfce3ea155
Fix crash if args is NULL ,enable multi rx channels setting ( #198 )
6 years ago
Merlin Chlosta
deab23c9ec
Fix non-blocking rf_uhd_recv_with_time_multi ( #195 )
...
Return the number of actually received samples, not the requested samples.
6 years ago
Ismael Gomez
3a9f224f40
Turbo Coder LUT not a function of CB size
6 years ago
Xavier Arteaga
a21db86a78
SCH Codeblock CRC is computed at same time than parity 0
6 years ago
Andre Puschmann
be3b2fbc08
Merge pull request #239 from softwareradiosystems/epc_stacktrace
...
Epc stacktrace
6 years ago
Ismael Gomez
c012a6ea83
Mutex more operations in worker to fix segfault when HO. Protect pdsch/pusch from regenerating sequence
6 years ago
Xavier Arteaga
3d3f98b21e
Fixed posible interleaver segfault
6 years ago
Pedro Alvarez
c3ef88e112
Fixing conflicts with next.
6 years ago
Ismael Gomez
9c5b9cef94
Set initial AGC gain correctly
6 years ago
yagoda
8751645a48
cleaning up viterbi neon
6 years ago
Pedro Alvarez
7aaa9a1789
Moved srslte_debug_handle_crash to common/debug.c
6 years ago
Pedro Alvarez
96786e96da
Splitting the lib debug into phy and common debug.
6 years ago
Ismael Gomez
f273ec959b
Set initial AGC gain correctly
6 years ago
Andre Puschmann
5a0de01905
adding async thread to soapy
6 years ago
Andre Puschmann
d7e4797f3f
add rf error handler in soapy
6 years ago
Ismael Gomez
c32ee8944f
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
6 years ago
Ismael Gomez
1a1471955e
Fix incorrect MIB generation. Fixes issue #232
6 years ago
Ismael Gomez
a8f6081837
Minor changes in scheduler logs and style
6 years ago
Xavier Arteaga
92954c1aa4
Fixed UCI decoder defect in eNb. Improved PUSCH Unit Test. PUSCH CQI is printed like UE.
6 years ago
Xavier Arteaga
2c1608f6f1
Fixed UCI short CQI decoder. Fixed possible interleaver segfault. PUSCH Unit test tidied up.
6 years ago
jctallon
50589108c6
Mbms fixes ( #225 )
...
* fixing the threading structure for mbms in the gtpu
fixing some leaks in pmch tests
fixing stack overflow caused by radio objext
* adding sib.conf.mbsfn.example
* creating a different thread_mch object for the gtpu
* Make mch_thread an isolated class
* excluding mbsfn subframes from noise estimation and cfo estimation
* fixing pdsch ue plotting to only show pmch constellation when mbsfn is activated.
6 years ago
Ismael Gomez
8c92f3fddc
Improvements and fixes on srsENB scheduler ( #228 )
6 years ago
Ismael Gomez
d81062145f
Fixed phy_log was allocating memory dynamically on every call even when not enabled
6 years ago
Xavier Arteaga
f01f7b4945
Added Vector max abs SIMD function
6 years ago
Ismael Gomez
e18ba937dc
Limit uplink signal normalization to avoid clipping
6 years ago
Andre Puschmann
91e1b27219
Merge branch 'master' into next
6 years ago
Ismael Gomez
ea3fdf7f51
Increased uhd timeout
6 years ago
Andre Puschmann
0fcb27de53
soapy: make soapy log level a device param and fix issue in setting tx bandwidth
6 years ago
Ismael Gomez
c04c147451
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
6 years ago
Ismael Gomez
9d18349a08
Reduced uhd timeout
6 years ago
Andre Puschmann
ddf7d2b2f7
soapy: rework driver init and add option to load config file
6 years ago
Xavier Arteaga
5e4fb48184
Refactored CQI reporting logging in UE. Fixes #199
6 years ago
Francisco Paisana
337857df5f
added a normalization factor
6 years ago
Xavier Arteaga
22c0a67b97
Fixed minor issues
6 years ago
Andre Puschmann
f8fb176ff5
soapy: use log-level error to suppress late warning on console
6 years ago
Andre Puschmann
a68758ab0d
soapy: set RF bandwidth during rate change
6 years ago
Andre Puschmann
937cb4d7a8
rework error handling in Soapy and add statistics
6 years ago
Andre Puschmann
5d2a947aac
soapy: rework rx/tx timing
6 years ago
Andre Puschmann
727d26e75f
init Soapy with LTE rates before creating streams
6 years ago
Andre Puschmann
b8391d20a4
fix tx/rx calibration for Lime
6 years ago
Andre Puschmann
da55c6a71c
expose antenna port selection for soapy through device arguments
6 years ago
Andre Puschmann
1c3017771f
move helper functions for processing args to own header
6 years ago
David Rupprecht
764c3b574e
Add limeSDR mini devname
6 years ago
Andre Puschmann
2605c9066b
improve lime support for srsUE by stopping/starting rx streaming during rate changes
6 years ago
Xavier Arteaga
9406715609
Minor fix on timestammp substraction
6 years ago
Ismael Gomez
94bb1912b7
Fix distributed ngap not printing in dci info
6 years ago
Xavier Arteaga
30eb5c62a6
Merge pull request #211 from softwareradiosystems/pdsch-coworkers
...
Add pdsch coworkers, minifal noise estimation defect and fixed AGC out of bounds
7 years ago
Xavier Arteaga
301415a00a
Fixed AGC out of bounds gain
7 years ago
Xavier Arteaga
2d3e788d19
Fixed minimal DL noise estimation defect
7 years ago
Xavier Arteaga
78912694c5
Fixed PDSCH coworker deadlock
7 years ago
Ismael Gomez
ca9047e555
validate DL type1 sched grant rbg_subset
7 years ago
Xavier Arteaga
d9db80d17c
Merge branch 'next' into pdsch-coworkers
7 years ago
Xavier Arteaga
5b84d9be4b
Fixed DL channel estimator for ports 3&4
7 years ago
Xavier Arteaga
6ab69b1d4c
Added PDSCH coworkers
7 years ago
Ismael Gomez
bd4e1c9690
Fixed number of iterations lower than 1 in metrics
7 years ago
Xavier Arteaga
681b98ae50
Added vector CFO
7 years ago
Xavier Arteaga
63df8d4c19
Fixed PDSCH test with OFDM
7 years ago
Ismael Gomez
08654efd1c
minor changes
7 years ago
Ismael Gomez
3f816813c1
Restored async Late/Underflow monitor thread in USRP. Added option silent to turn it off
7 years ago
Ismael Gomez
be47be381c
uhd: Enable MIMO channel alignment for X300
7 years ago
Xavier Arteaga
1ba18f1ddc
Fix Resource Allocation Type 1 Defect
7 years ago
Andre Puschmann
cb15dee3d4
Merge branch 'embms_merge_final' into next
7 years ago
Ismael Gomez
4662b83fe9
Use bzero instead of {} for initializing structs
7 years ago
Andre Puschmann
61d525ea80
Merge branch 'next' into embms_merge_final
7 years ago
Ismael Gomez
467ba4e326
Average sampling offset estimate before adjusting timing to be more robust against EVA and ETU fading
7 years ago
Ismael Gomez
a87e7b3e43
Protect uhd_tx_streamer_send() by a mutex inside rf driver
7 years ago
Andre Puschmann
9ca2b89282
fixing compile warnings
7 years ago
yagoda
e4c3f0bc30
adding mbms-gw and mch generation tables
7 years ago
yagoda
9d7d6c9415
adding adaptations to the phy layer for mbms
7 years ago
Ismael Gomez
3847daa137
Fixed order of PCI and PRB in log print
7 years ago
Ismael Gomez
443d2b7fa0
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
7 years ago
Ismael Gomez
d139a73593
Fix SIGFPE in pdsch_codeword_decode
7 years ago
Xavier Arteaga
36936349fe
PUSCH test cases generator in CMake
7 years ago
Ismael Gomez
3065941638
Check for non-zero nof_re/nof_bits in pdsch_codeword_decode
7 years ago
Tom Tsou
ba3de5d94a
uhd: Add N3xx support
7 years ago
Ismael Gomez
4ffee4326b
Fix memory leaks in unit tests
7 years ago
Xavier Arteaga
28ef713160
AGC does not get stuck in high gain if low signal. AGC is now default.
7 years ago
Ismael Gomez
aa1724b8f3
Add missing-field-initializers flag and properly initialize structs
7 years ago
Joseph Giovatto
ab1d9e98f3
Format and typelimit warnings ( #169 )
...
* merge with origin 4fc7dbc3
8daa8346
* fixed whitespace diff
* added .gitignore
* added format warning flags to C_FLAGS
added typelimit check to C_FLAGS and CXX_CLAGS
* Revert "added format warning flags to C_FLAGS"
Apply to branch format_and_typelimt branch
This reverts commit bf7467e82e
.
* check for format warnings to top level C_FLAGS
added typelimit warnings to top level C_FLAGS and CXX_FLAGS
beset effort attempt to remedy warnings
removed unused param names in hex_log baseclass methods due to multitude of unused-warnings
7 years ago
Joseph Giovatto
9f5069cdc8
Format and typelimit warnings ( #169 )
...
* merge with origin 4fc7dbc3
8daa8346
* fixed whitespace diff
* added .gitignore
* added format warning flags to C_FLAGS
added typelimit check to C_FLAGS and CXX_CLAGS
* Revert "added format warning flags to C_FLAGS"
Apply to branch format_and_typelimt branch
This reverts commit bf7467e82e
.
* check for format warnings to top level C_FLAGS
added typelimit warnings to top level C_FLAGS and CXX_FLAGS
beset effort attempt to remedy warnings
removed unused param names in hex_log baseclass methods due to multitude of unused-warnings
7 years ago
Xavier Arteaga
7146819fcd
Added CSI Predecoding for TM4 with SIMD Support
7 years ago
Xavier Arteaga
bad1291843
Corrected ZF SIMD predecoder
7 years ago
Xavier Arteaga
0bc3be7abb
Added DL CSI decoding to TM2 and TM3
7 years ago
Xavier Arteaga
5ad6ef4d1d
Implemented SSE/MMX int32 bit Interleaver
7 years ago
Ismael Gomez
384e0f8649
Fixed UL interleaver (missing SIMD deinterleaver)
7 years ago
Xavier Arteaga
09e6f164a4
UE synchronizer can miss up to 100 PSS. This reduces PSS lost of synch for slow fading channels such as EVA5.
7 years ago
Xavier Arteaga
15173c5c30
Added gaussian filter configuration options in srsue.conf
7 years ago
Xavier Arteaga
d0d5893a1c
New DL channel noise estimator based on RS
7 years ago
Andre Puschmann
08212a6b13
fix compile warning due to missing async thread
7 years ago
Ismael Gomez
321a750f56
Added features to ringbuffer
7 years ago
Ismael Gomez
f470645e90
Fix for real issue #164
7 years ago
Ismael Gomez
bd258372ea
Fixes #164
7 years ago
Ismael Gomez
c0aea5ae13
Neighbour cell RSRP measurement always and only with correlation method
7 years ago
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
7 years ago
Ismael Gomez
c2098ad626
Removed unused sample offset correction
7 years ago
Andre Puschmann
44b1748a87
fix mem leak in sync
7 years ago
Andre Puschmann
7acc021a4e
fix mem leak in pmch_test
7 years ago
Andre Puschmann
57e0c01fc4
check max buffer length in hex print
7 years ago
Ismael Gomez
3adc6b5cbc
Merge pull request #158 from softwareradiosystems/csi
...
Csi
7 years ago
Andre Puschmann
ac0f934558
fix leaks in viterbi and modem tests
7 years ago
Andre Puschmann
c6933f5338
fix leak in turbocoder test
7 years ago
Andre Puschmann
4c76e98f9e
fix memleak in DL chest object
7 years ago
Andre Puschmann
cae09a8d58
fix mem leak in PMCH
7 years ago
Andre Puschmann
e933f05933
fix memleak in vector test../lib/src/phy/utils/test/vector_test.c
7 years ago
Xavier Arteaga
962164277a
Normalize CSI to maximum.
7 years ago
Francisco Paisana
cd0373c533
opt assignment was being erased by bzero call
7 years ago
Ismael Gomez
fce672954e
Minor edit to SNR-to-CQI table
7 years ago
Ismael Gomez
5f0bd0e74b
Add mutex to libfftw mkplan/destroyplan functions
7 years ago
Ismael Gomez
73602a8558
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
7 years ago
Ismael Gomez
90553e830d
Fixed cell search for non-home PLMN
7 years ago
Andre Puschmann
c198547728
add new RF RX error type and make the UHD driver issue that if anything unexpected happens
7 years ago
Andre Puschmann
281611b26a
allow n param in pss_usrp test
7 years ago
Andre Puschmann
57bb831f27
fix RM turbo test
7 years ago
Andre Puschmann
1efcea7e47
call dft_exit in various tests
7 years ago
Andre Puschmann
4a27915022
bzero dft object during init, add call to fftw_cleanup in dft_exit
7 years ago
Andre Puschmann
f60a9eab41
initialize RF UHD handler in init
7 years ago
Ismael Gomez
fd0c8168f0
Set to Continuous RX and TX
7 years ago
Xavier Arteaga
2a69211f32
SCH does not terminate all codeblocks if one fail. Also, SCH does not decode blocks with CRC=OK
7 years ago
yagoda
fafed4a4a0
small fix in mbsfn ofdm
7 years ago
Xavier Arteaga
6fc9c96c58
Added CSI softbits weightening for Single antenna transmission
7 years ago
Ismael Gomez
65aa5abb30
Restored RSRP calculation changed in commit 3f002aca85
7 years ago
Ismael Gomez
5251cb3671
Stop RX stream when cell not found during initial cell search
7 years ago
Xavier Arteaga
2c8467780d
UE stores last PMI and last RI in common phy
7 years ago
Xavier Arteaga
4df6227f5b
UE stores last PMI and last RI in common phy
7 years ago
Ismael Gomez
9b1c8aa608
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
7 years ago
Ismael Gomez
3a005af9f5
Normalize PUCCH power
7 years ago
Andre Puschmann
d959608e10
fix mem dealloc in viterbi for 16bit AVX
7 years ago
Xavier Arteaga
a2129601df
Noise level in MIMO is not divided by number of antennas
7 years ago