Andre Puschmann
aba0ba9ad8
mac_sch_pdu_nr: fix newline in logs
3 years ago
Andre Puschmann
54ab64327a
ue,mac_nr: move BSR levels lookup table into lib header
...
prepare for shared use with gNB
3 years ago
Andre Puschmann
6745eced49
ssb: avoid NaN when SSB can't be detected
...
when PSS+SSS can't be detected the RSRP was 0 and
the resulting conversion to dB resulted in NaN.
3 years ago
faluco
ec272061a0
Fix a dangling SDU pointer in mac_sch_subpdu_nr when adding subpdus into a mac_sch_pdu_nr.
3 years ago
faluco
934802d23c
Report the SIB9 home enb name in the enb sector start/sector stop events.
3 years ago
faluco
2fd3ed789a
Rename sector_id to carrier_id JSON key in enb metrics and events.
3 years ago
faluco
d122d0c69b
Add new field for the PCI in the enb JSON report file.
3 years ago
faluco
d168536bc4
Add a new program option to control how ASN1 messages get printed into the enb JSON report file.
3 years ago
faluco
df6ae7b0e0
- Implement new enb events:
...
* ho_command
* connection_resume
* rlf_detected
- Rename rlf_report event to "rlf_report".
3 years ago
faluco
8a3586dfbf
Include a ASN1 json representation for RRC enb events.
3 years ago
David Rupprecht
a9a23214b0
Added more 5G security kdfs
...
Added new 5G SIM functions
Added const parameters for security functions
3 years ago
David Rupprecht
a645d74eaf
USIM functions for res star
...
Added gen_res_star in security.h
Added USIM interfaces for res star
Added RES star test case
3 years ago
David Rupprecht
bce6b5cc0f
Added kdf common
...
Use kdf functions in 5G KDF
Moved EPS KDF function to new KDF structure
3 years ago
David Rupprecht
15eaef21e2
Update test f12345 function
...
Moved XOR functions to lib
Added testcase for KDF
Minor liblte_security updates
3 years ago
David Rupprecht
0ef8976d53
Remove length from class and pass by reference
3 years ago
Andre Puschmann
88bb92dc0d
mac_nr,sched: handle C-RNTI CE
3 years ago
Andre Puschmann
f3e8847ad3
mac_pdu_nr_test: fix test
3 years ago
Andre Puschmann
82e9652a92
mac_sch_pdu_nr: fix ASAN/fmt issue when print space
3 years ago
Andre Puschmann
ea48a350a4
mac_rar_pdu_nr: fix clearing of padding bytes
3 years ago
Andre Puschmann
02bd15878e
mac_sch_pdu_nr: fix logging
3 years ago
Andre Puschmann
ede81be5e4
mac_rar_pdu_nr: add packing routines
...
* add packing for RAR PDUs
* rewrite to_string() to use fmt lib
* add test case for packer
3 years ago
Andre Puschmann
20c0e0bc41
mac_sch_pdu_nr: add to_string() helper to format MAC PDUs in logs
3 years ago
Francisco Paisana
227ae97bcb
workaround gcc4.8 issue with inability to derive move ctor noexcept specifier
3 years ago
Francisco Paisana
ebd12b0778
stack lte,refactor: pass bearer manager instead of stack pointer to srsenb::rrc
3 years ago
Francisco Paisana
f4df55c245
stack lte: separate bearer manager into two classes, one for the ue and one for the enb
3 years ago
Francisco Paisana
2ade4628ca
stack lte: create an gtpu-pdcp adapter class that correctly converts lcids to eps bearers and vice-versa
3 years ago
Francisco Paisana
4b2f079581
gtpu: renamed lcid to eps_bearer_id as parte of the refactor of gtpu to use eps_bearer_ids
3 years ago
Andre Puschmann
3949a727a7
enb_interface: add stack interface for RRC
...
RRC uses the interface to register/deregister EPS bearer
3 years ago
Andre Puschmann
db8b710442
bearer_manager: move to lib folder and extend for multiple users
...
prepare bearer manager to be used by eNB which requires
to support multiple RNTIs
3 years ago
Francisco Paisana
020bec025e
sched: created class common to LTE and NR for ue buffer status management
3 years ago
Xavier Arteaga
9e1669c403
Better comments in minimum size symbol selection
3 years ago
Xavier Arteaga
4858202bf6
Fix NR symbol size for 270RB
3 years ago
Xavier Arteaga
14a85d31ec
Fix symbol size simensioning for LTE standard rate
3 years ago
Xavier Arteaga
01390a7340
Better NR softbuffer size adjustment
3 years ago
Andre Puschmann
9bf74843f6
mac_pdu_nr: add error handling to init_tx() method
...
check provided byte_buffer and return error if it's not valid
3 years ago
Francisco Paisana
04e5c81edf
sched,nr: nr_phy_test now uses the whole mac class rather than just the scheduler
3 years ago
Francisco Paisana
b486d2a1b5
sched,nr: implement prb grant fmt formatting
3 years ago
Francisco Paisana
da4b7e4f80
sched,nr: fix sched RAR NR test; update test assert macros
3 years ago
Xavier Arteaga
83b9b2d1ff
Implemented UE open loop CFO compensation for NR
3 years ago
Xavier Arteaga
5aa2279990
Fix NZP-CSI-RS CFO sign
3 years ago
Xavier Arteaga
7da2d20447
Added UE UL NR frequency offset option
3 years ago
Xavier Arteaga
cfe2b305a1
Fix CORESET0 related PDSCH resource allocation procedure
3 years ago
Xavier Arteaga
36207db615
Added CORESET start_rb helper function
3 years ago
Xavier Arteaga
89ef3b64b4
Optimization NR PDCCH mapping minor optimization
3 years ago
Xavier Arteaga
ae0d8f83f0
Add PDCCH interleaved mapping in phy_dl_nr_test and iterate all possible 15kHz SCS bandwidths
3 years ago
Xavier Arteaga
9c3dd56398
Added PDCCH DMRS interleaved mapping
3 years ago
Xavier Arteaga
f5f18054eb
Added PDCCH NR interleaved mapping
3 years ago
Xavier Arteaga
d61d6aa59f
Integrated CORESET0 into UE's RRC
3 years ago
Xavier Arteaga
e07263ee26
Added band helper for getting band from ARFCN
3 years ago
Xavier Arteaga
7377496417
Added SCS to string and corrected coreset0
3 years ago
Xavier Arteaga
62ba7d386d
Initial CORESET Zero constructor
3 years ago
Xavier Arteaga
5d149a4b78
Moved NR time/frequency allocation SLIV to new component
3 years ago
Francisco Paisana
36eee0ab40
test,nr: add ra_search_space configuration to phy_cfg_nr; now the test ue searches for RA-RNTI while expecting a RAR
3 years ago
Francisco Paisana
2668a8f68b
sched,nr: fix Msg3 decoding in PHY to not expect any UCI
3 years ago
Xavier Arteaga
2cd5e98132
Fix NULL check in DCI NR for RAR type
3 years ago
Xavier Arteaga
3784359da5
Use NR DCI format 0_0 packing and unpacking for TC-RNTI type
3 years ago
Xavier Arteaga
b846116c5c
Added NR RAR UL DCI packing
3 years ago
Francisco Paisana
55d83a1279
fix compilation issue due to wrong include path for srsran_assert.h file
3 years ago
Francisco Paisana
f518861ebc
fix location of support/ folder. Created macros for ASSERT_EQ and ASSERT_NEQ
3 years ago
Francisco Paisana
599fc978a5
improvement of srsran_assert design, with specializations to enable/disable assertions based on compile flags other than ASSERTS_ENABLED. Creation of the support/ folder
3 years ago
Francisco Paisana
e896ac49e8
adt: create split optional span view to be used for C-array types
3 years ago
Francisco Paisana
d616e46936
adt: allow choice between static and dynamic optional vector types
3 years ago
Francisco Paisana
1596fcf349
adt: rename optional table to optional array
3 years ago
Francisco Paisana
8c24cfebd3
adt: create data structure type to represent an array of optional fields
3 years ago
Francisco Paisana
eb4999a18e
lte,pdcp: silence error message when a reconfiguration of a PDCP entity is no-op
3 years ago
Andre Puschmann
32ab1baeb1
enb,rrc: during NSA activation, remove EUTRA DRB and set MAC logical channel config
3 years ago
Andre Puschmann
9e7852ac83
srsran_asn1_nr: add RLC config to packing test
3 years ago
Andre Puschmann
1c3a03cb2b
rlc: fix memleak in queue_rx_pdu
...
* alternative to #3141
* use byte_buffer as queue element
3 years ago
Andre Puschmann
c365c16531
gnb_interfaces: inherit from EUTRA interfaces when they are identical
3 years ago
Andre Puschmann
4076338a1b
enb: add MAC-NR PCAP
...
* use fixed filename until eNB stack layout is decided
3 years ago
Andre Puschmann
c03623863b
enb,nsa: fix UL PDU processing
...
* remove const from pusch_info() MAC/PHY interface to allow moving unique byte buffer
3 years ago
Andre Puschmann
fc35c0ee51
enb,nsa: fix packing of DL MAC PDUs
...
* use byte_buffer_t as interface type for DL PHY-MAC interface
* fix missing clear() for new DL tx
3 years ago
Andre Puschmann
4a828be39f
rlc_am_test: fix reestablishment test
...
after changing the retx counting we receive one SDU more than before
3 years ago
Andre Puschmann
7726acad41
rlc_am_lte: fix counting of retx of entire PDUs and PDU segments
...
this patch fixes a bug discovered in a real network where the DL CQI of a
user degraded repidly in very short time. A relativly big RLC PDU that
was still sent with the good CQI in a big grant now needs to be split
across many tiny segments because the CQI degraded so much.
The retx couting for each transmitted segment caused the retx counter to
reach maxRetx quickly.
With this patch we do not increment the retx counter for each transmitted
PDU or segment of a PDU but instead only increment the counter when
a given SN is added to the retx queue. This can happen either:
a) if the SN is negativly acknowledged and was not already on the retx queue,
b) no new data is available for tx and a SN is selected for retx.
This is in accordance with TS 36.322 which handles retx counting in section
5.2.1 according to the above description.
3 years ago
Xavier Arteaga
cba6df3722
Extended NR PHY robustnes against wrong RRC configuration
3 years ago
Xavier Arteaga
de89e829e7
Added NR PUCCH Resource ASN1 helper
3 years ago
Xavier Arteaga
3ae131b336
gNb creates PUSCH decode PDU
3 years ago
Xavier Arteaga
98f29961bc
Fix old GCC compilation
3 years ago
Xavier Arteaga
856573b92f
Added 4096 symbol size as LTE rate
3 years ago
Xavier Arteaga
54e1fe172c
Minor NR PHY aesthetical modifications
3 years ago
Xavier Arteaga
956c4f8266
Added PHY NR test TDD FR1.15-1 pattern
3 years ago
Xavier Arteaga
dfa323df6b
Added 20MHz default configuration
3 years ago
Xavier Arteaga
ea802c23f2
Remove PHY lib verbose from test and use byte vector random function
3 years ago
Xavier Arteaga
1b50758bd5
Initial NZP-CSI default configuration from TS38.101-4
3 years ago
Andre Puschmann
28668aac34
ue,proc_ra_nr: add temporary flag to skip RAR reception
...
this will be removed again as soon as the eNB supports full RAR
transmission.
3 years ago
Andre Puschmann
3b5344b0f7
thread_pool: add optional ID to thread pool
...
this allows to prepend an ID to each thread pool to
better differentiate workers from different pools
3 years ago
Andre Puschmann
38f1e158a5
enb,nr: fix NR PHY PRACH init and MAC-PHY interaction
3 years ago
Xavier Arteaga
a300a47673
Fix value selector for NEON
3 years ago
Xavier Arteaga
42b052112f
Added TS reference and use SRSRAN_CEI_LOG2 macro
3 years ago
Xavier Arteaga
1f495cb008
Added generic SRSRAN_CEIL_LOG2
3 years ago
Andre Puschmann
b6f8280f67
cqi: protect potential div by zero bug
3 years ago
Andre Puschmann
b388930325
srsran_asn1_rrc_nr_test: disable PCAP output by default
3 years ago
David Rupprecht
11f9ac75db
Added PLMN to serving network string name
3 years ago
Xavier Arteaga
085e247ece
Fix ZMQ TX channel mapping for NULL pointers
...
Fix ZMQ transmit frequency mapping
Use map mask in ZMQ to determine mapped channels
Fix ZMQ mapping
3 years ago
Xavier Arteaga
562fd1b4d4
Fix segfault
3 years ago
Xavier Arteaga
dbb10dd6a2
Hold worker thread until baseband is transmitted
3 years ago
Xavier Arteaga
0c7239e5df
SRSUE: add RF channel offset
3 years ago
Xavier Arteaga
b57df4db10
Refactored worker_end mechanism for concurrent workers
3 years ago
Andre Puschmann
e833751031
rrc_nr: add CSI config packing
3 years ago
Andre Puschmann
f181733c7e
rrc_nr,enb: add more fields to spcell cfg dedicated
3 years ago
Andre Puschmann
4915dc9642
test_pcap: add function description
3 years ago
Francisco Paisana
bd08a64b5e
sched: fix crash for 100 prbs and subband CQI reporting
3 years ago
Andre Puschmann
45c1971249
mac,phy,interface: clean up and add NR interface to LTE stack
...
* remove obsolte rx_data_ind
* add mac_phy_interface_nr to LTE stack
3 years ago
David Rupprecht
04ef6e120d
Added new SIM functions to get MCC, MNC and MSIN
3 years ago
Bedran Karakoc
a6226379b4
Introducing NGAP UE context procedures
3 years ago
Ismael Gomez
a896e32cf4
Refactor sub-band CQI processing
3 years ago
Ismael Gomez
9b10e1c45d
Fix sub-band CQI in UE. Refactor variable names
3 years ago
Francisco Paisana
12e33483e1
sched,nr: add slot_point to sched nr
3 years ago
Francisco Paisana
a0a1af9d0f
nr: slot value that handles wrapping around
3 years ago
Andre Puschmann
a7eb9b471b
pssch_file_test: relax test result check
...
the file test sometimes decodes 2 and sometimes 3 (less often) SCI.
its not entirly clear why it's different though.
this "fixes" #3088
3 years ago
Xavier Arteaga
ca5ea369f5
Extended ue_dl_nr_file test
3 years ago
Xavier Arteaga
914a2e2d31
Add SCH NR softbuffer check
3 years ago
Xavier Arteaga
b59c330858
Fix filesource include
3 years ago
Xavier Arteaga
858fc2c0fc
Cleanup include
3 years ago
Xavier Arteaga
5a6b8f42f5
Add standard rate check for FFT minimum size function
3 years ago
Xavier Arteaga
98929c95a8
Initial UE DL NR file test
3 years ago
Xavier Arteaga
dcf9ae039c
Fix related Sidekiq comments and mutex
3 years ago
Xavier Arteaga
b3d9a94dd5
SIDEKIQ: fix tx time protection
3 years ago
Xavier Arteaga
ecf668ee9e
SIDEKIQ: fix comment
3 years ago
Xavier Arteaga
96ee4b7258
SIDEKIQ: Initial implementation
...
SIDEKIQ: Add SKIQ_FOUND to RF found condition
SIDEKIQ: finished SKIQ component abstraction
SIDEKIQ: fix issues and added external PPS example
SIDEKIQ: add PPS test card index argument
SIDEKIQ: improvements
SIDEKIQ: improved srate change
SIDEKIQ: more improvements
SIDEKIQ: more fixes
SIDEKIQ: fix Rx ch gain
SIDEKIQ: Fix multi-card synchronism
SIDEKIQ: Better Rx gain tracking
3 years ago
Robert Falkenberg
24e52d6291
soapy: fix array parameter mismatch for some functions
...
With soapy 0.8.0, GCC 11.1.0 warns of mismatched array bounds
in some functions.
This commit aligns the bound and adds proper wrappers to
fix subsequent warnings.
3 years ago
Francisco Paisana
bc5a548fe8
sched: scheduler now accounts for prachs with different durations
3 years ago
Xavier Arteaga
bb4f469794
Integrated SR decoder in gNb
3 years ago
Xavier Arteaga
6a9baef11d
Limit DMRS PUCCH SNR to void NAN/INF
3 years ago
Xavier Arteaga
d783fbf3a0
Reviewed NR procedure for PUCCH resource sselection and reviewed gNb PUCCH interface
3 years ago
Xavier Arteaga
64f4767c4f
Fix NR PUCCH decoder memory access
3 years ago
Andre Puschmann
60a795acc0
asn1,rrc_nr,test: extend RRC reconf test, add PCAP output
...
test now can write the NR reconfig into a PCAP for easy
debugging with Wireshark
patch also adds a new test helper to write a RRC PDU
into a PCAP file (helper packs PDCP and RLC AM first)
3 years ago
Andre Puschmann
c9c3a68fae
asn1,rrc_nr: add error code handling to packing/unpacking of pdcch_cfg
3 years ago
Ismael Gomez
6fb9b6bf94
Fix sub-band CQI in UE. Refactor variable names
3 years ago
Francisco Paisana
74d0a8adb8
sched: add subband cqi info interface to LTE scheduler
3 years ago
Ismael Gomez
2e1127f385
Add sub-band CQI periodicity and configuration to lib
3 years ago
Ismael Gomez
3f5094f30e
Remove confusing subband_size variable and replace with subband_wideband_ratio
3 years ago
Andre Puschmann
a142192d4e
test_common: handle return value from make_byte_buffer()
3 years ago
Andre Puschmann
8d2e81ad6f
enb,mac,nr: add basic UE object skeleton
...
refactor that also adds a basic UE object to the NR MAC
3 years ago
David Rupprecht
0217bf5332
Fixed name space for rrc ue
3 years ago
Francisco Paisana
09c7000201
sched,nr: update nr scheduler to use new mac nr interface types
3 years ago
Francisco Paisana
d9336bcd9e
sched,nr: creation of pool of softbuffers for NR. Now the sched NR harq manages the lifetime of the softbuffer and its forwarding to the PHY
3 years ago
Francisco Paisana
1535e6b205
sched,nr: extend sched nr testing suite. restrict paralllelization for correct DAI generation
3 years ago
faluco
b79481f74b
- Fix text formatter unit test for printing the date.
3 years ago
Francisco
357bc10a17
feature - make minimum SNR, under which the RRC is notified with UL KO, configurable
3 years ago
faluco
8708043a5f
- Add date to log timestamps.
...
- Print once per second the current timestamp into stdout, feature guarded by a config expert option.
3 years ago
Francisco
67325ab5c1
add pdcch_cqi_offset parameter to enb.conf
3 years ago
Francisco
2a31daca4a
enb,configuration: allow to specify enb specific max nof RLC retxs
3 years ago
Andre Puschmann
b5b2f8190e
signal_handler: use std::atomic for running var
3 years ago
Andre Puschmann
ff5fe5df14
rf_uhd_imp: fix race in RF metrics
3 years ago
Pedro Alvarez
8d41c0d476
Maded SRB configuration optional in rb.conf
3 years ago
David Rupprecht
d990db66f6
Added syslog logger
3 years ago
faluco
7b7ecb7983
Add a new configuration option that controls PDSCH baseband sample dump to a file on KO.
3 years ago
Xavier Arteaga
b25681f9de
gnb,prach: add PRACH to gNB
...
rebase of Xavier's feature_gnb_prach branch
3 years ago
David Rupprecht
fb92118bb7
Add 5G NAS infrastructure
3 years ago