Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 54427a65 authored by Max Bires's avatar Max Bires
Browse files

Add additional enums to NasProtocolMessage

This allows for vendors with threat classification logic in the modem to
transmit additional semantics to Android surrounding the disclosure.

Bug: 355062720
Test: m
Flag: EXEMPT aidl-only change
Change-Id: Id4ed35a39d8d76cc4e37c840cb58a2a6ba0788e8
parent 5db6311d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -47,4 +47,6 @@ enum NasProtocolMessage {
  CM_REESTABLISHMENT_REQUEST = 9,
  CM_SERVICE_REQUEST = 10,
  IMSI_DETACH_INDICATION = 11,
  THREAT_IDENTIFIER_FALSE = 12,
  THREAT_IDENTIFIER_TRUE = 13,
}
+10 −1
Original line number Diff line number Diff line
@@ -21,6 +21,9 @@ package android.hardware.radio.network;
 * generation is noted for each message type. Sample spec references are provided, but generally
 * only reference one network generation's spec.
 *
 * The exceptions to this rule are THREAT_IDENTIFIER_FALSE and THREAT_IDENTIIFER_TRUE, which are
 * included to accommodate threat ranking of disclosures based on modem logic.
 *
 * @hide
 */
@VintfStability
@@ -64,5 +67,11 @@ enum NasProtocolMessage {
    CM_SERVICE_REQUEST = 10,
    // Reference: 3GPP TS 24.008 9.2.14
    // Applies to 2g and 3g networks. Used for circuit-switched detach.
    IMSI_DETACH_INDICATION = 11
    IMSI_DETACH_INDICATION = 11,
    // Vendor-specific enumeration to identify a disclosure as potentially benign.
    // Enables vendors to semantically define disclosures based on their own classification logic.
    THREAT_IDENTIFIER_FALSE = 12,
    // Vendor-specific enumeration to identify a disclosure as potentially harmful.
    // Enables vendors to semantically define disclosures based on their own classification logic.
    THREAT_IDENTIFIER_TRUE = 13
}