64 Commits (84dd9911ca0e41ea95090645fda8d3ecae9816b4)

Author SHA1 Message Date
Andre Puschmann c7343cf6d8 protect sf_buffer from overrun in receive_samples
this patch adds a buffer len paramter to the receive_samples() call
that protects the (also) provided buffer from overflowing.

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

By extending the interface to pass the buffer size we can make sure that
only samples are received that actually fit inside the provided buffer.
5 years ago
Xavier Arteaga c92dce71b7 srsLTE: AGC only uses boundaries for requesting gain to Radio 5 years ago
Andre Puschmann 476f970ee1 replace FIXME with TODO 5 years ago
Pedro Alvarez c5979f59eb Clang format UE, eNB and lib (#850)
* Clang-formated UE, eNB and lib.
* Fixed compiling errors from clang-format.
* Fix linking issues introduced by clang-format
* Fix poor formating in initializing arrays of arrays.
* Fix mistake in conflict resolution on rm_turbo.c
* Re-apply clang format to gtpc_ies.h
5 years ago
Xavier Arteaga a51d989e2e Fixed static analysis float/double conversion 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 db5a21e659 Remove set_master_clock_rate from PHY RF API 5 years ago
Andre Puschmann a2ab043c0d fix memleaks and uninitialized vars found by cppcheck 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
Andre Puschmann e0bd7f156d replace remaining warning macros with pragma message 5 years ago
Guillem Foreman eab73829f6 Changes requested 5 years ago
Guillem Foreman db4127ca64 Fixes 256QAM, added pdsch table 2, fixed warnings 5 years ago
Andre Puschmann 4b01a2e4a0 update copyright notice 6 years ago
Ismael Gomez 7780b1aba5 add tdd/ca support 6 years ago
Andre Puschmann ef544e64c2 expose RF device as paramter for pdsch_enodeb/_ue 6 years ago
Andre Puschmann bdbdef41c0 fix compiler warning in pdsch_ue 6 years ago
yagoda 2acf282a8b adding fixes to embms channel estimation 6 years ago
Ismael Gomez 9e0d7281f5 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 6 years ago
Ismael Gomez fda4c39590 pdsch_ue RSRP in dBm. Fix default rx_gain_offset in ue.conf differs from code 6 years ago
Pedro Alvarez 788dc7bd7a Fixed compilation issues introduced from the changes in the crash_handler. 6 years ago
Pedro Alvarez 7aaa9a1789 Moved srslte_debug_handle_crash to common/debug.c 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
Xavier Arteaga 22c0a67b97 Fixed minor issues 6 years ago
Xavier Arteaga 301415a00a Fixed AGC out of bounds gain 7 years ago
yagoda 54bdfd83ec adding support for mbsfn subframe configuration to pdsch examples 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 c574b8d8a4 Missed change during merge 7 years ago
Ismael Gomez f88f465c97 Refactored NAS/RRC/PHY cell_search/selection procedures 7 years ago
Xavier Arteaga a0fff683f2 Fixed pdsch_ue; it does not stop RF after cell search. 7 years ago
Ismael Gomez 7ae186d499 Typo in printing default pdsch_ue help 7 years ago
Ismael Gomez 2347fe0e6f Fixed incorrect DCI location bug. Make all calls to regs/pdcch atomic w.r.t. the CFI 7 years ago
Xavier Arteaga 10fc1855d6 Fixed Coverity INFO/DEBUG messages with too many arguments and a few more 7 years ago
Andre Puschmann 51f1a6ef6c print RSRP in pdsch_ue 7 years ago
Xavier Arteaga a4c0cda237 Fixed pdsch_ue Rank indicator error messages for 4 antenna port cells 7 years ago
yagoda 23afd44a7d modifications to enable phy lib logging 7 years ago
yagoda 1b1301101c adding support for phy(C level) logging to file 7 years ago
Ismael Gomez 6711387ad7 Disabled AGC for initial cell search. Copy CFO from search and disable CP based CFO after search to reduce overhead 7 years ago
Ismael Gomez 9355cd5732 Improved CFO loop. Fixed issue with sinusoid tolerance 7 years ago
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 7 years ago
Ismael Gomez 6b264732d2 Disabled subframe average 7 years ago
Ismael Gomez f1c6bcd252 Merge branch 'next' into mobility 7 years ago
Ismael Gomez dd8bacf466 Calibrated CFO loop default values 7 years ago
Ismael Gomez 46f15c19e6 Added subframe averaging option in chest_dl. Optional in pdsch_ue 7 years ago
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 7 years ago
Ismael Gomez cfbea7a6c1 Restored non-guru DFT interface. Removed input buffer from ue_dl interface 7 years ago
Ismael Gomez d428760b20 Merge branch 'next' into mobility 7 years ago
Ismael Gomez 408545dab8 X2 (constant NCC) working 7 years ago
Xavier Arteaga 176dae270c Fixes #105. Added backtrace print in 'srsLTE.backtrace.crash' 7 years ago