• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2021 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 package com.android.server.uwb.data;
17 
18 public class UwbCccConstants {
19 
20     /* CCC Hopping [S]*/
21     public static final int HOPPING_CONFIG_MODE_NONE = 0X00;
22     public static final int HOPPING_CONFIG_MODE_CONTINUOUS_DEFAULT = 0X03;
23     public static final int HOPPING_CONFIG_MODE_CONTINUOUS_AES = 0X05;
24 
25     public static final int HOPPING_CONFIG_MODE_ADAPTIVE_DEFAULT = 0X02;
26     public static final int HOPPING_CONFIG_MODE_ADAPTIVE_AES = 0X04;
27 
28 
29     /* Fira Extension Application Configuration Parameters*/
30     public static final int CCC_EXTENSION_HOPPING_CONFIG_MODE_NONE = 0X00;
31     public static final int CCC_EXTENSION_HOPPING_CONFIG_MODE_CONTINUOUS_AES = 0XA0;
32     public static final int CCC_EXTENSION_HOPPING_CONFIG_MODE_CONTINUOUS_DEFAULT = 0XA1;
33     public static final int CCC_EXTENSION_HOPPING_CONFIG_MODE_ADAPTIVE_AES = 0XA2;
34     public static final int CCC_EXTENSION_HOPPING_CONFIG_MODE_ADAPTIVE_DEFAULT = 0XA3;
35 
36     public static final String KEY_STARTING_STS_INDEX = "starting_sts_index";
37     public static final String KEY_UWB_TIME_0 = "uwb_time_0";
38     public static final String KEY_HOP_MODE_KEY = "hop_mode_key";
39     public static final String KEY_SYNC_CODE_INDEX = "sync_code_index";
40     public static final String KEY_RAN_MULTIPLIER = "ran_multiplier";
41     /* CCC Hopping [E]*/
42 }
43