Commit Graph

49 Commits

Author SHA1 Message Date
Xavier Arteaga 77d5dedddc Fix LGTM warnings and recommendations 2020-04-22 18:01:43 +02:00
Xavier Arteaga e832769ae6 Updated copyright 2020-03-16 11:26:06 +01:00
Pedro Alvarez bd3598f774 Moved srsEPC to the new S1AP library. Deleted liblte_s1ap.cc and liblte_s1ap.h. 2020-03-06 11:57:07 +00:00
Merlin Chlosta c2e95b1e2a Reject TAU to force UE to reconnect 2020-01-28 11:50:28 +00:00
Pedro Alvarez 48f9df8615 Applied clang-format to all of the srsepc folder. 2019-10-18 15:40:40 +02:00
Andre Puschmann 5faa819dcd fixing uninitialized class members found by coverity 2019-07-08 11:12:46 +01:00
Pedro Alvarez 50506ffa26 Changed NAS initialization from init function to constructor. Continuing to add the logic to handle attach request as a Uplink NAS message. Added debug log to s1ap::send_downling_nas_message. 2019-06-24 21:27:08 +02:00
Pedro Alvarez 20ee17088f Starting to add handling of attach request as a Uplink NAS transport message. 2019-06-24 21:27:08 +02:00
Andre Puschmann 64dd4c1fc4 fix issue when packing service reject fails and NAS uses initialized logger 2019-04-30 13:59:06 +02:00
Andre Puschmann 4b01a2e4a0 update copyright notice 2019-04-29 09:20:02 +02:00
Andre Puschmann 205db6f229 add missing license headers 2019-04-26 21:20:12 +02:00
Pedro Alvarez 1bac758a85 EPC now sends service reject to a UE that sends service request with bad integrity. 2019-04-12 16:24:57 +02:00
Pedro Alvarez 1db959c661 Added NAS timer functionality to the EPC. This entails:
* Adding timer creation at NAS using timerfd_create
  * Adding the ability to add and remove the timer file descriptor to the MME main select loop
  * Adding the ability to the MME for the NAS to check if a timer is running
  * Adding the timer expiry handling functionality at the MME
2019-04-08 13:05:54 +02:00
Pedro Alvarez 6e500c5b86 Changed initilization of the NAS at the EPC, to make it easier to add new interfaces. 2019-03-20 14:00:02 +01:00
Pedro Alvarez add60c1288 Applied clang-format to the EPC. 2019-03-20 14:00:02 +01:00
Pedro Alvarez 179aeddfa2 Added encryption of security mode command and attach accept again. Attach is working with encryption. 2019-01-11 18:13:29 +00:00
Pedro Alvarez 997c24c099 Added config of cipher_algo and integ_algo initialization in NAS class. 2018-12-18 18:27:31 +00:00
Pedro Alvarez 5eacdd5418 Fixed compilation issues. Attach failing with COTS UE. 2018-12-18 16:48:25 +00:00
Pedro Alvarez 31a25067f5 Merging David Ruprecth's mme_msg_encryption branch into next. Not compiling. 2018-12-18 12:03:52 +00:00
Pedro Alvarez 9350e03810 Changed detach request and tracking area update request to nas.cc 2018-08-29 17:47:34 +01:00
Pedro Alvarez a9e5b3b8e9 Changed service request to nas.cc 2018-08-29 14:52:09 +01:00
Pedro Alvarez 3337f21ffa Added handle GUTI attach from known UE again. 2018-08-28 15:29:26 +01:00
Pedro Alvarez 0d80ae795b Added IMSI attach from unknown UE as a static function. 2018-08-27 19:17:23 +01:00
Pedro Alvarez 860e1b5491 Changing Handling of initial UE NAS messages to use static methods. Handling of unknown GUTI attach request should be ok. 2018-08-27 16:06:18 +01:00
Pedro Alvarez 9e808ff968 Starting to handle NAS initial UE messages as static methods of the nas class. 2018-08-24 18:15:06 +01:00
Pedro Alvarez e3286897ce Changed the rest of the nas handling to use send_downlink_nas_transport. 2018-08-22 16:59:40 +01:00
Pedro Alvarez f1d30c7f23 Changed handle guti_attach_from_known_ue and unknown_ue to use send_downstream_nas_message. 2018-08-22 15:00:01 +01:00
Pedro Alvarez dd725be60c Changed pack identity request. 2018-08-21 18:29:28 +01:00
Pedro Alvarez 65a5139751 Fixed mistake in downlink nas transport. Changing authication request to use downlink_nas_transport. 2018-08-21 17:51:00 +01:00
Pedro Alvarez 21c34b9ce5 Changing security mode complete to use downlink nas transport 2018-08-21 16:05:08 +01:00
Pedro Alvarez 93222f582c Changed authentication response to use downlink_nas_transport(). 2018-08-21 15:17:08 +01:00
Pedro Alvarez 3073ab6822 Changed dettach request to use downlink nas transport. 2018-08-21 14:11:28 +01:00
Pedro Alvarez 749e84315a Starting to add send_downlink_nas_transport helper function. 2018-08-21 12:57:23 +01:00
Pedro Alvarez fa0c8d5995 Moved most of IMSI attach request into nas.cc. 2018-08-20 16:48:16 +01:00
Pedro Alvarez f6b8982939 Moved most of the GUTI attach to nas.cc. 2018-08-20 15:48:23 +01:00
Pedro Alvarez c518d3fde3 Starting to move inital UE messages to nas.cc. Breaking up attach request handling into smaller functions. 2018-08-16 17:45:39 +01:00
Pedro Alvarez 55675eb532 Fixed bug in setting MCC and MNC in attach accept. Attach seems to be working again. 2018-08-15 18:13:36 +01:00
Pedro Alvarez 7c53330bec Fixed NAS initialization. Attach request seems to work again now. 2018-08-14 13:59:05 +01:00
Pedro Alvarez 4ba777c9c3 Added nas log. Fixed gen_auth_info_anwser. Authentication is working again. 2018-07-24 18:38:16 +01:00
Pedro Alvarez de8679b536 Continuing to cleanup. Starting to compile again. 2018-07-23 15:30:19 +01:00
Pedro Alvarez 406d198eac Cleaning up nas.cc 2018-07-23 12:38:40 +01:00
Pedro Alvarez f03967776a Continuing to clean nas.cc 2018-07-20 19:50:46 +01:00
Pedro Alvarez b25c12a084 Fixing nas.cc 2018-07-18 19:25:59 +01:00
Pedro Alvarez d8f1b3c88d Moved uplink nas messages to nas.cc. s1ap_nas_transport is compiling. 2018-07-17 18:33:10 +01:00
Pedro Alvarez 1bad88a432 Changing integrity functions in nas.cc 2018-07-16 19:41:27 +01:00
Pedro Alvarez 4d40e9ca2d Temporarilly changing ESM state back to previous definition. 2018-07-16 15:21:03 +01:00
Pedro Alvarez c1eff4ce73 Changing pack accept 2018-07-16 14:55:36 +01:00
Pedro Alvarez 4c164acbc3 Moving many of the functions fron s1ap_nas_transport to it's own NAS class. 2018-07-13 17:28:20 +01:00
Pedro Alvarez 41a5788cc7 Adding nas.h 2018-07-13 15:27:38 +01:00