fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/37801?usp=email )
Change subject: fix misconceptions about E-RAB establishment ......................................................................
fix misconceptions about E-RAB establishment
Change-Id: I8d777699cf71cb5ba2609ab5f3587e4cc88ceaea --- M test/s1ap_proxy_test.erl 1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/erlang/osmo-s1gw refs/changes/01/37801/1
diff --git a/test/s1ap_proxy_test.erl b/test/s1ap_proxy_test.erl index 9830af8..cb0a4ca 100644 --- a/test/s1ap_proxy_test.erl +++ b/test/s1ap_proxy_test.erl @@ -60,7 +60,7 @@ [?_assertEqual({OrigData, S}, s1ap_proxy:handle_pdu(OrigData, S))].
-%% [eNB -> MME] E-RAB SETUP REQUEST +%% [eNB <- MME] E-RAB SETUP REQUEST e_rab_setup_req_pdu(TLA, TEID) when is_binary(TLA), is_binary(TEID) -> << 16#00, 16#05, 16#00, 16#80, 16#9b, 16#00, 16#00, 16#03, @@ -100,7 +100,7 @@ [?_assertMatch({ExpData, _}, s1ap_proxy:handle_pdu(OrigData, S))].
-%% [MME -> eNB] E-RAB SETUP RESPONSE +%% [eNB -> MME] E-RAB SETUP RESPONSE e_rab_setup_rsp_pdu(TLA, TEID) when is_binary(TLA), is_binary(TEID) -> << 16#20, 16#05, 16#00, 16#22, 16#00, 16#00, 16#03, 16#00, @@ -148,7 +148,7 @@ [?_assertMatch({ExpData, _}, s1ap_proxy:handle_pdu(OrigData, S))].
-%% [eNB -> MME] INITIAL CONTEXT SETUP REQUEST +%% [eNB <- MME] INITIAL CONTEXT SETUP REQUEST initial_context_setup_req_pdu(TLA, TEID) when is_binary(TLA), is_binary(TEID) -> << 16#00, 16#09, 16#00, 16#81, 16#10, 16#00, 16#00, 16#07, @@ -203,7 +203,7 @@ [?_assertMatch({ExpData, _}, s1ap_proxy:handle_pdu(OrigData, S))].
-%% [MME -> eNB] INITIAL CONTEXT SETUP RESPONSE +%% [eNB -> MME] INITIAL CONTEXT SETUP RESPONSE initial_context_setup_rsp_pdu(TLA, TEID) when is_binary(TLA), is_binary(TEID) -> << 16#20, 16#09, 16#00, 16#22, 16#00, 16#00, 16#03, 16#00,