Commit Graph

554 Commits

Author SHA1 Message Date
Sukchan Lee 1ca32de2c9 missing files 2017-08-10 17:02:53 +09:00
Sukchan Lee 97f629da14 under re-archi 2017-08-10 17:02:07 +09:00
Sukchan Lee 1de4e8d446 temporal update 2017-08-10 16:47:18 +09:00
Sukchan Lee 682eee215b fix the bug for delete session response 2017-08-10 10:01:50 +09:00
Sukchan Lee feea703894 remove all local event. 2017-08-10 00:41:09 +09:00
Sukchan Lee 69607fbbb4 under re-architecturing 2017-08-09 20:49:18 +09:00
Sukchan Lee e6e2183801 Add Diameter Error if IMSI is not found 2017-08-09 14:48:44 +09:00
Sukchan Lee d8fad33169 update it 2017-08-09 12:52:11 +09:00
Sukchan Lee fa32845647 fix the bug for searching unknown IMSI in DB 2017-08-09 12:42:17 +09:00
Sukchan Lee ad8b7208b2 Merge branch 'master' of https://github.com/acetcom/cellwire 2017-08-09 11:12:49 +09:00
James Park 5db7686c3d Fix leak : Releae the memory of UeCapaiblity if exists before allocating
the new one
2017-08-08 14:45:52 -07:00
James Park 7243966cc4 Save UeRadioCapability into mme_ue.
The saved information will be used when transmitting
InitialContextSetupReq
2017-08-08 12:01:08 -07:00
Sukchan Lee 574a229e42 Experimental-Result is added in FD library.
if IMSI is not found, we need to add the Experimental-Result-Code
2017-08-08 23:45:11 +09:00
James Park d3cdbac70d Retransmit paging if UE is not paged. 2017-08-07 15:58:13 -07:00
James Park f2a1bbeca1 Merge branch 'master' of https://github.com/acetcom/cellwire 2017-08-07 09:42:48 -07:00
James Park d0ed784fa8 Buffer the packets if UE is Idle.
Send the buffered packets first before sending the packet from PGW.
2017-08-07 09:42:03 -07:00
Sukchan Lee cb2f88310a use fd debug routine instead of core debug 2017-08-05 22:06:58 +09:00
Sukchan Lee 511382b5a8 update it 2017-08-05 17:57:29 +09:00
Sukchan Lee 72aa1b7eef use freeDiameter Library CHECK_FCT instead of d_assert 2017-08-05 17:29:35 +09:00
Sukchan Lee 27e9a8e7da name changes 2017-08-05 16:07:52 +09:00
Sukchan Lee 262cc871da conf name changes..
TRACE_LEVEL.S6A -> TRACE_LEVEL.FD
2017-08-05 14:37:53 +09:00
Sukchan Lee 63d29714e2 libs6a -> libfd for adding other interface such as Gx 2017-08-05 14:23:37 +09:00
James Park 66ab5a8ca8 Add missing reset routine to re-send dl_notification message 2017-08-04 15:03:27 -07:00
James Park 8905728287 Merge branch 'master' of https://github.com/acetcom/cellwire 2017-08-04 14:36:09 -07:00
James Park 790885e426 Send S1AP_Paging after receving downlink data notification 2017-08-04 14:34:52 -07:00
Sukchan Lee 69d3d4ac3f update it 2017-08-04 21:59:02 +09:00
Sukchan Lee 16c14e1a58 update it 2017-08-04 21:55:58 +09:00
Sukchan Lee 772aefec7d initial routine re-architecture to remove memory leak and improve
stability
2017-08-04 21:29:49 +09:00
Sukchan Lee 08f260f6d9 Logger changes from process to thread 2017-08-04 18:02:19 +09:00
Sukchan Lee 9a91870324 add memory check tool 2017-08-04 12:06:56 +09:00
Sukchan Lee d1d223b815 fix the memory leak for proc library 2017-08-03 23:54:36 +09:00
Sukchan Lee 8e2897ab44 fix the bug.. missing break in switch 2017-08-03 19:58:03 +09:00
Sukchan Lee 59999dcb4f add HIDDEN configuration for developer.
...
    GTP: 1,
    OTHERS: 1,
  }

  HIDDEN:
  {
    DISABLE_HSS: 0,
    DISABLE_SGW: 0,
    DISABLE_PGW: 0,
  }

  HSS :
  {

if epcd or testepc, DISABLE_HSS/SGW/PGW is applied.
2017-08-03 19:50:20 +09:00
Sukchan Lee 346570d47d fix the bug 2017-08-03 12:44:41 +09:00
Sukchan Lee cf766cffb5 add log information when initialize routine has an error 2017-08-03 10:31:18 +09:00
James Park 420953fa32 Update downlink data notification 2017-08-02 17:32:50 -07:00
James Park 55c3d5e92e Implement downlink data notfication(Not tested yet) 2017-08-02 16:18:19 -07:00
Sukchan Lee 18739296fa initialize/terminate done..
let me know if you have found zombie process.
2017-08-03 00:11:09 +09:00
Sukchan Lee 8fdb177c04 mostly done..initialize/terminate.
more test is needed.
2017-08-02 23:03:34 +09:00
Sukchan Lee 484b4ff024 fix the logger bug 2017-08-02 22:24:41 +09:00
Sukchan Lee fae9cad5dc update it 2017-08-02 21:11:22 +09:00
Sukchan Lee 4c124cb540 update trace code 2017-08-02 19:33:57 +09:00
Sukchan Lee bcbb08acf5 fix the testcode bug
Previously, test code could be executed although HSS-MME is not
connected.
As such, I've fixed test code is executed right after HSS-MME is connected
2017-08-02 19:15:30 +09:00
Sukchan Lee 432626628c add s6a trace for message context
And this is a changed.
  TRACE.CONTEXT, TRACE.SM is removed in configuration files
  TRACE.OTHERS is added

See the support/nextepc.conf.in

Even though, you don't have to apply this changes to your current
configuration. TRACE.CONTEXT/SM/OTHERS will be ignored.
2017-08-02 15:11:08 +09:00
Sukchan Lee 4496998fd3 remove mme_kdf_enb in auth response 2017-08-02 09:17:55 +09:00
James Park 60166055f6 - Update Kenb when required(after NAS SMC and after Attach req if
security_ctx avilable)
- attach & detach & attach : Passed
- attach & idel & ServiceRequest : Passed
2017-08-01 15:17:12 -07:00
Sukchan Lee 67003aef5a add S6A_TLS_PORT 2017-08-02 02:16:30 +09:00
Sukchan Lee 91f1d9adc5 add NAS trace message 2017-08-01 11:34:15 +09:00
Sukchan Lee d30591cbd7 add NAS message trace 2017-07-31 23:27:14 +09:00
Sukchan Lee 873f2bdb95 add S1AP encoding/decoding trace 2017-07-31 23:12:13 +09:00
Sukchan Lee f7ec3c7c6e Configuration for TRACE is added 2017-07-31 22:35:25 +09:00
Sukchan Lee 2749a864ab refine intiialization routine to remove zombie process 2017-07-31 00:02:04 +09:00
Sukchan Lee a30bfa7321 HSS IP address is added. 10.1.35.214.
You need to add ip alias for HSS
2017-07-30 23:08:10 +09:00
Sukchan Lee abf87a0673 intermediate 2017-07-30 22:29:27 +09:00
Sukchan Lee 0c6abd3501 clarify code for checking security context 2017-07-30 18:38:37 +09:00
Sukchan Lee bd6777f7b0 remove mme_assoicate_ue_context in emm_handler
becuase I think jinyoung's previous modification for
mme_assoicate_ue_context is more proper location.
2017-07-30 18:13:18 +09:00
James Park abb15dabaf Add missing assigment and fix compile error 2017-07-28 17:44:13 -07:00
Sukchan Lee d3234014f7 IP Pool is allocated per PDN 2017-07-29 00:53:54 +09:00
Sukchan Lee 498224b677 Attach Request Integrity Check is performed after NAS message decoded 2017-07-29 00:21:04 +09:00
Sukchan Lee 6a6e1a59ab update it 2017-07-28 23:20:09 +09:00
Sukchan Lee eee1537f5f update it 2017-07-28 23:07:57 +09:00
Sukchan Lee 916d8032dc most function is implemeted related Attach Request
Except ATTACH_REQEST integrity check after NAS_Decode
2017-07-28 14:19:43 +09:00
Sukchan Lee 0315c6d109 update it 2017-07-28 14:06:40 +09:00
Sukchan Lee 63cfc93819 GUTI handler is added 2017-07-28 12:48:49 +09:00
Sukchan Lee 6fae40a118 add session checking interface 2017-07-28 11:37:19 +09:00
Sukchan Lee 345ef20934 intermediate..
We should decode NAS message, and then integrity is checked later.
Because, To get MME UE Context, at first, we need to know GUTI in NAS
message.
if S-TMSI is not available.. Sigh!

if NAS is ciphered, The seqence are 'Decrypt->Decode->Integrity Check'
if NAS is not cihpered, The sequence are 'Decode->Integrity Check'
2017-07-27 21:50:55 +09:00
Sukchan Lee 4d4621d9a4 fix the memory leak 2017-07-26 23:33:46 +09:00
Sukchan Lee 773d31a17e auth process skip routine is added 2017-07-26 23:27:03 +09:00
Sukchan Lee 6d8af29f6e intermidiate..spec study is needed 2017-07-26 21:58:14 +09:00
Sukchan Lee 26749de828 Save NAS decoded message instead of message type 2017-07-26 19:40:52 +09:00
Sukchan Lee 62935bd625 detach done 2017-07-26 17:55:53 +09:00
Sukchan Lee 8c157dec08 detach request is done 2017-07-26 14:18:28 +09:00
Sukchan Lee 67630336cd UE initiated idle-mode done 2017-07-26 11:28:43 +09:00
Sukchan Lee 3f22f4f666 add servce_request handler in EMM module 2017-07-26 00:22:20 +09:00
Sukchan Lee d8646e10a0 test code is added 2017-07-25 23:42:16 +09:00
Sukchan Lee 6784ddd611 Service Request is added 2017-07-25 23:29:02 +09:00
Sukchan Lee b302928bf3 ue context release implemented for idle-mode 2017-07-25 21:15:25 +09:00
James Park 167c56fc0d Find mme_ue by s_tmsi which included in InitialUe_message
Add handler of uecontext_release_request
2017-07-24 17:03:20 -07:00
Sukchan Lee 621ffb0cf0 fix the compile error and failure in executing './test/testepc' regression test 2017-07-24 19:44:53 +09:00
Brandon 400481d799 DETACH (not completed) 2017-07-24 18:03:51 +09:00
Sukchan Lee 42050e8b35 add comment 2017-07-23 16:35:01 +09:00
Sukchan Lee 9b1e9834dd mme_ue_set_imsi function includes GUTI generation 2017-07-23 16:26:40 +09:00
Sukchan Lee 094a5c051d GUTI is added 2017-07-23 12:25:01 +09:00
Sukchan Lee c96d19ffce fix the BUG, see the hash usage for mme_ue->imsi 2017-07-22 15:13:44 +09:00
Sukchan Lee 85801b6aef porting to linux 2017-07-22 13:05:43 +09:00
Sukchan Lee 911743044e Merge branch 'master' of https://github.com/acetcom/cellwire 2017-07-22 10:52:43 +09:00
Sukchan Lee 3f08900a6b db lock is added 2017-07-22 10:52:13 +09:00
Sukchan Lee e15348b089 done DB integration 2017-07-22 10:26:08 +09:00
Sukchan Lee 582c07d3e1 update it 2017-07-22 09:44:42 +09:00
Sukchan Lee 8e72d3af1d update it 2017-07-22 02:18:53 +09:00
James Park 7f39ebc491 Merge branch 'master' of https://github.com/acetcom/cellwire 2017-07-21 10:18:36 -07:00
James Park bea13d81c0 Save imsi to mme_ue context 2017-07-21 10:17:51 -07:00
Sukchan Lee 5d433a13ec update it 2017-07-22 01:01:54 +09:00
Sukchan Lee 49aa7d3a13 update it 2017-07-22 00:25:52 +09:00
Sukchan Lee 753d714695 update it 2017-07-21 22:01:15 +09:00
Sukchan Lee cc8edc0c7a update it 2017-07-21 20:28:33 +09:00
Sukchan Lee e12e6e4f6a update it 2017-07-21 17:38:25 +09:00
Sukchan Lee c547d7ce5b add mongo DB client 2017-07-20 23:07:37 +09:00
Sukchan Lee 54301bce3e tunnel dev name is added in configuration 2017-07-18 16:27:22 +09:00
Sukchan Lee ed0ea2f214 ip pool is implemented 2017-07-18 16:15:28 +09:00
Sukchan Lee 09f89d935d pgw config is added 2017-07-17 19:04:10 +09:00
Sukchan Lee f812f6038d update it 2017-07-15 06:58:14 +09:00
Sukchan Lee d1c93ae6dd update it 2017-07-15 01:00:49 +09:00
Sukchan Lee c5eeffae47 update it 2017-07-15 00:27:22 +09:00
Sukchan Lee 70dc633a96 update it 2017-07-15 00:00:08 +09:00
Sukchan Lee 5147afd39e update it 2017-07-14 22:03:10 +09:00
Sukchan Lee 90c36c1b3f update it 2017-07-14 21:46:08 +09:00
Sukchan Lee 6e79a65ff4 update it 2017-07-14 21:39:21 +09:00
Sukchan Lee 01509f1ff6 update it 2017-07-14 21:35:24 +09:00
Sukchan Lee df371f3b66 update it 2017-07-14 20:46:15 +09:00
Sukchan Lee 1fe12dae1c update it 2017-07-14 20:04:11 +09:00
Sukchan Lee 020602b42d update it 2017-07-14 19:00:26 +09:00
Sukchan Lee a7cd93f39e update it 2017-07-13 14:12:30 +09:00
Sukchan Lee 6a98afbb1a update it 2017-07-13 13:36:16 +09:00
Sukchan Lee e9cee2b420 update it 2017-07-13 10:31:07 +09:00
Sukchan Lee 24200585c1 update it 2017-07-12 23:47:46 +09:00
Sukchan Lee a9c3e2f8ad update it 2017-07-12 23:41:43 +09:00
Sukchan Lee aea8814bdb add config library : jsmn 2017-07-12 21:25:10 +09:00
Sukchan Lee 5fe3a0fcfb update it 2017-07-11 23:38:52 +09:00
Sukchan Lee e8bd501165 mmed/hssd/sgwd/pgwd daemon created 2017-07-11 19:16:45 +09:00
Sukchan Lee 12d7ae238f update it 2017-07-11 18:44:59 +09:00
Sukchan Lee c70eb89a24 update it 2017-07-11 18:44:25 +09:00
Sukchan Lee 62950382ae update it 2017-07-11 14:16:15 +09:00
Sukchan Lee 2f4a8b4d63 cellwire -> nextepc 2017-07-10 14:33:46 +09:00
Sukchan Lee 57d94969bf Merge branch 'master' of https://github.com/acetcom/cellwire 2017-04-28 16:12:18 +09:00
Sukchan Lee 6a68eaac02 change vairable name from 'ue' to 'enb_ue or mme_ue' 2017-04-28 16:11:45 +09:00
James Park 300378d965 Merge branch 'master' of https://github.com/acetcom/cellwire 2017-04-28 15:34:44 +09:00
James Park 6cffc8a407 Add the functions which search mme_ue by imsi or guti 2017-04-28 15:33:40 +09:00
Brandon 141d241411 Merge branch 'master' of https://github.com/acetcom/cellwire 2017-04-28 15:30:28 +09:00
Brandon 0e410f5620 added missing IE for S11 delete session request 2017-04-28 15:30:04 +09:00
James Park 129f484394 add last mac verfication state 2017-04-28 15:01:43 +09:00
James Park 62935aac2c Merge branch 'master' of https://github.com/acetcom/cellwire
Conflicts:
	src/mme/emm_handler.c
	src/mme/emm_handler.h
2017-04-28 14:56:47 +09:00
James Park 2939cf1349 Merge branch 'master' of https://github.com/acetcom/cellwire
Conflicts:
	src/mme/mme_context.c
	src/mme/mme_context.h
	src/mme/s1ap_handler.c
2017-04-28 14:43:04 +09:00
Sukchan Lee 337dccff45 change the name mme_bearer_first to mme_default_bearer_in_sess 2017-04-28 14:08:43 +09:00
Brandon 59df4625f8 Merge branch 'master' of https://github.com/acetcom/cellwire
Conflicts:
	src/mme/mme_context.h
2017-04-28 13:50:40 +09:00
Brandon 846f356322 implement detach process
- mme done including emm, esm, and s1ap
   - sgw/pgw are not finished
   - exception processing is further needed.
2017-04-28 13:46:16 +09:00
James Park 65b5378c91 Split ue_context into two context(enb_ue_t, mme_ue_t) 2017-04-28 13:43:42 +09:00
Sukchan Lee 7fe75bd6af add timer example code 2017-04-28 12:39:14 +09:00
Brandon 707c4f4cad Merge branch 'master' of https://github.com/acetcom/cellwire
Conflicts:
	src/mme/mme_s11_handler.h
2017-04-28 11:23:35 +09:00
Brandon a21cb41c7a temporal commit for deleting s11 session 2017-04-28 11:20:09 +09:00
Sukchan Lee f5fdbb093b add default bearer context interface 2017-04-28 08:28:04 +09:00
Sukchan Lee 344188143f add default bearer context when session cotext is added 2017-04-28 08:20:50 +09:00
Sukchan Lee a377aa7c31 mme_sess_t is added 2017-04-27 23:06:10 +09:00
Sukchan Lee d7aa300833 fix the mis-typo from enb to sess 2017-04-27 20:59:25 +09:00
Sukchan Lee 80af1f0413 change detach_type using MACRO from nas_types.h 2017-04-27 12:38:03 +09:00
Brandon 7585b49364 implement ue detach procedure (emm) 2017-04-26 17:57:50 +09:00
Sukchan Lee 880eee1a16 service request message is tested.
You can find the usage nas_message_test8 in test/nas_message_test.c
2017-04-26 12:33:31 +09:00
James Park 62107a1e92 Implement identity_request/response 2017-04-19 14:01:39 +09:00
Sukchan Lee 383f283c31 update INSTALL file 2017-04-18 21:30:21 +09:00
Sukchan Lee 05f74087e0 remove 127.0.0.1
Now, we'll use 10.1.35.x network for loopback test
2017-04-18 21:27:07 +09:00