diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-09-10 18:30:22 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-09-10 20:22:46 +0200 |
commit | a0454784538ee003751adf31dd18316818a28545 (patch) | |
tree | 07773e8c88e3a1247095b883dce7e3cf50b27b81 /include/osmocom/sgsn/gprs_gmm_attach.h | |
parent | d7276bde55c8e7fff64fdec5de07f47ad1ac01cb (diff) |
sgsn: Don't send Attach Accept if initial LU is rejectedpespin/master
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/osmocom/sgsn/gprs_gmm_attach.h')
-rw-r--r-- | include/osmocom/sgsn/gprs_gmm_attach.h | 2 |
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, }; |