summaryrefslogtreecommitdiffstats
path: root/include/telephony/ril.h
diff options
context:
space:
mode:
authorPrerepa Viswanadham <dham@google.com>2015-05-28 00:37:32 -0700
committerPrerepa Viswanadham <dham@google.com>2015-06-08 16:39:50 -0700
commit7315749476fdfcdbdcba4763b45d0b28bbca6e2d (patch)
treee72f776f13733a4e9335fdf4b38a2f928024c903 /include/telephony/ril.h
parent73f2ccbf49cced1bb66371d1ba12ce23fd8eae5b (diff)
downloadandroid_hardware_ril-7315749476fdfcdbdcba4763b45d0b28bbca6e2d.tar.gz
android_hardware_ril-7315749476fdfcdbdcba4763b45d0b28bbca6e2d.tar.bz2
android_hardware_ril-7315749476fdfcdbdcba4763b45d0b28bbca6e2d.zip
Modem activity info
Change-Id: Iab8fbdeae0867c6e9cb9027b08317b1b5a2c9dfc
Diffstat (limited to 'include/telephony/ril.h')
-rw-r--r--include/telephony/ril.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/include/telephony/ril.h b/include/telephony/ril.h
index 1772025..8cde697 100644
--- a/include/telephony/ril.h
+++ b/include/telephony/ril.h
@@ -1412,14 +1412,7 @@ typedef struct {
} RIL_DataProfileInfo;
/* Tx Power Levels */
-typedef enum {
- RIL_TX_POWER_LEVEL_ONE = 0,
- RIL_TX_POWER_LEVEL_TWO = 1,
- RIL_TX_POWER_LEVEL_THREE = 2,
- RIL_TX_POWER_LEVEL_FOUR = 3,
- RIL_TX_POWER_LEVEL_FIVE = 4,
- RIL_TX_POWER_LEVEL_MAX = 5
-} RIL_TxPowerLevel;
+#define RIL_NUM_TX_POWER_LEVELS 5
typedef struct {
@@ -1430,7 +1423,7 @@ typedef struct {
uint32_t idle_mode_time_ms;
/* period (in ms) for which Tx is active */
- uint32_t tx_mode_time_ms[RIL_TX_POWER_LEVEL_MAX];
+ uint32_t tx_mode_time_ms[RIL_NUM_TX_POWER_LEVELS];
/* period (in ms) for which Rx is active */
uint32_t rx_mode_time_ms;