srsLTE codebot
3daa9f3fc3
Merge branch 'next' into agpl_next
...
# Conflicts:
# lib/include/srslte/common/mac_nr_pcap.h
# lib/include/srslte/phy/ue/ue_ul_nr_data.h
# lib/src/common/mac_nr_pcap.cc
# lib/src/phy/ue/ue_ul_nr_data.c
# srsenb/hdr/phy/lte/worker_pool.h
# srsenb/hdr/phy/nr/cc_worker.h
# srsenb/hdr/phy/nr/sf_worker.h
# srsenb/hdr/phy/nr/worker_pool.h
# srsenb/src/phy/lte/worker_pool.cc
# srsenb/src/phy/nr/cc_worker.cc
# srsenb/src/phy/nr/sf_worker.cc
# srsenb/src/phy/nr/worker_pool.cc
# srsue/hdr/phy/lte/worker_pool.h
# srsue/hdr/phy/nr/cc_worker.h
# srsue/hdr/phy/nr/sf_worker.h
# srsue/hdr/phy/nr/worker_pool.h
# srsue/hdr/stack/mac/mac_nr.h
# srsue/src/phy/lte/worker_pool.cc
# srsue/src/phy/nr/cc_worker.cc
# srsue/src/phy/nr/sf_worker.cc
# srsue/src/phy/nr/worker_pool.cc
# srsue/src/stack/mac/mac_nr.cc
4 years ago
Francisco
0c7c317be5
refactor byte_buffer class and move it to separate file
4 years ago
Pedro Alvarez
2b092ddc85
Initialize byte_buffer metadata to avoid unintialized variable warnings.
4 years ago
Pedro Alvarez
de90b4753f
Added the ability of the RLC AM to notify the PDCP of the acknowledged
...
PDCP PDUs. This includes:
- Modifying the byte_buffer_t to include PDCP SN meta-data. This way,
the RLC can keep track of the ack'ed bytes for a specific PDCP PDU.
- Added in the RLC an `undelivered_sdu_info queue`, to keep track of the
amount of ack'ed bytes and the total size of the PDCP PDU,
so the RLC can know when delivery is finished.
- Added an interface between the PDCP and the RLC so that the RLC can
notify the PDCP when it receives an ack from the status PDUs. The RLC
passes to the PDCP a vector of all the ack'ed pdus in a rx'ed status PDU.
- Added some tests to the notify functionality. This includes some tests
where the PDUs are acked imediatly, and one test where the PDU is
retx'ed.
4 years ago
Codebot
d5ee9a5200
Adding AGPL copyright to new files
4 years ago
srsLTE codebot
c9f48bce7b
Merge branch 'next' into agpl_next
...
# Conflicts:
# lib/include/srslte/phy/ch_estimation/ul_rs_tables.h
# lib/include/srslte/phy/ue/ue_dl_nr_data.h
# lib/src/phy/ue/ue_dl_nr_data.c
# srsue/test/ttcn3/hdr/swappable_log.h
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
Andre Puschmann
910dc5af86
Merge branch 'next' into agpl_next
4 years ago
Andre Puschmann
2e64fff1df
common: extend timestamp interface for byte_buffer
...
* allow setting timestamp to a specific std::chrono::time_point
* add getter from raw tp
4 years ago
David Rupprecht
62b558fccf
Move rat type to common header
...
Removed phy measurement from rrc interface phy
Updated rrc interface for handling measurements
4 years ago
Francisco Paisana
0f693b36b2
changed pdu latency calculation to std chrono
4 years ago
Francisco
e2654e69ec
Enable pdu stack latency measurements in the eNB.
4 years ago
Codebot
98425e0b2b
Adding AGPL copyright to new files
4 years ago
Andre Puschmann
07d2bc4fe8
change license header to agnostic version with hint to root LICENSE file
4 years ago
Francisco Paisana
88105c1577
change the namespace of tti point helper functions for the eNB
4 years ago
faluco
eb4b2d4e43
- Added a clarification comment on why to use make_span.
...
- Moved byte_buffer utilities to common.h thus breaking the dependency of ADT to COMMON.
- Fixed compilation failures in tests.
4 years ago
Pedro Alvarez
89b6e0f714
Send paging message to all cells.
5 years ago
Xavier Arteaga
e832769ae6
Updated copyright
5 years ago
Xavier Arteaga
76408b195e
Rename TX_DELAY and FDD_HARQ_DELAY_MS
5 years ago
Francisco Paisana
e62972d38e
fix fdd delays in scheduler
5 years ago
Pedro Alvarez
c5979f59eb
Clang format UE, eNB and lib ( #850 )
...
* Clang-formated UE, eNB and lib.
* Fixed compiling errors from clang-format.
* Fix linking issues introduced by clang-format
* Fix poor formating in initializing arrays of arrays.
* Fix mistake in conflict resolution on rm_turbo.c
* Re-apply clang format to gtpc_ies.h
5 years ago
Pedro Alvarez
8511fca940
Clang-formated to prepare for PR
5 years ago
Pedro Alvarez
ceea761ca4
Added append_bytes method to byte_buffer_t class. Continue to reduce boilerplate.
5 years ago
Ismael Gomez
3828e03f33
Refactor in eNodeB, add channel emulator and fixes in OFDM
...
* Added channel emulator to srsENB. Added support for fixed delay
* Bug in OFDM when using nonguru mode
* A few changes and refactor in eNodeB
5 years ago
Andre Puschmann
9ee415ac82
correct the max size for a single TB
...
since the size in bits is counted per TB we don't need to allocate
space for the 2x2 MIMO case. Both CW have their own buffer.
6 years ago
Ismael Gomez
c9c43e44e9
Fixed PDU buffer size
6 years ago
Pedro Alvarez
d67d18cc6b
Removing deplicated error codes.
6 years ago
Andre Puschmann
58b09c8677
fix pool_allocate macros for new unique_buffer
6 years ago
Francisco Paisana
0e3baa0f2f
Renamed the reset() method of byte_buffer_t to clear()
6 years ago
Francisco Paisana
3bedc93ba5
added _t to unique_byte_buffer type
6 years ago
Francisco Paisana
f469e2178b
replaced byte_buffer_t allocated by the buffer pool for unique_byte_buffer which is safer and easier to use
6 years ago
Francisco Paisana
0976ea6f27
created a unique byte buffer that automatically deallocates
6 years ago
Andre Puschmann
4b01a2e4a0
update copyright notice
6 years ago
Ismael Gomez
7780b1aba5
add tdd/ca support
6 years ago
Francisco Paisana
0204db2e12
new asn1 rrc library
6 years ago
Andre Puschmann
3f36594f1e
fix copy ctors in bit_buffer_t
6 years ago
Andre Puschmann
93d17fed3e
disable buffer pool logging by default
6 years ago
Andre Puschmann
e64de7ec6b
increase maximum buffer size to accomodate max TBS for Cat4 UEs
6 years ago
Andre Puschmann
1985d7b37c
fix byte_buffer copy and assignment ctor
6 years ago
Andre Puschmann
adbec3ee70
fix warning in common.h reported by clang-tidy
6 years ago
Andre Puschmann
936001aaf5
add blocking allocation to buffer_pool
7 years ago
yagoda
ec918eab76
adding support for embms in common functions and interfaces
7 years ago
Andre Puschmann
85028d2aed
use pretty function name in buffer_pool debug
...
- this avoids ambiguity between names, for example
in reassemble_rx_sdus() for rlc_am an rlc_um
7 years ago
Ismael Gomez
aa1724b8f3
Add missing-field-initializers flag and properly initialize structs
7 years ago
Andre Puschmann
d8bfd2713c
initialize byte_buffer content in ctors
7 years ago
Ismael Gomez
b237d6063e
Align header buffer to 8-byte boundary as expected by S1AP pack/unpack functions
7 years ago
David Rupprecht
9d71bec7b6
Unified include guards
7 years ago
Andre Puschmann
fffda82f1e
increase size of bytebuffer to compensate header, add helper to get remaining size
7 years ago
Ismael Gomez
206e41a244
Disable buffer pool timestamps
7 years ago
Andre Puschmann
067d76a5c8
enable buffer pool log
7 years ago