Commit Graph

537 Commits

Author SHA1 Message Date
James Park 468b3436ec TAU implemented 2017-08-23 16:53:44 -07:00
Sukchan Lee bca462ea85 fix the bug in adding SGW/PGW session
Session should be searched by IMSI+APN when Create Session Request is
received
2017-08-23 16:19:36 +09:00
Sukchan Lee f1a32b1245 fix the bug EBI generator 2017-08-23 14:25:43 +09:00
Sukchan Lee 5106e195cb add volte_test code 2017-08-23 13:27:43 +09:00
Sukchan Lee 0e7196c9c1 GX-CCR message build done 2017-08-23 00:51:57 +09:00
Sukchan Lee 17dc308aa2 change variable name to align database attribute name 2017-08-22 14:07:37 +09:00
Sukchan Lee 40fdcd82fa apply Database changes 2017-08-22 13:47:20 +09:00
Sukchan Lee c922e97520 fix the QoS param bug 2017-08-20 19:04:23 +09:00
Sukchan Lee eb8f9c66ed Fix APN message build/parse bugs 2017-08-19 20:16:00 +09:00
Sukchan Lee 9b523b043f fix the APN bug 2017-08-19 16:49:44 +09:00
Sukchan Lee 3a36d458e5 initial code for CCR/CCA for Diameter Gx 2017-08-19 13:29:09 +09:00
Sukchan Lee 1d32eaead8 update it 2017-08-18 23:54:44 +09:00
Sukchan Lee 94c8c66fe3 update it 2017-08-18 20:43:28 +09:00
Sukchan Lee 7118f5b352 use round-robin for selecting SGW 2017-08-17 14:45:18 +09:00
Sukchan Lee f6636453b6 add initial code for PCRF 2017-08-17 14:15:08 +09:00
Sukchan Lee 64d03a8cf1 remove all local config related freeDiameter 2017-08-17 09:43:33 +09:00
Sukchan Lee d32c4b9743 PGW freeDiameter is added. more test is needed 2017-08-16 23:40:35 +09:00
Sukchan Lee fccfb1aa2b re-archi freediameter 2017-08-16 22:03:36 +09:00
Sukchan Lee 4587288f5d initial code for diameter gx 2017-08-12 21:51:02 +09:00
Sukchan Lee bcf27666a8 pdn re-archi done 2017-08-11 20:58:27 +09:00
Sukchan Lee c9fc1a8769 update it 2017-08-11 20:39:52 +09:00
Sukchan Lee 161a67eb20 update it 2017-08-11 20:25:52 +09:00
Sukchan Lee 114e6927c1 update it 2017-08-11 19:34:27 +09:00
Sukchan Lee 9946846494 update it 2017-08-11 17:16:35 +09:00
Sukchan Lee e52c79fb79 try to remove pdn_t 2017-08-11 16:40:50 +09:00
Sukchan Lee cfffd28893 update it 2017-08-11 15:21:03 +09:00
Sukchan Lee 17b464b4c6 sends release command after attach reject sends 2017-08-11 14:51:05 +09:00
Sukchan Lee b607a1c32c add testcode for attach_reject 2017-08-11 14:14:55 +09:00
Sukchan Lee 7aa1ff55f0 warn -> error for memory pool 2017-08-11 13:11:13 +09:00
Sukchan Lee 2951f3dbb8 Attach Reject is implemented 2017-08-11 12:05:01 +09:00
Sukchan Lee dbbf7de908 fix the bug 2017-08-11 10:17:44 +09:00
Sukchan Lee 193aeaa3bf missing 2017-08-10 17:36:28 +09:00
Sukchan Lee 5179bb9e91 re-archi mostly done 2017-08-10 17:28:03 +09:00
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