Pedro Alvarez
f90b69e5f4
More clang-format for PDCP
5 years ago
Pedro Alvarez
491695ab77
Clang-formated PDCP NR PR.
5 years ago
Pedro Alvarez
adfe9f950e
Fixed issue in computing the SN. Added test for packets received in sequence for PDCP NR. Test is passing now.
5 years ago
Pedro Alvarez
af2b593b8c
Added check for integrity in test. First Rx PDCP NR test passing.
5 years ago
Pedro Alvarez
d3b6828082
Changed PDCP configuration to explicitly have tx and rx direction. Decrypt on PDCP NR seems fine.
5 years ago
Pedro Alvarez
ea3c44e9ac
Removing header before decrypting. Continuing to add decryption tests to PDCP NR
5 years ago
Pedro Alvarez
a42726f836
Fixed hdr_len_bytes in PDCP NR. Tx seems OK now.
5 years ago
Pedro Alvarez
73e30743d1
Added enum to PDCP config to replace two bools.
5 years ago
Pedro Alvarez
457f35699d
Reverted back to a single config structure between PDCP NR and PDCP LTE.
5 years ago
Pedro Alvarez
810cacdc02
Adding write_data_header and append_mac helper functions to PDCP NR entity.
5 years ago
Pedro Alvarez
c9e99443d8
Adding PDCP NR Tx test.
5 years ago
Pedro Alvarez
8e8a7a4154
Add more logic to PDCP NR tx logic.
5 years ago
Pedro Alvarez
2081b22465
Added PDCP_SN_LEN constants. Added bearer_id and direction back to the pdcp_entity_base.
5 years ago
Pedro Alvarez
8e1b9b9f5b
Starting to implement the receive function of PDCP NR.
5 years ago
Pedro Alvarez
d7a2721bb0
Adding algorithm to get COUNT for PDCP NR. Added convinience functions to manipulate HFN, SN and COUNT.
5 years ago
Pedro Alvarez
52f75c3cf2
Starting to add PDCP NR state variables.
5 years ago
Pedro Alvarez
2449f901f0
Fixed error in setting Kint in pdcp_entity_lte.
5 years ago
Pedro Alvarez
1944bf9a80
Continue to split pdcp_entity_lte and pdcp_entity_nr. Compiling now.
5 years ago
Pedro Alvarez
bd91678d98
Continuing to split pdcp_entity into pdcp_entity_lte and pdcp_entity_nr
5 years ago
Pedro Alvarez
005d03cb1a
Starting to split pdcp_entity into pdcp_entity_lte and pdcp_entity_nr to support NR PDCP
5 years ago
Ismael Gomez
11d42acb3a
Fix using deallocated PDU
5 years ago
Ismael Gomez
8c41625599
Add RLC suspend and resume
5 years ago
Francisco Paisana
58e2e51044
removed rlc_interfaces. The rlc_cnfg types are now part of the rrc_interface_types. Removed implicit RB initialization in the RLC.
5 years ago
Francisco Paisana
b936629221
removed rrc asn1 header from bcd_helpers, from rlc_interface, and rlc tests
5 years ago
Pedro Alvarez
498f1b8e4b
Small PDCP fixes:
...
- Moved most the initialization of the pdcp_entity to the header.
- Initilize some variables in gtpu_ntoa.
- Removed debug print.
- Format eNB GTP-u debugging code.
5 years ago
Pedro Alvarez
53d2220aab
Resolved conflicts with unique pointers after rebase in PDCP entity.
5 years ago
Pedro Alvarez
b97d1191f4
Added more debug info at eNB GTP-U. Changed the pdcp_entity to follow the standard more strictly for RLC AM DRBs.
5 years ago
Pedro Alvarez
f4fd6034ba
Starting to add separate functions for PDCP handling for UM DRBs and AM DRBs
5 years ago
Pedro Alvarez
6cbcc5154d
Starting to use received SN to do user plane decription.
5 years ago
Andre Puschmann
58763fb714
stack: move initialization of log object into ctor
...
this fixes the issue when the stack is torn down if, for example,
the radio couldn't be loaded correctly. it will hence call stop() on all stack
components which are not initialzized yet, and logging therefore doesn't work.
the log object is know during contruction time and therefore can be passed
in as soon as possible.
5 years ago
Andre Puschmann
e0a28cf4c0
simplify PDCP init and also bypass it for SRB0 on eNB
5 years ago
Andre Puschmann
218f136254
remove default PDCP entity for SRB0
5 years ago
Andre Puschmann
abef6ce152
move own ipv6 header definition into own header file and use it in tft filter
5 years ago
Andre Puschmann
acbe7fabe4
rlc: fix class member initialization
...
uninitialized member detected by coverity, now converted all default
initialization to be done in class definition
5 years ago
Francisco Paisana
415d3418b6
reorganized enb to mirror ue director/class structure with a stack class
5 years ago
Andre Puschmann
e8d6236975
remove init for all RLC TM/UM/AM
...
- all RLC entities are now initialized during contruction
- there is no need to check for, e.g., existance of timers, during
runtime
- there is also no need to call re-init during resume
- timers are freed in dtor
6 years ago
Ismael Gomez
f24c0cef8c
Use timer interface instead of local boolean to query timer state
6 years ago
Ismael Gomez
14b526f2aa
Add PDCP per-bearer reestablish
6 years ago
Ismael Gomez
ade720e032
Add RLC resume procedure
6 years ago
Francisco Paisana
3bedc93ba5
added _t to unique_byte_buffer type
6 years ago
Francisco Paisana
bc01a5ecda
changed block_queue api to return back the unique buffer in case it fails to push it to the queue
6 years ago
Francisco Paisana
f4aa03154d
change queue read and other functions apis
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
yagoda
c25f3b0acf
increasing rlc UM window size for eMBMS, small adjustment to eMBMS PHY common
6 years ago
Andre Puschmann
4b01a2e4a0
update copyright notice
6 years ago
Ismael Gomez
7780b1aba5
add tdd/ca support
6 years ago
David Rupprecht
eb3a83ac45
User Plane key in configuration interface
6 years ago
Andre Puschmann
e84d26ae4e
fix RLC UM reestablishment
6 years ago
Andre Puschmann
86232c143e
expose RLC tx queue length through config struct
6 years ago
Francisco Paisana
0204db2e12
new asn1 rrc library
6 years ago
Andre Puschmann
955f5dd37a
add mutex in pdcp entity
...
write_sdu and write_pdu are not re-entrant because all functions
that deal with the counters, e.g. integrity check and generate,
must be protected because MAC threads may call them at the same time.
this addresses issue #254
6 years ago
Andre Puschmann
0e7512f349
fix RLC UM params for eMBMS
6 years ago
Andre Puschmann
c3441046c9
simplify RLC buffer status query procedures
...
- add a simple and low-overhead has_data() method to check whether
an RLC entity has data to transmit or not
- use this method for all calls that are actually not interested
in the amount of data to send
- use the more expensive get_buffer_state() for all cases where
the actual size of the buffer is of importance
6 years ago
Andre Puschmann
df40259c26
fix issue in PDCP when bearer ID for DRBs was not starting with 1
6 years ago
Andre Puschmann
b71dab87f1
add function to query if RLC bearer exists (the implementation)
6 years ago
Andre Puschmann
6ca0d4494a
do not transmit new PDUs after calling stop
6 years ago
Andre Puschmann
ebadf3029e
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
6 years ago
Andre Puschmann
e06e5b8b60
limit maximum allowd RLC SDU size
6 years ago
Pedro Alvarez
d443604661
Merge next into gtp_cleanup_sn. Fixed some conflicts.
6 years ago
Andre Puschmann
96815e3a5f
fix RLC AM handling of bigger MAC grants
...
- fix concatenation and header reconstruction
6 years ago
Andre Puschmann
a6d9181881
fix RLC UM issue with very large MAC grants
6 years ago
Paul Sutton
0e4ab77fb0
GTPU cleanup, adding support for GTPU echo response ( #265 )
6 years ago
Pedro Alvarez
28f377128b
Making sure both Echo request and echo response are supported types. Echo response/request is working again.
6 years ago
Pedro Alvarez
a2befbd949
Fix mistake in echo reply/response message type.
6 years ago
Pedro Alvarez
e925ef0a42
Added some more debug infor to error prints. Making sure that packet is not sent from the eNB if there is an error in the GTP-U header packing. Fixed error in checking msg_type.
6 years ago
Pedro Alvarez
c1f633c5c7
Dropping bitfields for now. Using #defines and uint8_t for the flags.
6 years ago
Pedro Alvarez
ee04639337
Changed gtpu header flags to use a bitfield. Fixing compilation issues.
6 years ago
Paul Sutton
569a7cbc94
GTPU cleanup, adding support for GTPU echo response
6 years ago
Andre Puschmann
86e02921f0
fix regression in RLC base introduced during refactor causing eMBMS to fail
6 years ago
Andre Puschmann
22b4396c39
increase default tx_queue length for RLC UM and AM
...
- With the current default tx queue length (16 SDUs) the BSR reported by the UE
is too low if the size of the SDU is relativly small (e.g. 100 B).
This effectivly causes the eNB to only allocate a small grant
to the UE and thus reduces the UL throughput for small SDUs.
6 years ago
Andre Puschmann
ba87819ff1
retransmit random RLC AM PDU in case tx window is full
6 years ago
Andre Puschmann
34535c7efb
fix RLC AM issues reported by clang-tidy
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
c0899ddda9
refactor RLC AM, add tx/rx subclasses
6 years ago
Andre Puschmann
f56592b0fe
add getter for PDCP ul/dl counter
6 years ago
Andre Puschmann
91492b87ef
add del_bearer for RLC/PDCP
6 years ago
Andre Puschmann
89df8f1582
unify RLC interface for writing SDUs w/ and w/o blocking
6 years ago
Andre Puschmann
3950629a75
remove obsolete RLC_MODE struct and move existing one to rlc_interface.h
6 years ago
Andre Puschmann
ee5b055829
rename pdcp function for GW to is_lcid_enabled()
6 years ago
Andre Puschmann
6a2dc8677b
remove obsolete header
6 years ago
Andre Puschmann
b8438e9cc3
extend PDCP interface to allow non-blocking write of SDUs
6 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
6 years ago
Andre Puschmann
8e8fab027b
refactor RLC base class
...
- add rwlock
- put RLC entities into map
- general cleanup
6 years ago
Andre Puschmann
47a8b1343f
add rwlock to PDCP
6 years ago
Andre Puschmann
93c11e4416
turn PDCP array into map
6 years ago
Andre Puschmann
b257204471
fix public PDCP interface
6 years ago
Andre Puschmann
31ba175b37
add public PDCP entity interface
6 years ago
Ismael Gomez
3cb9f51460
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
6 years ago
Andre Puschmann
a9b023258c
refactor RLC UM to have separate tx/rx objects
6 years ago
Ismael Gomez
3122d8e959
RLC reestablish to re-enable tx_enabled
6 years ago
Ismael Gomez
005fe87ae9
RLC reestablish to re-enable tx_enabled
6 years ago
Pedro Alvarez
b460ece601
Merge branch 'mbms_tun' into next
6 years ago
Ismael Gomez
85a7daa09d
Move RLC buffer size to common
6 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
6 years ago