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
2019-12-16 16:04:22 +01:00
Pedro Alvarez
8511fca940
Clang-formated to prepare for PR
2019-11-07 14:12:08 +01:00
Pedro Alvarez
ceea761ca4
Added append_bytes method to byte_buffer_t class. Continue to reduce boilerplate.
2019-11-07 14:12:08 +01:00
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
2019-10-23 11:09:39 -05:00
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.
2019-07-16 17:31:03 +02:00
Ismael Gomez
c9c43e44e9
Fixed PDU buffer size
2019-07-16 17:31:03 +02:00
Pedro Alvarez
d67d18cc6b
Removing deplicated error codes.
2019-06-07 13:51:56 +02:00
Andre Puschmann
58b09c8677
fix pool_allocate macros for new unique_buffer
2019-05-20 17:16:12 +02:00
Francisco Paisana
0e3baa0f2f
Renamed the reset() method of byte_buffer_t to clear()
2019-05-16 12:35:01 +02:00
Francisco Paisana
3bedc93ba5
added _t to unique_byte_buffer type
2019-05-16 12:35:01 +02:00
Francisco Paisana
f469e2178b
replaced byte_buffer_t allocated by the buffer pool for unique_byte_buffer which is safer and easier to use
2019-05-16 12:35:01 +02:00
Francisco Paisana
0976ea6f27
created a unique byte buffer that automatically deallocates
2019-05-16 12:35:01 +02:00
Andre Puschmann
4b01a2e4a0
update copyright notice
2019-04-29 09:20:02 +02:00
Ismael Gomez
7780b1aba5
add tdd/ca support
2019-04-25 20:57:58 +02:00
Francisco Paisana
0204db2e12
new asn1 rrc library
2019-01-17 17:43:13 +01:00
Andre Puschmann
3f36594f1e
fix copy ctors in bit_buffer_t
2018-10-17 14:44:58 +02:00
Andre Puschmann
93d17fed3e
disable buffer pool logging by default
2018-10-10 16:29:57 +02:00
Andre Puschmann
e64de7ec6b
increase maximum buffer size to accomodate max TBS for Cat4 UEs
2018-09-26 16:59:11 +02:00
Andre Puschmann
1985d7b37c
fix byte_buffer copy and assignment ctor
2018-09-25 17:26:12 +02:00
Andre Puschmann
adbec3ee70
fix warning in common.h reported by clang-tidy
2018-09-13 17:12:32 +02:00
Andre Puschmann
936001aaf5
add blocking allocation to buffer_pool
2018-07-12 17:52:53 +02:00
yagoda
ec918eab76
adding support for embms in common functions and interfaces
2018-05-15 16:50:57 +02:00
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
2018-05-10 16:41:37 +02:00
Ismael Gomez
aa1724b8f3
Add missing-field-initializers flag and properly initialize structs
2018-04-29 17:55:19 +02:00
Andre Puschmann
d8bfd2713c
initialize byte_buffer content in ctors
2018-04-26 13:20:34 +02:00
Ismael Gomez
b237d6063e
Align header buffer to 8-byte boundary as expected by S1AP pack/unpack functions
2018-04-26 11:46:22 +02:00
David Rupprecht
9d71bec7b6
Unified include guards
2018-03-31 19:04:04 +02:00
Andre Puschmann
fffda82f1e
increase size of bytebuffer to compensate header, add helper to get remaining size
2018-03-28 16:50:11 +02:00
Ismael Gomez
206e41a244
Disable buffer pool timestamps
2018-03-06 12:37:08 +01:00
Andre Puschmann
067d76a5c8
enable buffer pool log
2018-03-05 11:22:02 +01:00
Andre Puschmann
32bc0e0ac2
disable buffer pool logging
2018-02-01 13:27:54 +01:00
Ismael Gomez
9b6e18d84f
Lower srsENB priorities below UHD threads
2018-01-30 13:27:03 +01:00
Andre Puschmann
74138071db
move radio bearer definition to RRC
2018-01-12 14:57:38 +01:00
Paul Sutton
84724d2ab1
NAS-plane encryption working (thanks to David Rupprecht)
2017-11-30 17:09:12 +00:00
Ismael Gomez
49a621e193
removed last tti in adaptive retx. moved to phch_common
2017-11-14 13:44:47 +01:00
Ismael Gomez
42d08046d3
Fixed bug with UL adaptive retx
2017-11-10 17:59:35 +01:00
Ismael Gomez
399f1cdbd1
Force retx for mcs>29 and new tb if rv=0 && mcs<29
2017-10-19 16:13:01 -04:00
Ismael Gomez
240eba2af5
Fix for async dl scheduling
2017-10-18 16:49:36 -04:00
Ismael Gomez
a180b5ebac
Msg3 delay is added to harq delay
2017-10-10 12:06:24 +02:00
Ismael Gomez
1dff82065b
Merge branch 'next' into next_novolk
2017-10-07 23:25:07 +02:00
Ismael Gomez
ca0cf017d6
Now working with variable HARQ scheduling
2017-10-05 16:52:02 +02:00
Ismael Gomez
c8dc3d1ad7
Merge branch 'next_with_variable_harq' into next_novolk
2017-10-04 18:30:10 +02:00
Ismael Gomez
d6bdabfdc0
Changed all harq delays to variables
2017-09-29 20:38:12 +02:00
Ismael Gomez
3c845b3653
Disabled buffer pool debugging
2017-09-19 12:45:24 +02:00
Andre Puschmann
8dbabb2834
rework bearer/LCID handling
...
This is a larger patch that reworks the LCID handling throughout the
code.
- It first moves the RB/LCID mapping out of common.h into the RRC object
because different RATs may have different mappings.
- It adds a interface to RRC that other objects like RLC/PDCP/etc. may
use to get the bearer name of a specific LCID.
- The patch also introduces a PDCP config class.
2017-07-04 17:48:39 +02:00
Andre Puschmann
2b8b36c371
fix debug_name handling in buffer_pool
...
- possible bug discovered by coverity
2017-06-08 12:05:00 +02:00
Ismael Gomez
5e030dc805
renamed SRSUE_ constants to SRSLTE_
2017-06-06 20:34:09 +02:00
Ismael Gomez
d05b03e43a
added buffer pool function call name debug feature
2017-06-06 20:04:19 +02:00
Andre Puschmann
c51c4d2a38
fix compile warnings
2017-05-31 13:45:01 +02:00
Andre Puschmann
d079d25b2c
rename srslte folder and src subfolder
2017-05-30 13:05:04 +02:00