2204 Commits (30ae2226c1b1ba2fe721e10f6914ddff7ce59830)

Author SHA1 Message Date
Francisco Paisana 8a54aef89d created a better/more composable design for time measures 5 years ago
Francisco Paisana 854211496b redesign of tprof for thread safety 5 years ago
Francisco Paisana 269c852767 created a class for time profiling. An object of such class, if disabled, has almost zero overhead. Added a compile-time flag to turn on/off time profiling 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
Francisco Paisana 597334c4bf limit the rlc queue size for suspended bearers 5 years ago
Francisco Paisana ede09cb9b2 added dynamic CFI capability to the eNB scheduler 5 years ago
Xavier Arteaga ada8772f57 Initial srenb TA compensation 5 years ago
Xavier Arteaga d191b1c8e0 Do not bundle ACK/NACK if PUCCH CS and no ACK to transmit 5 years ago
Andre Puschmann ac17ec6452 add common signal_handler for srsUE/srsENB/srsEPC
the signal handler is the same for all three apps. The "running" flag
as well as the file_logger object are in the common header in order
to allow the signal handler to flush the file if the alarm goes off.
5 years ago
Andre Puschmann 4e3e537982 fix doxygen file description 5 years ago
Xavier Arteaga 0408d357a7 Minor fixes 5 years ago
Ismael Gomez 73447972d8
Fix issue with simultaneous CQI and ACK/NACK transmission in CA (#1067)
* Fix memory corruption when phy calling mac scheduler and not yet initiated

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

* Allocate CQI resources for SCell properly

* Use UE_PCELL_CC_IDX macro

* Protect ul_sched from being called if not yet started
5 years ago
Xavier Arteaga e832769ae6 Updated copyright 5 years ago
yagoda 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
Daniel Willmann 275f26d875 liblte_mme.h: Add/fix UE_TEST_LOOP/DEACT_TEST_MODE msg types 5 years ago
Francisco Paisana 5330249625 created tti_point type and unit test. Added also the tti_point to the scheduler harqs, and rrc procedure 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
Andre Puschmann ab210c5f3c tiny cosmetic changes to the error messages printing 0x and clear cc_idx use 5 years ago
Francisco Paisana 7548402632 change scell activation interface to use arrays. Added a method to the scheduler to get the current set of activated carriers 5 years ago
Xavier Arteaga 590847e794 TTI semaphore requires protection in wait_all 5 years ago
Xavier Arteaga 76408b195e Rename TX_DELAY and FDD_HARQ_DELAY_MS 5 years ago
Xavier Arteaga 65711d06dc PRACH TA base default to 0 and apply clang-format 5 years ago
Xavier Arteaga e8f9bfc6ba Addition of PRACH TA correction 5 years ago
Andre Puschmann a8acd235f6 extend eNB MAC to support multiple CC per UE
- add tx/rx softbuffers for each CC that a UE might have
- make sure to call assign correct buffers when iterating
  over the CC for UL/DL grant assignment
5 years ago
Pedro Alvarez 96c82b3fc6 Moved PDCP configs to pdcp_config.h. Added `as_security_cfg_t` structure to hold access stratum keys.
Refactored PDCP, RRC and USIM accordingly.
5 years ago
Francisco Paisana 9ad80ee29f added initial_dl_cqi to the enb rr.cfg parser 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
Ismael Gomez bf6db92f04 Reset SRS properly on PHY defaults 5 years ago
Ismael Gomez d17a9d2ab1 RLC returns zero buffer during suspended 5 years ago
Andre Puschmann f2e1bfa699 refactor naming for s/p/cell structs and {enb,ue}_cc_idx 5 years ago
Francisco Paisana 639f473042 fixed unsigned signed comparison 5 years ago
Francisco Paisana 1e63fa41cf made ue_cc_idx int to set to -1 for rar and bc allocs 5 years ago
Francisco Paisana f3c3c52fcd added ue_cc_idx to dci allocation 5 years ago
Francisco Paisana e62972d38e fix fdd delays in scheduler 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
Andre Puschmann 2edecea33e fix SIB transmission for CA
Avoid double buffering of SIBs in MAC as this would require one buffer for each CC.
Instead, use byte_buffer managed by RRC that contains packed SIBs to avoid
double memcpy for each SIB tx. Only use MAC provided buffer in error case.

Also avoid MAC calling RLC for each SIB and call RRC directly.
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
Andre Puschmann 120ad76c63 refactor cell param handling and fix SIB transmissions
- move cell specific eNB params to cell list in rr.conf
- make sure DL EARFCN and DL freq can be used to manually overwrite a single cell config
- fix SIB packing and transmission for multi cell configs
- introduce cell list to MAC
- adapt default enb.conf.example and rr.conf.example
5 years ago
Ismael Gomez 4e12405fff
Remove radio_multi class and organize channels, ports and carrier buffers (#1019) 5 years ago
Xavier Arteaga a968fb02d3 Increase PUCCH correlatiion threasholds 5 years ago
Xavier Arteaga 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
Pedro Alvarez bd3598f774 Moved srsEPC to the new S1AP library. Deleted liblte_s1ap.cc and liblte_s1ap.h. 5 years ago
Xavier Arteaga 96ffe1c3ad Commented class tti_semaphore 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 664170fec6 pcap: add CC index when writing PCAP 5 years ago
Andre Puschmann 2e455908e8 fix issue compiling pssch_ue when RF driver wasn't found 5 years ago
Pedro Alvarez afc209711c Fix jump depending on uninitialized variable in srsenb::sched_ue::set_bearer_cfg_unlocked 5 years ago
Francisco Paisana d848524d8b fix link error 5 years ago
Francisco Paisana aaa333c1ff removed some clang warnings 5 years ago
Francisco Paisana 62609fdc11 fixed some logs. Also now use one single log obj for all the asn1 5 years ago
Francisco Paisana fed06138b9 moved rach_detected to stack thread. Created a more friendly interface to enqueue tasks in stack 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 e9e57153dc adding basic pssch_ue example 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 a8bbe551ac move thread class into srslte namespace to avoid ambiguity between std::thread 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
Francisco Paisana ad9e126299 test for different enb_cc_idxs as pcell. Bug fixes 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 f35ed14f76 SRSENB: refactored PHY common UE database 5 years ago
Xavier Arteaga 2fc0832f05 Addition of DL HARQ-ACK generation procedure for eNb DL and minor aesthetic changes 5 years ago
Andre Puschmann 9e113f8b27 pdcp: allow to configure security for rx/tx seperately
previously PDCP security (integrity and ciphering) could only
be enabled for both Rx and Tx at the same time.

this, however, caused an issue during the conformance testing in which,
in TC_8_2_1_1() for example, the eNB sends a SecModeCommand and a
RRC Reconfiguration in the same MAC TB. In this case, the eNB
needs to be able to enable DL security right after sending the SecModeCmd
in order to send the RRCReconfig encrypted. However, enabling UL security needs
to be postponed until after the SecModeComplete is received.

This patch allows to enable PDCP security for rx/tx independently if
that is needed. The default way is like before, enabling it for tx/rx at
the same time.
5 years ago
Francisco Paisana 6b96d21732 extension of the timer test to check safe running timer erasure 5 years ago
Francisco Paisana 79e5bd94cf remove timers from priority queue for which run() or stop() was called. 5 years ago
Francisco Paisana 5b2da779b7 new method in timer_handler to dispatch calls without an associated unique_timer 5 years ago
Francisco Paisana af76778fc8 remove fixmes 5 years ago
Francisco Paisana ac52208409 removed most of clang-tidy warnings, introduced logmap in asn1, fixed info object naming in s1ap and ngap for successful and unsuccessful outcomes 5 years ago
Andre Puschmann 5b31c1db43 nas: delete security context when receiving attach reject with cause 3, 6, or 35 5 years ago
Francisco Paisana 32c347fbb1 hide logmap implementation in source file. Export symbols so they can be used by srsASN1 project 5 years ago
Francisco Paisana e859d622c7 added logref class to forbid logmap pointer invalidation. Created a test for the logref, and introduced it in the scheduler, rrc and nas 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
Francisco Paisana 56b0d0d3c3 fix s1ap packing issue 5 years ago
Andre Puschmann b88e877b4c ttcn3: make SS single threaded and use SCTP for test ports
- remove all threading from SS
- use epoll to handle test port connections, signals, and timers
- convert testport interface to SCTP
5 years ago
Pedro Alvarez 830dffb05b Small change in pkt compare function. 5 years ago
Pedro Alvarez 5dd081846b Removed unnecessary macro and some newlines. 5 years ago