Skip to content

Commit 897b311

Browse files
author
Naveen Kalla
committed
Telephony: Add HSPAP to getTcpBufferSizesPropName
When device is camped on HSPAP TCP Buffer sizes need to be configured properly to support higher data rates. Without this change, default TCP buffer sizes will be used and throughput will be low. Change-Id: Ica5884b35851a32e57c82c63b148df5be580ae83
1 parent 33034b1 commit 897b311

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/java/android/net/MobileDataStateTracker.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,9 @@ public String getTcpBufferSizesPropName() {
329329
case TelephonyManager.NETWORK_TYPE_HSPA:
330330
networkTypeStr = "hspa";
331331
break;
332+
case TelephonyManager.NETWORK_TYPE_HSPAP:
333+
networkTypeStr = "hspap";
334+
break;
332335
case TelephonyManager.NETWORK_TYPE_CDMA:
333336
networkTypeStr = "cdma";
334337
break;

0 commit comments

Comments
 (0)