Pedro Alvarez
ee04639337
Changed gtpu header flags to use a bitfield. Fixing compilation issues.
2018-09-28 13:46:13 +01:00
Ismael Gomez
42e46bc599
Fix MBSFN section optional and default PRACH configuration for MBSFN example
2018-09-27 18:10:35 +02:00
Andre Puschmann
b603125dea
Revert "fix eNB config parsing issue causing eMBMS to be always disabled"
...
This reverts commit 09a47b51b2
.
Causes issues when receiving PRACH from UE.
2018-09-26 17:56:37 +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
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
2018-09-26 16:57:07 +02:00
Andre Puschmann
58d5208bfc
fix RLC AM test
2018-09-26 16:55:46 +02:00
Ismael Gomez
5cfdc81522
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
2018-09-26 14:30:45 +02:00
Ismael Gomez
cfb3a43aed
Lower priority of workers
2018-09-26 14:30:39 +02:00
Andre Puschmann
b27c68abdd
fix NAS tests
...
- Modifications needed after only accepting NAS messages whose integrity check passes
- Turns off loading a (possibly) existing NAS ctxt
- Modifies some test vectors such that they have a zero MAC and counter 0
2018-09-26 14:29:53 +02:00
Andre Puschmann
d6c0c7b03c
drop all integrity protected NAS messages whose check is failing
...
- also enables integrity check for messages that are only integrity
protected but not ciphered
2018-09-26 14:29:35 +02:00
Andre Puschmann
c5f0805039
Merge branch 'nas_integrity_fixes' into next
2018-09-26 12:50:13 +02:00
Andre Puschmann
09a47b51b2
fix eNB config parsing issue causing eMBMS to be always disabled
2018-09-26 11:29:36 +02:00
Andre Puschmann
4a68d0777b
fix NAS tests
...
- Modifications needed after only accepting NAS messages whose integrity check passes
- Turns off loading a (possibly) existing NAS ctxt
- Modifies some test vectors such that they have a zero MAC and counter 0
2018-09-26 10:16:11 +02:00
Andre Puschmann
8697640945
drop all integrity protected NAS messages whose check is failing
...
- also enables integrity check for messages that are only integrity
protected but not ciphered
2018-09-26 10:16:11 +02:00
Pedro Alvarez
b577c9ac8c
Merge branch 'mnc_plmn_217' into next
2018-09-25 17:24:30 +01:00
Andre Puschmann
1985d7b37c
fix byte_buffer copy and assignment ctor
2018-09-25 17:26:12 +02:00
Andre Puschmann
601b2a357b
fix fail logic in RLC stress test
2018-09-25 16:23:00 +02:00
Paul Sutton
569a7cbc94
GTPU cleanup, adding support for GTPU echo response
2018-09-25 15:17:39 +01:00
Andre Puschmann
07e42c1964
Merge branch 'rlc_am_subclass' into next
2018-09-25 16:08:29 +02:00
Andre Puschmann
d652a0df1c
remove c-type cast in RLC
2018-09-25 16:04:24 +02:00
Pedro Alvarez
c4a5af11d5
Fixed nibble order in mccmnc_to_plmn and plmn_to_mccmnc. Fixed corresponding PLMN test
2018-09-25 14:55:12 +01:00
Andre Puschmann
10a43f04ba
Merge branch 'master' into next
2018-09-25 15:10:48 +02:00
Andre Puschmann
b27ff06e79
Merge remote-tracking branch 'origin/issue_178' into next
2018-09-25 15:10:38 +02:00
Joseph Giovatto
dc3e88079a
moved earb_info from parent to be unique per ue to avoid overwrites ( #234 )
...
consult integrity check result before proceeding
2018-09-25 14:18:24 +02:00
Andre Puschmann
86e02921f0
fix regression in RLC base introduced during refactor causing eMBMS to fail
2018-09-25 14:04:06 +02:00
Pedro Alvarez
b4f9fb06dd
Changing EPC to use uint32_to_uint8 function
2018-09-25 12:09:18 +01:00
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.
2018-09-25 12:33:25 +02:00
Andre Puschmann
f5c3bd5328
cleaup RLC stress test
2018-09-25 11:00:35 +02:00
Andre Puschmann
ba87819ff1
retransmit random RLC AM PDU in case tx window is full
2018-09-25 10:46:36 +02:00
Andre Puschmann
b75506ac16
add CMake option to enable memory sanitizer
2018-09-25 10:46:36 +02:00
Andre Puschmann
891ef59d78
fix RLC AM status pdu packing
2018-09-25 10:46:36 +02:00
Andre Puschmann
7572299615
enable clang-tidy for srslte_upper library
2018-09-25 10:46:36 +02:00
Andre Puschmann
34535c7efb
fix RLC AM issues reported by clang-tidy
2018-09-25 10:46:36 +02:00
Andre Puschmann
6764fdb964
fix member initialization in phch*
2018-09-25 10:45:15 +02:00
Andre Puschmann
c9186f110c
add log_filter dtor
2018-09-25 10:45:15 +02:00
Andre Puschmann
6c4aaa6e10
adapt AM test to new MAC timer
2018-09-25 10:45:15 +02:00
Andre Puschmann
860d8af911
Merge branch 'master' into next
2018-09-24 15:50:10 +02:00
Andre Puschmann
22599bffda
fix bug in PUSCH decoding when multiple UEs provide HARQ feedback
2018-09-24 15:48:38 +02:00
Ismael Gomez
6f0c554445
TA estimate correction factor calibrated for all bandwidths
2018-09-24 15:39:14 +02:00
Pedro Alvarez
49c44a2bd4
Moved int_helpers to lib so that the EPC can use those functions too.
2018-09-24 14:08:00 +01:00
Zhe Huang
8b526e1c20
Fix SQN incrementation arithmetic ( #212 )
...
* Fix SQN incrementation arithmetic
Current implementation of increment_sqn function increments the 48 bits
SQN directly by 1 which is incorrect according to 3GPP TS 33.102 version
11.5.1 Annex C. This bug causes commercial UEs to report AUTHENTICATION
FAILURE EMM cause #21 "synch failure" when SQN is out of sync.
According to 3GPP TS 33.102 version 11.5.1 Annex C, 48 bits SQN consists
of 43 bits SEQ and 5 bits IND parts where SEQ are incremented during
generation of authentication vector or resync procedure. A
new IND value is also assigned when an authentication vector is
generated. However, resync procedure will use the same IND value.
This patch implements the increment_sqn function according to 3GPP TS
33.102 version 11.5.1 Annex C. A new function increment_seq_after_resync
is added to handle the special case of SQN arithmetic during SQN
resynchronization.
This patch is tested with two comercial UEs (Oneplus One and Oneplus 3T).
* Fix the maximum value of SEQ value to be 2^43-1
The SEQ value is 43 bits long and previous maximum value has a typo (one
extra F) which allows SEQ value to be 2^47-1. This patch corrects the typo.
2018-09-24 11:28:07 +02:00
Ismael Gomez
13cba873d5
Make SIB2 mbsfn settings optional
2018-09-24 11:27:22 +02:00
Ismael Gomez
2e53478a3b
Allow time_adv_nsamples parameter to be negative
2018-09-24 11:26:30 +02:00
Ismael Gomez
4068ad0064
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
2018-09-21 17:03:35 +02:00
Ismael Gomez
d0c392e3dd
Increase radio preamble buffer
2018-09-21 17:03:25 +02:00
Andre Puschmann
3d4e90029c
fix RLC UM issue when dropping PDU that is neither start nor end aligned
2018-09-21 10:29:41 +02:00
Andre Puschmann
9a4ce125fb
fix RLC stress test with respect to timer handling
2018-09-21 10:29:41 +02:00
Andre Puschmann
4b0171ccea
fix MAC timer handling in rlc_stress_test
2018-09-21 10:29:41 +02:00
Andre Puschmann
5469a958be
Merge branch 'next_test_after_merge' into next
2018-09-21 10:28:38 +02:00
Andre Puschmann
b73f48f91e
Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next
2018-09-21 10:23:04 +02:00