Andre Puschmann
849ad2655c
fix creation of malformed RLC AM status PDU
...
the issue was caused by an unneeded length check during the
assembly of the status PDU. This length check caused an too early
break from the while-loop that adds all missing SNs to the status PDU
leaving the PDU struct in an invalid state where ack_sn was equal to
one of the NACK_SNs.
The fix is to simply remove the length check during the generation to
fully generate the status PDU. If, for whatever reason, MAC provides
a too small grant to fully fit the status PDU, the PDU will not be
generated, i.e. the calling function checks the return value and does
not pass the (then too big PDU) down the stack.
6 years ago
Andre Puschmann
9f3a947c02
modify RLC AM retx test to provide exactly a MAC opportunity of the size
...
that is reported as buffer state
6 years ago
Xavier Arteaga
aa6652155c
Phy: added ue_ul normalization mode parameter
6 years ago
Xavier Arteaga
20823e191d
SRSUE: Added UL force amplitude optional parameter
6 years ago
Andre Puschmann
e0b583db5d
remove extra indirection from enb_phy
6 years ago
Andre Puschmann
4e86b2f6b2
introduce layerd architecture we use for UE to eNB
...
- this allows flexible use of different PHYs and radios
- use common radio_multi (moved to lib)
6 years ago
Xavier Arteaga
2530894374
Channel emulator: added input pointer checks
6 years ago
Ismael Gomez
da78f373b1
Cleaned SR logs
6 years ago
Ismael Gomez
d595c4d882
Fixes issue #545 and unlocking of tti_sync condvar before closing causing deadlock at stop
6 years ago
Andre Puschmann
aff26abc89
fix memleak in Soapy driver when no device was found
6 years ago
Guillem Foreman
ca6d9576c3
Added option for 256QAM in PHY config
6 years ago
Ismael Gomez
abdb880b3b
Remove unused mux_is_transmitted local variable
6 years ago
Ismael Gomez
f6a5d28283
Addressed @andrepuschmann comments
6 years ago
Ismael Gomez
773c2a9721
Fixed multiple issues in Random Access procedure and extended MAC test
6 years ago
Xavier Arteaga
5dcf3b3563
Fix phy memory leaks
6 years ago
Andre Puschmann
5faa819dcd
fixing uninitialized class members found by coverity
6 years ago
Andre Puschmann
6b2961fcee
add MAC DL-SCH unpacking test
6 years ago
Andre Puschmann
92f0d58856
mac: move further init/config into ctor to allow early logging, etc.
6 years ago
Pedro Alvarez
a868a13409
Fix compilation error when PCSC is enabled.
6 years ago
Andre Puschmann
6a11030ae1
enb: fix race condition in workers overwriting the DL tx buffer
...
this adds a own tx buffer for each HARQ PID
6 years ago
Francisco Paisana
92b4b168fe
added default rlc um and am in the interface as factories
6 years ago
Francisco Paisana
b903c1a52c
made default init for rlc um test
6 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.
6 years ago
Francisco Paisana
c5509caece
added extra operators and remove rrc_asn1 in some cmake targets
6 years ago
Francisco Paisana
b936629221
removed rrc asn1 header from bcd_helpers, from rlc_interface, and rlc tests
6 years ago
Francisco Paisana
bb0dbf0f1c
created a asn1 utils with helper functions and types related to the asn1. These types/functions will help isolate the rrc_asn1 lib from most of the layers, reducing this way the compile times, and leading to better isolation. This will also make the transition to NR smoother. I removed the asn1 types from the NAS and USIM interface so far.
6 years ago
Francisco Paisana
416f9896ec
fixes to include the findings from PR #550
6 years ago
Guillem Foreman
46724c336d
Fixed errors for phy_dl_test and pdsch test
6 years ago
Guillem Foreman
4627737c87
Revert "Disable 256QAM tests failing in CentOS"
...
This reverts commit 833ce5224a
.
6 years ago
Guillem Foreman
c71763dc93
Fixed minor message in modem test
6 years ago
Guillem Foreman
db4127ca64
Fixes 256QAM, added pdsch table 2, fixed warnings
6 years ago
Guillem Foreman
535325bc37
srsLTE: added resource allocation extended tables for 256QAM and integration with PDSCH test
6 years ago
Andre Puschmann
62a4fa1c93
fix various potential buffer overruns
...
this is based on suggested fixes by Dirk Grabinski and David who
have fuzzed various parts of srsLTE using afl
6 years ago
Andre Puschmann
701db61fde
rlc: extend stress tester to simulate MAC PDU corruption
6 years ago
Andre Puschmann
ecb6a0f99b
fixing RLC AM bug where corrupted PDU causes segfault
...
the underlaying issue is that a corrupted PDU is passed to RLC
which claims to have segments whose total size exceed the size
of the entire PDU. Those PDUs are not ignored.
6 years ago
Pedro Alvarez
de4d459e5f
Fix issue of IMSI context already present when receiving a GUTI attach with bad integrity. This could cause a sigpipe in the EPC when the eNB was re-started.
6 years ago
Pedro Alvarez
b617f76bdc
S1AP Debug message.
6 years ago
Joseph Giovatto
69e9066c76
use time in usec for rand seed
...
removed extra call to srand in sesue process
6 years ago
Xavier Arteaga
4a0ebe0cca
SRSUE: reviewed UE capabilities for 64QAM according to 3GPP 36.306
6 years ago
Xavier Arteaga
a417d3a70a
Added DCI trace if cqi is requested
6 years ago
Xavier Arteaga
87433c83da
SRSUE: 64QAM R8 compatible
6 years ago
Xavier Arteaga
ca12b2353c
SRSUE: Added 64QAM for SCell
6 years ago
Xavier Arteaga
01e3cc3c9c
SRSUE: Added 64QAM support to UE Capabilities
6 years ago
Ismael Gomez
833ce5224a
Disable 256QAM tests failing in CentOS
6 years ago
Francisco Paisana
34fde16b40
change scheduler mutex to std::mutex ( #546 )
...
* change scheduler mutex to std::mutex
* rename lck to lock
6 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.
6 years ago
Pedro Alvarez
1c51d2ca9a
Small clang format changes.
6 years ago
Pedro Alvarez
129c892d35
Fix SRB PDCP SN len initialization.
6 years ago
Pedro Alvarez
5d8dcbe4cb
Make sure that PDCP SN is initialized properly in the eNB. UE attaches again when using encription.
6 years ago
Pedro Alvarez
53d2220aab
Resolved conflicts with unique pointers after rebase in PDCP entity.
6 years ago