From 3a63fbc342d031dac10933f7f657902b0ff0fea3 Mon Sep 17 00:00:00 2001 From: Li Zhe Date: Tue, 4 Aug 2009 13:14:34 +0800 Subject: [PATCH] HSDPA/HSUPA/HSPA support in ril. HSDPA: High-Speed Downlink Packet Access HSUPA: High-Speend Uplink Packet Access HSPA: High-Speed Packet Access Changes include: 1) add HSDPA/HSUPA/HSPA in response of RIL_REQUEST_REGISTRATION_STATE 2) rdd HSDPA/HSUPA/HSPA in response of RIL_REQUEST_GPRS_REGISTRATION_STATE --- include/telephony/ril.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/telephony/ril.h b/include/telephony/ril.h index 5a09060..af7a873 100644 --- a/include/telephony/ril.h +++ b/include/telephony/ril.h @@ -1003,7 +1003,8 @@ typedef struct { * ((const char **)response)[3] indicates the available radio technology 0-7, * 0 - Unknown, 1 - GPRS, 2 - EDGE, 3 - UMTS, * 4 - IS95A, 5 - IS95B, 6 - 1xRTT, - * 7 - EvDo Rev. 0, 8 - EvDo Rev. A + * 7 - EvDo Rev. 0, 8 - EvDo Rev. A, + * 9 - HSDPA, 10 - HSUPA, 11 - HSPA * ((const char **)response)[4] is Base Station ID if registered on a CDMA * system or NULL if not. Base Station ID in * decimal format @@ -1067,7 +1068,7 @@ typedef struct { * * "data" is NULL * "response" is a "char **" - * ((const char **)response)[0] is registration state 0-5 from TS 27.007 7.2 + * ((const char **)response)[0] is registration state 0-5 from TS 27.007 10.1.20 AT+CGREG * ((const char **)response)[1] is LAC if registered or NULL if not * ((const char **)response)[2] is CID if registered or NULL if not * ((const char **)response)[3] indicates the available radio technology, where: @@ -1075,6 +1076,9 @@ typedef struct { * 1 == GPRS only * 2 == EDGE * 3 == UMTS + * 9 == HSDPA + * 10 == HSUPA + * 11 == HSPA * * LAC and CID are in hexadecimal format. * valid LAC are 0x0000 - 0xffff -- 2.11.0