1 /*
2  * Copyright 2022 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #pragma once
18 
19 #include <cstdint>
20 
21 namespace rootcanal {
22 
23 // CSR Vendor command opcode.
24 static constexpr uint16_t CSR_VENDOR = 0xfc00;
25 
26 enum CsrVarid : uint16_t {
27   CSR_VARID_BUILDID = 0x2819,
28   CSR_VARID_PS = 0x7003,
29 };
30 
31 enum CsrPskey : uint16_t {
32   CSR_PSKEY_ENC_KEY_LMIN = 0x00da,
33   CSR_PSKEY_ENC_KEY_LMAX = 0x00db,
34   CSR_PSKEY_LOCAL_SUPPORTED_FEATURES = 0x00ef,
35   CSR_PSKEY_HCI_LMP_LOCAL_VERSION = 0x010d,
36 };
37 
38 }  // namespace rootcanal
39