Commit Graph

354 Commits

Author SHA1 Message Date
Sukchan Lee 8fb2e0ba3b change default IP : 127.76.0.x -> 127.0.0.x 2017-11-24 13:52:22 +09: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 5d0bc98f8d Oops! mistake 2017-11-23 14:19:38 +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 a27f294f74 TUN driver is added 2017-11-22 22:32:57 +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 21d2ca34f6 mac porting for new socket library 2017-11-19 22:07:44 +09:00
Sukchan Lee 1ad25fbc9c s1setup test is done 2017-11-19 10:41:50 +00:00
Sukchan Lee 8a6b602836 New SCTP library is initially applied in test program 2017-11-19 08:31:18 +00:00
Sukchan Lee 90a50d999d sleep is needed in test code 2017-11-10 02:31:32 +00:00
Sukchan Lee 12ae140185 reduant code 2017-11-10 11:23:55 +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 5cc56ab353 change shared library 2017-11-05 14:57:19 +00:00
Sukchan Lee 4e33365bf4 debian packaging is initially done.
network script is added
move testscript in debian/rules
2017-10-27 16:15:14 +00:00
Sukchan Lee fdae399c74 debian packaging (stage 2)
make check re-enabled, but data plane is disabled at this point
user(nextepc/nextec) created
pgwtun interface is created when PGW-preinstall script
2017-10-27 06:01:59 +00:00
Sukchan Lee 52080092b6 GTP-U is re-enabled in test program.
I'll use src : 45.45.0.2 dst ip : 45.45.0.1 for data plane loopback test
2017-10-25 19:49:28 +09:00
Sukchan Lee 88b5560a2a change test packet to loopback address 2017-10-25 19:33:18 +09:00
Sukchan Lee f624adf540 change default configuration using loopback addresses
mme : 127.76.0.1
sgw : 127.76.0.2
pgw : 127.76.0.3
hss : 127.76.0.4
pcrf : 127.76.0.5

If you would like to connect internet, you need to change MME.S1AP_IPV4
and SGW.GTPU_IPV4 with external IP address
2017-10-25 16:30:19 +09:00
Sukchan Lee 20800c611b HSS update for supporting OPc 2017-10-25 14:37:12 +09:00
Sukchan Lee 6eb05495aa change test configuration directory to /tmp 2017-10-24 11:00:58 +09:00
Sukchan Lee adcc473d6e 'make check` before 'make install'
checkepc.sh script is created.
this script generates necessary configuration file before `make
install`. And then, execute `./testepc -f ./etc/nextepc.conf`
2017-10-24 01:03:25 +09:00
Sukchan Lee 074b7b41e8 fix the bug GTP-U testing code 2017-10-20 18:01:47 +09:00
Sukchan Lee 2223dfef0e remove hard-corded code 2017-10-20 17:19:27 +09:00
Sukchan Lee 3bf6326763 create testsctp.c and testusrsctp.c 2017-10-20 16:15:32 +09:00
Sukchan Lee 34270825a7 fix the bug usrsctp_finish() 2017-10-20 15:46:06 +09:00
Sukchan Lee d971a9c9ae testepc is passed in Userland SCTP 2017-10-20 15:14:14 +09:00
Sukchan Lee d40ba2a67c Oops! re-add net_read() in testcode 2017-10-20 13:47:43 +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 d486e84816 improve netconfig
modify GTP packet sending function interface
2017-10-17 13:53:55 +09:00
Sukchan Lee b9f4dcf4ea MAC OSX is needed to enable IP fowwarding 2017-10-17 07:44:48 +09:00
Sukchan Lee a20c96bc21 fix the Makefile errata 2017-10-17 01:25:28 +09:00
Sukchan Lee 291a5ce514 merge MacOSX and FreeBSD code related tun ip config 2017-10-17 01:03:34 +09:00
Sukchan Lee cdbc8d1ab0 MAC OSX ping loopback test done 2017-10-17 00:56:00 +09:00
Sukchan Lee 689c3b95e7 routing table is automatically added in FreeBSD 2017-10-17 08:24:30 +09:00
Sukchan Lee 86908cdbe9 ping src:45.45.0.2 dst:45.45.0.1 is only enabled in Linux platform
Linux Kernel reply the icmp message.
FreeBSD/MacOSX is not working.
More study is needed about TUN
2017-10-15 20:43:05 +09:00
Sukchan Lee 0f08c2a624 Ping loopback is added in Linux platform 2017-10-15 20:33:51 +09:00
Sukchan Lee 3bbbd1b5b1 fix the bug for One SGW IP assign 2017-10-15 01:07:27 +09:00
Sukchan Lee 172266b0c5 GTP Loopback Test Module is Added.
1. ping(src:45.45.0.1, dst:45.45.0.1)
2. MME emulates GTP-U instead of eNB, and send GTP-U to the SGW
3. SGW relay to PGW using GTP-U
4. PGW TUN reponse ping reply
5. PGW sends GTP-U to the SGW
6. SGW sends GTP-U to the MME
7. GTP-U decapsulates and sends ping packet to the kernel
2017-10-15 00:45:49 +09:00
Sukchan Lee c61a704676 done for freeDiameter using autotools 2017-09-29 10:10:55 +09:00
Sukchan Lee aabdc652ca update test code for applying ESM information transfer flag 2017-09-24 01:13:51 +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 c9e5386d99 fix the test code bug from Jinyoung's work 2017-09-16 06:37:28 +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 0b6657f501 Handover Test has Memory Leak!.
I'm not sure what happend in real environment.
2017-09-15 01:11:35 +09:00
Sukchan Lee c6967648fa update it 2017-09-14 21:46:56 +09:00
Sukchan Lee 18a2a91bdd S1 Handover Done 2017-09-14 18:52:29 +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 345f055dd7 S1HO modify bearer request/response is done.. 2017-09-14 11:12:02 +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 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 287a7ca76c HO message is added 2017-09-12 13:54:55 +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 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 97da327a61 add PDN connectivity reject 2017-09-08 18:50:27 +09:00
Sukchan Lee 4b5d6ba01b missing 2017-09-08 17:54:59 +09:00
Sukchan Lee b0be746292 add PDN disconnect 2017-09-07 23:41:05 +09:00
Sukchan Lee ac51f9e0e6 change the test order for testing multiple delete session 2017-09-07 14:41:40 +09:00
Sukchan Lee 229d04c284 Multiple PDN ..done! 2017-09-07 00:37:16 +09:00
Sukchan Lee 5b2728babd STORE/CLEAR_DATA is introduced to move data betwwen NAS and GTP 2017-09-06 20:29:55 +09:00
Sukchan Lee a69760c689 reorder control plane flow 2017-09-05 13:15:04 +09:00
Sukchan Lee 257c6f2115 Create Bearer Response (MME->SGW) 2017-09-05 01:17:24 +09:00
Sukchan Lee 41262d50fa dedicated bearer(MME->UE) 2017-09-05 00:04:05 +09:00
Sukchan Lee abbd8fa869 Create Bearer Request (PGW->SGW) 2017-09-04 19:20:06 +09:00
Sukchan Lee 87b0897602 design EMM state machine initially. 2017-09-04 00:06:39 +09:00
Sukchan Lee faf8268a3d contine to re-archi GTP 2017-08-31 10:48:14 +09:00
Sukchan Lee 829047f763 GTP re-archi(first phase) 2017-08-28 21:47:32 +09:00
Sukchan Lee b8504073dd add S6A(MME-HSS) Interface for PGW IPv4 Address 2017-08-28 20:32:25 +09:00
Sukchan Lee 8d1a5e2d35 fix the bug not to access mme_ue context in freediameter thread 2017-08-26 00:11:46 +09:00
Sukchan Lee ee7d3cbef6 PCRF done 2017-08-24 23:10:36 +09:00
Sukchan Lee 6b9ec5c5d7 ambr, mbr, gbr downlink/uplink DB attribute changed from 32bit to 64bit 2017-08-24 19:51:16 +09:00
Sukchan Lee 5106e195cb add volte_test code 2017-08-23 13:27:43 +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 ac4571ed52 update it 2017-08-19 10:44:33 +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 f23d196aa1 update it 2017-08-11 13:19:53 +09:00
Sukchan Lee 63d29714e2 libs6a -> libfd for adding other interface such as Gx 2017-08-05 14:23:37 +09:00
Sukchan Lee d9d2d0a87a fix the bug 2017-08-05 00:21:07 +09:00
Sukchan Lee 2e9ac4370e testepc memory leak is fixed 2017-08-04 23:37:08 +09:00