Permalink
Browse files

apns-conf-cdma: Remove Sprint CDMA MMS apn, conflicts with LTE/eHRPD …

…service

The old Sprint CDMA MMS apn uses the same MCC/MNC pair (310120) and apn
type ("default") as Sprint's LTE/eHRPD service.  Thus, Sprint LTE devices
attempt to connect to LTE/eHRPD services using the old CDMA MMS apn first,
which usually fails, and thus delays service establishment.

However, occasionally service "successfully" connects with the CDMA MMS
apn, for unknown reasons, at which point that apn is set as the preferred
apn for LTE connections.  Thus, any subsequent LTE/eHRPD connection attempt
fails due to use of the wrong apn.

By removing the old CDMA MMS apn, LTE/eHRPD connections will use the
appropriate apns.  Furthermore
com.android.mms.transaction.TransactionSettings::TransactionSettings does
not query the bearer field when looking for valid MMS apns, so the
LTE/eHRPD will continue to work on non-LTE Sprint devices.

Note that with this change, the MMS apn now specifies an mmsproxy.

Change-Id: Iba48bd6d120b02bc6265f958d0e04181d17f5c66
  • Loading branch information...
mkasick authored and Gerrit Code Review committed Oct 20, 2012
1 parent 8e8b477 commit c1d27debdca122b5d8507e2972d29075ca06d272
Showing with 3 additions and 3 deletions.
  1. +3 −3 prebuilt/common/etc/apns-conf-cdma.xml
@@ -30,8 +30,8 @@
<!-- Sprint -->
- <!-- Modify Apn database for Sprint CDMA MMS support -->
- <apn carrier="Sprint" mcc="310" mnc="120" apn="Sprint" user="Sprint" server="*" password="*" mmsc="http://mms.sprintpcs.com" authtype="3"/>
+ <!-- Sprint CDMA MMS: Use LTE/eHRPD mms apns to avoid LTE/eHRPD service conflicts. -->
+ <!--<apn carrier="Sprint" mcc="310" mnc="120" apn="Sprint" user="Sprint" server="*" password="*" mmsc="http://mms.sprintpcs.com" authtype="3"/>-->
<!-- Modify Apn database for Sprint LTE support -->
<apn carrier="LTE - SPRINT test ISP" mcc="001" mnc="01" apn="n.ispsn" type="default,mms" mmsc="http://mms.sprintpcs.com" mmsproxy="68.28.31.7" mmsport="80" protocol="IPV4V6" roaming_protocol="IPV4V6" bearer="14" />
@@ -40,7 +40,7 @@
<apn carrier="LTE - SPRINT test ISP" mcc="001" mnc="010" apn="n.ispsn" type="default,mms" mmsc="http://mms.sprintpcs.com" mmsproxy="68.28.31.7" mmsport="80" protocol="IPV4V6" roaming_protocol="IPV4V6" bearer="14" />
<apn carrier="LTE - SPRINT test OTA" mcc="001" mnc="010" apn="otasn" type="fota" protocol="IPV4V6" roaming_protocol="IPV4V6" bearer="14" />
<apn carrier="LTE - SPRINT test PAM" mcc="001" mnc="010" apn="pamsn" type="dun" protocol="IPV4V6" roaming_protocol="IPV4V6" bearer="14" />
-<!-- END modify Apn database for Sprint LTE support -->
+ <!-- END modify Apn database for Sprint LTE support -->
<!-- Modify Apn database for Sprint EHRPD support -->
<apn carrier="EHRPD - SPRINT test ISP" mcc="001" mnc="01" apn="n.ispsn" type="default,mms" mmsc="http://mms.sprintpcs.com" mmsproxy="68.28.31.7" mmsport="80" protocol="IPV4V6" roaming_protocol="IPV4V6" bearer="13" />

0 comments on commit c1d27de

Please sign in to comment.