Wi-Fi Hotspot Offloading Constants

This section describes the constants that are defined for the Wi-Fi Hotspot Offloading framework.

HS_CONST_HOST_CURRENT_API_VERSION

1

Current API version number.

HS_CONST_MAX_NETWORK_DISPLAY_NAME_LENGTH

32

Maximum length of the network display name string.

HS_CONST_MAX_REALM_LENGTH

255

Maximum length of the realm value string.

HS_CONST_MIN_CONN_KEEPALIVE_TIME_IN_MINS

5

Minimum time between keep-alive message transmissions

HS_CONST_PROFILE_UPDATE_TIME_IN_DAYS

7

Minimum time between checks for profile updates.

HS_CONST_MIN_NETWORK_PRIORITY_VALUE

1

Minimum network priority value.

HS_CONST_MAX_NETWORK_PRIORITY_VALUE

65000

Maximum network priority value.

HS_MAX_PHONE_NUMBER_LENGTH

32

Maximum length of the phone number string.

HS_CONST_MAX_HOST_NAME_LENGTH

255

Maximum length of the host name string.

HS_CONST_PLUGIN_MIN_RANK_VALUE

1

Minimum Rank value. Must be greater than 0.

HS_CONST_PLUGIN_MAX_RANK_VALUE

250

Maximum rank value. Must be less than or equal to 250.

HS_CONST_MAX_PROVIDER_NAME_LENGTH

63

Maximum length of provider name string.

HS_CONST_MAX_ADVANCED_PAGE_STRING_LENGTH

255

Maximum length of the advanced page string.

HS_CONST_MAX_PHONE_NUMBER_LENGTH

32

Maximum length of the phone number string.

HS_CONST_MAX_SUPPORTED_SIMS

1000

Maximum size of the list of supported SIM configurations.

HS_CONST_MAX_CELLULAR_EXCEPTION_HOSTS

5

Maximum size of the list of cellular bearers.

HS_CONST_MAX_AUTH_ERROR_MSG_LENGTH

512

Maximum length of an authentication error message.

HS_CONST_MAX_USER_MESSAGES_IN_MINUTES

7*24*60

Maximum user messages, in minutes (7 days).

The following flags are defined for the plug-in and the host to indicate their requirements and capabilities respectively.

HS_FLAG_CAPABILITY_NETWORK_TYPE_VISIBLE

0x00000001

Specifies visible network.

HS_FLAG_CAPABILITY_NETWORK_TYPE_HIDDEN

0x00000002

Specifies hidden network.

HS_FLAG_CAPABILITY_NETWORK_DISPLAY_NAME

0x00000010

Specifies use of display name for EAP-SIM or EAP-AKA authentication.

HS_FLAG_CAPABILITY_NETWORK_AUTH_NO_SIM

0x00000100

Specifies no-SIM authentication.

HS_FLAG_CAPABILITY_NETWORK_AUTH_HTTP

0x00000200

Specifies HTTP authentication.

HS_FLAG_CAPABILITY_NETWORK_AUTH_EAP_SIM

0x00001000

Specifies EAP-SIM authentication.

HS_FLAG_CAPABILITY_NETWORK_AUTH_EAP_AKA

0x00002000

Specifies EAP-AKA authentication.

HS_FLAG_CAPABILITY_NETWORK_AUTH_EAP_AKA_PRIME

0x00004000

Specifies EAP-AKA’ (AKA Prime) authentication.

HS_FLAG_CAPABILITY_NETWORK_CUSTOM_REALM

0x00010000

Specifies use of custom realm value for network authentication.

Requirements

Version

Windows 10 Mobile

Header

Hotspotoffloadplugin.h (include Hotspotoffloadplugin.h)

See also

Wi-Fi Hotspot Offloading Reference

 

 

Send comments about this topic to Microsoft