Pedro Alvarez
fdd67c3865
Fix issue in integrity check in PDCP SRBs. Moved some helper functions to the pdcp base class
5 years ago
Pedro Alvarez
965b0ee99b
Starting to fix handling of RX SRB PDUs in PDCP.
5 years ago
Francisco Paisana
c29f08d8d5
refactored si acquisition procedure to use stack timers. Also created an interface that is going to be used for the task/timer handling
5 years ago
Francisco Paisana
22f51bb30b
made cell select non-blocking using background threads
5 years ago
Ismael Gomez
d8d10daebe
Fix bug in SRS using the previous grant to compute collision with PUSCH ( #958 )
5 years ago
Ismael Gomez
4fb83ae26d
Run configure_prach_params as a background task
5 years ago
Andre Puschmann
327aa97cfd
add macro for invalid RNTI 0x0
5 years ago
Francisco Paisana
42449b079a
now the scell_activation CE is only for 1 octet. The 4 octet one is not yet supported.
5 years ago
Francisco Paisana
d831522692
addition of SCell Activation CE Cmd to scheduler and MAC
5 years ago
Francisco Paisana
838053e8f2
added SCell Activation CE to scheduler. Handling this CE in the MAC is still missing
5 years ago
Francisco Paisana
a0407dd6f7
created a lock guard for pthread rwlocks. This will avoid using gotos in many cases, and the RAII technique avoids many accidents.
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
5dbc96458a
Sets PUCCH decode threshold as macro
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
d66fdefbb3
Added more docs to PUCCH 1b CS resource selection
5 years ago
Xavier Arteaga
40772eae19
SRSENB: UE PHY dedicated takes a flat configuration structure
5 years ago
Xavier Arteaga
1f762844ee
Initial PUCCH format 3 decoder
5 years ago
Xavier Arteaga
f935916e7c
SRSUE: fix srsue_rf_test
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
Francisco Paisana
c8fc0d91b3
changed the supported cc list to a vector of structs
5 years ago
Francisco Paisana
42b15c7bed
use common ue_cfg interface to set the ue antenna info
5 years ago
Francisco Paisana
5f557700f2
changed the sched::ue_cfg(...) function to allow diff configurations. The RRC now activates all carriers after rrc reconf complete
5 years ago
Francisco Paisana
b66bc3a6b0
create a sched_interface struct for antenna info dedicated. This way we remove the asn1 as a dependency in the scheduler
5 years ago
Francisco Paisana
88a22e7dbf
support cc cfg from rrc
5 years ago
Francisco Paisana
e86862611c
update the scheduler interfaces to accommodate the configuration of multiple carriers
5 years ago
Francisco Paisana
2dc31ea440
added interface to configure multiple cells from the RRC
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
Andre Puschmann
ed179fd311
timers: rename value() to time_elapsed()
...
this seems to be better readable than value() since
we've sometimes confused it with the timeout value
5 years ago
Andre Puschmann
4932fb8719
fix value() return in timers when timer is expired
...
this makes sure that value() never returns a value larger
than the timer duration
5 years ago
Xavier Arteaga
5b14a7d585
Implementation Tx RLC suspend
5 years ago
Xavier Arteaga
68ad4960eb
SRSLTE: added holding time before AGC starts measuring after setting gain
5 years ago
Xavier Arteaga
e0cc1fd697
Reduce time of timer_test; use unique_lock instead of guard
5 years ago
Xavier Arteaga
22da8dfbb1
srsLTE: protected priority queue in timers
5 years ago
Andre Puschmann
d3cb2eac83
add RLC suspend/resume to eNB interface
5 years ago
Andre Puschmann
bbacc35e24
move configuration of default logger to main
...
this prevents the case where a layer requests a new log_filter
before the default logger has been configured
5 years ago
Xavier Arteaga
fe199e6be2
SRSUE: Undo enable/disable RA procedure flag
5 years ago
Xavier Arteaga
f8294fb9df
SRSUE: RRC measurements refactor and more fixes
5 years ago
Ismael Gomez
52716f8716
Process HO complete in the background to avoid heap-after-use bug when PHY measurements are reported during a HO
...
rrc_meas refactor. Need to split commit
Fix typo
Temporal commit
Apply rx_gain_offset to neighbour cell measurements
srsLTE: modify TESTASSERT Macro to follow codeline
SRSUE: prevent RRC from having serving cell in neighbour list
SRSUE: DL HARQ does not need Time Aligment Timer. UL is disabled using PUCCH resources release
SRSUE: extend intra-frequency to CA SCell
SRSUE: fix confusing/ambiguous code in the RRC measurements and fix concurrency issue
SRSUE: remove RRC measurement report triggers when measurements are modified or HO succesful
SRSUE: fix compilation issues and Reest SIB indexes
Fixes sync using incorrect cell configuration when search cell does not find a correct cell
Small refactor to remove measurement report triggers always after removing measurement
SRSUE: Removed SIC PSS from UE
SRSUE: fix inter-frequency reestablishment and added more traces
SRSUE: Fix compilation issue
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
Francisco Paisana
c8cd12ac53
updated the test logging utils
5 years ago
Francisco Paisana
c537d38650
separated sched tests based on output into a separate file. Added scheduler random tester to unit tests
5 years ago
Francisco Paisana
f6ed99b71b
created a generic crtp class for handling singletons. I am using that class for the logmap now
5 years ago
Francisco Paisana
ea777d92e8
applied new logmap class to nas
5 years ago
Francisco Paisana
3e2de6dd3e
new logmap class to store globally accessible logs
5 years ago
Francisco Paisana
07a9e889a4
added a singleton map to facilitate access to each layer logger
5 years ago
Xavier Arteaga
c080cb3395
SRSUE: expose correct synch error parameter
5 years ago
Ismael Gomez
17f9ff326b
Expose in-sync and out-of-sync constants to ue.conf
5 years ago
Ismael Gomez
cc7dfefa1a
Fix logic for UL HARQ retx causing Msg3 adaptive retx to be identified as a new transmission
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
Xavier Arteaga
b08c1f003e
SRSENB: enabled multiple cells from rr.cfg
5 years ago
Andre Puschmann
e5b1673b3b
move PCAP into own compilation unit
...
this removes inline keyword from PCAP functions and puts all functions
into own C file
before forced inlining caused an issue when compiling for ARM on Ubuntu 19.10 on the RPi4
using gcc version 9.2.1
5 years ago
Francisco Paisana
883c2900c8
fix issue with future clear
5 years ago
Francisco Paisana
91d83fc20d
different way to retrieve a proc future
5 years ago
Francisco Paisana
5ae3afd2b8
created cbit_ref for unpacking const buffers
5 years ago
Francisco Paisana
58e555e86c
update all asn1 files
5 years ago
Francisco Paisana
5468189cd9
fix some variables' naming (e.g. x2_ap -> x2ap, e_rab -> erab)
5 years ago
Francisco Paisana
ee24b59924
converted s1ap to new s1ap asn1 lib. Cleaned up bitstring packing/unpacking and bitstring types
5 years ago
Francisco Paisana
25bb36cdc3
converted ho preparation to new s1ap asn1 lib. Extended s1ap test
5 years ago
Francisco Paisana
b6c53d786b
updated s1ap rrc interface with new asn1 lib types
5 years ago
Francisco Paisana
61b3e6b57e
imported new s1ap asn1 lib
5 years ago
Andre Puschmann
d98bc71057
fix PSBCH and use UL-SCH interleaver
5 years ago
Andre Puschmann
2e7a357226
expose UL-SCH interleaver to use in Sidelink
5 years ago
Andre Puschmann
b0bfc7956d
use const& in metrics interface
5 years ago
Xavier Arteaga
bca5d1a95a
srsLTE: extend viterbi test
5 years ago
Francisco Paisana
182a721329
fix some integer printf potential warnings
5 years ago
Andre Puschmann
06afe74bef
add virtual dtor in sched_interface base class
5 years ago
Andre Puschmann
6ec573987a
remove default value for 'blocking' param from pdcp::write_sdu()
...
there were two defaults and one was shadowing the other. This
commit removes both defaults and uses blocking-mode for RRC
calls to PDCP in the UE. The eNB write_sdu() uses the non-blocking
mode by default. We have to review the eNB's RRC perhaps and use blocking
there too and non-blocking only for data plane
5 years ago
Andre Puschmann
1155adf007
fixing printfs in asn1_utils
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
11eafa8ab4
srsLTE: FFTW wisdom gets loaded and saved by default
5 years ago
Xavier Arteaga
c92dce71b7
srsLTE: AGC only uses boundaries for requesting gain to Radio
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
b1c4cd7189
srsLTE: removed timout in tti semaphore
5 years ago
Xavier Arteaga
6bef91a788
srsLTE: TTI sempahore wait for all resuses wait code.
5 years ago
Xavier Arteaga
a7e92c384e
srsLTE: applied minor comments in tti semaphore
5 years ago
Xavier Arteaga
447ede327c
srsLTE: removed unused argument
5 years ago
Xavier Arteaga
384c420c7c
SRSUE: fix phy workers concurrency issue
5 years ago
Xavier Arteaga
9c51af491a
SRSUE: phy default arguments are set in constructor
5 years ago
Andre Puschmann
75672324b9
fix RRC connection reconfig for new bearer
...
this fixes the packing of a RRC connection reconfig after creating
a new ERAB
it also adds a PDCP config factory based on the received request
5 years ago
Tiago Ferreira Alves
3fed21ce3e
PSSS and SSSS implementation
5 years ago
Andre Puschmann
476f970ee1
replace FIXME with TODO
5 years ago
Andre Puschmann
0d1c8021f9
fix radio_multi interface if radio vector is still empty
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
Andre Puschmann
42080e59f1
remove std::move when returning freshly created unique_ptr
5 years ago
Andre Puschmann
c7ee887170
add factory function for creating PDCP config
5 years ago
Francisco Paisana
5b4c42ac77
pass argument by pointer to avoid gcc4.8 issue
5 years ago
Andre Puschmann
0feb8d1362
fixing two more issues reported by lgtm in asn1 libs
5 years ago
Francisco Paisana
20ff016e40
fixed header guard of threads file
5 years ago
Xavier Arteaga
78dd9d7854
SRSLTE: Added float and complex vector allocation
5 years ago
Francisco Paisana
a0d53b0d84
included ngap and rrc nr asn1 in asn1/ folder and added a ngap_test
5 years ago
Francisco Paisana
d59016ae68
use of srslte::log* type for ASN1 logging. Initialization of the asn1 and rrc_asn1 loggers done now in both the ue and enb
5 years ago
Ismael Gomez
9546f3ccc4
Make PDCP/RLC write_sdu() calls non-blocking by default
5 years ago