Andre Puschmann
6063888cc5
protect memcpy's in rx sdu reassembly with boundary checks
7 years ago
Andre Puschmann
a16aa291e3
protect memcpy's in rx sdu reassembly with boundary checks
7 years ago
Andre Puschmann
4ad02545b3
fix printing issue in UM
7 years ago
Andre Puschmann
938e56fa2c
streamline log output in RLC AM/UM
7 years ago
Andre Puschmann
4575a9e610
add further checks for pool allocate return in srsENB and RLC UM/TM
7 years ago
Andre Puschmann
add125a01f
check expiration of poll_retx_timer and schedule retx if needed
7 years ago
Ismael Gomez
390a463d9f
Check for PDU allocation and add warnings
7 years ago
Andre Puschmann
5cfffd11e1
Revert "only reset SDU buffer in RLC AM/UM"
...
This reverts commit 8d852ddfe5
.
This commit was needed because the order in which objects
where destructed on UE exit was such that the byte_buffer was deleted
before RLC_AM dtor was called.
7 years ago
Ismael Gomez
09c5ddb730
Merge branch 'next' into raa
7 years ago
Andre Puschmann
8d852ddfe5
only reset SDU buffer in RLC AM/UM
7 years ago
Andre Puschmann
1be93d4682
add RLC UM destructor
7 years ago
Andre Puschmann
75f42ac829
add RLC AM destructor
7 years ago
Paul Sutton
b698547247
Fix for first RLC tx after handover
7 years ago
Paul Sutton
81d8e7f70d
Fix memory leak
7 years ago
Paul Sutton
e18cb5ba5b
Fixing RLC AM tests, adding extra check for segment handling
7 years ago
Paul Sutton
4cf79c1ead
Initial fix for segment handling in RLC AM
7 years ago
Paul Sutton
59e425608f
Better fix for buffer size issue
7 years ago
Andre Puschmann
ccfb9314bc
fix various coverity bugs
7 years ago
Andre Puschmann
ef19b5f051
rlc_am: revert PDU len changes to pass tests again
7 years ago
Andre Puschmann
ddfd114865
rlc_am: disable debug prints
7 years ago
Andre Puschmann
bf26934e13
rlc_am: print error but don't exit on buffer allocation errors
7 years ago
Paul Sutton
d1d6cea737
Adding debug helpers
7 years ago
Andre Puschmann
0c03b84a29
Revert "rlc_am: request status PDU if tx window is half full"
...
This reverts commit 897db045bb
.
7 years ago
Andre Puschmann
bde37de866
rlc_am: fix bug where PDU was erased from tx_window too early
7 years ago
Andre Puschmann
bfb3155da6
rlc_am: don't build new PDUs if tx window is full
7 years ago
Andre Puschmann
fe069073f0
rlc_am: directly add lower edge of tx window in case of a retx
7 years ago
Andre Puschmann
7fde6e4933
rlc_am: fix conditions for resetting re-ordering timer
7 years ago
Andre Puschmann
bebf062fee
rlc_am: count poll_pdu and poll_byte during retransmission (and segements)
7 years ago
Andre Puschmann
9c3418d010
rlc_am: add extra brackets to macro
7 years ago
Andre Puschmann
fa7d5bd40e
rlc_am: retransmit first outstanding PDU in case the tx_window is full to avoid stalling
7 years ago
Andre Puschmann
897db045bb
rlc_am: request status PDU if tx window is half full
...
The idea behind this condition is to prevent pushing more and
more data PDU on the tx_queue without getting feedback from the
receiver about it's state.
7 years ago
Andre Puschmann
d9c5567e55
rlc_am: request status PDU if needed when sending PDU segments
7 years ago
Andre Puschmann
afe6219d4b
rlc_am: move check for special SO_end field outside of if and adjust length accordingly
7 years ago
Andre Puschmann
4e5f7f6ffa
rlc_am: flush retx queue after rx'ing status PDU to avoid unordered SNs
7 years ago
Ismael Gomez
c64c618194
Fix typo in previous commit and remove printf
7 years ago
Ismael Gomez
8f2db5feb8
Fix as per psutton review of pull request #147
7 years ago
Ismael Gomez
0d65c48105
When RLC retx queue is empty, do not error and transmit a new tx
7 years ago
Ismael Gomez
ffb076b2c5
Buffer is deallocated for tx_window but tx_window object is not removed from map. Next time is accessed buffer is null.
7 years ago
Andre Puschmann
8e1aa0edd8
temporary mod to print RLC config in warning mode
7 years ago
Xavier Arteaga
99ef760b6f
More Coverity fixes
7 years ago
Ismael Gomez
c0bbf6c5ae
Removed PDCP thread
7 years ago
Ismael Gomez
8418c74a2d
Fixes RLC small grant issue in eNodeB and non-adaptive retx
7 years ago
Andre Puschmann
34d4017479
check if active state before stopping pdcp entity
7 years ago
Pedro Alvarez
be7cde7639
Merge branch 'next' into epc, to include RLC AM fix.
7 years ago
Andre Puschmann
cf5ed07cdb
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
7 years ago
Paul Sutton
e0ad960fd7
Reporting +1 in buffer state from RLC AM to avoid eNB issues with 1-byte packets
7 years ago
Andre Puschmann
74138071db
move radio bearer definition to RRC
7 years ago
Andre Puschmann
5fdce71710
remove explicit use of RB id's in PDCP
7 years ago
Pedro Alvarez
042552491b
Merging next into epc branch.
7 years ago
Pedro Alvarez
c838758db2
Added downlink IP tunnel. Downlink user plane packets reach the UE.
7 years ago
Ismael Gomez
3607ac6154
Merge branch 'crypto' into mobility_crypto
7 years ago
Paul Sutton
324ba02481
Fix for PDCP EEA1
7 years ago
Ismael Gomez
cfb059f0c2
Restart rx_counter for SRB in PDCP when restablishing
7 years ago
Ismael Gomez
5c31800ccb
Fixed HO with ciphering
7 years ago
Ismael Gomez
9a255b477a
Merge branch 'crypto' into mobility_crypto
7 years ago
Paul Sutton
1a323770c9
Added support for AS ciphering
7 years ago
Paul Sutton
84724d2ab1
NAS-plane encryption working (thanks to David Rupprecht)
7 years ago
Ismael Gomez
d428760b20
Merge branch 'next' into mobility
7 years ago
Ismael Gomez
408545dab8
X2 (constant NCC) working
7 years ago
Paul Sutton
38ab9921f8
Undoing unnecessary RLC fix
7 years ago
Paul Sutton
10bc2ee8a1
Fix for RLC AM polling condition
7 years ago
Ismael Gomez
4eb5ee5c58
Removed console debugging messages
7 years ago
Ismael Gomez
05973790ba
Add checks for existence of retx buffer and remove from queue if not
7 years ago
Ismael Gomez
e983987563
Check retx.sn exists in tx_window in required buffer size
7 years ago
Ismael Gomez
a992fcf607
Fix concurrent access segfault in RLC AM
7 years ago
Ismael Gomez
d615dc9ec9
Added missing deallocation in RLC UM in case of too small pdu
7 years ago
Andre Puschmann
7ba8c5b94a
fix bug in RLC AM where poll bit was never set if poll_byte and poll_pdu are zero
...
- In case both poll_pdu and poll_byte are zero a status PDU is requested
from the other AM entity every N data PDUs
7 years ago
Paul Sutton
ac8cbcaaea
1-byte PDU fix for RLC AM
7 years ago
Paul Sutton
49a105baed
Fix for tests, minor fix for RLC UM
7 years ago
Ismael Gomez
494802ba9b
Fixed bug in RLC UM when TX large number of segments in a PDU
7 years ago
Ismael Gomez
c2c637e06a
Fixed out-of-bounds checking in rlc_um resegmentation
7 years ago
Ismael Gomez
f064b83183
Added buffer overflow check in RLC UM reassemble
7 years ago
Ismael Gomez
6556941e6d
simplified MAC timers. Unified mac and upper timers in same background task
7 years ago
Ismael Gomez
5359c42b46
RLC UM release timer at stop()
7 years ago
Ismael Gomez
68b1782c86
Fixed Paging and reattachment in new state machine. Moved GW to srsue
7 years ago
Ismael Gomez
f0d9b333b2
Improved stability when UE reattaches
7 years ago
Ismael Gomez
a51b6b09dd
Merged with next. Attach successful
7 years ago
Ismael Gomez
e5feec1934
Temporal commit before merge. Changed sequence objects to avoid reallocating memory. new NAS/RRC working with initial attachment
7 years ago
Ismael Gomez
5fed766806
fixed UE not reattaching after paging
7 years ago
Ismael Gomez
639227557f
fixing small conflicts
8 years ago
Andre Puschmann
266f1b08fb
rlc_am: print LCID in buffer status msg
8 years ago
Andre Puschmann
1e3b5f553e
fix printf argument
8 years ago
Andre Puschmann
8030778809
fix PDCP initialization in eNB
8 years ago
Andre Puschmann
7ca0988ea3
refactor RLC to use RAT-agnostic config
8 years ago
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.
8 years ago
Andre Puschmann
60da04ef58
make LCID of GW object a parameter
8 years ago
Paul Sutton
89cc50c7c4
Deallocating buffers for ACKed RLC tx PDUs
8 years ago
Paul Sutton
cec7b95d45
Fix for race condition, fix for window size checks
8 years ago
Ismael Gomez
4b5cbafdb5
upgraded to new code restruct
8 years ago
Paul Sutton
f1152276f1
Fix for uninitialised bool
8 years ago
Paul Sutton
4b68272964
Switch to static internal libs, set -fPIC by default
8 years ago
Paul Sutton
0e87bc7b80
Adding checks on RLC AM segment NACK offsets
8 years ago
Ismael Gomez
5e030dc805
renamed SRSUE_ constants to SRSLTE_
8 years ago
Ismael Gomez
d05b03e43a
added buffer pool function call name debug feature
8 years ago
Paul Sutton
843e2c2546
Adding RLC AM tx_window bounding, added polling debug messages
8 years ago
Ismael Gomez
8a367bf825
changed srsue namespace to srslte for all common objects
8 years ago
Ismael Gomez
e75daee148
renamed include paths for common objects
8 years ago
Ismael Gomez
6475b7b7ad
moved UE upper files to srsue
8 years ago
Andre Puschmann
1d1916d6e0
Merge branch 'restruct_update' into restruct_update_paul
8 years ago
Andre Puschmann
c51c4d2a38
fix compile warnings
8 years ago
Paul Sutton
80140c7c38
minor cmake edits
8 years ago
Andre Puschmann
5d66e9701f
fixing CMake scripts and include paths
8 years ago
Andre Puschmann
d079d25b2c
rename srslte folder and src subfolder
8 years ago