Ismael Gomez
f9a02299f9
Use MAC PDU pointer instead of tti_rx and rnti as a key to associate buffers. Decouple crc_info() and push_pdu() functions. This allows for different timing architectures in the PHY
2020-12-16 13:49:29 +01:00
Ismael Gomez
0498439d41
Backport some changes from FAPI branch ( #2124 )
...
* Reorder DCI FORMAT enum
* Fix endianness issue
* Fix return codes in phy_ue_db
* Log members should be destructed after the layers.
* Add JSON metrics and Events. Add Alarm log channel. Simplify MAC metrics struct.
* Restore metrics_stdout change
2020-12-16 13:48:48 +01:00
Francisco Paisana
1304746bce
use of fmt lib in asn1 utils
2020-12-15 15:56:59 +01:00
Francisco Paisana
53116a99fc
add rlc metrics to rlc_um
2020-12-14 16:59:09 +01:00
Francisco Paisana
82eb31f70f
add rlc metrics to enb
2020-12-14 16:59:09 +01:00
Francisco Paisana
0f693b36b2
changed pdu latency calculation to std chrono
2020-12-14 13:47:05 +01:00
Francisco Paisana
7ffc236a1a
enable log line when rlc tx pdu last segment is sent but the latency log is disabled
2020-12-14 13:47:05 +01:00
Francisco
951912d18a
disable RLC latency measure when ENABLE_TIMESTAMP flag is disabled
2020-12-14 13:47:05 +01:00
Francisco
92bc98e2f0
add byte tx counter to the set of metrics being measured in RLC
2020-12-14 13:47:05 +01:00
Francisco
e2654e69ec
Enable pdu stack latency measurements in the eNB.
2020-12-14 13:47:05 +01:00
faluco
f23fdf0639
Include missing files.
2020-12-14 13:46:45 +01:00
faluco
98a2c868b5
Update srslog to latest version.
2020-12-14 13:46:45 +01:00
faluco
f20b75a05f
Re-structure enb metrics a bit. Create a generic mac metric struct and per ue mac metrics struct.
2020-12-14 13:16:13 +01:00
faluco
5529943172
Add a per sector rach preable counter for the metrics.
2020-12-14 13:16:13 +01:00
faluco
dcd1157d39
- Prototype the extension of enb metrics.
2020-12-14 13:16:13 +01:00
Pedro Alvarez
7eebd71627
Added S1AP E-RAB release command/response handling to srsENB.
...
Added the ability to srsEPC to send the E-RAB release command.
2020-12-12 15:59:27 +01:00
Francisco
cba0cc457f
sched rand test refactor: creation of abstract sched simulator class for testing
2020-12-12 15:59:27 +01:00
Francisco
b86d2ab7d0
move choice_type to adt folder
2020-12-12 15:59:27 +01:00
David Rupprecht
848496bb0f
Moved get_earfcn to srslte get_carrier_freq func
2020-12-12 15:59:27 +01:00
David Rupprecht
2e51cfc1a5
Added black cells with index function
...
Added new index functios
Use asn1 list functions for toAddMod and toRem lists
2020-12-12 15:59:27 +01:00
Andre Puschmann
c0883291f6
rlc: pass TTI to get_metrics to calculate "real" LTE rx/tx rate
...
when retrieving the RLC metrics, the number of TTIs since the last
call are passed. This allows to calculate the actual rate
based on the LTE timing rather than only the system timing.
2020-12-12 15:59:27 +01:00
Andre Puschmann
cff9f03a11
rlc_am_lte: remove unused rx/tx metrics members
...
those variables aren't used and are included in the bearer metrics already
2020-12-12 15:59:27 +01:00
Francisco
b41fc96d6d
fix asn1 integer packing for integer values whose length is equal or above 32 bits
2020-12-12 15:59:27 +01:00
Francisco
99f94d9a1a
Bug fixes of srseNB scheduler TPC
...
- fix encoding of TPC command
- use of exponential average with irregular sampling for the ULSNR average estimate.
Turns out using a time-windowed average for the SNR was a bad idea.
If the UL grants are very sporadic, the SNR time window will never have samples
when a TPC is encoded
- update of TPC sched test
- other fixes in accumulators lib
2020-12-12 15:59:27 +01:00
Xavier Arteaga
d6b5229dbe
Added CSI-RS unit test and fix defects
2020-12-12 15:59:27 +01:00
Xavier Arteaga
6127681102
Added csi_rs header
2020-12-12 15:59:27 +01:00
Francisco
7ee99a529a
fix assertion messages for bounded_vector::back() method
2020-12-12 15:59:27 +01:00
Francisco
5cce2e4dc7
extension of bounded_vector unit test and fix of compilation issues
...
- now bounded_vector::resize(N) works for move-only types
- bounded_vector assertions now print error messages
- fixed move ctor/assignment of bounded_vector
- created a unit test for bounded_vectors of move-only types
2020-12-12 15:59:27 +01:00
Francisco
2598989f7d
replace msg3grant type from C-array to bounded vector
2020-12-12 15:59:27 +01:00
Francisco
fc451f17f0
implementation of bounded_vector and respective unit test
2020-12-12 15:59:27 +01:00
Francisco
22229adf08
fix: normal phr is only sent for PCell
2020-12-12 15:59:27 +01:00
Francisco
69748e9313
fix compilation issue regarding definition of size_t in header and declaration of static member null_value in sliding average class
2020-12-12 15:59:27 +01:00
Francisco
d42dc50c44
Write TPC sched unit test and fix sched logical channel test
2020-12-12 15:59:27 +01:00
Francisco
479602ed1d
add option to specify target ul sinr for UL power control to the enb rr.conf parser
2020-12-12 15:59:27 +01:00
Francisco
5865df39d1
created class that implements the scheduler transmit power control and PHR handling
2020-12-12 15:59:27 +01:00
Xavier Arteaga
e07cf513d0
Improved NR blind search and DL test
2020-12-12 15:59:27 +01:00
Xavier Arteaga
c635b1e467
Initial NR DCI blind-search
2020-12-12 15:59:27 +01:00
Xavier Arteaga
cd1aef7d76
Added NR PDCCH unit test plus fixes
2020-12-12 15:59:26 +01:00
Xavier Arteaga
53f6ac118e
Initial PDCCH encode/decode
2020-12-12 15:59:26 +01:00
Xavier Arteaga
65d5fcf45d
Add minor DCI location comment
2020-12-12 15:59:26 +01:00
Xavier Arteaga
67ce4c1491
Avoid std memory functions in EVM measurement
2020-12-12 15:59:26 +01:00
Andre Puschmann
00a6e16c14
update license header for liblte_*.{h,cc} files
...
user license-agnostic text to refer to license file.
make sure copyrights/years are correct.
2020-12-12 15:59:26 +01:00
Andre Puschmann
47c5f9e85b
remove AGPL header from remaining cpp files
...
* also add commercial header to come CMake helpers
2020-12-12 15:59:26 +01:00
Andre Puschmann
b9f363db9a
ssl: rename liblte_ssl.h to ssl.h
2020-12-12 15:59:26 +01:00
Xavier Arteaga
f9643843a0
SRSENB/UE Fixed NR workers
2020-12-12 15:59:26 +01:00
Xavier Arteaga
b501f2eeaf
SRSENB/UE: Added NR workers
2020-12-12 15:59:26 +01:00
Xavier Arteaga
ac930003be
SRSUE: Integrated NR workers
2020-12-12 15:59:26 +01:00
Xavier Arteaga
a908fb6c5b
Fix NR srsue/srsenb. Initial PHY NR in SRSENB.
2020-12-12 15:59:26 +01:00
Xavier Arteaga
eed9405e40
Moved NR MAX MIMO layers to carrier
2020-12-12 15:59:26 +01:00
Xavier Arteaga
c6798653be
SRSUE: created initial PHY LTE worker pool
2020-12-12 15:59:26 +01:00