Commit Graph

3719 Commits

Author SHA1 Message Date
Paul Sutton 0e4ab77fb0 GTPU cleanup, adding support for GTPU echo response (#265) 2018-10-01 22:18:11 +02:00
Andre Puschmann 0380c83175 remove RF device calibration settings from UE/eNB config
- this remove RF calibration parameters that were an extra
  section in the eNB/UE config but were hardly used (only old bladeRF)
- a better way to pass those parameter would be through the
  device args in the normal rf config section
2018-10-01 21:59:07 +02:00
Andre Puschmann 0deda67930 print build-info during epc startup 2018-10-01 21:44:16 +02:00
Andre Puschmann af5a329fec print build-info during enb startup 2018-10-01 21:43:42 +02:00
Pedro Alvarez 28f377128b Making sure both Echo request and echo response are supported types. Echo response/request is working again. 2018-10-01 18:23:04 +01:00
Pedro Alvarez a2befbd949 Fix mistake in echo reply/response message type. 2018-10-01 18:07:30 +01:00
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. 2018-10-01 17:34:02 +01:00
Pedro Alvarez efffd3dec9 Fix compilation mistake. 2018-10-01 16:05:26 +01:00
Pedro Alvarez 2ff900d971 Making sure that GTPU optional fields get written 2018-10-01 16:02:00 +01:00
Pedro Alvarez c9cd355cdb Forgot to use supported_msg_type_check in gtpu_write_header. 2018-10-01 15:46:14 +01:00
Pedro Alvarez c1f633c5c7 Dropping bitfields for now. Using #defines and uint8_t for the flags. 2018-10-01 15:17:26 +01:00
Andre Puschmann 26ed7fe2ad
do not delete LCG config during reset of BSR procedure (#269)
- this caused an issue after HO when the LCGs where gone
  and hence no BSR was provided for DRB until RRC reestablishment
2018-09-28 21:05:48 +02:00
Pedro Alvarez 7b4bc6f132 Integrity fail after service request (#268)
* Adding some debug prints to confirm the issue.
* Cleanup whitespaces.
* More debug prints
* Adding boolean to whether it is actually necessary to send NAS message in RRC reconfiguration.
* Deleting debug prints.
2018-09-28 21:04:01 +02:00
Pedro Alvarez e320c33aef Fixed last compilation issues. 2018-09-28 15:42:28 +01:00
Pedro Alvarez ee04639337 Changed gtpu header flags to use a bitfield. Fixing compilation issues. 2018-09-28 13:46:13 +01:00
yagoda 86a32caf6a Merge branch 'next' of https://github.com/softwareradiosystems/srsLTE into next 2018-09-28 09:50:03 +02:00
Ismael Gomez 42e46bc599 Fix MBSFN section optional and default PRACH configuration for MBSFN example 2018-09-27 18:10:35 +02:00
yagoda 824dafddc6 Merge branch 'next' of https://github.com/softwareradiosystems/srsLTE into next 2018-09-27 14:20:12 +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 8072aaa091 Fixed minor mistake in resolving conflict. 2018-09-25 19:11:56 +01:00
Pedro Alvarez 8dc029cc47 Merging next into NAS cleanup. 2018-09-25 18:56:03 +01: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