Ismael Gomez
9b10e1c45d
Fix sub-band CQI in UE. Refactor variable names
3 years ago
Xavier Arteaga
5b31fa72d3
Fix gnb race condition in asynchronous PRACH processing by setting number of threads to 0
3 years ago
Xavier Arteaga
bb4f469794
Integrated SR decoder in gNb
3 years ago
Xavier Arteaga
d783fbf3a0
Reviewed NR procedure for PUCCH resource sselection and reviewed gNb PUCCH interface
3 years ago
Xavier Arteaga
b264f8fa1e
Fix nr_phy_test TSAN warnings
3 years ago
Ismael Gomez
6fb9b6bf94
Fix sub-band CQI in UE. Refactor variable names
3 years ago
Xavier Arteaga
b25681f9de
gnb,prach: add PRACH to gNB
...
rebase of Xavier's feature_gnb_prach branch
3 years ago
Andre Puschmann
6c82d63aa6
remove legacy PNF/VNF code
...
the code hasn't been maintained for a while an likely needs to be
adapted for a real-world scenarios.
in order to avoid having to maintain two MAC/PHY interfaces we
remove the code from now.
3 years ago
Xavier Arteaga
96cb25b868
Add arguments to NR PHY test
3 years ago
Xavier Arteaga
ecc0b92142
Integrated PUSCH decoder in gNb
3 years ago
Xavier Arteaga
5307fec2f0
Added GNB MAC UL info initial interface and fix PHY implementation
3 years ago
Xavier Arteaga
e764a26136
Integrated PUCCH decoding in gNb
3 years ago
Xavier Arteaga
3fe9176750
Added PUCCH dedocder to slot worker
3 years ago
Xavier Arteaga
658b47d917
Added NR PUSCH and PUCCH decoder in gnb_ul
3 years ago
Xavier Arteaga
f6fc215541
Refactored enb_dl_nr to gnb_dl and initial gnb_ul
3 years ago
Xavier Arteaga
6f5614a0cc
Suggested modifications on gNb MAC/PHY interface
3 years ago
Xavier Arteaga
8378c85ec4
Refactored gNb PHY
3 years ago
Xavier Arteaga
c4e13f70a2
SRSENB: fix NR worker pointer check
3 years ago
Xavier Arteaga
aef3e5a40a
More NR PHY test and GNB PHY development
3 years ago
Xavier Arteaga
d49734b1bc
SRSENB: Refactor to accomodate 5G NR
3 years ago
Xavier Arteaga
b1e4720721
SRSUE/SRSENB: added tx_enable flag in worker_end
3 years ago
Xavier Arteaga
027201d457
SRSUE/SRSENB: Refactor NR workers to generalise lower PHY
3 years ago
Xavier Arteaga
090022568e
DCI NCCE find considers L and NCCE
3 years ago
Francisco
486823e5de
sched,bugfix: The PHR handling scheme now considers the number of PRBs of the UL grant that carried the PHR. Before, it was assuming the most conservative scenario of Nprb=1
3 years ago
Xavier Arteaga
50b7d3937f
Added RNTI in SRSENB PDCCH log line
3 years ago
Xavier Arteaga
6de34524e2
Fix SRSENB PHY log line
3 years ago
Xavier Arteaga
ce3c808a16
Reviewed SRSENB PHY unused variables and log messages
3 years ago
Xavier Arteaga
af2f37d8ca
SRSENB: CFI protection for all CC and fix test
4 years ago
Ismael Gomez
0b91598e36
Move mlockall() to main() in srsUE and srsENB
4 years ago
Andre Puschmann
20575d3eec
phy,enb: only initialize NR workers if needed
...
the NR support in the eNB isn't finished yet but loading
all DL objects even for 4G only isn't required. So only
even attempt to load them if a NR cell is configured.
4 years ago
AlaiaL
82788ca094
Fixed issues from coverity:
...
- 370233
- 370234
- 370239
- 370240
- 370241
- 370242
- 370243
- 370295
4 years ago
Xavier Arteaga
407903e0d6
SRSUE: refactor carrier setting for accepting a dynamic carrier configuration
4 years ago
Francisco
d1b336101f
revert enb phy tests. Check that when nof_carriers==6 the phy fails to start and reports an error.
4 years ago
Xavier Arteaga
7823bfc28c
Fix append NR to loggers for NR components
4 years ago
Xavier Arteaga
49731ab5a1
Initial NR-DCI refactor
...
Added NR DCI 1_1 size
Several DCI NR fixes
4 years ago
Ismael Gomez
14bfd55fb9
Restore removed function from ue_db
4 years ago
Xavier Arteaga
5bdf2c93b3
Initial NR PDSCH CSI-RS RE skip and other changes
4 years ago
Xavier Arteaga
cade7c8104
Removed redundant error traces
4 years ago
Xavier Arteaga
c5bb522f11
SRSENB: Add PHY UE DB return codes
4 years ago
Codebot
4523ee6087
rename srsLTE to srsRAN
4 years ago
Francisco
3e9f93eb8a
refactor - remove old log_filter and logmap libraries from the codebase
4 years ago
Xavier Arteaga
1e55d68b55
Removed set RNTI from API
4 years ago
Francisco
13d805ef56
move ue rrc interfaces to separate interfaces header file
4 years ago
David Rupprecht
0f1586dd2d
Deleted all HAVE_5GNR in CC and h files
...
CMakeList and travis yaml
4 years ago
Francisco
43e57df00b
breaking enb_interfaces.h into multiple files on a layer basis. Created enb_rrc_interfaces.h, enb_mac_interfaces.h and enb_s1ap_interfaces.h
4 years ago
Ismael Gomez
77f905dc64
Move TTI to PID mapping to MAC
4 years ago
faluco
9d15a44c73
Port lib/phy to srslog ( #2298 )
...
* - Ported the channel class to srslog.
- Removed all newlines of log messages in lib/phy.
* Remove more newlines that use the C debug macros.
4 years ago
Xavier Arteaga
a19671802e
Added SRSUE NR-PUSCH initial procedures
4 years ago
Xavier Arteaga
77f0a53abd
Added DCI Format 0_0 unpacking and more NR-PUSCH procedures
4 years ago
Xavier Arteaga
b150e45129
Renamed NR-PHY state and fix license headers
4 years ago
faluco
b30845fae4
Remove unused variable in enb vnf_phy_nr.
4 years ago
faluco
f8485fb799
Replaced loggers to srslog in PNF and VNF classes.
4 years ago
Xavier Arteaga
92c4a38fc2
Fix logger for NR PHY
4 years ago
Xavier Arteaga
2421f2cd99
Multiple PHY fixes and NR-PHY configuration refactor
4 years ago
faluco
711438f756
Port enb specific classes to use srslog ( #2155 )
...
* - Started porting the enb PHY layer to use srslog loggers.
- Updated srslog to manage the none level.
* Finished porting enb phy layer including the NR part.
* Ported MAC, GTPU, PDCP, RLC and S1AP enb classes to use srslog.
* Use new stack logger.
* Ported the enb RRC clases to use srslog.
* Remove unused log macros.
* Replace loggers in sched, sched_carrier, sched_helpers.
* Replaced loggers in sched grid.
* Replaced loggers in sched harq.
* Replaced loggers in sched ue.
* Replaced loggers in sched ue ctrl.
* Replace loggers in sched ue ctrl TPC.
* Replaced loggers in sched subclasses.
* Replaced loggers in rrc_meascfg_test
* Configure loggers in rrc_mobility_test.
* Fix compilation errors left out after the rebase.
* - Implement a custom log sink that will serve as a test spy to intercept and count the number of error and warning log entries.
- Adapt the erab_test_setup and rrc_mobility tests to use this new class and make them pass again.
* - Remove trailing new lines introduced in the rebase.
- Ported the sched_ue_cell class to srslog.
* Remove unused log member.
* Ported mac tests to srslog.
* - Removed remaining trailing newlines from log entries.
* Fix compiler errors detected in CI.
* Fix another static variable without definition passed to log lines.
* Fixed a bug in srslog::flush that would never end when the backend queue is full.
* Fetch the RRC logger instead of injecting it in the constructor.
4 years ago
Ismael Gomez
47dbd6ed70
Merge pull request #2214 from softwareradiosystems/pr_mac_buffers
...
Limit the number of UL buffers in MAC and deallocate old ones
4 years ago
Ismael Gomez
a6423442c2
Refactor NR RA files and fix header includes all over library ( #2162 )
...
* Refactor NR resource allocation classes. Use DCI instead of grant for dummy PDSCH UE/eNB test
* Minor refactors in NR workers and ue_dl
* Fix include issues
* fix compilation issues
4 years ago
Ismael Gomez
d5f0634975
Add PUCCH SNR measurement ( #2175 )
...
* Add PUCCH SNR measurement
* Fix PUCCH SNR estimation
* Reverted PUCCH noise estimation
* use fpclassify instead of iszero
Co-authored-by: Xavier Arteaga <xavier@softwareradiosystems.com>
4 years ago
Ismael Gomez
c1c5fa426c
Fix issue with new way of managing ul buffers not working with CA
4 years ago
Ismael Gomez
a360580999
Run PRACH workers before cc_workers fixes memory corruption when PRACH workers run in foreground (eg in ZMQ)
4 years ago
Andre Puschmann
02b0f251aa
prach_worker: move variable to function body
...
the variable was only used inside the run_tti() function
and isn't needed elsewhere. refactor therefore.
4 years ago
Andre Puschmann
f0138d45fe
srsenb,phy: fix setting of PHY log level
...
same regression that was fixed for the UE in 52da9eb46f
4 years ago
Xavier Arteaga
b3200d9ef5
Renaming common UL/DL DMRS related types and initial NR PUSCH implementation
4 years ago
Andre Puschmann
d0d7ab4662
srsenb: log cell gain updates
...
add a logline in info whenever the user updates the cell individual
gain. Note that this log happens before checking whether the
cell even exists and can be updated. This is mainly because
phy_common doesn't have an own logger object.
4 years ago
Xavier Arteaga
909e5de34f
Fix NR workers
4 years ago
Ismael Gomez
6348ddefd5
Add option to run prach_worker in the caller thread instead of by a background worker. This is useful when running simulations with ZMQ, to avoid the prach worker to take too much time and miss the RAR deadline
4 years ago
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
4 years ago
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
4 years ago
Ismael Gomez
5d85307a98
Fix 256QAM reconfiguration
4 years ago
Ismael Gomez
a9673e3c53
Use number of configured cells before reconfiguration for DCI calculation
4 years ago
Ismael Gomez
e654062a7a
Do not stash all PHY configuration in eNB during reconfiguration. Stash only number of CC used by DCI
4 years ago
Xavier Arteaga
ebd87e63c0
Fix worker NR compilation
4 years ago
Xavier Arteaga
f9643843a0
SRSENB/UE Fixed NR workers
4 years ago
Xavier Arteaga
b501f2eeaf
SRSENB/UE: Added NR workers
4 years ago
Xavier Arteaga
a908fb6c5b
Fix NR srsue/srsenb. Initial PHY NR in SRSENB.
4 years ago
Xavier Arteaga
85afdf8ce3
SRSENB: moved phy workers to lte worker pool
4 years ago
Andre Puschmann
07d2bc4fe8
change license header to agnostic version with hint to root LICENSE file
4 years ago
Andre Puschmann
1ecfb88e46
txrx: fix double white space
4 years ago
Andre Puschmann
43220e42d6
enb: print cell bandwidth when initializing them carrier
...
this allows to quickly check the cell bandwidth
4 years ago
Francisco
66712023bb
remove unneeded includes of full rrc asn1 lib
4 years ago
Francisco
4350e8ff70
fix calculation of number of users during the phy metrics acquisition
4 years ago
Francisco
68eda336bd
remove ENB_METRICS_MAX_USERS compile time macro and use run-time variable to set maximum number of UEs the srseNB can have connected at a given instant.
4 years ago
yagoda
b90574975b
refactoring asn1 eMBMS code, removing asn1 from PHY and MAC in eNodeB
4 years ago
Xavier Arteaga
036026be04
SRSENB: CSI reports on active SCells only
4 years ago
Ismael Gomez
8ed6345ff2
Do not reset softbuffer on each iteration
4 years ago
Ismael Gomez
dfb389d68f
srsenb: Use MCS from new grant when doing adaptive retx
4 years ago
Francisco Paisana
510959b50f
update nr asn1 files, and asn1 tests
4 years ago
Xavier Arteaga
fa837925d0
Fix inter-frequency/intra-enb HO
4 years ago
Xavier Arteaga
58be68f856
Changed cell gain command from cell index to cell id
4 years ago
Xavier Arteaga
fac6d40a45
SRSENB: fix PUSCH max number of iterations
4 years ago
yagoda
e09b6aaacb
updating sib13 config for mbms, fixing small bug with metrics
4 years ago
faluco
dfeed52514
- Rename out_stream function to console.
4 years ago
faluco
62faef7c71
- Replaced all uses of the log::console method.
4 years ago
Xavier Arteaga
b633c1abcd
SRSENB: report MAC CSI measurements of all configured cells
4 years ago
Xavier Arteaga
d0969a7ad9
SRSENB: review PHY UE DB assertions
4 years ago
faluco
5e8a4c898d
Bring back the circular array object. ( #1712 )
4 years ago
Andre Puschmann
87d4a5dc9c
enb: use circular array to access TTI and HARQ based data structures
...
this makes use of the new circular array to remove the need
to apply the modulo operation when safely accessing the underlying
array.
4 years ago
yagoda
b5a8d82058
-adding more prach tests to make test, removing some variables from stack
...
-PRACH time offset to TA unit conversion
4 years ago
Ismael Gomez
38e2ffe414
Use Format1A when using CA and 15 PRB due to DCI size ambiguity
4 years ago
Ismael Gomez
3ee15191e7
Allow inactive cells to report CQI too during Reconfiguration
4 years ago