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
Xavier Arteaga
1fa5a19a55
SRSUE: SRSUE: fix timealigmenttimer
5 years ago
Francisco Paisana
d270518d69
updated rrc to new srsasn1 version
5 years ago
Francisco Paisana
6b4488d5c1
added sending of enb status transfer from SeNB
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
Francisco Paisana
524c80a804
added handling of ho command
5 years ago
Pedro Alvarez
e1cdd51eba
Clang-formated before pull request
5 years ago
Pedro Alvarez
61958af70b
Timer removes itself from the map upon expiration
5 years ago
Pedro Alvarez
60feab3d7b
Added map to keep discardTimers in PDCP NR entity.
5 years ago
Pedro Alvarez
e68956bcf6
Adding discard timer timeout to PDCP config.
5 years ago
Pedro Alvarez
2e7ddef038
Continue to add discard_sdu to RLC interfaces.
5 years ago
Pedro Alvarez
a77dd4e959
Starting to add boiler-plate code to support Discard at RLC.
5 years ago
Pedro Alvarez
7ccc7d1d20
Starting to notify RLC upon PDCP discard (NR)
5 years ago
Pedro Alvarez
9870c73366
Starting to add discardTimers to PDCP NR.
5 years ago
Pedro Alvarez
f3eeaf401a
Removed unecessary lambda redirection in pdcp_entity_nr
5 years ago
Xavier Arteaga
d96836a0fa
SRSUE: Stack TTI based purely in radio timestamp
5 years ago
Francisco Paisana
c29d8b418a
fix coverity va_list issues
5 years ago
Francisco Paisana
ab3d7dd413
updated sched interface for multiple carriers
5 years ago
Ismael Gomez
713d98ecb9
Fix issue in AGC confusing dB with linear
5 years ago
Francisco Paisana
3159a5b84a
added cc_idx to dl_rach_info
5 years ago
Francisco Paisana
cab9327b1a
updated scheduler interfaces to accommodate multiple carriers
5 years ago
Xavier Arteaga
8dd1c59e18
Added amplitude and power conversions to dB and viceversa
5 years ago
Xavier Arteaga
67935d2b99
SRSUE: RRC blocks MAC RA procedure during reestablishment
5 years ago
Francisco Paisana
54992e72f1
fixed and simplified multiqueue task api to avoid dangling pointers.
5 years ago
Francisco Paisana
6746c5dfa5
pass task functor by copy to avoid dangling pointers
5 years ago
Francisco Paisana
b2d3c2a150
fix compilation issue
5 years ago
Francisco Paisana
ac4d3b9624
std::functions do not accept move-only captures. So I had to create a wrapper earlier. In this PR, I cleaned a bit the previous API for the code to be a bit more readable
5 years ago
Francisco Paisana
c9f092e8e9
created a nullsink and a TESTASSERT for C
5 years ago
Francisco Paisana
67ccaf1029
created a file with common test utils, including assertions, a logger specialized for tests that counts the number of errors and warnings during the test run and can print diagnostics on exit
5 years ago
Francisco Paisana
514b9045ca
added begin/end methods to asn1 arrays and fixed v2x bug
5 years ago
Andre Puschmann
9493e7492c
add initial RLC AM NR status PDU packing code including tests
5 years ago
Andre Puschmann
db2c43553e
add basic rlc_am_base class containing data/control PDU check
5 years ago
Andre Puschmann
b32a4cf294
add RLC AM NR PDU packing and unpacking
5 years ago
Andre Puschmann
47019e26f6
fix signed/unsigned comparison warning
5 years ago
Andre Puschmann
6f72cbffab
fix snprintf of uint64 for ARM
5 years ago
Pedro Alvarez
d4fb4d8c86
Fixup clang-format in pdcp before PR.
5 years ago
Pedro Alvarez
15613465cf
Moving some initialization from init function to constructor in the PDCP entities.
5 years ago
Francisco Paisana
73e06a0858
removed threads from eNB MAC
5 years ago
Francisco Paisana
e8487211e4
changed the naming of mch to m1u in the gtpu class
5 years ago
Francisco Paisana
2512e0fd79
removed thread from GTPU MCH
5 years ago
Francisco Paisana
1400777639
removed 1st thread from GTPU
5 years ago
Francisco Paisana
0539d932b8
clang format on the interface files
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
792e2f7f8f
add NB-IoT scrambling sequences
5 years ago
Andre Puschmann
b20f7ba541
refactor RLC UM and add NR receiver
5 years ago
Francisco Paisana
a9a33256e9
fixed some of the net utils functions
5 years ago
Francisco Paisana
546ee98879
fixed small issue that was causing compilation errors
5 years ago
Francisco Paisana
2de0eee9c7
clean up some comments
5 years ago
Francisco Paisana
76673d2d40
cleaned up socket util methods, and made the S1AP non-blocking.
5 years ago
Francisco Paisana
2c3e4a3daf
creation of util class net_addr_t that provides methods for conversion of IP addr const char* to sockaddr_in
5 years ago
Francisco Paisana
31dffde6c3
simplified interface and made it more generic to different types of sockets
5 years ago
Francisco Paisana
e37a718f21
created a sctp socket class
5 years ago
Francisco Paisana
131b1a7e41
added a class to handle multiple sockets via a select
5 years ago
Andre Puschmann
98ac39e617
fix compilation when macro SRSLTE_BUFFER_POOL_LOG_ENABLED is enabled
5 years ago
Andre Puschmann
03bd63d9ab
rename RLC AM class to RLC AM LTE
5 years ago
Francisco Paisana
ff62ae6ad0
created the method chain in RRC to receive and handle the response to a S1AP HORequired
5 years ago
Francisco Paisana
57cd40ca31
added an ho required message send from SeNB to MME
5 years ago
Francisco Paisana
690a9850e7
cleaned up some old patterns and run clang-format in RRC and scheduler
5 years ago
Xavier Arteaga
2e1479e9d6
SRSENB: Added PHY CA PRACH workers
5 years ago
Andre Puschmann
2d126371f6
adopt PDCP NR to use new timer class
5 years ago
Pedro Alvarez
ac9ee9d863
Added comment.
5 years ago
Pedro Alvarez
ea0a413c8a
Added check on wether the PDCP entity is initialized.
5 years ago
Pedro Alvarez
9998b3e857
Small white space fix and clang-format on pdcp_nr_test.h
5 years ago
Pedro Alvarez
cede56abe1
Fix small typo
5 years ago
Pedro Alvarez
8511fca940
Clang-formated to prepare for PR
5 years ago
Pedro Alvarez
d3a07fdd38
Added check for overflow at RX. Adding more tests.
5 years ago
Pedro Alvarez
62230c6ab9
Starting to have overflow protection in PDCP NR tx
5 years ago
Pedro Alvarez
1d56fa6308
Improved speed of tests for COUNT wraparound, by setting the PDCP initial state.
5 years ago
Pedro Alvarez
517ce8a220
Added test to test out of order COUNT wraparoung. Added setters to help with the testers.
5 years ago
Pedro Alvarez
ceea761ca4
Added append_bytes method to byte_buffer_t class. Continue to reduce boilerplate.
5 years ago
Pedro Alvarez
b7fdcaabc5
Starting to add reordering timers at PDCP NR entity. Timeout seems to be triggered correctly and pass the SDUs to the upper layers when it expires. First tests passing.
5 years ago
Pedro Alvarez
b92c99ad2f
Removing PDCP config from rrc_interfaces_types. Starting to add t_reordering configuration.
5 years ago
Pedro Alvarez
45d298507b
Starting to move pdcp configs to rrc_interface_types. Starting to add test for reorder timeout.
5 years ago
Pedro Alvarez
6cf2bd7bc3
Starting to add reordering queue in the PDCP.
5 years ago
Pedro Alvarez
ff15ed5018
Starting to add timers to the NR PDCP.
5 years ago
Francisco Paisana
35c9f02579
added quant cfg parsing and addition to measCfg
5 years ago
Francisco Paisana
427fdb83fe
using std::make_tuple now to support old compilers. Move operator== definitions for meascfg types to rrc_asn1_types
5 years ago