OSDN Git Service

Set initial attach apn for LTE network
authorSungmin Choi <sungmin.choi@lge.com>
Fri, 26 Apr 2013 22:04:45 +0000 (15:04 -0700)
committerVineeta Srivastava <vsrivastava@google.com>
Wed, 22 May 2013 20:58:22 +0000 (13:58 -0700)
commit75697538e485ea2981960dcd4878bfdd032731ac
tree2d62d4c777838ed3c792a30848fcd333b1d3e63b
parentf467af616bbbc479771184731132d68e213a4419
Set initial attach apn for LTE network

When mobile register LTE network, APN provided by operators is needed.
If mobile does not have apn information, it could not register LTE network.
To deliver APN information which is used during LTE attach to modem chipset,
setLteAttachProfile() and RIL_REQUEST_SET_LTE_ATTACH_PROFILE command is added.

When Telephony DB is loaded or Telephony DB is changed, follow steps.
1. If preferred default ApnContext exists, this is delivered to modem chipset.
2. If preferred default ApnContext is null, find other ApnContext which can
   handle default type.
3. If other ApnContext which can handle default type does not exist, any other
   ApnContext delivered to modem chipset.

Then modem register LTE network with APN information delivered from AP.

Bug: 8733613

Change-Id: If84c62cddccf96a531dae0527ed1a6592ae76201
Signed-off-by: Seonju Oh <seonju.oh@lge.com>
Signed-off-by: Hyejin Kim <hyejin.kim@lge.com>
Signed-off-by: Sungmin Choi <sungmin.choi@lge.com>
include/telephony/ril.h
libril/ril.cpp
libril/ril_commands.h