Commit Graph

88 Commits

Author SHA1 Message Date
Pedro Alvarez 685898b323 Starting to add IPv4v6 support to the UE. Added function to get auto-generated link-local IPv6 address. 2018-10-26 11:42:27 +02:00
Pedro Alvarez 1c0ddc717b Starting to change NAS attach accept to support IPv4v6 2018-10-26 11:42:27 +02:00
Pedro Alvarez 2e800437e3 UE seems to attach correctly and obtain the correct IPv6 addresses. GW is still discarding packets that are not IPv4. 2018-10-26 11:42:27 +02:00
Pedro Alvarez ac1c300126 Adding the ability to set the interface local link IPv6 address. 2018-10-26 11:42:27 +02:00
Pedro Alvarez 25108e2e2b Added configuration options to UE for IPv6 PDN. Starting to send PDN connectivity requesting IPv6. 2018-10-26 11:42:27 +02:00
Andre Puschmann 273087ce00 use blocking pool allocate for all NAS/RRC allocs and first GW alloc 2018-10-05 14:50:49 +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
Andre Puschmann 10a43f04ba Merge branch 'master' into next 2018-09-25 15:10:48 +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 1fab8e6702 fix reset of NAS counters after receiving security mode command
- reported by cpetersgit
- reset only needed after receiving initial security mode command
2018-09-20 12:16:44 +02:00
Andre Puschmann f458d58527 fixed handling of UE indentity request 2018-09-20 11:55:42 +02:00
Andre Puschmann d19eb28a16 fix various variable initializations that gcc-4.8 complained about 2018-09-05 12:34:40 +02:00
Andre Puschmann e2470685a5 send attach_request and detach_accept ciphered 2018-08-08 13:03:15 +02:00
Andre Puschmann 06c9a3f07f add network initiated detach 2018-08-07 15:32:40 +02:00
Andre Puschmann 3b8371d090 add detach support (for switch off) 2018-08-06 11:10:12 +02:00
Andre Puschmann 1f7e918790 use blocking pool_allocate for all NAS messages 2018-07-12 17:52:53 +02:00
Andre Puschmann 55b3b61ec1 Merge branch 'master' into next 2018-07-11 13:00:47 +02:00
Ismael Gomez bd5c1fd83a deallocate dedicatedInfoNAS in rrc 2018-07-11 12:56:14 +02:00
Andre Puschmann 9b894799f0 add support for ciphered authentication response 2018-07-10 12:34:25 +02:00
Merlin Chlosta 2098aa0739 add keys to loglevel info to simplify PCAP analysis (#194) 2018-07-09 11:53:24 +02:00
Andre Puschmann 01f6395d70 add option to force IMSI attach by not loading NAS ctxt from file 2018-06-19 14:23:47 +02:00
Ismael Gomez 6120f20290
Changes in RRC and S1AP to make enb more robust on UE add/rem operations.
* Consolidated functions in S1AP

* Fixed ASAN in some GCC

* Stop quicker the enb

* Minor typo edit

* Fixed mutexing issues in RRC and possibly RLC/PDCP when adding/removing users
2018-06-12 17:31:07 +02:00
Andre Puschmann fb1e335c5a increase NAS rx count when rx'ing auth request 2018-06-05 16:06:47 +02:00
Ismael Gomez 4662b83fe9 Use bzero instead of {} for initializing structs 2018-05-22 15:14:03 +02:00
Andre Puschmann cfd387e7b0 fix null-termination when sending APN in ESM info response 2018-05-15 12:40:29 +02:00
Andre Puschmann 6add9ed4b4 generate random challenge during CHAP auth 2018-05-15 12:40:29 +02:00
Andre Puschmann d0457211ad adding support for CHAP auth 2018-05-15 12:40:29 +02:00
Andre Puschmann ca8adde0c6 cleanup rebase 2018-05-15 12:40:29 +02:00
Andre Puschmann 5ac08b62e9 remove usage of std::string for APN 2018-05-15 12:40:29 +02:00
Andre Puschmann 0f6695b9cd fixing uninitialized vars 2018-05-15 12:40:29 +02:00
Andre Puschmann 4dc2951d59 perform initial attach with ESM info transfer 2018-05-15 12:40:29 +02:00
Andre Puschmann 3b70c70eee add DNS option parsing 2018-05-15 12:40:29 +02:00
Andre Puschmann 3fe6dad323 adding hard SIM card support using PCSC 2018-05-15 12:40:29 +02:00
Ismael Gomez aa1724b8f3 Add missing-field-initializers flag and properly initialize structs 2018-04-29 17:55:19 +02:00
Andre Puschmann 8df9f46e13 fix NAS and NAS test 2018-04-26 13:21:13 +02:00
Ismael Gomez 06db4e2a87 Start PCCH Only when switching cell in IDLE mode 2018-04-25 23:50:50 +02:00
Ismael Gomez 28dc194e2f Fix UE blocking on Reestablishment when Overflow 2018-04-25 19:47:03 +02:00
Ismael Gomez 208871b251 Changed liblte structs to simple structs and initialized nas/rrc uses. 2018-04-25 18:01:37 +02:00
Ismael Gomez edd9cbf4dc Merge branch 'next' into sync_states 2018-04-10 09:35:21 +02:00
David Rupprecht 06d4559294 Change include path absolut to project dir 2018-04-01 18:08:24 +02:00
Joseph Giovatto 49da57c8a1 Changed log methods to take string literal vs string object
to allow for format checking and save on object copy.
Fixed log format specifier warnings.
2018-03-29 16:59:19 +02:00
Andre Puschmann b50672b0ef fix non-returning function warning 2018-03-28 16:41:10 +02:00
Ismael Gomez 0d099a132b Reconnection from paging and IDLE working. Reselecting cell when turning off working 2018-03-22 11:47:30 +01:00
Ismael Gomez f4243656c9 Check integrity_generate msg_size parameter 2018-03-21 11:47:30 +01:00
Ismael Gomez b3be54b274 Attach and paging ok. Reselection on IDLE not working 2018-03-21 10:46:24 +01:00
Ismael Gomez f88f465c97 Refactored NAS/RRC/PHY cell_search/selection procedures 2018-03-19 14:14:51 +01:00
Ismael Gomez be7dc37e7c Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-03-06 22:20:46 +01:00
Ismael Gomez 13efa740e8 Changed logic in RRC/NAS/PHY for cell/plmn search to avoid stucking in IDLE 2018-03-06 22:20:38 +01:00
Andre Puschmann f5e3049f63 add check for possible buffer pool misallocation in RRC/NAS/GW 2018-03-06 14:46:50 +01:00
Ismael Gomez 69a2542e0f Fixed deallocating PDU in NAS too early 2018-03-06 13:30:52 +01:00