1476 Commits

Author SHA1 Message Date
Wink Saville
070eecef39 Merge "Map multiple apnType to one DataConnection fixes." into honeycomb-LTE 2011-05-23 13:39:03 -07:00
Ramesh Sudini
a95bce0b29 Map multiple apnType to one DataConnection fixes.
With current design the code maps to the same DC, but no indications go out.
With this, making it more async in nature that the request goes all the way
to DC and all the data indications would be triggered by parallel paths through DCT.

Change-Id: I4c6e64912dafe19154d910bbd0441b10ada36cff
2011-05-23 12:01:40 -07:00
Ramesh Sudini
a88d76b772 Data Connection: Use Alarm for all delayed data retries.
Change-Id: I5045c3a10808b75f1ca3174bd1c16f332d5f7fa8
2011-05-23 12:01:31 -07:00
Kazuhiro Ondo
f96a6150e4 Data reconnection issue after airplane mode
ApnContext and DC were not disassociated when force
"cleanUpConnection" was called. Causing the setup
request was not happening if applyNewStatus() was
the trigger.

Change-Id: I6d73a53edb72bb9ab4ebb92fffd06e6fe1f0c4aa
2011-05-21 12:49:41 -07:00
Kazuhiro Ondo
4c88be655e GSM DCT: Update poll stats to support multi-links
Change-Id: I654e38e71f9576ed2c4da59af563be04bc87045c
2011-05-21 11:57:41 -07:00
Wink Saville
15cd6ec250 Tear down connection with unwanted linkproperty change
Make sure to disconnect the link when RIL reported link property change
which could cause connectivity issue. (i.e. IP address)

Change-Id: I6601ef53e4561bdc7d2760d00e134b8431512cb2
2011-05-21 10:05:26 -07:00
Wink Saville
16e8d22b20 Fix build.
A merge accidentally included a line that was deleted.

Change-Id: I991488ace290e5eb8eef3ca73f49c07d391028f5
2011-05-20 23:31:29 -07:00
Wink Saville
5f353de96b Merge "Notify RIL that PDP reset is triggered due to data stall" into honeycomb-LTE 2011-05-20 17:23:45 -07:00
John Wang
393eb0d06b Merge "Add UI to handle SIM swap." into honeycomb-LTE 2011-05-20 17:18:56 -07:00
John Wang
10e9f668ee Add UI to handle SIM swap.
bug:4364964

Change-Id: Iadf466401a24dfbd638353d689e6ae89506afc97
2011-05-20 16:52:51 -07:00
Kazuhiro Ondo
edbe2cc386 Notify RIL that PDP reset is triggered due to data stall
Additional deactivate cause so RIL could take intelligent action
on data stall occurrence if necessary.

Change-Id: Iae4accda879efb5679085c518117617fb16631c3
2011-05-20 16:52:46 -07:00
Kazuhiro Ondo
5ce6268faa Fix broken data retry
Change I2b737efa6092ad1254c8dc25840ec429f5c6e882 brought side
effect that retry count is reset at every setup.

Change-Id: I6f20d2e82110b2873ff5acbb60a747fd11c09c60
2011-05-20 15:31:33 -07:00
Wink Saville
fe071d3d37 Change getLteOnCdmaModeStatic to dynamically determine its result.
bug: 4202572
Change-Id: I956b61840e2043229df29054dd2a6daccd7a845f
2011-05-20 12:27:16 -07:00
Wink Saville
be2b058ec1 Reset connection while data state changed.
Check data call states and reset connection if any link properties changed.


Change-Id: I008aea969378648192852161959fdf4aad6211a1
2011-05-18 15:59:04 -07:00
Kazuhiro Ondo
01758e81b3 Linkproperties update via unsol data call state change.
Handles the scenario of radio technology handover with IP continuity.
Once RIL/Modem finished a handover operation, an unsol data call state
change will be send up to FW notifying all link propertes changes.
FW will then re-configure the device with new link properties
including iptable used by Tethering.

Change-Id: I05e29f66ac3db8ba4274d3662642607742ba1d12
2011-05-17 20:53:40 -07:00
Kazuhiro Ondo
066704ddb4 Remove SIM operator name hack
Change-Id: I28c6f94dd6c6bab3a3025f67013a39b3ea0fb0a1
2011-05-17 17:44:18 -07:00
Kazuhiro Ondo
2121291186 No data icon switch seen between LTE to EHRPD Handover
Change-Id: Ifc8e9e8d88b6617d75322f743ae96fd897a45c3b
2011-05-16 15:54:45 -07:00
Kazuhiro Ondo
c1a4e7093e Fix data attempt while PS is not in-service
mAutoAttachOnCreation flag was incorrectly initialized which was
causing invalid data attempts while PS is not in-service.

Change-Id: Iaf16b70b1997631309a4918a99ac5f3c3ea74d02
2011-05-16 15:12:01 -07:00
Kazuhiro Ondo
47e326c8ac Implement incremental data stall recovery in GSM DCT
Change-Id: Ibc43845c618fd1bf0b5a697568ba475e78e9d58e
2011-05-16 11:43:01 -07:00
Wink Saville
92cc1d20ae Merge "Telephony: Handle Icc Status Changed Event." into honeycomb-LTE 2011-05-15 14:38:59 -07:00
Ramesh Sudini
3ce5de7fe2 Telephony: Handle Icc Status Changed Event.
Change-Id: I8203d3b863ea9a27251823d3fed209673c45206c
2011-05-14 18:36:11 -07:00
Robert Greenwalt
2b5a3ec757 Fix bevhavior of fetchDunApn.
If nothing secure is set let us fall back to use general APN db entries.

Change-Id: Ic6908dd301c432c11a6f773e06dd6e207d45a037
2011-05-14 12:07:50 -07:00
Wink Saville
5e9270bfd5 Add getLteOnCdamMode.
Change-Id: Iebf027f956d543d7a69cad64aaba47900937a785
2011-05-12 13:37:32 -07:00
Wink Saville
db08ff768b Merge "Refactor IccRecords and IccCard" into honeycomb-LTE 2011-05-10 16:28:33 -07:00
Wink Saville
1f3278e111 Refactor IccRecords and IccCard
IccRecords is now full base class for RuimRecords and SIMRecords
so we can use the IccRecords to represent both Ruim and SIM records
class.

Rename mSIMRecords to mIccRecords in PhoneBase.

Remove mRuimRecords.

Change-Id: If6afff3f99d41830c947de13c26586deff923c6f
2011-05-10 11:33:10 -07:00
Wink Saville
eb8da0fec2 Merge "Fix issue on infinite retry config in RetryManager" into honeycomb-LTE 2011-05-09 20:31:45 -07:00
Wink Saville
987cd49966 Add unset and setOnIccRefresh.
A temporary hack as some binaries are using these methods.

Change-Id: I4ee63df82acf167ab5f434e63bd073e84e1fdf71
2011-05-09 20:27:54 -07:00
Kazuhiro Ondo
192122e706 Fix issue on infinite retry config in RetryManager
"infinite retry config is lost when "resetRetryCount" is called.

Change-Id: I2b737efa6092ad1254c8dc25840ec429f5c6e882
2011-05-09 17:01:07 -07:00
Wink Saville
45364dc4bf Merge "Telephony: Signal Strength Changes." into honeycomb-LTE 2011-05-09 16:57:32 -07:00
Robert Greenwalt
a142512a50 Broadcast SIM Refresh to all registered components
There could be multiple registrants like SIM, STK.
Port of 6228 from partner repo.

Change-Id: I0756d8b69e30058409e0279f65a99a1aa091e13d
2011-05-09 16:46:39 -07:00
Ramesh Sudini
5d7b9271b3 Telephony: Signal Strength Changes.
Change-Id: Ia406d21d860533e699a90d15130edcbc705ec645
2011-05-09 10:57:42 -07:00
Robert Greenwalt
2b48ca07ef Merge "Fix 2 functions getting connections up by apnType" into honeycomb-LTE 2011-05-06 16:21:06 -07:00
Robert Greenwalt
06ce569b76 Fix 2 functions getting connections up by apnType
A bad impl that only effected non-default connections on CDMA.
bug:4392820

Change-Id: If178dba90c4525289098fc88b80cf918e35f4d32
2011-05-06 16:01:46 -07:00
Robert Greenwalt
2499da83cb Merge "Mark a disable apn so we don't reconnect." into honeycomb-LTE 2011-05-06 14:52:45 -07:00
Robert Greenwalt
51a8610f9a Mark a disable apn so we don't reconnect.
Strip out the pending-action stuff so things are more clear.
bug:4378382

Change-Id: I0e98559c88dccd50169c29d1e74421acb4246b78
2011-05-06 13:23:06 -07:00
Wink Saville
d237d05c6f Merge "Add Delay for data connection retry." into honeycomb-LTE 2011-05-05 16:20:11 -07:00
Ramesh Sudini
cf7db80a9a Add Delay for data connection retry.
Change-Id: Id2c6db09827f29198e38fb9ade4141fab9fa29fc
2011-05-05 14:18:48 -07:00
Ramesh Sudini
a29e094a98 DataConnection: Fix handling of PDP setup failure.
Change-Id: Ib73c5aad1f9f07ddca7e2e0b3dfba6ed40aa47ef
2011-05-05 14:05:19 -07:00
Wink Saville
ed2989a9e1 Fix 4379712 NPE in GsmDataConnectionTracker
Releasing the apnContext too soon and move getting the dc and dcac
into the ok path.

Bug: 4379712
Change-Id: I0296b65ec5842b0219269a73d48ac39086c382fd
2011-05-04 15:16:12 -07:00
Wink Saville
d0d44c4e98 Merge "Make DataConnection asynchronous." into honeycomb-LTE 2011-05-02 23:41:29 -07:00
Wink Saville
0b80114a2d Make DataConnection asynchronous.
Change-Id: Ic0e01dded25ba1fdb3b2c6d0f95a1193f608a0e0
2011-05-02 21:55:04 -07:00
Robert Greenwalt
a47c40193f Merge "Add RouteInfo objects for tracking routes." into honeycomb-LTE 2011-05-02 13:26:52 -07:00
Robert Greenwalt
aa70f101e0 Add RouteInfo objects for tracking routes.
Used to have list of gateways for default routes, but general static routes
should be supported.

Change-Id: I01730142c6139f2b833b9d48f5381d2d320b69f6
2011-05-02 11:17:30 -07:00
Wink Saville
aa44b52ee0 Fix bug in RIL#getDataCallState.
Change-Id: I568e25d85888aa40b6a0b5e7f2d016e409f73ce1
2011-05-02 10:00:53 -07:00
Kazuhiro Ondo
f0055d5e3c CDMALTE: Evaluate data network type in pollStateDone()
During LTE to HRPD handover, CDMA data network type (1X, DO, RevA)
was not detected immediately as the checking was not done without
waiting for the LTE state. The patch will wait for pollStateDone
to determine new data network state.

Change-Id: I2d63d43df1f3124ba27f77897abef30f06be650d
2011-04-29 11:47:07 -07:00
Wink Saville
a68a61dfe3 Merge "Telephony: Data availability indication upon records loaded." into honeycomb-LTE 2011-04-28 13:51:31 -07:00
Wink Saville
05fcd239ab Merge "Telephony: Corrections to signal strength values." into honeycomb-LTE 2011-04-28 13:51:22 -07:00
Ramesh Sudini
11cee41f3e Telephony: Corrections to signal strength values.
RSRP is already -ve.

Change-Id: Ieff689a98088ad6aad9cfc6516169c92bbb0015d
2011-04-28 12:24:55 -07:00
Ramesh Sudini
662b016d6e Telephony: Data availability indication upon records loaded.
This will make sure if records loaded comes after radio availability we dont miss sending
out dataAvailability.

Change-Id: Ibbecaa89f28e1441e799bf1681d0b4692cf0f13a
2011-04-28 12:24:13 -07:00
Kazuhiro Ondo
379cbb1dcc Send STK Service Running RIL Request after sim module is ready
Currently "STK Service Running" is sent as soon as phone app is
started. And depending on the timing of vendor RIL initialization
the event may not be handled. This patch waits for SIM_READY,
RUIM_READY or NV_READY indicating vendor's SIM (equivalent) module
become ready to process the event.

Change-Id: I4182a5413201f11856989664c8f19ae1eca48e2f
2011-04-28 12:23:25 -07:00