public class

HTCWimax4GManager

extends Wimax4GManager
java.lang.Object
   ↳ com.htc.net.FourG.FourGManager
     ↳ com.htc.net.wimax.Wimax4GManager
       ↳ com.htc.net.wimax.HTCWimax4GManager

Class Overview

This class provides the primary API for managing all aspects of Wimax connectivity. Get an instance of this class by calling Context.getSystemService(Context.WIMAX_SERVICE). It deals with several categories of items:

  • The list of configured networks. The list can be viewed and updated, and attributes of individual entries can be modified.
  • The currently active Wimax network, if any. Connectivity can be established or torn down, and dynamic information about the state of the network can be queried.
  • Results of access point scans, containing enough information to make decisions about what access point to connect to.
  • It defines the names of various Intent actions that are broadcast upon any sort of change in Wimax state.
This is the API to use when performing Wimax specific operations. To perform operations that pertain to network connectivity at an abstract level, use ConnectivityManager.

Summary

Nested Classes
class HTCWimax4GManager.HTCWimaxConnectionStatistics  
Constants
int AKA_FAIL_ACCESS_DENIED
int AKA_FAIL_AFTER_AUTHEN_NO_POPUP
int AKA_FAIL_BEFORE_AUTHEN_NO_POPUP
int AKA_FAIL_GENERAL_AFTER_AUTHEN EAP AKA Notification code
int AKA_FAIL_GENERAL_BEFORE_AUTHEN
int AKA_FAIL_INVALID_ATTRIBUTE_INCLUDED_AFTER_AUTHEN
int AKA_FAIL_INVALID_ATTRIBUTE_INCLUDED_BEFORE_AUTHEN
int AKA_FAIL_INVALID_AT_CHECKCODE
int AKA_FAIL_INVALID_AT_MAC
int AKA_FAIL_INVALID_AT_RES
int AKA_FAIL_INVALID_AUTHTYPE
int AKA_FAIL_INVALID_IDENTITY
int AKA_FAIL_INVALID_SUBTYPE_AFTER_AUTHEN
int AKA_FAIL_INVALID_SUBTYPE_BEFORE_AUTHEN
int AKA_FAIL_INVALID_USER
int AKA_FAIL_LOST_TERMINAL
int AKA_FAIL_LOST_UICC
int AKA_FAIL_MISSING_ATTRIBUTE_AFTER_AUTHEN
int AKA_FAIL_MISSING_ATTRIBUTE_BEFORE_AUTHEN
int AKA_FAIL_NOT_SUBSCRIBED_SERVICE
int AKA_FAIL_PREPATMENT_OVER_RECHARGEABLE
int AKA_FAIL_PREPAYMENT_GENERAL_AFTER_AUTHEN
int AKA_FAIL_PREPAYMENT_GENERAL_BEFORE_AUTHEN
int AKA_FAIL_PREPAYMENT_OVER
int AKA_FAIL_PSSMAC_NOT_MATCH
int AKA_FAIL_TOO_MANY_SQN_FAIL
int AKA_FAIL_UNAVAILABLE_BS
int AKA_FAIL_UNKNOWN_BS
int AKA_FAIL_USAGELIMIT_EXHAUSTED
int AKA_SUCCESS
int AKA_SUCCESS_NO_POPUP
String EXTRA_EAP_AKA_NOTIFICATION_CODE Extra value for aka notification code
String EXTRA_EAP_NOTIFICATION_MSG Extra value for eap notification message
String KT_WIBRO_LINK_STATE The lookup key for a HTCWimax4GInfo.KTWimaxState
String KT_WIBRO_STATE_CHANGED_ACTION For KT project, WIBRO state change
String WIMAX_4G_AVAILABLE_ACTION For KT project, When wimax is available to use
String WIMAX_4G_NOT_AVAILABLE_ACTION For KT project, When wimax is not available to use
String WIMAX_EAP_AKA_NOTIFICATION_ACTION For KT project, When Eap AKA notification occurred
String WIMAX_EAP_NOTIFICATION_ACTION For KT project, When Eap notification occurred
[Expand]
Inherited Constants
From class com.htc.net.FourG.FourGManager
[Expand]
Inherited Fields
From class com.htc.net.wimax.Wimax4GManager
From class com.htc.net.FourG.FourGManager
Public Constructors
HTCWimax4GManager(IWimaxController service, Handler handler)
Public Methods
boolean addFrequency(int frequencyHz, int bandWidth, int duration)
API for KT requirement, add a new frequency into channel list
boolean changeToCorpNapid(int napid)
Change current configure to private network
boolean clearChannelList()
API for KT requirement, clear all item in channel list
String cli(String cmd)
Add for EPST change API
FourGManager.ConnectionStatistics createConnectionStatistics()
Get the upload/download statistics object for the current connection session.
int getLastAkaNotificationCode()
return value -1 means no error occurred
String getLastEapNotificationMsg()
return value empty value means no eap notification message
NetworkInfo getNetworkInfo()
Genneral use
int getSettingAuthMode()
API for KT requirement, get current Auth mode
int[] getSettingChannelList()
API for KT requirement, get current channel list
int getSettingIdleModeTimer()
API for KT requirement, get current idle mode timer
float getSettingTxPower()
API for KT requirement, get current setting of tx power
String getWimaxProp(String propId)
boolean isAvailable()
For KT project, is the wimax available to use
boolean isPrivateNetwork()
boolean resetPacketErrorRate()
API for KT requirement, reset packet error rate
boolean revertToSprintNapid()
Revert to Sprint(public) network: NAP-ID=2,4
boolean setAuthMode(int mode)
API for KT requirement, set Auth mode 0: none 1: pkm-v1 2: pkm-v2
boolean setIdleModeTimer(int idleTimeoutMs)
API for KT requirement, set idle mode timer
boolean setToggling(boolean isToogling)
[Start] Atlas Huang 20110806: For SPCS, WA for duplicate DISCONNECTED intent
boolean setTxPower(float txPower)
API for KT requirement, set FW tx power
boolean setWimaxProp(String propId, String value)
int wimaxRescan()
API for KT requirement, automatic reconnect
[Expand]
Inherited Methods
From class com.htc.net.wimax.Wimax4GManager
From class com.htc.net.FourG.FourGManager
From class java.lang.Object

Constants

public static final int AKA_FAIL_ACCESS_DENIED

Constant Value: 1026 (0x00000402)

public static final int AKA_FAIL_AFTER_AUTHEN_NO_POPUP

Constant Value: 3657 (0x00000e49)

public static final int AKA_FAIL_BEFORE_AUTHEN_NO_POPUP

Constant Value: 20041 (0x00004e49)

public static final int AKA_FAIL_GENERAL_AFTER_AUTHEN

EAP AKA Notification code

Constant Value: 0 (0x00000000)

public static final int AKA_FAIL_GENERAL_BEFORE_AUTHEN

Constant Value: 16384 (0x00004000)

public static final int AKA_FAIL_INVALID_ATTRIBUTE_INCLUDED_AFTER_AUTHEN

Constant Value: 2012 (0x000007dc)

public static final int AKA_FAIL_INVALID_ATTRIBUTE_INCLUDED_BEFORE_AUTHEN

Constant Value: 18396 (0x000047dc)

public static final int AKA_FAIL_INVALID_AT_CHECKCODE

Constant Value: 2023 (0x000007e7)

public static final int AKA_FAIL_INVALID_AT_MAC

Constant Value: 2021 (0x000007e5)

public static final int AKA_FAIL_INVALID_AT_RES

Constant Value: 2022 (0x000007e6)

public static final int AKA_FAIL_INVALID_AUTHTYPE

Constant Value: 3658 (0x00000e4a)

public static final int AKA_FAIL_INVALID_IDENTITY

Constant Value: 20021 (0x00004e35)

public static final int AKA_FAIL_INVALID_SUBTYPE_AFTER_AUTHEN

Constant Value: 2001 (0x000007d1)

public static final int AKA_FAIL_INVALID_SUBTYPE_BEFORE_AUTHEN

Constant Value: 18385 (0x000047d1)

public static final int AKA_FAIL_INVALID_USER

Constant Value: 20034 (0x00004e42)

public static final int AKA_FAIL_LOST_TERMINAL

Constant Value: 20038 (0x00004e46)

public static final int AKA_FAIL_LOST_UICC

Constant Value: 20037 (0x00004e45)

public static final int AKA_FAIL_MISSING_ATTRIBUTE_AFTER_AUTHEN

Constant Value: 2011 (0x000007db)

public static final int AKA_FAIL_MISSING_ATTRIBUTE_BEFORE_AUTHEN

Constant Value: 18395 (0x000047db)

public static final int AKA_FAIL_NOT_SUBSCRIBED_SERVICE

Constant Value: 1031 (0x00000407)

public static final int AKA_FAIL_PREPATMENT_OVER_RECHARGEABLE

Constant Value: 3648 (0x00000e40)

public static final int AKA_FAIL_PREPAYMENT_GENERAL_AFTER_AUTHEN

Constant Value: 3656 (0x00000e48)

public static final int AKA_FAIL_PREPAYMENT_GENERAL_BEFORE_AUTHEN

Constant Value: 20040 (0x00004e48)

public static final int AKA_FAIL_PREPAYMENT_OVER

Constant Value: 3647 (0x00000e3f)

public static final int AKA_FAIL_PSSMAC_NOT_MATCH

Constant Value: 20035 (0x00004e43)

public static final int AKA_FAIL_TOO_MANY_SQN_FAIL

Constant Value: 20036 (0x00004e44)

public static final int AKA_FAIL_UNAVAILABLE_BS

Constant Value: 20043 (0x00004e4b)

public static final int AKA_FAIL_UNKNOWN_BS

Constant Value: 20044 (0x00004e4c)

public static final int AKA_FAIL_USAGELIMIT_EXHAUSTED

Constant Value: 20039 (0x00004e47)

public static final int AKA_SUCCESS

Constant Value: 32768 (0x00008000)

public static final int AKA_SUCCESS_NO_POPUP

Constant Value: 32769 (0x00008001)

public static final String EXTRA_EAP_AKA_NOTIFICATION_CODE

Extra value for aka notification code

Constant Value: "eap_aka_notification_code"

public static final String EXTRA_EAP_NOTIFICATION_MSG

Extra value for eap notification message

Constant Value: "eap_notification_msg"

public static final String KT_WIBRO_LINK_STATE

The lookup key for a HTCWimax4GInfo.KTWimaxState

Constant Value: "kt_wibro_link_state"

public static final String KT_WIBRO_STATE_CHANGED_ACTION

For KT project, WIBRO state change

Constant Value: "com.htc.net.wimax.KT_WIBRO_STATE_CHANGED"

public static final String WIMAX_4G_AVAILABLE_ACTION

For KT project, When wimax is available to use

Constant Value: "com.htc.net.wimax.WIMAX_4G_AVAILABLE"

public static final String WIMAX_4G_NOT_AVAILABLE_ACTION

For KT project, When wimax is not available to use

Constant Value: "com.htc.net.wimax.WIMAX_4G_NOT_AVAILABLE"

public static final String WIMAX_EAP_AKA_NOTIFICATION_ACTION

For KT project, When Eap AKA notification occurred

Constant Value: "com.htc.net.wimax.WIMAX_EAP_AKA_NOTIFICATION"

public static final String WIMAX_EAP_NOTIFICATION_ACTION

For KT project, When Eap notification occurred

Constant Value: "com.htc.net.wimax.WIMAX_EAP_NOTIFICATION"

Public Constructors

public HTCWimax4GManager (IWimaxController service, Handler handler)

Public Methods

public boolean addFrequency (int frequencyHz, int bandWidth, int duration)

API for KT requirement, add a new frequency into channel list

public boolean changeToCorpNapid (int napid)

Change current configure to private network

public boolean clearChannelList ()

API for KT requirement, clear all item in channel list

public String cli (String cmd)

Add for EPST change API

public FourGManager.ConnectionStatistics createConnectionStatistics ()

Get the upload/download statistics object for the current connection session.

public int getLastAkaNotificationCode ()

return value -1 means no error occurred

public String getLastEapNotificationMsg ()

return value empty value means no eap notification message

public NetworkInfo getNetworkInfo ()

Genneral use

public int getSettingAuthMode ()

API for KT requirement, get current Auth mode

public int[] getSettingChannelList ()

API for KT requirement, get current channel list

public int getSettingIdleModeTimer ()

API for KT requirement, get current idle mode timer

public float getSettingTxPower ()

API for KT requirement, get current setting of tx power

public String getWimaxProp (String propId)

public boolean isAvailable ()

For KT project, is the wimax available to use

public boolean isPrivateNetwork ()

public boolean resetPacketErrorRate ()

API for KT requirement, reset packet error rate

public boolean revertToSprintNapid ()

Revert to Sprint(public) network: NAP-ID=2,4

public boolean setAuthMode (int mode)

API for KT requirement, set Auth mode 0: none 1: pkm-v1 2: pkm-v2

public boolean setIdleModeTimer (int idleTimeoutMs)

API for KT requirement, set idle mode timer

public boolean setToggling (boolean isToogling)

[Start] Atlas Huang 20110806: For SPCS, WA for duplicate DISCONNECTED intent

public boolean setTxPower (float txPower)

API for KT requirement, set FW tx power

public boolean setWimaxProp (String propId, String value)

public int wimaxRescan ()

API for KT requirement, automatic reconnect