Commit Graph

621 Commits

Author SHA1 Message Date
Sukchan Lee 487a4eb155 remove lock in select_loop dispatcher 2017-12-17 10:02:08 +00:00
Sukchan Lee 1131166988 remove sctp warning 2017-12-17 09:40:29 +00:00
Sukchan Lee cc762f3c00 WebUI PGW IP setting is added 2017-12-15 13:47:57 +09:00
Sukchan Lee 94c2c6ca7d message format creation bug is fixed related prefixlen 2017-12-15 09:41:54 +09:00
Sukchan Lee 46c699143a IPv6 Control Plane done 2017-12-14 21:42:19 +09:00
Sukchan Lee cb4893c36b Multiple TAI List done 2017-12-11 16:55:11 +09:00
Sukchan Lee 5551ecf6cd TAI List encoding done in Attach Accept 2017-12-11 16:08:17 +09:00
Sukchan Lee 521d7877b4 Multiple TAI list
Configuration Parer, Message Build is added
2017-12-11 00:01:02 +09:00
Sukchan Lee 178678c216 tai update 2017-12-09 23:25:29 +09:00
Sukchan Lee ce801ee218 `dev` is added in the configuration 2017-12-09 23:07:19 +09:00
Sukchan Lee bd424f3a08 trace update 2017-12-08 14:48:48 +09:00
Sukchan Lee a0599f7c2d S1AP MAC is done 2017-12-08 14:29:35 +09:00
Sukchan Lee 793b06ce33 Mac OS X S1AP improved 2017-12-08 12:43:35 +09:00
Sukchan Lee 44fed77ac4 all address format is changed to support IPv4/IPv6 dual stack 2017-12-07 17:40:15 +09:00
Sukchan Lee ceda682290 intermediate 2017-12-07 17:23:45 +09:00
Sukchan Lee 3e05717180 transport layer convertor is added 2017-12-07 16:51:21 +09:00
Sukchan Lee 6d412139ef update gtp_f_teid_t 2017-12-07 14:48:25 +09:00
Sukchan Lee 48cdb1e390 merge 3gpp library to core library 2017-12-07 14:37:58 +09:00
Sukchan Lee 03a6bb7902 SGW/PGW GTP-U is added 2017-12-07 13:27:17 +09:00
Sukchan Lee 35f35458c7 refine it 2017-12-06 20:44:30 +09:00
Sukchan Lee 82b84d760c refine it 2017-12-06 17:58:38 +09:00
Sukchan Lee 10becbb998 remove reduant variable in the context 2017-12-06 12:28:24 +09:00
Sukchan Lee 1c587edff5 no_ipv4, no_ipv6, prefer_ipv4 is tested 2017-12-06 12:13:56 +09:00
Sukchan Lee 9d3049de00 remove POINTTOPOINT interface in probe ip address 2017-12-05 14:30:09 +00:00
Sukchan Lee a747f91b39 SGW GTP-C server is added 2017-12-05 21:11:36 +09:00
Sukchan Lee a7690e395b refine it 2017-12-05 20:39:15 +09:00
Sukchan Lee c4c03da77f refine 2017-12-05 14:27:24 +09:00
Sukchan Lee 5663cd87c1 SGW GTP-C Client is added 2017-12-05 13:28:34 +09:00
Sukchan Lee fe921e0c2f refine ipv6 2017-12-05 10:50:31 +09:00
Sukchan Lee 63fb6625b3 multiple addresss is added 2017-12-05 00:16:34 +09:00
Sukchan Lee 609aa4558f name changes 2017-12-03 22:25:31 +09:00
Sukchan Lee 97c7ad63b6 fix the PGW peer configuration bug 2017-12-03 21:34:39 +09:00
Sukchan Lee a6d23971cd All MME GTP configuration is done 2017-12-03 17:00:11 +09:00
Sukchan Lee 17b6a013b8 parameter.prefer_ipv4 is implemented 2017-12-03 16:31:53 +09:00
Sukchan Lee f86839eb7b configuration is changed from the discussions 2017-12-03 12:02:56 +09:00
Sukchan Lee 2c00f28b50 MME GTP Client is done 2017-12-02 15:49:03 +09:00
Sukchan Lee ce5b65b4df gtp node is added 2017-12-02 14:17:32 +09:00
Sukchan Lee 4a2604b52c name changes 2017-12-02 10:50:24 +09:00
Sukchan Lee 8add407715 fix the bug 2017-12-02 00:49:58 +09:00
Sukchan Lee c300d2b99a MME GTPC Server done 2017-12-02 00:44:07 +09:00
Sukchan Lee 8287db900c update it 2017-12-01 22:04:51 +09:00
Sukchan Lee 7e0ce073fb mme gtp config is added 2017-12-01 21:47:15 +09:00
Sukchan Lee 5a818eb8cd gtp_node is added 2017-11-30 20:13:15 +09:00
Sukchan Lee d07b8f1e01 fix compile error 2017-11-29 05:58:26 +00:00
Sukchan Lee dd15dacb18 YAML project is done 2017-11-29 14:44:14 +09:00
Sukchan Lee e7d3d2f4da pgw is done 2017-11-29 14:24:55 +09:00
Sukchan Lee 60ac1dbfe6 hss/pcrf/sgw yaml is done 2017-11-29 09:51:34 +09:00
Sukchan Lee 17b360bc18 mme yaml config is done 2017-11-29 09:41:29 +09:00
Sukchan Lee f1ac8b853b continue to parsing YAML 2017-11-29 00:53:21 +09:00
Sukchan Lee e1e907bad7 gummei is finished with YAML 2017-11-29 00:32:46 +09:00
Sukchan Lee c4b86f5ee9 array is added 2017-11-28 13:44:44 +09:00
Sukchan Lee 1528568bb8 update it 2017-11-27 23:53:47 +09:00
Sukchan Lee 0b78387d7f sample code. 2017-11-27 20:23:16 +09:00
Sukchan Lee aaa57d3008 name changes 2017-11-27 15:45:33 +09:00
Sukchan Lee 73fd1a8d99 update it 2017-11-25 14:52:02 +00:00
Sukchan Lee 40c99a8c13 name changes done 2017-11-25 23:41:00 +09:00
Sukchan Lee 1e68d47927 name changes 2017-11-25 23:30:47 +09:00
Sukchan Lee 92fc35861f name changes 2017-11-25 23:28:34 +09:00
Sukchan Lee 7d7e9f154b Mac OS X IPv6 bug is fixed 2017-11-25 09:58:04 +09:00
Sukchan Lee b34d8b931e configuration is updated 2017-11-24 16:08:26 +00:00
Sukchan Lee 61432a3070 mme->s1ap_sock is removed 2017-11-25 00:52:07 +09:00
Sukchan Lee 23fa36bc23 name changes 2017-11-24 15:04:45 +00:00
Sukchan Lee cb63c2b1ea remove mme->s1ap_addr and mme->s1ap_port 2017-11-24 13:02:40 +00:00
Sukchan Lee 7025491846 add sock type in enb context 2017-11-24 10:03:48 +00:00
Sukchan Lee 6412231f29 all remove core_net.h 2017-11-24 11:49:37 +09:00
Sukchan Lee 685272fce8 improve usrsctp 2017-11-23 23:01:49 +09:00
Sukchan Lee 859d6427fd enb->addr is changes to pointer 2017-11-23 21:05:55 +09:00
Sukchan Lee 65fb2d280f enodeb's s1ap_addr types changes from c_uint32_t to c_sockaddr_t 2017-11-23 19:44:49 +09:00
Sukchan Lee 227cae5762 S1AP changes from net_lib to new socket library 2017-11-23 02:53:33 +00:00
Sukchan Lee 2f49e6024d gtp's net_sock_t to sock_id. GTP-U is failed 2017-11-23 00:19:28 +09:00
Sukchan Lee e44e613ff2 s1ap structure changes from net_sock_t to sock_id 2017-11-22 21:50:08 +09:00
Sukchan Lee 38a5ad3c68 remove port from gtp_node_t 2017-11-22 20:35:45 +09:00
Sukchan Lee ce827fe733 change address type from c_uint32_t to c_sockaddr_t 2017-11-22 19:51:06 +09:00
Sukchan Lee 7151a98f41 GTP Peer Node finding method is changed.
Before : received IP address from UDP socket
After : Based on TEID. Initially, finding from Sender F-TEID
2017-11-21 14:52:07 +09:00
Sukchan Lee f839fd93b7 Control Plane and Data Plane Thread is merged to One thread in SGW/PGW
- for protecting context, SGW/PGW is implemented with only one thread.
- In PGW, processing control plane could be delayed +10ms when diameter
thread sends message queue to the PGW control plane.
- In other case, all performance may be same with previous architecture.
2017-11-10 00:38:05 +00:00
Sukchan Lee cd59df5011 just minor update 2017-11-09 14:56:03 +09:00
Sukchan Lee 11df912058 remove jsmn library.
jsmn library is very simple, but it is difficult to handle configuration
josn.
I changed json to libbson library. I think it is more maintainable.
2017-11-09 00:05:18 +09:00
Sukchan Lee 5361934469 change the libbase to lib3gpp 2017-11-07 14:20:35 +00:00
Sukchan Lee 6e00fd349c seperate libbase to the libapp 2017-11-07 14:01:27 +00:00
Sukchan Lee 4ef15728a0 merge libcore/libcoreunix to libcore
merge libfd/libfdx/libfds6a to libfd
2017-11-06 08:32:19 +00:00
Sukchan Lee 5cc56ab353 change shared library 2017-11-05 14:57:19 +00:00
Sukchan Lee c8ec3702d0 update debian rule for override_dh_auto_test
VM(like OBS) may not support SCTP
At this point, I disabled SCTP-needed test code.
2017-10-28 10:09:44 +00:00
Sukchan Lee 32b7183483 thread delete location is changed.
See [the issue discussion](https://github.com/sctplab/usrsctp/issues/179)
2017-10-21 07:34:12 +09:00
Sukchan Lee 2223dfef0e remove hard-corded code 2017-10-20 17:19:27 +09:00
Sukchan Lee 7b046c75b2 add usrsctp_finish 2017-10-20 16:32:57 +09:00
Sukchan Lee c2d962d4d1 rollback privous commit 2017-10-20 15:52:30 +09:00
Sukchan Lee 34270825a7 fix the bug usrsctp_finish() 2017-10-20 15:46:06 +09:00
Sukchan Lee 2a3fe018e8 S1Setup Test is passed in Userland SCTP 2017-10-20 13:18:58 +09:00
Sukchan Lee 36985520f9 send/recv function is tested for only 1 eNB. 2017-10-19 13:42:07 +09:00
Sukchan Lee cca9f6d521 recv function is tested for Userland SCTP library 2017-10-19 12:50:39 +09:00
Sukchan Lee 1df4fc9a41 continue to porting Userland SCTP
connection is done.
will implement send/recv function
2017-10-19 01:09:06 +09:00
Sukchan Lee bb806e492e Finally, I've remove net_sock_t->app_index in core_net.h
Now, we are done to porting SCTP using Userland SCTP
2017-10-18 14:36:12 +09:00
Sukchan Lee c3ffd52771 mme_enb_t context structure is changed using hash table.
I'll remove net_sock_t->app_index if poosible.
2017-10-18 14:05:22 +09:00
Sukchan Lee 3613b27ca7 MME/PGW Configuration is also changed to support One SGW IP assign
Control Plane Test Done.
Data Plan Test is Needed.
2017-10-13 21:31:49 +09:00
Sukchan Lee 5d6e63c20e Reduce SGW IP assign to One.
Initially, I've started to update Control Plane related to this issue.
Context Accessing is re-arraged based Thread for finding GTP Node Context.

[MME]
mme_sgw_t : SM thread(Control-Plane)

[SGW]
sgw_mme_t : Net thread(Data-Plane)
sgw_pgw_t : SM thread(Control-Plane)

[PGW]
pgw_sgw_t : Net thread(Data-Plane)
2017-10-13 14:41:55 +09:00
Sukchan Lee c61a704676 done for freeDiameter using autotools 2017-09-29 10:10:55 +09:00
James Park 87048f7ff4 Update pti of session when received pdn_connectivity_request 2017-09-25 13:59:08 -07:00
Sukchan Lee 673b53ead4 ESM State Machine re-designed for sending ESM information based ESM
trasfer flag
2017-09-24 00:59:51 +09:00
Sukchan Lee 08fe1d64a8 move FSM_TRAN from emm_handler.c to emm_sm.c 2017-09-23 17:17:30 +09:00
Sukchan Lee 51c41df3d1 fix the bug for re-connection
remove S1AP_CLEAR_DATA, NAS_CLEAR_DATA, TLV_CLEAR_DATA
2017-09-23 09:22:36 +09:00
Sukchan Lee 4b359000c0 configuration changed
_ADDR => _IPV4
2017-09-22 21:54:01 +09:00
Sukchan Lee c2de3c5596 execute mme_bearer_find after ESM message decoded 2017-09-21 16:03:42 +09:00
Sukchan Lee bf55e0112f context association is re-architectured 2017-09-18 21:58:33 +09:00
Sukchan Lee bd9c8d467b Change the sequence
BEFORE : Modify bearer -> Delete Indirect Tunnel -> UE Context Release
AFTER : Modify bearer -> Timer Expire -> UE Context Release -> Delete
Indirect Tunnel
2017-09-18 21:30:04 +09:00
Sukchan Lee 8862741a8d change s1ap_send_ue_release_command with delay parameter 2017-09-18 19:30:03 +09:00
Sukchan Lee 5663f64cbb timer library update 2017-09-18 16:18:01 +09:00
Sukchan Lee 028ac433ff Like GTP, read data from S1AP socket though pkbuf alloc failed to exit from infinite select() 2017-09-18 13:20:16 +09:00
James Park ea2c66159a Misc update 2017-09-15 15:36:10 -07:00
James Park f7a21fee06 Switch to new enb when receive s1ap_path_switch_req 2017-09-15 14:02:14 -07:00
Sukchan Lee d0fd6c4a73 add ho failure and ho prep failure... All done 2017-09-15 13:28:07 +09:00
Sukchan Lee a02cca7e54 update it 2017-09-15 12:54:26 +09:00
Sukchan Lee 6e3d988a65 missing 2017-09-15 12:11:24 +09:00
Sukchan Lee 0888f49c48 HO cancel done 2017-09-15 12:06:26 +09:00
Sukchan Lee f783e2ffd0 fix the bug for memory leak of handover message(enb/mme status trasfer) encoding/decoding 2017-09-15 10:40:25 +09:00
Sukchan Lee c6967648fa update it 2017-09-14 21:46:56 +09:00
Sukchan Lee bbef3e6ff5 S11(MME-SGW) GTP Node changed from per-SESSION to per-UE 2017-09-14 19:55:21 +09:00
Sukchan Lee cbc8fba7f1 clear source_ue link pointer after HO is finished 2017-09-14 19:33:58 +09:00
Sukchan Lee 18a2a91bdd S1 Handover Done 2017-09-14 18:52:29 +09:00
Sukchan Lee f64b55aa2a enb_ue_t -> source_ue and target_ue during S1 handover 2017-09-14 18:01:26 +09:00
Sukchan Lee 1ea7bea037 Use mme_ue->tai, mme_ue->e_cgi.
Do not access enb_ue->tai, enb_ue->e_cgi
2017-09-14 17:40:01 +09:00
Sukchan Lee 640d2efb07 update it 2017-09-14 17:29:34 +09:00
Sukchan Lee 7a324ec8e9 delete indirect tunnel done.. 2017-09-14 14:18:47 +09:00
Sukchan Lee 345f055dd7 S1HO modify bearer request/response is done.. 2017-09-14 11:12:02 +09:00
Sukchan Lee eb1ff95ca6 add SERVICE_REQUEST in EPS_TYPE
rollback TAU/SERVICE_REQUEST handler in detached state
2017-09-14 00:02:26 +09:00
Sukchan Lee d39fd987e4 add eNB status transfer handler 2017-09-13 23:49:31 +09:00
Sukchan Lee dadadc5179 fix the s1ap encoding bug 2017-09-13 23:27:02 +09:00
Sukchan Lee f53c4c5d7f Handover Command Encoding...failed! 2017-09-13 21:51:02 +09:00
Sukchan Lee 271ba54423 add create indirect data forwarding tunnel response 2017-09-13 20:35:19 +09:00
Sukchan Lee 0bdd02227c add Create Indirect Data Forward Tunnel Request 2017-09-13 16:22:39 +09:00
Sukchan Lee b65256152c add 32768 packet buffer for create indirect data forward message 2017-09-13 12:46:51 +09:00
Sukchan Lee ee72b5e938 S1AP STORE/CLEAR DATA is added 2017-09-13 11:57:17 +09:00
Sukchan Lee 0bc90a7829 gtp counter is newly proposed for checking multiple GTP transaction 2017-09-13 11:18:17 +09:00
Sukchan Lee e45d1887a5 update it 2017-09-12 23:07:55 +09:00
Sukchan Lee 42b34d0f19 update it 2017-09-12 14:16:22 +09:00
Sukchan Lee a68e5462ba add path_switch_failure 2017-09-12 10:48:42 +09:00
Sukchan Lee 26386703d3 X2 HO done 2017-09-12 10:41:00 +09:00
Sukchan Lee f6a1944d36 X2 HO is added. but Security Context is not yet! 2017-09-12 00:49:15 +09:00
Sukchan Lee 4595fd666d update it 2017-09-11 23:58:16 +09:00
Sukchan Lee b7c544c8db add path_switch req/ack/failure encoder/decoder 2017-09-11 21:14:55 +09:00
Sukchan Lee 04b2e22bf1 add Handover test code 2017-09-11 18:41:14 +09:00
Sukchan Lee 8490a148de service request procedure updated 2017-09-11 14:18:18 +09:00
Sukchan Lee 3b418ca8f9 fix the bug Initial Context Setup Request 2017-09-11 14:01:11 +09:00
Sukchan Lee b40d19db2b propose TAU process when Unknown GUTI or MAC Faield of Security Context 2017-09-10 23:03:24 +09:00
James Park f4e4697430 Update state machine 2017-09-08 15:56:42 -07:00
James Park 98e56968ee 1. Move assert routine to accept "downlink notificaton"
2. Add state to sgw_ue
3. Only send "dl notification" when ue is s1u_inactive
2017-09-08 11:46:28 -07:00
Sukchan Lee 97da327a61 add PDN connectivity reject 2017-09-08 18:50:27 +09:00
Sukchan Lee 5455642098 tracking area update for multiple MME 2017-09-08 16:46:37 +09:00
Sukchan Lee 0022e62991 fix the bug dedicated beraer 2017-09-08 12:11:44 +09:00
Sukchan Lee 08e459a632 update it 2017-09-07 23:51:06 +09:00
Sukchan Lee b0be746292 add PDN disconnect 2017-09-07 23:41:05 +09:00