Pedro Alvarez
c1f633c5c7
Dropping bitfields for now. Using #defines and uint8_t for the flags.
6 years ago
Pedro Alvarez
e320c33aef
Fixed last compilation issues.
6 years ago
Pedro Alvarez
ee04639337
Changed gtpu header flags to use a bitfield. Fixing compilation issues.
6 years ago
Andre Puschmann
99b10a6eb0
fix various RLC AM issues, where
...
- (a) no PDU is scheduled for retx after poll_retx timer expired
- (b) we write outside of the PDU buffer when concatenating many SDUs
6 years ago
Andre Puschmann
d652a0df1c
remove c-type cast in RLC
6 years ago
Andre Puschmann
86e02921f0
fix regression in RLC base introduced during refactor causing eMBMS to fail
6 years ago
Andre Puschmann
ba87819ff1
retransmit random RLC AM PDU in case tx window is full
6 years ago
Andre Puschmann
891ef59d78
fix RLC AM status pdu packing
6 years ago
Andre Puschmann
7572299615
enable clang-tidy for srslte_upper library
6 years ago
Andre Puschmann
34535c7efb
fix RLC AM issues reported by clang-tidy
6 years ago
Andre Puschmann
3d4e90029c
fix RLC UM issue when dropping PDU that is neither start nor end aligned
6 years ago
Andre Puschmann
d981f129e0
Merge branch 'master' into next
6 years ago
Joseph Giovatto
2dddfa2aac
added ability to track tput per bearer ( #233 )
...
added mac_metrics for ul/dl harq retex counts
6 years ago
Ismael Gomez
0294923e2b
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
6 years ago
Andre Puschmann
184539b87d
add LCID change API to UE interface, add method to reestablish single RLC bearer
6 years ago
Andre Puschmann
10bc01a7ae
add API to change LCID of RLC bearers
6 years ago
Andre Puschmann
27459bf706
add API to change LCID of PDCP bearers
6 years ago
Andre Puschmann
068fd2d81e
log PDCP PDU dropping in MAC isnt valid
6 years ago
Andre Puschmann
d03f5017df
fix RLC mode printf and timer access
6 years ago
Andre Puschmann
02e38c7c9f
fix stopping of RLC_AM timer and protect access
6 years ago
Andre Puschmann
f3eceab242
small re-factor of RLC_AM class (reorder methods)
6 years ago
Andre Puschmann
c0899ddda9
refactor RLC AM, add tx/rx subclasses
6 years ago
Andre Puschmann
24cde06e32
fix UM config printout during init
6 years ago
Andre Puschmann
f56592b0fe
add getter for PDCP ul/dl counter
6 years ago
Andre Puschmann
86f70011d6
print LCID in RLC AM when providing buffer report
6 years ago
Andre Puschmann
8a869d83f2
drop PDCP SDU that do not pass integrity check
6 years ago
Andre Puschmann
716b028023
reset PDCP entities
6 years ago
Andre Puschmann
91492b87ef
add del_bearer for RLC/PDCP
6 years ago
Andre Puschmann
3234add1f8
use blocking pool allocate in RLC AM
7 years ago
Andre Puschmann
99964c1054
fix RLC AM issue when building segements that require N_li in header
7 years ago
Andre Puschmann
ec9b7e921a
fix RLC AM double unlock mutex
7 years ago
Andre Puschmann
22f1487d64
log dropped SDU in RLC as info rather than warning
7 years ago
Andre Puschmann
89df8f1582
unify RLC interface for writing SDUs w/ and w/o blocking
7 years ago
Andre Puschmann
3950629a75
remove obsolete RLC_MODE struct and move existing one to rlc_interface.h
7 years ago
Andre Puschmann
5444b2a0b7
tiny cosmetic changes
7 years ago
Andre Puschmann
ee5b055829
rename pdcp function for GW to is_lcid_enabled()
7 years ago
Andre Puschmann
40d19e2d32
fix PDCP reset
7 years ago
Andre Puschmann
260fbff6ab
unlock before adding SRB0 again during RLC reset
7 years ago
Andre Puschmann
b8438e9cc3
extend PDCP interface to allow non-blocking write of SDUs
7 years ago
Andre Puschmann
2b86272c5e
protect PCAP bearer additions with write lock
7 years ago
Andre Puschmann
27d3d697df
refactor RLC part#2
...
- move metrics into entities
- make configure interface return true/false on success/failure
- add own srslte mode type
7 years ago
Andre Puschmann
8e8fab027b
refactor RLC base class
...
- add rwlock
- put RLC entities into map
- general cleanup
7 years ago
Andre Puschmann
800eea888f
fix PDCP security config
7 years ago
Andre Puschmann
47a8b1343f
add rwlock to PDCP
7 years ago
Andre Puschmann
93c11e4416
turn PDCP array into map
7 years ago
Andre Puschmann
291d80119c
fix conflicts after merging
7 years ago
Ismael Gomez
3cb9f51460
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
7 years ago
Ismael Gomez
b6f84c2a1f
Fix reestablish UM
7 years ago
Ismael Gomez
a0d4650c2c
Fix reestablish UM
7 years ago
Andre Puschmann
a9b023258c
refactor RLC UM to have separate tx/rx objects
7 years ago
Ismael Gomez
3122d8e959
RLC reestablish to re-enable tx_enabled
7 years ago
Ismael Gomez
1a7e746a06
Minor cleanup
7 years ago
Ismael Gomez
9690125882
Minor cleanup
7 years ago
Ismael Gomez
005fe87ae9
RLC reestablish to re-enable tx_enabled
7 years ago
Ismael Gomez
4762483396
Fix compilation warnings
7 years ago
Ismael Gomez
2da9787907
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
7 years ago
Ismael Gomez
efea8f4436
Set Dropped to debug level and reduce eNodeB RLC TX size
7 years ago
Pedro Alvarez
b460ece601
Merge branch 'mbms_tun' into next
7 years ago
Ismael Gomez
85a7daa09d
Move RLC buffer size to common
7 years ago
Ismael Gomez
19ac35d933
Increased RLC UL buffer size
7 years ago
Ismael Gomez
c64e26559e
Dropped PDU log level to info
7 years ago
Ismael Gomez
589e569ce9
Changes on srsENB mutexing logic to fix general race condition and deadlock issues ( #229 )
...
* fixed some issues with the UL scheduling
* Hack to fix UL scheduler
* minor fix
* Cleaned up code and fixed issue with the update_allocation function
* fixed the console printing in the enb
* log/console fix
* fixed the log print
* added a normalization factor
* RLC: entity uses dynamic instances. Simplified stop/reset/reestablish procedure. Added non-blocking interface
* Limit decimals in metrics stdout
* Changed mutexes to rwlock in RLC/RRC/MAC/PDCP to fix race conditions when removing users
* Fix deadlock bug for MIMO
* Remove headers
* Fix missing unlock causing overflows
* Do not decrease CQI when PUCCH (this is a temporal fix, requires to reduce the maximum MCS)
* Fix mutex unlock in worker
* Configurable RLC tx buffer. Default to 512 for enodeb
* Check NULL SDU in write_sdu()
* Protect RLC objects and tx_queue from being destroyed while using it
* Remove superfluous code
* Disable SIB logging
* Fix block_queue for enb
7 years ago
Ismael Gomez
fae5531bcc
Correction to commit 2a4a84a578
. We don't check for tailroom but for read space
7 years ago
Andre Puschmann
9b9a56e543
fix printf in RLC_AM
7 years ago
Andre Puschmann
f7a791866d
turn sanity check in RLC_AM into info rather then error
7 years ago
Ismael Gomez
2a4a84a578
Add check for rx_window tailroom
7 years ago
Pedro Alvarez
0e135adc6f
Starting to change gtpu_read_header and gtpu_write_header to lib.
7 years ago
Andre Puschmann
fb82e00289
print poll retx timer expired only in debug logs
7 years ago
Ismael Gomez
d1fa61527f
Fix reordering timer release screen print
7 years ago
Paul Sutton
f8f1fdf5ee
Fix for SRB0 PDCP config settings
7 years ago
Andre Puschmann
3eceeca72f
set SDU pointer to null after UM reset
7 years ago
Andre Puschmann
61d525ea80
Merge branch 'next' into embms_merge_final
7 years ago
yagoda
65f2747a8e
removing mch handler in rlc, fixing embms autostart
7 years ago
yagoda
0ae22e0822
fixing scheduling issues for mbms
7 years ago
Andre Puschmann
f554308632
fix warnings and remove debug output
7 years ago
Andre Puschmann
bfec4d701b
add eMBMS traffic to DL metrics
7 years ago
Andre Puschmann
2fb0dc62a0
refactor config for multicast RLC bearers
7 years ago
yagoda
e4c3f0bc30
adding mbms-gw and mch generation tables
7 years ago
yagoda
49c3578f64
introducing embms support in common upper layer functions
7 years ago
Andre Puschmann
541a045079
revert 0ac31cf4af
...
- but protect memcpy to detect misalignment when reassembling SDU
7 years ago
Ismael Gomez
0ac31cf4af
Use memmove in reassemble_rx_sdu UM since overlapping memory sometimes
7 years ago
Andre Puschmann
75a6fa8e90
check and protect PDUs buffer in handle_data_pdu()
7 years ago
Andre Puschmann
51e093e611
Merge branch 'next' into rlc_updates
7 years ago
Ismael Gomez
ba40a4de84
Add checks for when RLC TM queue is corrupted and reset it
7 years ago
Andre Puschmann
05696a5ca7
Merge branch 'next' into rlc_updates
7 years ago
Andre Puschmann
7064d6a9ed
increase tx_queue size for RLC UM to match the max SN if 5bits are used
...
- This prevents some of the tests from blocking if too many SDUs are pushed
down.
7 years ago
Andre Puschmann
fbc373e13c
fix bug in RLC UM where lost start segments where not detected
7 years ago
Paul Sutton
5def5fd736
Adding check for invalid PDCP rx PDUs
7 years ago
Andre Puschmann
d63b3e0376
add TM support to rlc_stress_test
7 years ago
Andre Puschmann
a2f6166365
Merge branch 'next' into rlc_updates
7 years ago
Ismael Gomez
6ac39ee1a9
Do not block in RLC TM read queue
7 years ago
Andre Puschmann
27165b4fe2
Merge branch 'next' into rlc_updates
7 years ago
Andre Puschmann
d42316fb68
fix RLC AM reset again to dealloc SDUs
7 years ago
Andre Puschmann
0a33128b7d
add check to avoid pushing zero-size SDUs up the stack
7 years ago
Andre Puschmann
518199ba58
fix size calculation when receiving not-start-aligned RLC AM segments
7 years ago
Andre Puschmann
8cfd26ed1e
temporary fix for issue where a RLC SDU boundary is not detected properly during reassembly
7 years ago
Andre Puschmann
8a831379c1
fix RLC AM SDU reset
7 years ago
Andre Puschmann
4ea5fe6509
Merge branch 'next' into rlc_updates
7 years ago
Joseph Giovatto
49da57c8a1
Changed log methods to take string literal vs string object
...
to allow for format checking and save on object copy.
Fixed log format specifier warnings.
7 years ago
Andre Puschmann
4b90852170
add RLC AM FI field helpers
7 years ago