Skip to content
Commit da7c8255 authored by Tairu Wang's avatar Tairu Wang
Browse files

Add new DataFailCause for Iwlan

Add DataFailCause IWLAN_TUNNEL_TRANSFORM_FAILED
- Error happens when tunnel transform failed (e.g. no local addresses
  found, fail to create tunnel interface)

Add DataFailCause IWLAN_IKE_NETWORK_LOST_EXCEPTION
- Match IwlanError.IKE_NETWORK_LOST_EXCEPTION and report to framework module instead of ERROR_UNSPECIFIED

Add DataFailCause IWLAN_IKE_PRIVATE_PROTOCOL_ERROR
- Carrier-specific error codes during IKEv2 SA setup all default to IWLAN_NETWORK_FAILURE, which is noisy.

Add new DataFailCause IWLAN_IKE_SESSION_CLOSED_BEFORE_CHILD_SESSION_OPENED
- Replace NETWORK_FAILURE usage in IwlanError with IWLAN_IKE_SESSION_CLOSED_BEFORE_CHILD_SESSION_OPENED

Split IWLAN_IKEV2_MSG_TIMEOUT into three additional data fail cause.
- IWLAN_IKE_INIT_TIMEOUT
- IWLAN_IKE_DPD_TIMEOUT
- IWLAN_IKE_MOBILITY_TIMEOUT

Add DataFailCause IWLAN_EPDG_INTERNAL_ADDRESS_FAILURE
- add new DFC for IKE_PROTOCOL_EXCEPTION 36:
  ERROR_TYPE_INTERNAL_ADDRESS_FAILURE

Bug: 269160037
Test: atest IwlanTest
Change-Id: I05e5c7e2fdd66a439fc9e9b2d763202a1cf6e515
parent 7e359a70
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment