blob: 748ea0724ec10b49dc00c17f9b5484342bc44141 [file] [log] [blame]
Jake Hamby8a4a2332014-01-15 13:12:05 -08001/*
2 * Copyright (C) 2014 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#ifndef ANDROID_RIL_NV_ITEMS_H
18#define ANDROID_RIL_NV_ITEMS_H 1
19
20#include <stdlib.h>
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
Jake Hambyd27c9d52014-02-06 14:52:05 -080026/* Must match the values in RadioNVItems.java in frameworks/opt/telephony. */
Jake Hamby8a4a2332014-01-15 13:12:05 -080027typedef enum {
28
Jake Hambyd27c9d52014-02-06 14:52:05 -080029 // CDMA radio and account information (items 1-10)
30 RIL_NV_CDMA_MEID = 1, // CDMA MEID (hex)
31 RIL_NV_CDMA_MIN = 2, // CDMA MIN (MSID)
Jake Hamby8a4a2332014-01-15 13:12:05 -080032 RIL_NV_CDMA_MDN = 3, // CDMA MDN
Jake Hambyd27c9d52014-02-06 14:52:05 -080033 RIL_NV_CDMA_ACCOLC = 4, // CDMA access overload control
Jake Hamby8a4a2332014-01-15 13:12:05 -080034
Jake Hambyd27c9d52014-02-06 14:52:05 -080035 // Carrier device provisioning (items 11-30)
36 RIL_NV_DEVICE_MSL = 11, // device MSL
37 RIL_NV_RTN_RECONDITIONED_STATUS = 12, // RTN reconditioned status
38 RIL_NV_RTN_ACTIVATION_DATE = 13, // RTN activation date
39 RIL_NV_RTN_LIFE_TIMER = 14, // RTN life timer
40 RIL_NV_RTN_LIFE_CALLS = 15, // RTN life calls
41 RIL_NV_RTN_LIFE_DATA_TX = 16, // RTN life data TX
42 RIL_NV_RTN_LIFE_DATA_RX = 17, // RTN life data RX
43 RIL_NV_OMADM_HFA_LEVEL = 18, // HFA in progress
Jake Hamby8a4a2332014-01-15 13:12:05 -080044
Jake Hambyd27c9d52014-02-06 14:52:05 -080045 // Mobile IP profile information (items 31-50)
46 RIL_NV_MIP_PROFILE_NAI = 31, // NAI realm
47 RIL_NV_MIP_PROFILE_HOME_ADDRESS = 32, // MIP home address
48 RIL_NV_MIP_PROFILE_AAA_AUTH = 33, // AAA auth
49 RIL_NV_MIP_PROFILE_HA_AUTH = 34, // HA auth
50 RIL_NV_MIP_PROFILE_PRI_HA_ADDR = 35, // primary HA address
51 RIL_NV_MIP_PROFILE_SEC_HA_ADDR = 36, // secondary HA address
52 RIL_NV_MIP_PROFILE_REV_TUN_PREF = 37, // reverse TUN preference
53 RIL_NV_MIP_PROFILE_HA_SPI = 38, // HA SPI
54 RIL_NV_MIP_PROFILE_AAA_SPI = 39, // AAA SPI
55 RIL_NV_MIP_PROFILE_MN_HA_SS = 40, // HA shared secret
56 RIL_NV_MIP_PROFILE_MN_AAA_SS = 41, // AAA shared secret
Jake Hamby8a4a2332014-01-15 13:12:05 -080057
Jake Hambyd27c9d52014-02-06 14:52:05 -080058 // CDMA network and band config (items 51-70)
59 RIL_NV_CDMA_PRL_VERSION = 51, // CDMA PRL version
60 RIL_NV_CDMA_BC10 = 52, // CDMA band class 10
61 RIL_NV_CDMA_BC14 = 53, // CDMA band class 14
62 RIL_NV_CDMA_SO68 = 54, // CDMA SO68
63 RIL_NV_CDMA_SO73_COP0 = 55, // CDMA SO73 COP0
64 RIL_NV_CDMA_SO73_COP1TO7 = 56, // CDMA SO73 COP1-7
65 RIL_NV_CDMA_1X_ADVANCED_ENABLED = 57, // CDMA 1X Advanced enabled
66 RIL_NV_CDMA_EHRPD_ENABLED = 58, // CDMA eHRPD enabled
67 RIL_NV_CDMA_EHRPD_FORCED = 59, // CDMA eHRPD forced
Jake Hamby8a4a2332014-01-15 13:12:05 -080068
Jake Hambyd27c9d52014-02-06 14:52:05 -080069 // LTE network and band config (items 71-90)
70 RIL_NV_LTE_BAND_ENABLE_25 = 71, // LTE band 25 enable
71 RIL_NV_LTE_BAND_ENABLE_26 = 72, // LTE band 26 enable
72 RIL_NV_LTE_BAND_ENABLE_41 = 73, // LTE band 41 enable
Jake Hamby8a4a2332014-01-15 13:12:05 -080073
Jake Hambyd27c9d52014-02-06 14:52:05 -080074 RIL_NV_LTE_SCAN_PRIORITY_25 = 74, // LTE band 25 scan priority
75 RIL_NV_LTE_SCAN_PRIORITY_26 = 75, // LTE band 26 scan priority
76 RIL_NV_LTE_SCAN_PRIORITY_41 = 76, // LTE band 41 scan priority
Jake Hamby8a4a2332014-01-15 13:12:05 -080077
Jake Hambyd27c9d52014-02-06 14:52:05 -080078 RIL_NV_LTE_HIDDEN_BAND_PRIORITY_25 = 77, // LTE hidden band 25 priority
79 RIL_NV_LTE_HIDDEN_BAND_PRIORITY_26 = 78, // LTE hidden band 26 priority
80 RIL_NV_LTE_HIDDEN_BAND_PRIORITY_41 = 79, // LTE hidden band 41 priority
Jake Hamby8a4a2332014-01-15 13:12:05 -080081
82} RIL_NV_Item;
83
84#ifdef __cplusplus
85}
86#endif
87
88#endif /* ANDROID_RIL_NV_ITEMS_H */