Commit Graph

1198 Commits

Author SHA1 Message Date
Sukchan Lee fbc73230b0 enb_ue assertion is fixed (#198) 2019-06-15 00:11:30 +09:00
Sukchan Lee 55164b4a1f Turn on SCTP_NODELAY (#198) 2019-06-15 00:03:05 +09:00
Sukchan Lee c52cf33c3c fix the bug (#195) 2019-06-14 18:10:59 +09:00
Sukchan Lee eb0d8075ef Continue to fix the crash error (#195) 2019-06-14 17:04:04 +09:00
Sukchan Lee d3476eca6d Fix PCRF Session Control (#195)
- If PCRF Session is NULL and CC-Request-Type is Terminate,
   the result code is DIAMETER_UNKNOWN_SESSION_ID
2019-06-14 16:55:16 +09:00
Sukchan Lee 9e3ebf9a16 fix the bug (#195), But more work is needed 2019-06-14 14:24:17 +09:00
Sukchan Lee 88217ff11e test framework for crash 2019-06-13 18:22:34 +09:00
Sukchan Lee 22c3d66bc3 More log for analyzing #195 2019-06-11 23:20:49 +09:00
Sukchan Lee f28f3003c5 change code indentation 2019-06-11 23:16:54 +09:00
Sukchan Lee c530e1cbcf Fix the bug (#194) 2019-06-11 22:39:23 +09:00
Sukchan Lee 3c61858f21 add missing file 2019-06-11 22:21:45 +09:00
Sukchan Lee 477f16ad0b rename project done 2019-06-11 22:10:47 +09:00
Sukchan Lee a32465ed07 Rename library 2019-06-11 18:28:25 +09:00
Sukchan Lee 57af70fab9 refine GTP interface (#190) 2019-06-09 00:50:02 +09:00
Sukchan Lee 71f1b1cfa4 SGW packet buffer is changed to 65536 2019-06-09 00:03:53 +09:00
Sukchan Lee 60dc4402c6 gtp_path interface changes 2019-06-08 23:42:12 +09:00
Sukchan Lee d4f00da662 continue to add a buffer configuration 2019-06-08 08:44:22 +09:00
Sukchan Lee 0ff388fb19 apply configuration related to MAX number 2019-06-07 15:19:09 +09:00
Sukchan Lee ca742661f6 Add configuration related to memory support (#190) 2019-06-07 11:56:37 +09:00
Sukchan Lee 4fc1e0e22c VLR configuration done 2019-06-05 22:23:45 +09:00
Sukchan Lee d41ce4d8b1 ogs_socknode_new() interface changed 2019-06-05 22:07:37 +09:00
Sukchan Lee 8dc5211448 update it 2019-06-05 21:21:19 +09:00
Sukchan Lee 24da20bdc8 GTP interface changes 2019-06-05 21:13:18 +09:00
Sukchan Lee 70b2e51f79 Merge branch 'master' of https://github.com/open5gs/nextepc 2019-06-04 21:01:45 +09:00
Sukchan Lee 9e4d3cb824 add enb IP address to the log message 2019-06-04 21:01:23 +09:00
Sukchan Lee 10675caf89 Add SGsAP configuration 2019-06-02 21:55:24 +09:00
Sukchan Lee fb1908410e rename s1ap filename 2019-06-02 11:35:44 +09:00
Sukchan Lee 29a50892b5 Let me introduce SGSAP configuration 2019-06-02 11:09:01 +09:00
Sukchan Lee 681a7c87a4 usrsctp done 2019-06-01 21:30:13 +09:00
Sukchan Lee 85bedf1e35 this project is done 2019-06-01 19:04:34 +09:00
Sukchan Lee 8f8caf5177 remove USRSCTP macro in mme context 2019-06-01 09:57:29 +00:00
Sukchan Lee 756859d05c rename filename for s1ap-path 2019-06-01 09:52:38 +00:00
Sukchan Lee d4023da087 continue to refine 2019-06-01 09:43:33 +00:00
Sukchan Lee f384bdef3d fix the linux 2019-06-01 09:33:42 +00:00
Sukchan Lee 4cdc891898 rename source code 2019-06-01 18:20:02 +09:00
Sukchan Lee 7abd6b5ab9 continue to integrate MaxOSX 2019-06-01 18:19:00 +09:00
Sukchan Lee 8a7634d00c the MacOSX porting 2019-06-01 18:06:47 +09:00
Sukchan Lee 282936f215 support usrsctp 2019-06-01 16:59:38 +09:00
Sukchan Lee 60bfaa2c41 fix to compile MacOSX 2019-06-01 08:38:57 +09:00
Sukchan Lee 32c9c512d8 socknode includes pollset 2019-05-31 23:22:22 +09:00
Sukchan Lee 163bc4a040 update it 2019-05-31 13:55:05 +00:00
Sukchan Lee 58faa7bcac apply ogslib changes 2019-05-31 12:05:35 +00:00
Sukchan Lee 61d0573686 ogs_sockopt_t is added 2019-05-31 16:33:09 +09:00
Sukchan Lee f0c84d3037 move s1ap_lksctp to ogs-lksctp 2019-05-31 14:05:45 +09:00
Sukchan Lee 69cfb3280c rename file 2019-05-31 13:58:08 +09:00
Sukchan Lee d597912abb sctp configuration update 2019-05-31 11:34:49 +09:00
Sukchan Lee 34e2b4d44a add sctp configuration interface 2019-05-31 11:20:30 +09:00
Sukchan Lee 241efaf581 Change SCTP interface 2019-05-31 10:18:43 +09:00
Sukchan Lee 335e8513e9 fix the MacOSX 2019-05-30 21:51:25 +09:00
Sukchan Lee 2267a59cc3 UDP interface is changed 2019-05-30 21:14:54 +09:00
Sukchan Lee 550be1cd95 apply ogslib interface changes 2019-05-30 20:14:19 +09:00
Sukchan Lee 338f359285 apply new ogslib interface 2019-05-30 19:58:27 +09:00
Sukchan Lee 3da632dd1e rename sa_family and sin_port 2019-05-30 13:50:53 +09:00
Sukchan Lee 5bca0920b9 update code indentation 2019-05-29 21:27:22 +09:00
Sukchan Lee bd1c505024 apply socknode interface changes 2019-05-29 21:05:42 +09:00
Sukchan Lee 581f4feb97 struct name update 2019-05-28 17:46:19 +09:00
Sukchan Lee 7c1c320141 gtp interface update 2019-05-28 14:47:06 +09:00
Sukchan Lee cdffdcaa78 update it 2019-05-26 15:27:09 +09:00
Sukchan Lee ed803b27cb Update it 2019-05-26 12:57:29 +09:00
Sukchan Lee 314642fe1a Update it 2019-05-26 12:22:43 +09:00
Sukchan Lee d58ddcb3ae Fix the crash error (#187) 2019-05-25 19:39:37 +09:00
Sukchan Lee 0f892f6e84 Support a different APN for each PGW (#183) 2019-05-19 00:24:15 +09:00
Sukchan Lee bc180c3ffc Improve sanity check for queue-push fail 2019-05-06 23:13:26 +09:00
Sukchan Lee 2d7438313d Change initialization sequence 2019-05-06 20:43:50 +09:00
Sukchan Lee bb67705a66 BUGFIX: if SCTP uses SEQPACKET, sock should not use hash key. 2019-05-06 19:22:43 +09:00
Sukchan Lee f097364d52 Merge branch 'master' of https://github.com/open5gs/nextepc 2019-05-03 12:43:17 +00:00
Sukchan Lee 0992fbe7f3 Fix the bug of segmentation fault in test program (#175) 2019-05-03 12:41:57 +00:00
medeiros405 2ef9718209 Change in the Log about the address use for the UE. 2019-05-02 21:40:10 -03:00
Sukchan Lee 49adabdc70 Fix the compile error for CentOS (#175) 2019-04-30 21:22:35 +00:00
Sukchan Lee ce2590d6fc fix the warning 2019-04-30 00:04:43 +09:00
Sukchan Lee 0ebd85f364 Integration with OGSLib 2019-04-27 23:54:30 +09:00
Juuso Haavisto 9919e7dc86
typo: trace log message on s11 2019-04-18 20:10:18 +03:00
Sukchan Lee 6bd8411fc1 Add log message if EIA0 is used (#167) 2019-04-02 11:11:24 +09:00
Sukchan Lee 8fea12643a nas_plmn_id_t structure for NAS message. (#166)
/**********************************
 * NAS PLMN_ID Structure             */
typedef struct _nas_plmn_id_t {
ED2(uint8_t mcc2:4;,
    uint8_t mcc1:4;)
ED2(uint8_t mnc3:4;,
    uint8_t mcc3:4;)
ED2(uint8_t mnc2:4;,
    uint8_t mnc1:4;)
} __attribute__ ((packed)) nas_plmn_id_t;

/**********************************
 * PLMN_ID Structure             */
typedef struct _plmn_id_t {
ED2(c_uint8_t mcc2:4;,
    c_uint8_t mcc1:4;)
ED2(c_uint8_t mnc1:4;,
    c_uint8_t mcc3:4;)
ED2(c_uint8_t mnc3:4;,
    c_uint8_t mnc2:4;)
} __attribute__ ((packed)) plmn_id_t;
2019-03-31 14:26:18 +09:00
Sukchan Lee 58bcda332b Set ENB-ID to zero in S1AP message. (#156) 2019-03-10 10:32:26 +09:00
Sukchan Lee 8cb620e477 refine exit routine for nextepc-epcd 2019-03-03 21:11:50 +09:00
Sukchan Lee 5cac796e46 Support 4-byte RES in auth (#147) 2019-02-07 20:53:01 +09:00
Sukchan Lee 8c68560ccd fix the timezone in EMM & GTP encoding 2019-01-20 15:36:11 +09:00
EugeneBogush f753d38338
maybe this more logically? 2018-12-04 18:00:46 +02:00
Bi-Ruei, Chiu 3427835ecc Add missing C namespace 2018-10-12 14:59:30 +08:00
Sukchan Lee f5599896ff SGW selection mode is added (#100) 2018-09-23 14:29:19 +09:00
Sukchan Lee aea1d83026 Create mme_sgw_t and mme_pgw_t for configuration (#100) 2018-09-23 13:16:40 +09:00
Jihoon Brandon Lee 3dc2d396db S1AP PWS(public warning system) support
S1AP Write Replace Warning Request/Response
S1AP Kill Request/Response
CBC integration (SBc-AP) is required to initiate a PWS procedure.
2018-09-13 20:38:33 -06:00
Sukchan Lee 0e7cf76f8a Change directory src/app to src/common 2018-08-14 17:28:22 +09:00
Sukchan Lee 0ce11e3a7c Remove 'app_name' global variable 2018-08-14 17:01:46 +09:00
Sukchan Lee 295213dd62 Add Attach-Request handler in all EMM state.
If signal is low, UE cannot send an appropriate NAS message.

In this case, the eNB either sends a NASNonDelivery message or
sends the message back according to UE's NAS timer.

At this point, NextEPC did not implement NAS-Specification exactly. The
NASNonDelivery message will be ignored, and a timer of NAS is not yet in
need.

However, since necessary to recover, it is now implemented to
accept an Attach Request in all EMM state. The other features will be
added later if we decide that it is really necessary.
2018-08-11 12:27:50 +09:00
Sukchan Lee 51b07a496e Show reason string for YAML parser error (#40) 2018-07-23 20:28:38 +09:00
Sukchan Lee b2f957dc8e fix the compiler error in the mongo-c-driver 1.11 2018-06-23 21:14:03 +09:00
Sukchan Lee 71c7508047 Merge branch 'master' of https://github.com/acetcom/nextepc 2018-06-20 17:57:17 +09:00
Sukchan Lee bc87fc9c18 remove unnecessary code 2018-06-20 17:57:02 +09:00
Sukchan Lee 50fdf5474f Add log for UE IP (#71) 2018-06-19 22:43:13 +09:00
Sukchan Lee 9d8695fa31 Update logging message 2018-05-31 09:40:34 +09:00
Sukchan Lee 9415f5215c Fix SCTP for Mac OS X 2018-05-30 22:17:46 +09:00
Sukchan Lee 8c674aa134 Update logging 2018-05-30 21:58:10 +09:00
Sukchan Lee 3b9b1108b1 Configure Outbound streams on SCTP_COMM_UP 2018-05-30 21:49:17 +09:00
Sukchan Lee 9aed43075c SCTP recv interface will be changed. (Progressing...) 2018-05-30 17:45:14 +09:00
Sukchan Lee 2fb37ad797 Change the assert to warning
- When UEContextReleaseComplete is received,
    It could be unknown MME-UE-S1AP-ID.
- So, we change the log from assert to warning
2018-05-23 20:40:46 +09:00
Sukchan Lee ffa6c2c15b Fix the bug of invalid TAU update result.
- MME should set TAU update result in TAU accept message. TAU udpate
result should be derived from TAU request message.
2018-05-22 19:21:34 +09:00
Sukchan Lee c906b243a2 fix the encryption bug 2018-05-22 17:39:43 +09:00
Sukchan Lee 056fc43d34 Fix the bug for EIA2 (#64) 2018-05-22 11:31:09 +09:00