aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-09-10 20:30:55 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-09-10 20:30:55 +0200
commitdd06d77b5dc2ccff207cc8e264f190243331ee58 (patch)
tree07773e8c88e3a1247095b883dce7e3cf50b27b81 /include
parentccda6bcd423155062fd4fc8b652e05f3d4e4dc01 (diff)
sgsn: Don't send Attach Accept if initial LU is rejectedpespin/lu-err-attach-req
This should fix TTCN3, SGSN_Tests.TC_attach_gsup_lu_reject, wher eit can be seen that before this patch SGSN sent Attach Accept before sending/receing the first LU (so if LU was rejected by HLR, then attach was already accepted). Similary, it also fixes SGSN_Tests.TC_attach_gsup_lu_reject. Change-Id: Ie3970a790cf2b674da4d9e23a83c4a65d27d5de4
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/sgsn/gprs_gmm_attach.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/sgsn/gprs_gmm_attach.h b/include/osmocom/sgsn/gprs_gmm_attach.h
index 0aa2123a8..10d62f3d6 100644
--- a/include/osmocom/sgsn/gprs_gmm_attach.h
+++ b/include/osmocom/sgsn/gprs_gmm_attach.h
@@ -11,6 +11,7 @@ enum gmm_attach_req_fsm_states {
ST_RETRIEVE_AUTH,
ST_AUTH,
ST_ASK_VLR,
+ ST_WAIT_UPDATE_LOCATION,
ST_IU_SECURITY_CMD,
ST_ACCEPT,
ST_REJECT
@@ -25,6 +26,7 @@ enum gmm_attach_req_fsm_events {
E_ATTACH_ACCEPTED,
E_ATTACH_ACCEPT_SENT,
E_ATTACH_COMPLETE_RECV,
+ E_UPDATE_LOCATION_RESP_RECV_SUCCESS,
E_REJECT,
E_VLR_ANSWERED,
};