uwb(hal): Add a OID for country code set

Bug: 205787337
Test: Compiles
Change-Id: Ie0cf91a5725fd58e26af884f7a5d2fdb0fd7fc81
This commit is contained in:
Roshan Pius
2021-11-18 13:30:51 -08:00
parent d3a63f0512
commit 26eef12a00
2 changed files with 4 additions and 0 deletions

View File

@@ -35,4 +35,5 @@ package android.hardware.uwb.fira_android;
@Backing(type="byte") @VintfStability
enum UwbVendorGidAndroidOids {
ANDROID_GET_POWER_STATS = 0,
ANDROID_SET_COUNTRY_CODE = 1,
}

View File

@@ -27,4 +27,7 @@ enum UwbVendorGidAndroidOids {
// Supported only if the value returned by getSupportedAndroidCapabilities()
// has the bit of UwbAndroidCapabilities.POWER_STATS_QUERY set to 1.
ANDROID_GET_POWER_STATS = 0x0,
// Used to set the current regulatory country code (determined usinag
// SIM or hardcoded by OEM).
ANDROID_SET_COUNTRY_CODE = 0x1,
}