309 Commits (44783030c4e9f126e89ff45d030a086173f343a3)

Author SHA1 Message Date
Pedro Alvarez 7d37c6b9c3 Continuing to fix compilation issues. Starting to change S1AP to use the new functions to store ctx. 7 years ago
Pedro Alvarez be84ee854a Changing the way that ECM context is stored to keep uplink teids active when the context is release. 7 years ago
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. 7 years ago
Pedro Alvarez ff8818590a Changing SPGW's handle_create_session_request to check weather GTP context already exists. 7 years ago
Pedro Alvarez d5478ff7a2 Starting to use EMM state to know whether attach request or service request are initiating the NAS. 7 years ago
Pedro Alvarez 6583d6b2e5 Changing handle UE context release to send release access bearer request instead od delte session request. 7 years ago
Pedro Alvarez 2b84e78389 Adding release access bearer request to SPGW. Compiling now. 7 years ago
Pedro Alvarez 2cc4959667 Adding release access bearers request. 7 years ago
Pedro Alvarez 3b338067c9 Changing Delete session request to delete GTP-C context. 7 years ago
Pedro Alvarez a3b31966b8 Changing Activate EPS bearer function to work with IMSI. 7 years ago
Pedro Alvarez 98345ed6a2 Adapting send modify bearer request to new GTP-C context 7 years ago
Pedro Alvarez 0c50ccef1c Changed create session request to keep GTPC context. 7 years ago
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. 7 years ago
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. 7 years ago
Pedro Alvarez 5488609096 Resolving conflicts from merging next. Adding the functionality of echoing the attach type. 7 years ago
Pedro Alvarez 01cf00700a Adding DNS config options 7 years ago
Pedro Alvarez 0cb1127f93 Sending Service reject to UE as a temporary handling of service requests (Thanks to Merlin Chlosta). 7 years ago
Pedro Alvarez 01e5642882 Replying same attach type to the UE as in the attach request. 7 years ago
Pedro Alvarez ecb846717c Starting to handle UE capability info indication 7 years ago
Pedro Alvarez d301d7599f Quick and dirty hack to not send activate default eps bearer when a service request is received. 7 years ago
Pedro Alvarez d913fdd499 Adding EMM information message. 7 years ago
Pedro Alvarez bdc72c65c4 Adding print to debug TPC issue. 7 years ago
Pedro Alvarez 5f4613bffd Fixing conflicts from merge. 7 years ago
Pedro Alvarez c6e2f144d7 Merging next into guti_attach branch 7 years ago
Pedro Alvarez c02b67b709 Sending initial context setup request on receiving service request 7 years ago
Pedro Alvarez fc0f1e4c23 Sendind intial context setup in response to service request. 7 years ago
Pedro Alvarez 4ee08fdeca Changing send initial context setup request to not need the create session response struct. 7 years ago
Pedro Alvarez 2cb1f27ddb Adding UE context release command. Fixing issue when identity response is integrity protected. 7 years ago
Pedro Alvarez 24d394d8ca Fixed some compilation issues. 7 years ago
FabianEckermann 148c0a97bd Read MME APN from epc config 7 years ago
Pedro Alvarez 7ae2975de4 Starting to get M-TMSI from service request. 7 years ago
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. 7 years ago
Pedro Alvarez 3f7bea1af6 Starting to integrity check GUTI attach. Integrity failing for now. 7 years ago
Pedro Alvarez 1bef5cebf6 small commit 7 years ago
Pedro Alvarez 2cc717b506 Starting to check NAS intgrity of GUTI attach. 7 years ago
Pedro Alvarez 386e56ef40 Fixed bug when GUTI is unknown but EMM context was previously present. Added function to delete EMM context. 7 years ago
Pedro Alvarez 95bc4f8b08 adding tmp emm storage for when the UE uses an unknown guti and id request has to be sent. 7 years ago
Pedro Alvarez 47b574a3ba Removed unused value in ECM ctx 7 years ago
Pedro Alvarez af927eb1d8 Changing handling of ue context release request. Compiling now, needs testing. 7 years ago
Pedro Alvarez 86adc29ce8 Changing send initial context setup. 7 years ago
Pedro Alvarez 97f60ae6ff starting to change handle_attach_request to support separate EMM and ECM context. 7 years ago
Pedro Alvarez 1df3f04192 Changing handle nas security mode complete. 7 years ago
Pedro Alvarez d9da1f84f0 Continuing to separate EMM and ECM context 7 years ago
Pedro Alvarez a0d727166f Starting to split EMM and ECM context. 7 years ago
Pedro Alvarez 336af1ed93 Adding functions to get context from IMSI or MME UE S1AP Id. 7 years ago
Pedro Alvarez 955be59a59 starting to add EMM states to keep EMM state, security context, etc., even when UE context release request is received. 7 years ago
Pedro Alvarez c4b2dd5e65 Starting to add the response to the service request. 7 years ago
David Rupprecht 52e7082aee Small bug fixes, debug print. MAC f1_star does not work 7 years ago
David Rupprecht 244b68e76b Added authentication failure in s1ap 7 years ago
David Rupprecht 5db5399b2f Added HSS sync support (not tested) 7 years ago
David Rupprecht 8ea2e73b63 Making hss an interface for testing 7 years ago
David Rupprecht 3ead643c64 Introducing epc interfaces for hss and srsepc namespace 7 years ago
David Rupprecht 53f05354e6 Making HSS functions private 7 years ago
David Rupprecht 9f3d14cfab Increment sqn 7 years ago
David Rupprecht 5666d3021d Write sqn and user context back to db file 7 years ago
David Rupprecht 1aced47d6a Making the SQN readable from the csv database file 7 years ago
David Rupprecht b1cabf8117 Made MCC and MNC in HSS configurable (not tested) 7 years ago
Pedro Alvarez 3227bc8e66 Deleting commented out and unused code. 7 years ago
Pedro Alvarez 074cf4526f Cleaned up the handling of the Initial UE message. 7 years ago
Pedro Alvarez 0e1058c8d2 Fixing small bug at filling out GUTI. 7 years ago
Pedro Alvarez 3984e1d9db Added NAS identity request/response. 7 years ago
Pedro Alvarez 45effcca08 Starting to add GUTI attach support. 7 years ago
Pedro Alvarez 84e0723c3d Starting to add the mechanisms to perform GUTI attach. 7 years ago
Pedro Alvarez 3beb708806 Moved context mangement functions to s1ap_ctx_mngmnt_proc class. 7 years ago
Pedro Alvarez 9e72fbce43 Continuing to change functions to ctx_mngmnt_proc 7 years ago
Pedro Alvarez c5b1b7edc3 Continuing to cleanup. moving procedures to ctx_mngmt_proc. 7 years ago
Pedro Alvarez 05604ec6eb Added UML diagram to docs 7 years ago
Pedro Alvarez 8c9704ef3c Adding delete session request. 7 years ago
Pedro Alvarez c08b89f3e5 Continuing cleaning up. Moved a lot of functionality to nas_transport 7 years ago
Pedro Alvarez 1f55db09dc Deleted unused functions 7 years ago
Pedro Alvarez d3e1e7d853 Continuing to cleanup. Moved initial ue message to nas_transport 7 years ago
Pedro Alvarez 1fb304ddd3 Continuing to clean up. Moved S1 setup request to s1ap_mngmnt_proc 7 years ago
Pedro Alvarez a5633bf143 Continuing to clean S1AP 7 years ago
Pedro Alvarez da7c105a29 Starting to cleanup S1AP 7 years ago
Pedro Alvarez e839d09b52 Fixed bug in generating keNB. 7 years ago
Pedro Alvarez 80780bfb2f Changed the way UE's IPs are assigned 7 years ago
Pedro Alvarez a8f268c55b Added cleanup functionality to the hss. 7 years ago
Pedro Alvarez a4e1707835 Fixed bug in packing ESM information request. 7 years ago
Pedro Alvarez 39e34a7bf9 Starting to send ESM information request msg when required. 7 years ago
Pedro Alvarez 0884d35378 added replayed GRPS security capabilities. Moto G4 sends security mode complete. 7 years ago
Pedro Alvarez 9d88d2b78f Addind replayed UE security capabilities. 7 years ago
Pedro Alvarez 9a0b883296 Added XOR support the the HSS. 7 years ago
Pedro Alvarez aef328d68b Added the ability to the HSS to be configured through a .csv. 7 years ago
Pedro Alvarez c183ac509d Fixed endianess bug of S-GW address sent to eNB. S-GW now receives upstream user traffic. Starting to strip the gtp-u header. 7 years ago
Pedro Alvarez 2b7bd546bc Able to find eNB F-TEID from destination IP. Starting to add the GTP-U header to the packet. 7 years ago
Pedro Alvarez d18ff13d27 Modify Bearer response parsed ok. Starting to setup the user-plane tunnels 7 years ago
Pedro Alvarez 04d67509cf Getting all information necessary at the SP-GW to setup the user tunnels from the modify bearer response. 7 years ago
Pedro Alvarez d972549124 Starting to create structure for modify bearer response 7 years ago
Pedro Alvarez 489865fa22 Starting to parse Modify Bearer Request at the S-GW. 7 years ago
Pedro Alvarez 9f994dba04 Starting to generate modify bearer request. Fixed bug in unpacking activate default bearer accept. 7 years ago
Pedro Alvarez 8becf4ab23 Unpacking Activate EPS Bearer Context Accept. 7 years ago
Pedro Alvarez b2826402b9 Continuing to parse intial context setup 7 years ago
Pedro Alvarez c4c0a61d3c Continuing to work on context setup response. 7 years ago
Pedro Alvarez 0a36f00d2e Starting to decode initial context setup response. 7 years ago
Pedro Alvarez 47576aced1 Starting to add Init Context Setup Response Parsing. 7 years ago
Pedro Alvarez f71c87d895 Starting to add attach accept and activate default bearer request NAS messages. 7 years ago
Pedro Alvarez 13595ccb2d Added logging to MME GTP-C. Fixed weird comment bug. 7 years ago
Pedro Alvarez 425f5d22b5 Starting to send Initial Context Setup Request to eNB. 7 years ago
Pedro Alvarez 103361deb9 Fixed SPGW initialization bug. 7 years ago
Pedro Alvarez 5bd630ad15 Finalizing Context setup request. Compiling now. 7 years ago
Pedro Alvarez 6cd055e80e Continuing to work on initial context setup request. 7 years ago
Pedro Alvarez fd6baaf15c Changed S1AP to singleton. Continuing to work on the intial context setup request. Added a TEID to MME_UE_S1AP_ID map. 7 years ago
Pedro Alvarez 3c839c1c9b Starting to create Initial Context Setup request message. 7 years ago
Pedro Alvarez ee21a277e5 Added PAA information in the create session response. 7 years ago
Pedro Alvarez d76daf3db5 Added GTP-C cause value enum. 7 years ago
Pedro Alvarez 2e6050bf38 Started to fill in the necessary information for the create session response. 7 years ago
Pedro Alvarez 2172662388 Added initial create session response structure. Compiling now. 7 years ago
Pedro Alvarez ccbeb9e1c5 Fixed a bunch of compilation errors. 7 years ago
Pedro Alvarez a8a370ec21 Starting to add Create Session Request function 7 years ago
Pedro Alvarez 606520d244 Added a TUN interface for the SGi and a socket to receive packets from the S1-U. Select is able choose the fd that needs to be read from. 7 years ago
Pedro Alvarez 796fba6f55 Adding socket for S1-U interface. 7 years ago
Pedro Alvarez f9b2c6434a Added TUN SGi interface to SP-GW. 7 years ago
Pedro Alvarez eac3ee26c1 Starting to add TUN if for SGi interface 7 years ago
Pedro Alvarez b6d0fcfdbe Renamed s-gw to sp-gw. 7 years ago
Pedro Alvarez 042cabc8a0 Starting to add S-GW 7 years ago
Pedro Alvarez f908439ed4 Added the Authentication reject nas message. 7 years ago
Pedro Alvarez 150a747181 Handling UE Context release to cleanup UE context. 7 years ago
Pedro Alvarez 1f52d1741c Added the mechanisms to remove UE's context when the eNB is terminated. 7 years ago
Pedro Alvarez 87b775d94b Added functionallity to delete eNB context when SCTP session is terminated. 7 years ago
Pedro Alvarez c049069346 Added a function to handle the security mode complete. 7 years ago
Pedro Alvarez a77308b4b8 Starting to add a function to parse security command complete. 7 years ago
Pedro Alvarez 468b0f2581 Fixed some issues with the MME and HSS logging. 7 years ago
Pedro Alvarez 1621b6e93a Starting to integrity protect NAS messages. UE accepted security command reques, starting to parse security command complete. 7 years ago
Pedro Alvarez dc107edd41 Continue to pack security mode command 7 years ago
Pedro Alvarez 44a28b3302 Starting to save UE context. 7 years ago
Pedro Alvarez 9170f5c4cf Starting to parse UL NAS Transport 7 years ago
Pedro Alvarez 5b5c65435d Fixed bug in the packing of the dw nas message. UE receives the authentication request message now. 7 years ago
Pedro Alvarez 961e0fc68d Cleaning up the code 7 years ago
Pedro Alvarez fae584dc91 Packed authentication request message. Code needs cleanup and testing. 7 years ago
Pedro Alvarez 7737acb970 Starting to fill the Attach Request message. 7 years ago
Pedro Alvarez 9c54a8b7de Initial code to generate Kasme, rand, autn and xres 7 years ago
Pedro Alvarez 470c815196 Generating RAND 7 years ago
Pedro Alvarez 1a8a2f738b Starting to add SQN generation. 7 years ago
Pedro Alvarez 81827f891b Decoding correctly the NAS Attach request message now. 7 years ago
Pedro Alvarez ae18da83b2 Starting to add functions to the HSS to get K, AMF and OP. 7 years ago
Pedro Alvarez efe258fb6f Starting to get the IMSI from the attach request. 7 years ago
Pedro Alvarez ef73254707 Added new HSS class to compute the authentication vectors. 7 years ago
Pedro Alvarez 70f3bcaeba Starting to parse NAS Attach Request message to get IMSI 7 years ago
Pedro Alvarez 841f38fac0 Starting to save eNB context 7 years ago
Pedro Alvarez 17ffc1f4bb Added a file for common S1AP structs 7 years ago
Pedro Alvarez bfb7f12298 Fixed small bug with sleep. 7 years ago
Pedro Alvarez 0dbddb8a4b Finished separating the pack/unpack from the main S1AP class. 7 years ago
Pedro Alvarez f73d295ae0 Separating msg packing from the main S1AP class. 7 years ago
Pedro Alvarez d8436ea2fc A bit of code cleanup 7 years ago
Pedro Alvarez 4f6fafb66d General code cleanup 7 years ago
Pedro Alvarez 26f03a49f3 Intial code for S1 setup response 7 years ago
Pedro Alvarez 2bfb008bd2 MME now replies with S1 Setup falure. 7 years ago
Pedro Alvarez 5aa91483c5 Done decoding of s1 Setup message. Starting to store context and prepare a reply. 7 years ago
Pedro Alvarez 41aafbc9c8 Added initial ability to parse the S1 setup request. 7 years ago
Pedro Alvarez ca212db4c9 Adding argument parsing to main.cc 7 years ago
Pedro Alvarez 0a670d526a Added some logging functionality. 7 years ago
Pedro Alvarez f93335fa50 Fixed bug of not subscribing to sctp_data_io_event 7 years ago
Pedro Alvarez 396335afee Added initial mechanisms to receive msgs from eNB. 7 years ago
Pedro Alvarez 58b5831009 Starting to create SCTP socket for S1APP 7 years ago
Pedro Alvarez 429c32cd5a Added initial app to run MME. Starting to add S1APP class. 7 years ago
Pedro Alvarez 136e3a2697 Added some boieler plate code for the MME (contruct, singleton, destruct). 7 years ago
Pedro Alvarez b561dfa087 Initial skeleton of the code. 7 years ago
Pedro Alvarez 5c0e2ee32e Starting to add CMake support 7 years ago
Pedro Alvarez 3e5e244440 Changing CMakeLists to compile EPC 7 years ago