James Park
c968067829
-Initialize enb_ue_s1ap_id to invalid value
...
-Use mme_ue_s1apid if enb_ue_s1ap_id is not valid when encoding
ue_context_release_command
2018-04-17 14:35:15 -07:00
James Park
553804dd94
Fix bug: Paging message should be copied before sending
2018-04-17 11:46:20 -07:00
Sukchan Lee
38a252bbf0
Merge branch 'master' of https://github.com/acetcom/nextepc
2018-04-15 18:37:58 +09:00
Sukchan Lee
ae1660c436
add warning
2018-04-15 18:37:45 +09:00
James Park
e5a0b1ff69
Reduce the number of buffered packets when UE is in idle.
...
FIXME: Need to be adjusted when the number of clbuf is increased.
2018-04-12 10:11:17 -07:00
Sukchan Lee
935e4b56ef
Use common S1AP library for UERadioCapability
...
- Use S1AP_STORE/CLEAR macros for storing/retrieving UERadioCapability
- UERadioCapability will be stored in UECapabilityInfoIndication
- InitialContextSetupRequest use the stored UERadioCapability
2018-04-09 21:52:16 +09:00
Sukchan Lee
2a1feae83f
add the log in initial_context_setup_request
2018-04-06 09:38:11 +09:00
Sukchan Lee
b1055f703a
if Unknown GUTI in TAU request, MME sends TAU-reject ( #42 )
2018-03-27 09:42:23 +09:00
Sukchan Lee
dab5bae4ed
add constraint for safety
2018-03-25 22:51:30 +09:00
Sukchan Lee
8ff9a7cf4c
eNB/MME Configuration Transfer with new S1AP library
2018-03-24 10:08:55 +09:00
Sukchan Lee
82dee88309
change d_assert to d_error if target eNB is not found
2018-03-23 13:14:56 +09:00
Sukchan Lee
db1d139364
add debug message for s1ap(trace_level:25)
2018-03-21 21:15:01 +09:00
Sukchan Lee
778d23e717
Reset is done
2018-03-21 16:37:15 +09:00
Sukchan Lee
ef9d5948a8
s1 reset encoder/decoder is added
2018-03-21 16:10:20 +09:00
Sukchan Lee
13ece7f4d4
Merge branch 'master' into s1ap
2018-03-21 14:06:20 +09:00
Sukchan Lee
87b6896128
fix compile error
2018-03-18 18:50:36 +09:00
Sukchan Lee
6c692e05f5
Oops!
2018-03-16 13:29:36 +09:00
Sukchan Lee
bf6e3cdc8c
change assert to warning
2018-03-16 13:13:56 +09:00
Sukchan Lee
1cd740704e
update it
2018-03-14 18:12:07 +09:00
Sukchan Lee
9434c751cb
merge master branch
2018-03-14 17:59:56 +09:00
Sukchan Lee
0414f19684
Merge branch 'master' into s1ap
2018-03-14 17:45:54 +09:00
Sukchan Lee
5d21ae4071
Sends ErrorIndication if S1 context has already been removed ( #29 )
2018-03-14 17:24:04 +09:00
Sukchan Lee
f89358dc03
add handover failure
2018-03-14 16:36:56 +09:00
Sukchan Lee
4c8123f771
ENB Status Transfer is added with s1ap_copy_ie()
2018-03-14 14:03:43 +09:00
Sukchan Lee
d881f8c2ed
handover test
2018-03-13 23:42:55 +09:00
Sukchan Lee
dbdd6bfdcf
handover test
2018-03-13 23:16:01 +09:00
Sukchan Lee
a11f6e431c
S1AP handover is added. (Not tested)
2018-03-13 17:50:11 +09:00
Sukchan Lee
8e52447a53
ErrorIndication is added
2018-03-12 23:06:14 +09:00
Sukchan Lee
5172d2034a
Path Switch Request is added
2018-03-12 22:47:10 +09:00
Sukchan Lee
422d1c2f8f
Merge branch 's1ap-brchiu' of https://github.com/acetcom/nextepc into s1ap-brchiu
2018-03-12 11:38:40 +00:00
Sukchan Lee
98a317b4b9
port linux
2018-03-12 11:38:21 +00:00
Sukchan Lee
ff3dc862b3
paging is tested
2018-03-11 21:24:26 +09:00
Sukchan Lee
9e55f1c78a
Paging is added
2018-03-11 20:57:18 +09:00
Sukchan Lee
c7d24c804b
E-RAB Setup/Release is added
2018-03-11 20:41:37 +09:00
Sukchan Lee
308c6f1e66
all attach test is successful
2018-03-11 16:36:51 +09:00
Sukchan Lee
6480689da4
ue context release is added
2018-03-11 14:38:35 +09:00
Sukchan Lee
2c1d70de3c
new s1ap : attach done
2018-03-10 22:52:21 +09:00
Sukchan Lee
d40bf0463d
continue to move new s1ap library
2018-03-10 12:21:02 +09:00
Sukchan Lee
e10d358a2b
Merge branch 'master' into s1ap-brchiu
2018-03-09 21:02:17 +09:00
Sukchan Lee
bb844434f2
MME Configuration Transfer is added ( #29 )
2018-03-08 23:29:02 +09:00
Sukchan Lee
6c3390bf30
MME can support S1-handover without creating indirect tunnel
2018-03-07 22:32:31 +09:00
Sukchan Lee
c31dfb507d
eNB Configuration Transfer is added ( #29 )
2018-03-07 21:53:53 +09:00
James Park
e69cea9b5b
Ignore UCS2 bit to encode UIA
2018-03-05 11:02:36 -08:00
Sukchan Lee
0d073fbb73
s1setup encoder is implemented
2018-03-05 23:32:14 +09:00
Sukchan Lee
c5689b3f66
update it
2018-03-05 23:01:07 +09:00
Sukchan Lee
6f9e45a332
Modify the security capability length ( #27 )
...
If octet 5 is included, then also octet 6 shall be included and octet 7
may be included.
2018-03-03 14:18:33 +09:00
Sukchan Lee
9357381839
Fix the bug of secuirty capability in security command ( #27 )
2018-03-03 14:10:24 +09:00
Sukchan Lee
2bc92c5ac8
fix the indentation
...
* VIM
set sw=4
set ts=4
set expandtab
* Limited with 80 Column
2018-02-27 11:59:08 +09:00
Sukchan Lee
2429a4e363
fix the presentmask and change default configuration ( #22 )
2018-02-27 11:56:10 +09:00
medeiros405
144548f4c0
src/mme/emm_handler.c
2018-02-26 13:48:26 -03:00
medeiros405
1f44efbc3d
src/mme/emm_handler.c
2018-02-26 13:46:28 -03:00
Sukchan Lee
f49a66dfc5
script update
2018-02-26 14:59:51 +09:00
medeiros405
02712a38e6
src/mme/emm_handler.c
...
src/mme/mme_context.c
src/mme/mme_context.h
support/config/mme.conf.in
2018-02-25 18:33:36 -03:00
Sukchan Lee
cdf7fb94bf
S1-Setup failure is added
2018-02-22 22:23:16 +09:00
Sukchan Lee
f5582c97b5
NULL-pointer sgw_ue context is accessed ( #18 )
2018-02-21 17:29:47 +09:00
Sukchan Lee
05cfcf4cc3
Override configuration if DB_URI environment variable is existed
2018-02-21 03:25:48 +00:00
Sukchan Lee
536138457e
fix the warning for Mac OS X
2018-02-14 10:22:36 +09:00
Sukchan Lee
d488bc3ed7
fix the conflict between PDN disconnect and Detach Request
2018-02-10 23:59:03 +09:00
Sukchan Lee
0de9185545
change debug level
2018-02-10 17:08:51 +09:00
Sukchan Lee
c096cce571
update print-out
2018-02-09 23:14:30 +09:00
Sukchan Lee
3c33206dee
update comment
2018-02-09 16:43:28 +09:00
Sukchan Lee
382c52a481
clear sgw s1u path if delete session response is received
2018-02-09 16:26:55 +09:00
Sukchan Lee
f904b63053
Authentication failure should be handled based on EMM_CAUSE( #17 )
...
* Synch failure(EMM_CAUSE:21)
- Re-authorization. Send authentication request again.
* MAC failure(EMM_CAUSE:20)
- Send Authentication Reject
- Send UE Context Release Command
* Non-EPS authentication failure(EMM_CAUSE:26)
- Send Authentication Reject
- Send UE Context Release Command
* Others
- Send Authentication Reject
- Send UE Context Release Command
2018-02-07 14:12:40 +09:00
Sukchan Lee
9fbcb45171
testsuite is added. (refer to libosmocom)
2018-02-06 11:59:49 +09:00
Sukchan Lee
75cc9bbb47
update bearer context status in tracking area update
2018-02-04 23:48:49 +09:00
Sukchan Lee
3a57990cbc
T3402 is redundant. Remove it in Attach/TAU Accept
2018-02-04 23:41:44 +09:00
Sukchan Lee
14ef938fb9
SGW sends End Marker if GTP Node changes. Previously, ULI's cell ID
2018-02-04 23:15:20 +09:00
Sukchan Lee
5c1a3d54e3
rename it
2018-02-04 17:05:30 +09:00
Sukchan Lee
2defa5c868
add simualtor for the active flag
2018-02-04 16:58:56 +09:00
Sukchan Lee
4371084af4
Tracking Area Update with considering Initial UE message and active flag
2018-02-04 16:01:09 +09:00
Sukchan Lee
c0d4f25717
tracking area update request's active flag
2018-02-04 13:12:26 +09:00
Sukchan Lee
aacaa83eea
rollback paging check routine
2018-02-03 23:44:04 +09:00
Sukchan Lee
de04e1de45
introduce ECM_IDLE and ECM_CONNECTED
2018-02-03 23:23:50 +09:00
Sukchan Lee
95551de5f9
tracking area update is handling based on UE ECM status
2018-02-03 22:55:05 +09:00
Sukchan Lee
bb4339de2a
rename it
2018-02-03 18:29:32 +09:00
Sukchan Lee
831b3e8985
Error Indication is added
2018-02-03 11:48:15 +09:00
Sukchan Lee
f37b3cbfd3
rollback it
2018-02-03 09:18:22 +09:00
Sukchan Lee
23998862f2
update it
2018-02-03 08:49:46 +09:00
Sukchan Lee
e72d79a328
rollback it
2018-02-03 04:18:31 +09:00
Sukchan Lee
66d16ae1bb
update it
2018-02-03 03:44:14 +09:00
Sukchan Lee
00178ff65e
fix the bug in X2 handover TAI/E_CGI
2018-02-03 02:08:43 +09:00
Sukchan Lee
582c771605
fix the bug : TAU after S1 Handover
2018-02-03 02:00:38 +09:00
Sukchan Lee
52a1e05f41
change warn to trace level 5
2018-02-02 23:36:03 +09:00
Sukchan Lee
c293bef05a
add IP address log if No TEID
2018-02-02 21:29:02 +09:00
Sukchan Lee
ebddb2ad9f
rename it
2018-02-02 21:09:37 +09:00
Sukchan Lee
7c2dd5e462
add simulator for S1 holding timer
2018-02-02 20:32:13 +09:00
Sukchan Lee
b97597ae7c
change S1 release scheme with holding timer(30sec)
2018-02-02 19:37:36 +09:00
Sukchan Lee
57f3baa273
UE-initiated detach_request is handled in every EMM-state
2018-02-02 15:59:21 +09:00
Sukchan Lee
d944bca038
context(tai, e_cgi) transfer during S1-handover
2018-02-02 15:30:25 +09:00
Sukchan Lee
857a250e4f
add to trace for testing tracking area update
2018-02-02 13:46:49 +09:00
Sukchan Lee
34986be707
rollback implicit S1 release
2018-02-02 04:26:01 +09:00
Sukchan Lee
cb7132a2fa
fix the bug
2018-02-02 04:20:02 +09:00
Sukchan Lee
5397cfd2d8
Send UE Context Release Command instead of Implicit S1 release
2018-02-02 02:48:55 +09:00
Sukchan Lee
0cd0221b29
rollback conflict between service request and downlink notification
2018-02-01 23:21:20 +09:00
Sukchan Lee
8bd186adad
tracking area update accept with ue context release command
2018-02-01 23:06:35 +09:00
Sukchan Lee
4e5d156a6a
ECM-IDLE/CONNECTED state is added in MME Context Library
2018-02-01 22:48:59 +09:00
Sukchan Lee
c9e44579d8
refine code
2018-02-01 21:38:59 +09:00
Sukchan Lee
4648dc05d5
log update
2018-02-01 16:54:52 +09:00
Sukchan Lee
ca79c05fe6
Update TAU Accept & Initial Context Setup Failure
2018-02-01 16:39:42 +09:00
Sukchan Lee
b040214364
add U-plane TEID trace log
2018-02-01 14:07:01 +09:00
Sukchan Lee
c3afd65ff3
fix the bug for FSM library
2018-02-01 11:56:01 +09:00
Sukchan Lee
f4baa62209
explicit S1 release for initial contexgt setup failure
2018-01-31 06:24:23 +00:00
Sukchan Lee
03cf945f95
fix the memroy leak in SGW Downlink Notification Ack
2018-01-31 15:01:13 +09:00
Sukchan Lee
01d7f157ff
modify release access bearer regardless ue context release request's cause
2018-01-31 12:54:59 +09:00
Sukchan Lee
e49e1d2331
Use explict S1 release for initial context setup failure
2018-01-30 22:14:12 +09:00
Sukchan Lee
67393d0160
Implicit S1 Release immediately if Older S1 context is found.
2018-01-30 22:10:28 +09:00
Sukchan Lee
7ca9ead4b9
refine code
2018-01-30 21:57:19 +09:00
Sukchan Lee
3f7c3d3041
Prevent GUTI re-allocation for every attach_request
2018-01-30 07:25:42 +09:00
Sukchan Lee
cf6df20ad7
refine code
2018-01-29 13:44:25 +00:00
Sukchan Lee
b77c9b8ff6
refine code
2018-01-29 22:38:53 +09:00
Sukchan Lee
795ecc8cf8
Implicit S1 Release
2018-01-29 19:10:54 +09:00
Sukchan Lee
b704e94efa
fix the memory leak t3413 paging timer in MME_UE Context
2018-01-29 16:47:07 +09:00
Sukchan Lee
ae6e747e52
ECM_IDLE/CONNECTED is introduced
2018-01-29 14:48:51 +09:00
Sukchan Lee
60cfbed747
Update state machine
2018-01-28 22:08:53 +09:00
Sukchan Lee
597fcfbad9
rollback implict S1 release
2018-01-28 16:13:48 +09:00
Sukchan Lee
762431cb6f
GUTI is suppressed in Attach accept if GUTI is not changed.
2018-01-28 15:32:45 +09:00
Sukchan Lee
21a130bc16
Implicitly S1 release without sending UE context release command
2018-01-28 15:08:52 +09:00
Sukchan Lee
5774aeb62d
Change Cause value in UE Context Release Command
2018-01-28 14:11:17 +09:00
Sukchan Lee
7b2355a40f
MME_UE Context is not deleted even thought Detach Request(switch-off case)
2018-01-28 13:50:21 +09:00
Sukchan Lee
28237ea6af
clean security context if KSI is INVALID(7)
2018-01-26 09:08:50 +09:00
Sukchan Lee
09969e859d
update log
2018-01-26 07:10:41 +09:00
Sukchan Lee
9451928786
remove INVALID ASSERT in SGW
2018-01-26 06:52:30 +09:00
Sukchan Lee
dfb9755295
update data plane trace
2018-01-24 02:59:23 +00:00
Sukchan Lee
4c98dae79e
fix the bug indirect tunnel
2018-01-24 11:54:04 +09:00
Sukchan Lee
94145fec62
fix the bug for finding indirect tunnel
2018-01-24 11:32:46 +09:00
Sukchan Lee
9503c8efdc
chage debug buffer size to HUGE_STRING_LEN(8192) for avoiding buffer overflow
2018-01-24 10:08:59 +09:00
Sukchan Lee
f5f4e42be9
update ATTACH_ACCEPT message for solving the problem of EMM_STATUS
2018-01-24 00:03:44 +09:00
Sukchan Lee
b1c61cfcbf
state name changes detached/attached -> de_registered/registered
2018-01-23 17:18:18 +09:00
Sukchan Lee
ed92c30b26
adjust trace_level
2018-01-23 17:11:21 +09:00
Sukchan Lee
610292fb5c
dp log added
2018-01-23 16:48:40 +09:00
Sukchan Lee
66d71924ce
update trace level
2018-01-23 16:10:46 +09:00
Sukchan Lee
b37a74416a
trace name gtp -> gtpv2, others -> app
2018-01-23 16:02:35 +09:00
Sukchan Lee
35a95fd4ac
update trace level
2018-01-23 15:38:07 +09:00
Sukchan Lee
6850e3b2a3
update log
2018-01-22 15:12:36 +00:00
Sukchan Lee
225e1ba07f
refine GTP/Diameter Log
2018-01-23 00:00:57 +09:00
Sukchan Lee
67870af84f
update trace log for S1AP/NAS
2018-01-22 23:14:20 +09:00
Sukchan Lee
17cbd61552
add emm_state_exception if identity response cannot find IMSI
2018-01-22 17:08:53 +09:00
Sukchan Lee
ebd8d2f571
update state machin
2018-01-22 16:53:47 +09:00
Sukchan Lee
7d43bd870e
refine attached/detached state handler
2018-01-22 16:35:12 +09:00
Sukchan Lee
f94553bc8a
update state machine
2018-01-22 12:24:18 +09:00
Sukchan Lee
6e6eb7a355
refine code
2018-01-22 11:40:26 +09:00
Sukchan Lee
b678d9e9a2
change the log level for conflict M-TMSI
2018-01-21 22:46:48 +09:00
Sukchan Lee
4c8e2add2f
fix the bug M-TMSI generator
2018-01-21 22:36:49 +09:00
Sukchan Lee
8557d50341
rename hss_kdf -> hss_auc
2018-01-21 20:46:02 +09:00
Sukchan Lee
e785d4ca4e
refine S1ap_Cause related source code
2018-01-21 20:31:28 +09:00
Sukchan Lee
32d62805df
changes trace level
2018-01-21 17:40:06 +09:00
Sukchan Lee
4eb314d781
In emm_state_attached state, if NAS MAC is failed, service reject is sent out
2018-01-21 17:36:59 +09:00
Sukchan Lee
1d947c5698
M-TMSI is generated by Random Number for protecting security attach
2018-01-21 16:53:39 +09:00
Sukchan Lee
05f631f0ac
change service_request test packet
2018-01-21 15:44:30 +09:00
Sukchan Lee
9b9bfdc0b0
add head logger for indicating configuration file path
2018-01-21 11:21:56 +09:00