Skip to content
Unstable

Changes

Summary

  1. SGSN: BSSGP_ConnHdlr: GMM Service Request: handle PMM IDLE UE correct (details)
  2. SGSN: BSSGP_ConnHdlr: GMM Service Request: add support to expect (details)
  3. SGSN: BSSGP_ConnHdlr: f_gmm_attach(): allow the SGSN to request the IMEI (details)
  4. SGSN: f_TC_attach_timeout_after_pdp_act: allow authentication (details)
  5. SGSN: f_TC_attach_rau: do a periodic RA update instead of RA change (details)
  6. SGSN: TC_attach_auth_id_timeout: set TMSI to provoke a ID Request (details)
  7. SGSN: f_TC_hlr_location_cancel_request_withdraw: drop incorrect Update (details)
  8. SGSN: f_TC_paging_ps: call f_gmm_attach() direct (details)
  9. SGSN: f_TC_cell_change_different_*: always expect the auth (details)
  10. SGSN: fix encoding of IMEISV in Auth and Ciphering Response (details)
  11. SGSN: TC_attach_pdp_act_pmm_idle: use correct Service Request type (details)
  12. SGSN: Context Req In: use correct TEID-C (details)
  13. SGSN: assign random TEID-C to Context Req/Resp/Ack messages (details)
  14. SGSN: Remove mm context triplets (details)
  15. testenv: use new osmocom-bb binary packages (details)
Commit 67b589237eb6fafc8b7840f1af83397f7336c638 by lynxis
SGSN: BSSGP_ConnHdlr: GMM Service Request: handle PMM IDLE UE correct

24.008: 4.7.13.3: explicitly mention the completion of the low layer security to be an implicit
Security Command Accept if the UE is in PMM Idle.
Extend the as_service_request() to handle both cases when UE is in PMM-IDLE as well in
PMM-CONNECTED.

Change-Id: I29237997e414aea80f254247da54f909410a4b36
The file was modifiedsgsn/BSSGP_ConnHdlr.ttcn
Commit 6ebabdc5113ab70fefe7739c2572e3b6efd403ae by lynxis
SGSN: BSSGP_ConnHdlr: GMM Service Request: add support to expect authentication

On a Service Request, the authentication is optional.
Either an authentication must happen or the key material from the previous authentication
has to be used.
The default behavior is still the same.

Change-Id: I9ed08160bf5413e3a30d6e90eb947d4d799e1058
The file was modifiedsgsn/BSSGP_ConnHdlr.ttcn
Commit b7d264bc3c97bbfd7d8cf9212301d269ca2f933c by lynxis
SGSN: BSSGP_ConnHdlr: f_gmm_attach(): allow the SGSN to request the IMEI

The IMEI might be requested when the GMM Attach happen.

Change-Id: Id49c9e6ef7517a6a831315ac1f9915c50b88beb6
The file was modifiedsgsn/BSSGP_ConnHdlr.ttcn
Commit e2b7ac3add8853c797d0b962e306c20e9ad7f8e3 by lynxis
SGSN: f_TC_attach_timeout_after_pdp_act: allow authentication

While testing, allow the SGSN to authenticate the UE.
The new VLR code will authenticate the UE, while
the old code doesn't.

Change-Id: I11c628ecebbe7c4c1b2c28e63133a33cfc171e12
The file was modifiedsgsn/SGSN_Tests.ttcn
Commit cd3297dfd1c61a2e6f8d38e34d646ce76c222916 by lynxis
SGSN: f_TC_attach_rau: do a periodic RA update instead of RA change

After an attach, the periodic RA would be the correct.

Change-Id: Ic33687c55915d883b6d9a9a0d640a11588e1d1a0
The file was modifiedsgsn/SGSN_Tests.ttcn
Commit 3eb01af40fda9bfbecf14a54d497d9bc479ee5f4 by lynxis
SGSN: TC_attach_auth_id_timeout: set TMSI to provoke a ID Request

This test case simulates a MS which ignores Identity Requests. To ensure
the SGSN will ask for the IMSI, do an Attach Request with id TMSI.
Later this ID Request (type IMSI) will be ignored and the test case
expect a Attach Reject.

Change-Id: I5a860582aa57ebc073e4c33f3f2f8884e360edef
The file was modifiedsgsn/SGSN_Tests.ttcn
Commit 7d79f68e9d6ec8db735b37233480d0c362c75294 by lynxis
SGSN: f_TC_hlr_location_cancel_request_withdraw: drop incorrect Update Location response

This PDU was a Copy/Paste mistake and never been expected or used. The SGSN ignored
this message.

Change-Id: Ib8265416c650b0983d7e85786b334f84191331b2
The file was modifiedsgsn/SGSN_Tests.ttcn
Commit 5bd3777e210a83a8d213fadaa751c7bd4513f040 by lynxis
SGSN: f_TC_paging_ps: call f_gmm_attach() direct

Instead of using the TC function, call f_gmm_attach() direct.
Also set explicit the verdict at the end.

Change-Id: I68c75f84b01a0cd673ffd8c19ab5f0a8517c5738
The file was modifiedsgsn/SGSN_Tests.ttcn
Commit 4aaf70585667c7e900767e03b629a0d9795fc2f9 by lynxis
SGSN: f_TC_cell_change_different_*: always expect the auth

The new SGSN will always ask for authentication when receiving Attach or RA
which is the correct behaviour as long the LLC layer doesn't indicate
integrity or encryption protection.

Change-Id: I24579b5fc843caf68e035e106cee4e4ec0a3c735
The file was modifiedsgsn/SGSN_Tests.ttcn
Commit 30ef29c3a61b1760a71d9498602f6ef582e07ca7 by lynxis
SGSN: fix encoding of IMEISV in Auth and Ciphering Response

According to 24.008 the IMEISV field is exact 11 bytes long and
must contain a IMEI + SV which is exact 16 digits long, not 15.

Change-Id: I79dd79840de58f450c1a05e704fd9bd831455716
The file was modifiedsgsn/BSSGP_ConnHdlr.ttcn
Commit 69896eda4faa919c5203e3fd3738b328ed73b4c7 by lynxis
SGSN: TC_attach_pdp_act_pmm_idle: use correct Service Request type

When the UE requests data service, it must use the data service request type.

Change-Id: I9301e7a37d96c3f93e77f7618d6c13dfa1fbe46b
The file was modifiedsgsn/SGSN_Tests_Iu.ttcn
Commit c5288135fade1a97852d512b24a146277c436ce2 by lynxis
SGSN: Context Req In: use correct TEID-C

For a MS/UE moving from 2G to 4G, the Ctx Acks need to transmit
with the correct TEID-C which the SGSN chose in the Context Response.

Change-Id: I84dc7dda8ee1227edd68d1482a4c5bf267c16418
The file was modifiedsgsn/SGSN_Tests.ttcn
Commit c010edb00e662449fda6229d46ad26bd343d7951 by lynxis
SGSN: assign random TEID-C to Context Req/Resp/Ack messages

Change-Id: Icac28280a810e8d24eeeaaae1fb1a15278fde8da
The file was modifiedlibrary/GTP_Emulation.ttcn
The file was modifiedsgsn/SGSN_Tests.ttcn
Commit d099279d5b6efbf513cb628ad55296d05197a41a by lynxis
SGSN: Remove mm context triplets

Only triplets which hasn't been used should be included.
The MME will only request and sent back a single set of tuples.
There shouldn't any left overs.

Change-Id: I60a3331396cb9905ec9a4df9b1e65a3291a51058
The file was modifiedsgsn/SGSN_Tests.ttcn
Commit b5136791025dcf3f210fda2ecc0b29a02f926595 by Oliver Smith
testenv: use new osmocom-bb binary packages

When using --binary-packages, use the osmocom-bb-trxcon etc. binary
packages that are now available, instead of only installing the
dependencies as binary packages and building these components from
source.

Change-Id: I072ea55d12060b4ef04ee9775ef116d553090e9a
The file was modified_testenv/testenv/podman_install.py
The file was modifiedbts/testenv_oml.cfg
The file was modifiedbts/testenv_generic.cfg
The file was modifiedbts/run_fake_trx.sh
The file was modifiedbts/testenv_hopping.cfg