Francisco
4188b5146e
fix uninitialized memory access in gtpu_test and liblte_mme unpacking
4 years ago
Francisco
6925b40722
remove extra print when buffer pool is depleted
4 years ago
Francisco
798f1e57e6
fix byte buffer double free in EPC
4 years ago
Francisco
04ab4eefcd
use new make_byte_buffer() helper method to create unique_byte_buffers
4 years ago
Francisco
8a9c326bcb
remove old direct uses of byte_buffer_pool
4 years ago
Francisco
1e2153769e
remove byte buffer pool cleanup method and unnecessary mutexes
4 years ago
Francisco
0c7c317be5
refactor byte_buffer class and move it to separate file
4 years ago
AlaiaL
9c764c299d
- Removed the try/catch. Checking the allocation with std::nothrow
...
- Adjusting the code with the coding style.
4 years ago
faluco
c8a4bf2613
- Fix unused variable in buffer_pool.h
...
- Replaced logger to srslog in log_args utility function.
4 years ago
faluco
d37a07a47f
Replaced loggers in buffer_pool.h
4 years ago
Andre Puschmann
07d2bc4fe8
change license header to agnostic version with hint to root LICENSE file
4 years ago
faluco
f0d651ae8e
- Fixed a leak in the MME class not releasing the static byte buffer pool.
...
- Now the pool gets destroyed on program exit using a unique_ptr.
- Removed manual cleanup() calls in all the code base to free the pool instance.
4 years ago
Xavier Arteaga
e832769ae6
Updated copyright
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
Andre Puschmann
42080e59f1
remove std::move when returning freshly created unique_ptr
5 years ago
Andre Puschmann
e42449532b
fix wrong namespace definition in various places
5 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
Francisco Paisana
0204db2e12
new asn1 rrc library
6 years ago
Andre Puschmann
93d17fed3e
disable buffer pool logging by default
6 years ago
Andre Puschmann
2ef2baf72a
increase size of buffer_pool
...
- This solves an issue where in the worst-case an RLC AM instance would
block because no new data nor control PDUs could be created to flush
the buffers, effectivly causing a system stall.
- Happens in RLC AM stress test regularly with higher drop rates.
7 years ago
Andre Puschmann
291d80119c
fix conflicts after merging
7 years ago
Ismael Gomez
3f38165827
Add log to pool deallocate
7 years ago
Ismael Gomez
5474f6d55f
Add log to pool deallocate
7 years ago
Andre Puschmann
936001aaf5
add blocking allocation to buffer_pool
7 years ago
Ismael Gomez
074db8478c
deallocate dedicatedInfoNAS in rrc
7 years ago
Ismael Gomez
493706eab1
Incorrect default value in buffer pool
7 years ago
Ismael Gomez
a2615628aa
Increase buffer pool size for enb
7 years ago
Andre Puschmann
718a15608c
dealloc SCH pdu in MAC instead of pdu_queue
...
- this is basically e9fcb10c9e
but with the counterpart in the eNB's MAC
7 years ago
Andre Puschmann
595ed70cae
Revert "Deallocate SCH pdu on demux instead of pdu_queue"
...
This reverts commit e9fcb10c9e
.
7 years ago
Ismael Gomez
e9fcb10c9e
Deallocate SCH pdu on demux instead of pdu_queue
7 years ago
David Rupprecht
9d71bec7b6
Unified include guards
7 years ago
Andre Puschmann
43811e1886
deallocate used buffers in buffer_pool dtor
7 years ago
Ismael Gomez
dc65061dbb
Print buffer pool status every 10s (Debugging commit)
7 years ago
Andre Puschmann
a85288566b
print summary about allocated buffers when buffer pool is full
7 years ago
Andre Puschmann
c5ffdfe8c7
set byte_buffer ptr to null after deallocating from pool
7 years ago
Andre Puschmann
6142b66632
only print print buffer pool when it's empty
7 years ago
Andre Puschmann
32bc0e0ac2
disable buffer pool logging
7 years ago
Ismael Gomez
9b6e18d84f
Lower srsENB priorities below UHD threads
7 years ago
Ismael Gomez
9389cc1957
Removed deallocating unkown buffer error
7 years ago
Ismael Gomez
d38475d6d0
Fixed % log in buffer pool capacity warning
7 years ago
Paul Sutton
89cc50c7c4
Deallocating buffers for ACKed RLC tx PDUs
8 years ago
Andre Puschmann
2b8b36c371
fix debug_name handling in buffer_pool
...
- possible bug discovered by coverity
8 years ago
Ismael Gomez
d05b03e43a
added buffer pool function call name debug feature
8 years ago
Ismael Gomez
e75daee148
renamed include paths for common objects
8 years ago
Andre Puschmann
c51c4d2a38
fix compile warnings
8 years ago
Andre Puschmann
d079d25b2c
rename srslte folder and src subfolder
8 years ago