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
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
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
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
Xavier Arteaga
c635b1e467
Initial NR DCI blind-search
2020-12-12 15:59:27 +01:00
Xavier Arteaga
ebd87e63c0
Fix worker NR compilation
2020-12-12 15:59:26 +01:00
Xavier Arteaga
d5d3594f49
Removed unused attribute
2020-12-12 15:59:26 +01:00
Xavier Arteaga
d72820ddaa
SRSUE: fix compilation
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
2b2db90933
SRSUE: initial NR workers
2020-12-12 15:59:26 +01:00
Xavier Arteaga
85afdf8ce3
SRSENB: moved phy workers to lte worker pool
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
df5e3414dc
Fix segmentation fault
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
Andre Puschmann
07d2bc4fe8
change license header to agnostic version with hint to root LICENSE file
2020-12-12 15:59:25 +01:00
Xavier Arteaga
53d8319d2b
SRSUE: protect secondary serving cell synch from concurrent access
2020-12-12 15:59:25 +01:00
Xavier Arteaga
287e651ef1
SRSUE: Protect nullptr buffer in secondary serving cell synch
2020-12-12 15:59:25 +01:00
Xavier Arteaga
6d3bf7089f
SRSUE: use available carriers for inter-frequency measurement
2020-12-12 15:59:25 +01:00
Francisco
66712023bb
remove unneeded includes of full rrc asn1 lib
2020-12-12 15:59:25 +01:00
Pedro Alvarez
6929883649
Added mutex and condition_variable to srsUE's nas_test to avoid race condition on thread initialization.
2020-12-12 15:58:34 +01:00
Xavier Arteaga
959f37ae81
SRSUE: Renamed PHY scell_state to cell_state
2020-12-12 15:58:33 +01:00
Xavier Arteaga
008ef3c10c
Fixed override methods in MAC test
2020-12-12 15:58:33 +01:00
Xavier Arteaga
4b8cd7ce92
SRSUE: protect scell state
2020-12-12 15:58:33 +01:00
Xavier Arteaga
c5cb4d9984
SRSUE: Added time accurate SCell activation
2020-12-12 15:58:33 +01:00
Xavier Arteaga
f64c268a69
SRSUE: Refactored MAC/RRC SCell Activation/Deactivation
2020-12-12 15:58:33 +01:00
Andre Puschmann
35373d1385
enb,ue: add cmdline arg to enable usage of default LTE sample rate
...
some RF boards might have issues with the sharp filters that are needed
for the reduced sample rate operation that we use by default.
This switch allows to use the default LTE sampling rates and
configure this at run-time, not compile time.
2020-12-12 15:58:33 +01:00
Andre Puschmann
cd1ca4d095
mac_test: add LBSR test
...
the test checks the correct packing of an LBSR when a SDU couldn't
be added before. This happended because RLC couldn't provide a new PDU.
2020-12-12 15:58:33 +01:00
David Rupprecht
a8074fe39d
Fixed TTCN UE for starting a service request in rrc_idle
2020-12-12 15:58:33 +01:00
Pedro Alvarez
454162cea7
Deleted nas_interface_stack.
2020-12-12 15:58:33 +01:00
Pedro Alvarez
38822873e8
Stop T3402
2020-12-12 15:58:33 +01:00
Pedro Alvarez
604e79214d
Changed NAS is_attached interface to is_registered.
2020-12-12 15:58:33 +01:00
Pedro Alvarez
5649ecaab0
Renamed nas_common.h to nas_config.h. Moved emm_state_t into nas_emm_state.h and nas_emm_state.cc.
2020-12-12 15:58:33 +01:00
Pedro Alvarez
96f39da5d7
Fixes for airplane simulator.
2020-12-12 15:58:33 +01:00
Pedro Alvarez
14844a168a
Created new class to hold all NAS states for the NAS state machine. Added EMM-DEREGISTERED substates and EMM-REGISTERED substates.
...
Decoupled PLMN selection, attach request and service request. Removed RRC connect procedure from NAS.
2020-12-12 15:58:33 +01:00
Andre Puschmann
2be85217fd
mac,ue: reset demux when restting MAC
...
this potentially fixes the issue we see during HO and RLF
under high DL load.
The issue happens because buffered DL PDUs are delivered to
RLC after reestablishing RLC that confuse the receiving
RLC entity bc the sequence numbers are very high, as opposed
to begin with zero again after reestablishment.
2020-12-12 15:58:33 +01:00
Ismael Gomez
67690136be
Select strongest cell after cell search ( #2001 )
...
* Select strongest cell in all frequencies when
* Change variable name
2020-12-12 15:58:33 +01:00
Ismael Gomez
709d69d55f
Reset rv_idx after an adaptive retx in UE
2020-12-12 15:58:33 +01:00
Andre Puschmann
7cf919e2af
Fix MAC PDU packing after sending Truncated BSR ( #2004 )
...
* mac_test: add extended TBSR unit test
unit test to MAC UL packing after sending a TBSR
this fixes the MAC issues described in issue #2002
* mux: fix updating of LCG buffer state after packing PDU
we've previously lowered the buffer state of the LCG according
to the bytes that have been scheduled, but not according to
those that have been actually included in the PDU.
* proc_bsr: fix LCG buffer state updating for TBSR
when sending a TBSR do not update the internal buffer
state of the BSR proc.
This caused issues because the buffer state for all LCG that
are not included in the TBSR are set to zero, although at least
one LCG does have data to transmit.
* rlc_am: include LCID when logging retx of SN
2020-12-12 15:58:32 +01:00
Francisco Paisana
510959b50f
update nr asn1 files, and asn1 tests
2020-12-12 15:58:32 +01:00
Andre Puschmann
082e002b67
nas: fix airplane mode simulation
...
the current implementation was somehow broken after a
NAS refactor. It was undetected because we didn't really
use it.
this fixes the simulation by using a single timer to simulate
airplane mode transitions.
the timer is rearmed in the timer_expire() function
if the correspondig event is set.
Has been tested to work well with, e.g.:
--sim.airplane_t_on_ms 5000 --sim.airplane_t_off_ms 10000
2020-11-06 09:33:36 +01:00
Xavier Arteaga
32ea840a30
INTRA: better ring-buffer protection
2020-11-02 16:31:37 +01:00
Xavier Arteaga
369cffec00
More deterministic SCell search test
2020-11-02 16:31:37 +01:00