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
Francisco
b0a7506a8a
add extra check to verify if erab is still available for rrc metric extraction
2020-12-14 13:16:13 +01:00
faluco
8c42ec26c3
Fix error in previous rebase from dev.
2020-12-14 13:16:13 +01:00
faluco
343587b32d
Update NR classes after metrics interface changes.
2020-12-14 13:16:13 +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
Francisco
f1c05f6826
add sector id to ues in mac metrics
2020-12-14 13:16:13 +01:00
Francisco
43e0a3209d
fill enb rrc metrics with drb info
2020-12-14 13:16:13 +01:00
faluco
dcd1157d39
- Prototype the extension of enb metrics.
2020-12-14 13:16:13 +01:00
Ismael Gomez
5d85307a98
Fix 256QAM reconfiguration
2020-12-12 15:59:27 +01:00
Ismael Gomez
a9673e3c53
Use number of configured cells before reconfiguration for DCI calculation
2020-12-12 15:59:27 +01:00
Ismael Gomez
e654062a7a
Do not stash all PHY configuration in eNB during reconfiguration. Stash only number of CC used by DCI
2020-12-12 15:59:27 +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
783131a4e1
sched rand test refactor: removal of redundant tests
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
aed36eb273
sched rand tester refactor: elimination of ue_ctxt_test obsolete class
2020-12-12 15:59:27 +01:00
Francisco
a068ae11b0
sched rand tester ue_sim class now handles cqi
2020-12-12 15:59:27 +01:00
Francisco
8f05982bef
simplification of scheduling of UL acks in sched random tester
2020-12-12 15:59:27 +01:00
Francisco
86eb315102
simplification of scheduling of DL acks in sched tester
2020-12-12 15:59:27 +01:00
Francisco
b86d2ab7d0
move choice_type to adt folder
2020-12-12 15:59:27 +01:00
Codebot
43082e8d6a
enb/ue: turn various warning messages into info
...
turn events that may happen in the normal life of a eNB/UE
into info rather than warning to allow strict
warning/error checking in tests.
2020-12-12 15:59:27 +01:00
Andre Puschmann
eea6f0f11b
enb: fix potential invalid access in stdout metrics
...
this fixes a potential access of invalid PHY or MAC metrics by checking
the user entry actually exists.
the RFCI has shown this error:
------DL--------------------------------UL------------------------------------
rnti cqi ri mcs brate ok nok (%) snr phr mcs brate ok nok (%) bsr
ASAN:DEADLYSIGNAL
=================================================================
m==31838==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x555d482b6893 bp 0x7f6ac32d1160 sp 0x7f6ac32d0bc0 T21)
==31838==The signal is caused by a READ memory access.
==31838==Hint: address points to the zero page.
#0 0x555d482b6892 in srsenb::metrics_stdout::set_metrics(srsenb::enb_metrics_t const&, unsigned int) /mnt/data/jenkins/workspace/srslte_dev_ogt_zmq_nightly/srsLTE/srsenb/src/metrics_stdout.cc:101
#1 0x555d482865f1 in srslte::metrics_hub<srsenb::enb_metrics_t>::run_period() /mnt/data/jenkins/workspace/srslte_dev_ogt_zmq_nightly/srsLTE/lib/include/srslte/common/metrics_hub.h:88
#2 0x555d482865f1 in srslte::periodic_thread::run_thread() /mnt/data/jenkins/workspace/srslte_dev_ogt_zmq_nightly/srsLTE/lib/include/srslte/common/threads.h:143
#3 0x555d4826813d in srslte:🧵 :thread_function_entry(void*) /mnt/data/jenkins/workspace/srslte_dev_ogt_zmq_nightly/srsLTE/lib/include/srslte/common/threads.h:102
#4 0x7f6b0dc546da in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x76da)
#5 0x7f6b0bf0171e in __clone (/lib/x86_64-linux-gnu/libc.so.6+0x12171e)
2020-12-12 15:59:27 +01:00
Andre Puschmann
8c9643af80
epc,gtpu: log info when IPv6 packet is sent
...
we've logged in warning mode bc we don't support IPv6 but its
causing unwanted noise in the epc log file.
it's quite normal that the Linux network stack sends IPv6 router
solicitation packets, etc. So we just ignore them and that's it.
2020-12-12 15:59:27 +01:00
Codebot
f5d14d7649
polar_chain_test: fix compilation issue when AVX2 isn't used
...
this fixes compilation on aarch64:
FAILED: lib/src/phy/fec/polar/test/CMakeFiles/polar_chain_test.dir/polar_chain_test.c.o
/usr/bin/gcc -DENABLE_TIMEPROF -DENABLE_TTCN3 -DHAVE_5GNR -DHAVE_MBEDTLS -I/usr/include/SoapySDR -Ilib/include -I../lib/include -Wno-unused-but-set-variable -Wall -Wno-comment -Wno-write-strings -Wno-unused-result -Wformat -Wmissing-field-initializers -Wtype-limits -std=c99 -fno-strict-aliasing -D_GNU_SOURCE -O3 -fno-trapping-math -fno-math-errno -DBUILD_TYPE_RELEASE -DIS_ARM -DHAVE_NEON -DHAVE_NEONv8 -fvisibility=hidden -fdiagnostics-color=always -Werror --param large-function-growth=1600 -O3 -DNDEBUG -fPIE -MD -MT lib/src/phy/fec/polar/test/CMakeFiles/polar_chain_test.dir/polar_chain_test.c.o -MF lib/src/phy/fec/polar/test/CMakeFiles/polar_chain_test.dir/polar_chain_test.c.o.d -o lib/src/phy/fec/polar/test/CMakeFiles/polar_chain_test.dir/polar_chain_test.c.o -c ../lib/src/phy/fec/polar/test/polar_chain_test.c
../lib/src/phy/fec/polar/test/polar_chain_test.c: In function ‘main’:
../lib/src/phy/fec/polar/test/polar_chain_test.c:214:11: error: unused variable ‘gain_c_avx2’ [-Werror=unused-variable]
214 | float gain_c_avx2 = NAN;
| ^~~~~~~~~~~
../lib/src/phy/fec/polar/test/polar_chain_test.c:191:7: error: unused variable ‘errors_symb_c_avx2’ [-Werror=unused-variable]
191 | int errors_symb_c_avx2 = 0;
| ^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
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
d4fb2dfb16
Added handling of inter rat measurement config function
...
Make report config more agonistic
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
David Rupprecht
f4b0042c10
Added minimal interrat and nr measurement testcase
...
Added the handling of nr_r15 meas config
Added seperate handling of reportConfig for eutra
2020-12-12 15:59:27 +01:00
Francisco
37ee8bcf46
fix issue 2082 - ensure that sched does not exceeds max coderate while decreasing mcs
2020-12-12 15:59:27 +01:00
David Rupprecht
96b75b6433
Fixes clang compiler error in case of UHD_ENABLE_RFNOC enable
2020-12-12 15:59:27 +01:00
Andre Puschmann
ab598dae3b
gw: calculate GW throughput based on TTI timing
...
similiar like the RLC patch, MAC TTIs are passed to GW so the
rx/tx rate can be calculated based on the LTE timing
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
Andre Puschmann
3c169e6be1
rlc_am: increment retx counter for segments
...
we've only incremented the retx when retransmitting a full PDU,
but not when only retransmitting segments.
This might lead to many more retx than allowed.
2020-12-12 15:59:27 +01:00
Andre Puschmann
1de2abb5f7
sync: log TTI and TTI jumps before calling Stack thread
2020-12-12 15:59:27 +01:00
Andre Puschmann
346c07a9f2
sync: update log TTI before logging first message
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
b4861bc59a
move sched params and sched helper methods to sched_helpers.h/cc files. Removed place in the scheduler where the mcs is increased forcefully to avoid segmentation
2020-12-12 15:59:27 +01:00
Francisco
920e15c1a5
fix logical channel pdu size computation
2020-12-12 15:59:27 +01:00
Ismael Gomez
ae1092257f
Fix issue in 15 PRB 2CA: Due to DCI format ambiguity, the scheduler needs to use Format1A instead of Format1. The number of PRB was incorrectly calculated when generating the grant, leading to corruptions in the MAC PDU.
2020-12-12 15:59:27 +01:00
Francisco
9eddfdb4a3
fix sched rand tester coderate check. tbs needs to be converted from bytes to bits
2020-12-12 15:59:27 +01:00
Francisco
0ae304a6ed
update sched rand tester to detect when tbs coderate exceeds 0.93
2020-12-12 15:59:27 +01:00
Francisco
6d27ad9d19
add license header to gdbinit file
2020-12-12 15:59:27 +01:00
Francisco
c9f1de8934
added gdbinit file that does pretty-print of bounded_vector
2020-12-12 15:59:27 +01:00
Pedro Alvarez
38206bea69
Fixed RLC AM fixed header size in get_buffer_state function. Fixed RLC AM tests accordingly.
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
Xavier Arteaga
08799cfe0f
NR CSI-RS initial put/measure
2020-12-12 15:59:27 +01:00