Commit Graph

673 Commits

Author SHA1 Message Date
Pedro Alvarez 9350e03810 Changed detach request and tracking area update request to nas.cc 2018-08-29 17:47:34 +01:00
Pedro Alvarez d2cb01ce87 Deleted old service request. 2018-08-29 14:56:55 +01:00
Pedro Alvarez a9e5b3b8e9 Changed service request to nas.cc 2018-08-29 14:52:09 +01:00
Pedro Alvarez 4313fb1e72 Making sure M-TMSI is in host order in other small bug fixes. 2018-08-28 17:28:31 +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 0ddb3d39dc Moved handle_imsi_attach_request_from_unknown_ue to nas.cc in static method. Working. 2018-08-27 18:13:42 +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 c011df5612 Changing Service request to nas.cc 2018-08-23 14:15:12 +01:00
Pedro Alvarez a46f1e4e9a Changing Tracking Area Update Request Initial Message to nas.cc 2018-08-23 12:19:17 +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 8bcc8ecaeb Starting to move initial attach request handling to nas.cc 2018-08-20 19:47:21 +01:00
Pedro Alvarez 872f7adc49 Added find imsi from TMSI helper function. 2018-08-20 17:59:50 +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 1f2e22adf4 coding style fixup. 2018-08-16 12:48:37 +01:00
Pedro Alvarez 23bd95c432 Whitespace fix. 2018-08-15 18:38:06 +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 1fba7f0afa Moved function that gets NAS type string to liblte_mme.cc 2018-08-14 18:42:48 +01:00
Pedro Alvarez 127e214b07 Added function to print string of NAS message type based on the message code. 2018-08-14 17:19:19 +01:00
Pedro Alvarez 5d75b16ee9 Fixed up mistake in UE Context Release command. 2018-08-14 15:38:25 +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 d76053e7ec Making sure NAS message is added to the initial context setup request. 2018-08-13 18:22:30 +01:00
Pedro Alvarez cdc72b8164 Fix bug in packing of transport layer address 2018-08-13 18:06:20 +01:00
Pedro Alvarez a4be55c030 Fixed bug in re-synch procedure. 2018-08-13 16:29:44 +01:00
Pedro Alvarez 4059b19b57 Coding style fixups in SP-GW. 2018-08-13 15:55:14 +01:00
Pedro Alvarez 66dc1e0700 Fixed up the initialization of NAS context in IMSI attach request. 2018-08-13 15:54:53 +01:00
Pedro Alvarez 7077530a29 Merge branch 'next' into nas_cleanup 2018-08-13 11:59:23 +01:00
Pedro Alvarez 0aed1f47a5 White space fixes. 2018-08-13 11:58:06 +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 da840ac334 Fix un-initialized buffer pool in nas.cc 2018-07-23 18:44:19 +01:00
Pedro Alvarez 4e78d70d97 Fixing issue in pack identity request. 2018-07-23 18:25:15 +01:00
Pedro Alvarez 6615af57ee Cleaning up handle initial UE message a bit more. 2018-07-23 17:59:03 +01:00
Pedro Alvarez bd2fa4c04b Cleaning up Handle initial UE message 2018-07-23 17:46:23 +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 6ef3124fc9 Fixed up release ue ctx command. 2018-07-20 14:54:03 +01:00
Pedro Alvarez f350fa5ec0 Small fixes in coding style. 2018-07-19 11:15:31 +01:00
Pedro Alvarez b25c12a084 Fixing nas.cc 2018-07-18 19:25:59 +01:00
Pedro Alvarez 85672d4a3f Fixing up s1ap.cc 2018-07-18 17:25:37 +01:00
Pedro Alvarez 05a34ec8e3 Cleaning up s1ap.cc 2018-07-18 16:13:55 +01:00
Pedro Alvarez 993e986315 Changing mme_gtpc 2018-07-18 14:04:03 +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 5fd337a7ad Continue to move uplink NAS into nas.cc. 2018-07-16 19:05:53 +01:00
Pedro Alvarez 40d53f8f45 Changed s1ap_ctx_mngmt_proc. Starting to address s1ap_nas_transport. 2018-07-16 16:06:27 +01:00
Pedro Alvarez e9528155b5 Changing handle initial context setup response. 2018-07-16 15:39:02 +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 3663d59920 Starting to add s1ap_interface_gtpc and s1ap_interface_nas. Adapting send initial context setup request accordingly. 2018-07-16 13:50:12 +01:00
Pedro Alvarez fead1affaa Continue to cleanup s1ap_ctx_managment. 2018-07-13 18:53:44 +01:00
Pedro Alvarez f33fcf65bf Fixing up S1AP context management procedures to use the new class. 2018-07-13 18:31:05 +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
Pedro Alvarez 597cf18b9d Changing common/debug.h to crash_handler.h 2018-07-13 11:57:15 +01:00
Pedro Alvarez 081721751b Starting to clean up the NAS in the EPC. 2018-07-13 10:32:47 +01:00
Pedro Alvarez c3ef88e112 Fixing conflicts with next. 2018-07-12 15:43:27 +01:00
Pedro Alvarez 39c5c49189 Fixing coding style of some if statements. 2018-07-12 14:43:14 +01:00
Ismael Gomez 7d324306b3 Default RLC to UM 2018-07-11 12:56:30 +02:00
Pedro Alvarez 55a6c3d808 Changed the epc.conf to have some instructions how to configure wireshark to decode the S1AP packets from the epc.pcap file. 2018-07-10 15:54:09 +01:00
Pedro Alvarez 151efc61d5 Added s1ap_tx_pdu function. This function will record to pcap if PCAP is enabled. 2018-07-10 15:18:31 +01:00
Pedro Alvarez b89ad628e2 Added config option to enable pcap. 2018-07-10 14:23:21 +01:00
Pedro Alvarez ba5708dc60 Starting to add S1AP pcap to EPC. 2018-07-09 19:17:31 +01:00
Pedro Alvarez 304510ea31 Whitespaces fix. 2018-07-09 16:49:34 +01:00
Pedro Alvarez d00662708f Added srslte_debug_handle_crash to EPC. 2018-07-09 14:39:19 +01:00
Ismael Gomez 67d4096e9e Default RLC to UM 2018-07-07 11:43:40 +02:00
Pedro Alvarez 3d24094829 Merge branch 'next' into epc_sigpipe 2018-07-06 13:01:41 +01:00
Pedro Alvarez a74d1905b4 Fix command line parsing in mbms-gw 2018-07-06 12:23:36 +01:00
Pedro Alvarez 712a1b7639 Fix compiling bug 2018-07-06 12:13:44 +01:00
Pedro Alvarez 1dc5836365 Adding SGi-mb mask to config 2018-07-06 11:52:04 +01:00
Pedro Alvarez ec0d7b0c7b Making sure that MME updates the eNB SCTP info when it receives GUTI attach from attached user. 2018-07-04 17:07:33 +01:00
Pedro Alvarez ced47af7ba Chenging the MBMS-Gw to pass the log to the gtpu_write_header. 2018-07-03 16:58:30 +01:00
Pedro Alvarez dc3cc43e02 Changing SPGW to pass log to lib function. 2018-07-03 14:45:50 +01:00
Pedro Alvarez e2e82cc464 Removing broadcats hack. Returning to a simple TUN insterface on the MBMS-GW. 2018-06-29 11:27:12 +01:00
Pedro Alvarez badbb1de77 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-06-28 14:08:55 +01:00
Pedro Alvarez aee66c3624 Merge branch 'ip_check' into next 2018-06-28 14:08:16 +01:00
Pedro Alvarez 66757573c1 Making sure that QCI helper comments in user_dg.csv stay when file is overwritten. 2018-06-28 12:34:38 +01:00
Pedro Alvarez 99715dc6e2 Adding check for total length as well. 2018-06-28 12:23:29 +01:00
Pedro Alvarez 1826684372 Fixing a compile issue. 2018-06-28 11:17:59 +01:00
Pedro Alvarez 3d2f7d2adf Adding some checks to IP packets at SPGW. 2018-06-28 11:00:58 +01:00
Pedro Alvarez c07de1d9e1 Remove debug print. 2018-06-27 17:46:03 +01:00
Pedro Alvarez 0a6540d8bf Saving QCI into ESM context. Different QCIs should be working now. 2018-06-27 17:45:19 +01:00
Pedro Alvarez 66db3deeb4 Starting to add Bearer QoS parameter to create session request. 2018-06-27 15:10:17 +01:00
Pedro Alvarez f9e3d3a1f7 Added mechanisms to read and write QCI from/to user_db.csv. 2018-06-26 17:39:23 +01:00
Pedro Alvarez fecdbcff4f Starting to add support to different QCI in EPC. 2018-06-26 16:42:03 +01:00
Pedro Alvarez e57797b786 Cosmetic change. 2018-06-26 12:12:35 +01:00
Pedro Alvarez b8bb270ac7 Cosmetic fix. 2018-06-26 12:08:42 +01:00
Pedro Alvarez f301bb6373 Merging next into op_vs_opc and resolving conflicts. 2018-06-26 11:36:40 +01:00
Pedro Alvarez ad1d32333b Fixing up user_db.csv comments and default values. 2018-06-25 17:59:34 +01:00
Pedro Alvarez 80f7f955ce Making sure that the Security Mode command uses the correct eKSI. 2018-06-25 17:01:53 +01:00
Pedro Alvarez d44a3c44ca Making sure eKSI is changed on re-synch. Re-synch on SYSMOCOM USIMs seem to work. 2018-06-25 12:48:11 +01:00
Pedro Alvarez d3469e51c1 Starting to play with key set identifier. 2018-06-22 19:06:57 +01:00
Pedro Alvarez 11b51e7cb4 Merge branch 'next' into epc_sigpipe 2018-06-22 10:59:54 +01:00
Pedro Alvarez 8df7a1b1af Change some debug prints. 2018-06-19 19:29:09 +01:00
Pedro Alvarez fd97caadb3 Revert "Merge branch 'op_vs_opc' into next"
This reverts commit be2276b8da, reversing
changes made to 4d3fd342f7.
2018-06-19 18:17:11 +01:00
Pedro Alvarez 6a32b5b047 Starting to separate the increment of SQN into a seperate function. 2018-06-19 18:09:14 +01:00
Pedro Alvarez b9c50a93a8 Fixed bug in writing OPc into user_db.csv. 2018-06-18 20:03:57 +01:00
Pedro Alvarez bd39d8bac2 Fixed bug in getting OPc. Removed debug print. Fixed test12345. UE is still having re-synch issues. 2018-06-18 19:32:50 +01:00
Pedro Alvarez e9c3b4c8ce Added OPc suport on EPC. 2018-06-18 17:45:13 +01:00
Pedro Alvarez 0d61011d13 Changing user_db.csv to allow users to choose OP/OPc. 2018-06-18 17:21:06 +01:00
Pedro Alvarez a839817790 Starting to add OPc option to HSS. 2018-06-18 16:42:41 +01:00
Andre Puschmann 2c179dd84f add config install helper 2018-06-05 11:34:01 +02:00
Ismael Gomez be2276b8da Merge branch 'op_vs_opc' into next 2018-06-04 16:39:58 +02:00
Andre Puschmann aa563b1555 copy example config files and if masq script to install folder 2018-06-04 15:05:38 +02:00
Andre Puschmann 36c650399b rework app startup to search for config files in user's home directory 2018-06-01 15:33:15 +02:00
Andre Puschmann 463b138026 remove debug printfs 2018-05-17 21:47:42 +02:00
yagoda fac8bb7b7a adding mbms-gw broadcast support, adding parameter for automatic mbms service start 2018-05-17 16:25:17 +02:00
Andre Puschmann 9ce3be974a Merge branch 'next' into embms_merge_final 2018-05-15 22:32:56 +02:00
yagoda e4c3f0bc30 adding mbms-gw and mch generation tables 2018-05-15 17:27:10 +02:00
Andre Puschmann 2001bb1c49 remove unneeded debug 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 ab2c1cd10f fix typos in s1ap in EPC 2018-05-15 12:40:29 +02:00
Andre Puschmann 258785e7de add log to s1ap 2018-05-15 12:40:29 +02:00
Andre Puschmann b4a23d325a cosmetic changes 2018-05-10 16:43:08 +02:00
Pedro Alvarez 2e7958e9a0 Merge branch 'master' into op_vs_opc 2018-05-01 16:26:34 +01:00
Andre Puschmann 5ecc145f14 Merge branch 'master' into next 2018-05-01 14:50:15 +02:00
David Rupprecht 751f7f6919 Reset NAS UL counter when sending security mode command for right k_enb 2018-04-30 21:24:11 +02:00
David Rupprecht caa59e5141 Clean up key derivation and more logs 2018-04-30 21:24:11 +02:00
David Rupprecht 01985fbffa private internal nas methods 2018-04-30 21:24:11 +02:00
Ismael Gomez 208871b251 Changed liblte structs to simple structs and initialized nas/rrc uses. 2018-04-25 18:01:37 +02:00
Pedro Alvarez 45c7a5bb31 Merge branch 'epc' of github.com:softwareradiosystems/srsLTE into epc 2018-04-24 12:47:38 +01:00
Pedro Alvarez f87f659874 Whitespaces and comment fixes. 2018-04-24 12:00:45 +01:00
Andre Puschmann 2309f63002
Merge pull request #163 from pily112/handle_plain_nas_message
Added auth failure and detach to plain nas message
2018-04-23 20:41:00 +02:00
Pedro Alvarez f6547d4e8a Merge remote-tracking branch 'david/handle_plain_nas_message' into epc
This pull request add the andling of authentication failure when sent as plain NAS, which is important for SYNCH authentication issues.
2018-04-23 18:04:27 +01:00
Pedro Alvarez 3c44bc3b2c Fixed double erease mistake. The SIGPIPE seems to be gone. 2018-04-18 14:26:52 +01:00
Pedro Alvarez 5bd8509ce0 Making sure UE is erased from UE set. 2018-04-18 13:40:38 +01:00
Pedro Alvarez 362c856e53 Changed UE set to be accessible from SCTP association. 2018-04-18 11:28:01 +01:00
Pedro Alvarez 300b9e7757 Starting to add UEs to the eNB context again. 2018-04-16 14:54:55 +01:00
Pedro Alvarez a6fbdb62cd Adding function to mark the UE as present to in the eNB 2018-04-12 17:17:49 +01:00
Andre Puschmann 3b5dd5176a More debug prints. 2018-04-12 12:08:40 +01:00
Pedro Alvarez 609881855d Adding a debug print 2018-04-12 10:19:25 +01:00
Pedro Alvarez d5ec07185d Making sure that the UE is EMM-DEREGISTERED if the eNB is terminated. 2018-04-11 15:51:28 +01:00
Andre Puschmann 319f473363 fix remaining printf warnings 2018-04-04 12:15:10 +02:00
David Rupprecht 4932ea9dfb Added auth failure and detach to plain nas message 2018-04-04 12:13:36 +02:00
David Rupprecht 06d4559294 Change include path absolut to project dir 2018-04-01 18:08:24 +02:00
David Rupprecht 9d71bec7b6 Unified include guards 2018-03-31 19:04:04 +02:00
Andre Puschmann ff85e8b77f fixing remaining printf formating issues 2018-03-29 17:23:55 +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 477eebae2f
Merge pull request #171 from softwareradiosystems/epc
Small EPC fixes
2018-03-29 13:41:15 +02:00
Pedro Alvarez 308efd4fdc Avoid overflow on M-TMSI allocation. 2018-03-29 12:02:16 +01:00
Pedro Alvarez 5f9e0adbb6 Making sure cmath is included for std::pow 2018-03-29 11:47:01 +01:00
Andre Puschmann 2227b0fb26 Merge branch 'epc' into next 2018-03-29 12:12:59 +02:00
Andre Puschmann ded550b793 remove unneeded boost includes 2018-03-29 10:28:36 +02:00
Pedro Alvarez 6184a8b6aa Fixed bug in GUTI allocation for multiple UEs. 2018-03-28 18:17:34 +01:00
Pedro Alvarez d723a806df Merge branch 'next' into epc 2018-03-28 12:25:06 +01:00
Pedro Alvarez 09ac36a618 Making sure DNS address is present in the epc.conf 2018-03-28 12:01:15 +01:00
Pedro Alvarez 49a830e548 Making sure TAU requests are counted. 2018-03-28 11:02:41 +01:00
Andre Puschmann e5534d6017
Remove leftovers from merge 2018-03-26 21:11:39 +02:00
Pedro Alvarez b1f4ee47d1 Temporally removed unhandled UE cap info. 2018-03-26 11:58:35 +01:00
Pedro Alvarez ff103dc4cd Remove debig prints 2018-03-26 11:01:28 +01:00
Pedro Alvarez cb0f7fc8c2 Changed print when service request integrity fails. 2018-03-24 16:36:13 +00:00
Pedro Alvarez ea8e7c9301 Fixed bug in GUTI attach when UE is already attached. 2018-03-24 16:31:29 +00:00
Pedro Alvarez fb1e87cf53 Fixing bug for IMSI attach of already attached user. 2018-03-24 14:59:22 +00:00
Pedro Alvarez 45a1e8425b Fix bug in dettach request from UL Nas transport 2018-03-23 17:15:27 +00:00
Pedro Alvarez 3bc2cb859c Sending ESM information request when GUTI attach passes integrity checks. 2018-03-23 16:50:41 +00:00
Pedro Alvarez d82c0b7f6b Adding handling of detach request. 2018-03-22 22:42:31 +00:00
Pedro Alvarez b73a4da8f9 Starting to add support to NAS detach request. 2018-03-22 18:54:06 +00:00
Pedro Alvarez ba3a579a92 Regenerating k_eNB on guti attach request. 2018-03-22 17:04:40 +00:00
Pedro Alvarez 79517310d0 small fixes on identation 2018-03-22 14:22:04 +00:00
Pedro Alvarez 3d3027f0b7 Fixed GUTI attach when authentication fails. 2018-03-22 14:12:48 +00:00
Pedro Alvarez 62dc65556a Fixed GUTI attach procedure when authentication is successful. Ping works again. 2018-03-21 18:45:23 +00:00
Pedro Alvarez 51e7b3fec6 Fixed IMSI print. 2018-03-21 12:14:11 +00:00
Pedro Alvarez 2ab25f4c1b Getting rid of debug prints. 2018-03-20 16:35:35 +00:00
Pedro Alvarez acc4f925bc getting rid of boost::mutex on MME GTPc entity 2018-03-20 16:35:01 +00:00
Pedro Alvarez f4f8f746da Merging changes from epc branch into guti_attach branch. 2018-03-20 16:10:36 +00:00
Pedro Alvarez 50aeda2009 Fixed bug in SPGW when replacing an existing eNB S1-U TEID. Service request seems to be working for the cases of ECM idle and ECM connected. 2018-03-20 14:52:34 +00:00
Pedro Alvarez 0f45369d44 Trying to fix service request when ECM content is present. 2018-03-16 15:07:23 +00:00
Pedro Alvarez 04d5676db0 Fixed bug to save UE ctx on the mme_ue_s1ap_id_map upon reception of the service request. Service request is now working again for the case where the UE is ECM-IDLE. 2018-03-16 12:55:58 +00:00
Pedro Alvarez d932a2ad85 Starting to add the ability to handle UE context release complete. 2018-03-15 20:04:50 +00:00
Pedro Alvarez 0da56b6a5a Fixed bug with in GUTI attach with unkown M-TMSI. 2018-03-15 16:05:36 +00:00
Pedro Alvarez a8bfa497ef Remove some commented out code. 2018-03-14 18:34:27 +00:00
Pedro Alvarez 1f3ccb9bda Fixed bug in integrity check, UE is IMSI attaching again. 2018-03-14 18:07:07 +00:00
Pedro Alvarez 9617a63d27 continuing to change the way context is stored. Compiling now. 2018-03-14 15:39:43 +00:00
Pedro Alvarez 7d37c6b9c3 Continuing to fix compilation issues. Starting to change S1AP to use the new functions to store ctx. 2018-03-14 13:36:20 +00:00
Pedro Alvarez be84ee854a Changing the way that ECM context is stored to keep uplink teids active when the context is release. 2018-03-14 11:14:44 +00:00
Pedro Alvarez be09457ccb Starting to make sure that UL S1-U fteid and S11 SGW ctr fteid are kept, even when UE context release is called. 2018-03-12 16:18:32 +00:00
Pedro Alvarez ff8818590a Changing SPGW's handle_create_session_request to check weather GTP context already exists. 2018-03-09 21:30:33 +00:00
Pedro Alvarez d5478ff7a2 Starting to use EMM state to know whether attach request or service request are initiating the NAS. 2018-03-09 16:25:59 +00:00
Pedro Alvarez 9b28527423 Fixed bug in release access bearers request 2018-03-08 17:59:03 +00:00
Pedro Alvarez de936b30d1 Fixed small bug in send create session request. 2018-03-08 16:17:13 +00:00
Pedro Alvarez 6583d6b2e5 Changing handle UE context release to send release access bearer request instead od delte session request. 2018-03-08 15:55:53 +00:00
Pedro Alvarez 2b84e78389 Adding release access bearer request to SPGW. Compiling now. 2018-03-08 14:19:13 +00:00
Pedro Alvarez 2cc4959667 Adding release access bearers request. 2018-03-08 12:50:07 +00:00
Pedro Alvarez 3b338067c9 Changing Delete session request to delete GTP-C context. 2018-03-08 12:13:53 +00:00
Pedro Alvarez ef4ad0aa20 Starting to change delete session request. 2018-03-07 19:15:32 +00:00
Pedro Alvarez a3b31966b8 Changing Activate EPS bearer function to work with IMSI. 2018-03-07 18:48:08 +00:00
Pedro Alvarez 98345ed6a2 Adapting send modify bearer request to new GTP-C context 2018-03-07 18:10:58 +00:00
Pedro Alvarez 0c50ccef1c Changed create session request to keep GTPC context. 2018-03-07 15:36:08 +00:00
Pedro Alvarez e499fffe01 Starting to save GTP-C context in a map, to keep the GTP-C connection even when the NAS connection is released. 2018-03-07 14:58:08 +00:00
Pedro Alvarez e9213f807d Starting to change SPGW to handle release access bearers request. Changing MME GTPC entity to contain an IMSI to sgw_ctr_fteid and ctr_teid to IMSI maps. 2018-03-07 12:17:49 +00:00
Pedro Alvarez 5488609096 Resolving conflicts from merging next. Adding the functionality of echoing the attach type. 2018-03-06 16:54:32 +00:00
Pedro Alvarez 01cf00700a Adding DNS config options 2018-03-06 10:55:22 +00:00
Pedro Alvarez 3efc197f3a Actually changing the attach type. 2018-03-05 10:50:51 +00:00
Pedro Alvarez 0cb1127f93 Sending Service reject to UE as a temporary handling of service requests (Thanks to Merlin Chlosta). 2018-03-05 10:05:58 +00:00
Pedro Alvarez 01e5642882 Replying same attach type to the UE as in the attach request. 2018-03-05 09:51:31 +00:00
Pedro Alvarez c9b459bf8a Fixing Activate default bearer context uninitialized value. 2018-03-05 09:12:01 +00:00
Pedro Alvarez fc280e082f Continuing to add UE capabilities info indication. 2018-02-27 14:45:11 +00:00
Andre Puschmann 252174865c fix coverity issue 2018-02-27 14:37:13 +01:00
Pedro Alvarez ecb846717c Starting to handle UE capability info indication 2018-02-27 13:33:43 +00:00
Pedro Alvarez f7348e8ddf Added print to show unhandled S1AP messages. 2018-02-26 19:37:41 +00:00
Pedro Alvarez ea0585a772 Quick hack to keep the IP in service request. 2018-02-26 18:50:53 +00:00
Pedro Alvarez d301d7599f Quick and dirty hack to not send activate default eps bearer when a service request is received. 2018-02-26 16:03:11 +00:00
Pedro Alvarez 669ef9816f Added packing of TMSI to mobile station identity IE. 2018-02-26 10:39:40 +00:00
Pedro Alvarez d913fdd499 Adding EMM information message. 2018-02-23 10:18:13 +00:00
Pedro Alvarez 7dd734510b added EMM cause 'CS not avilable' and ESM cause 'PDN type only IPv4 allowed.' 2018-02-22 18:38:25 +00:00
Pedro Alvarez b233e9e1ae Fixing bug with k_enb generation. Fixing issue with enb_ue_s1ap_id for service requests without ECM context. 2018-02-22 15:50:05 +00:00
Pedro Alvarez 17c4fa24c0 Merge branch 'next' into guti_attach 2018-02-22 11:54:53 +00:00
Pedro Alvarez 06180a38ef Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-02-22 11:54:25 +00:00
Pedro Alvarez 543cdf8566 Adding handling of service request when no ECM context is present. 2018-02-22 11:51:57 +00:00
Pedro Alvarez a7b540c18e Fixing bug in S1 Setup response. 2018-02-20 18:55:13 +00:00
Pedro Alvarez bdc72c65c4 Adding print to debug TPC issue. 2018-02-20 18:54:41 +00:00
Pedro Alvarez 0389338fe3 whitespace change 2018-02-19 20:54:43 +00:00
Pedro Alvarez 5f4613bffd Fixing conflicts from merge. 2018-02-19 20:09:09 +00:00
Pedro Alvarez c6e2f144d7 Merging next into guti_attach branch 2018-02-19 19:38:21 +00:00
Pedro Alvarez c02b67b709 Sending initial context setup request on receiving service request 2018-02-19 19:28:54 +00:00
Pedro Alvarez fc0f1e4c23 Sendind intial context setup in response to service request. 2018-02-19 17:54:01 +00:00
Pedro Alvarez 4ee08fdeca Changing send initial context setup request to not need the create session response struct. 2018-02-19 15:19:07 +00:00
Pedro Alvarez 82b3e5e380 Integrity protection of GUTI attach OK. Attach complete not yet sent. 2018-02-16 19:08:04 +00:00
Pedro Alvarez 2cb1f27ddb Adding UE context release command. Fixing issue when identity response is integrity protected. 2018-02-16 17:47:55 +00:00
Pedro Alvarez 24d394d8ca Fixed some compilation issues. 2018-02-15 18:47:56 +00:00
Pedro Alvarez 2e90ce370b Starting to prepare MME UE context release request. 2018-02-15 18:30:43 +00:00
FabianEckermann 148c0a97bd Read MME APN from epc config 2018-02-15 16:42:26 +01:00
Pedro Alvarez 094a7d272f Fixed bug in short integrity check. Service request integrity check works now. 2018-02-15 13:53:21 +00:00
Pedro Alvarez f4fba4e2f5 Fixed ntohl bug in getting the service request m-tmsi. 2018-02-15 11:58:46 +00:00
Pedro Alvarez 7ae2975de4 Starting to get M-TMSI from service request. 2018-02-14 17:40:05 +00:00
Pedro Alvarez 1c4dce8066 Generating k_enb in the securty mode command. Fixed wrong k_enb generation. Integrity is being checked corretly in upstream NAS messages. 2018-02-14 12:28:55 +00:00
Pedro Alvarez 012f026543 Added print of UL NAS count and DL NAS count in nas_transport. 2018-02-14 10:59:54 +00:00
Pedro Alvarez aedcfbb686 Added print of UL NAS Count 2018-02-14 10:48:44 +00:00
Pedro Alvarez fa86862e8a Incrementing DL NAS COUNT and UL NAS COUNT. k_eNB is being generated incorrectly. 2018-02-13 19:40:13 +00:00
Pedro Alvarez 28d5130320 Incrementing DL NAS count 2018-02-13 18:29:21 +00:00
Pedro Alvarez 26f782d8a4 Starting to integrity check all Uplink NAS Transport messages. 2018-02-13 17:45:25 +00:00
Pedro Alvarez 3f7bea1af6 Starting to integrity check GUTI attach. Integrity failing for now. 2018-02-12 16:19:31 +00:00
Ismael Gomez ad703d5758 Add missing include 2018-02-12 09:57:37 +01:00
Pedro Alvarez fdc7a0d334 Removed misleading print. 2018-02-09 15:30:31 +00:00
Pedro Alvarez cc9845ef07 Merging HSS resynch functionality from David Rupprecht. Resolving conflict in user_db.csv. 2018-02-09 15:04:22 +00:00
Pedro Alvarez 1bef5cebf6 small commit 2018-02-09 10:29:40 +00:00
Pedro Alvarez 3b90c71c66 changing a comment 2018-02-08 14:08:02 +00:00
Pedro Alvarez 2cc717b506 Starting to check NAS intgrity of GUTI attach. 2018-02-08 13:57:30 +00:00
Pedro Alvarez 386e56ef40 Fixed bug when GUTI is unknown but EMM context was previously present. Added function to delete EMM context. 2018-02-07 18:13:51 +00:00
Pedro Alvarez fc1629a06e Fixed bug with getting EMM context in handle identity request. Attach with unknown GUTI starting to work again. 2018-02-07 16:53:09 +00:00