Description
The Access Network Query Protocol (ANQP) is a query/response protocol defined by the Wi-Fi Alliance's Hotspot 2.0 (HS2.0) specifications and adopted by 3GPP for interworking with WLAN access networks. ANQP operates at the application layer and uses Generic Advertisement Service (GAS) frames as its transport mechanism over IEEE 802.11 networks. The protocol enables mobile devices (User Equipment or UEs) to query access networks for information without establishing a full network connection, allowing for informed network selection decisions based on available services, capabilities, and policies.
ANQP operates through a client-server model where the UE acts as the ANQP client and the Access Point (AP) or Access Network Query Server (ANQS) acts as the ANQP server. The UE sends ANQP query frames containing specific information element identifiers to request particular types of network information. The ANQP server responds with corresponding ANQP response frames containing the requested information elements. This exchange occurs during the pre-association phase, allowing the UE to evaluate multiple networks before committing to an association.
Key components of ANQP include the ANQP client implementation in the UE, the ANQP server (which may be integrated in the AP or a separate network entity), and the ANQP information elements that define the structure of queries and responses. The protocol supports various information elements including network authentication type, roaming consortium list, venue information, network access identifier (NAI) realm, 3GPP cellular network information, domain name list, and IP address type availability. These elements provide comprehensive metadata about the access network's capabilities and services.
In 3GPP architectures, ANQP plays a critical role in ANDSF (Access Network Discovery and Selection Function) and ePDG (evolved Packet Data Gateway) based solutions for WLAN interworking. The protocol enables UEs to discover 3GPP-credential based WLAN networks and obtain necessary information for seamless authentication and connection. ANQP queries can include specific 3GPP information elements that help UEs identify networks supporting EAP-AKA/EAP-AKA' authentication, understand available PLMN (Public Land Mobile Network) information, and determine network selection policies.
The protocol's design emphasizes efficiency and security. ANQP exchanges occur over protected management frames when possible, though basic ANQP queries may be sent unencrypted during initial discovery. The protocol includes mechanisms for fragmentation and reassembly of large information elements through multiple GAS frames. ANQP also supports vendor-specific information elements, allowing for extensibility and customization by network operators and equipment vendors.
Purpose & Motivation
ANQP was created to address the limitations of traditional Wi-Fi network discovery mechanisms, which relied primarily on SSID broadcast and manual configuration. Before ANQP, mobile devices had limited visibility into network capabilities before connecting, often requiring users to manually select networks and enter credentials without knowing if the network supported required services or security protocols. This approach was inefficient for seamless mobility and created poor user experiences, particularly in roaming scenarios.
The protocol specifically solves the problem of informed network selection in heterogeneous networks, particularly for 3GPP-WLAN interworking. As mobile operators began integrating Wi-Fi into their network architectures for traffic offloading and capacity enhancement, they needed a standardized way for devices to automatically discover and select appropriate WLAN access points based on operator policies, available services, and authentication methods. ANQP provides this capability by enabling devices to query networks for detailed information before establishing connections.
Historical context shows that ANQP emerged alongside the Wi-Fi Alliance's Hotspot 2.0 initiative, which aimed to create carrier-grade Wi-Fi networks with cellular-like seamless connectivity. 3GPP adopted ANQP to facilitate standardized interworking between cellular networks and WLANs, addressing the growing need for intelligent traffic steering and network selection in increasingly complex heterogeneous network environments. The protocol enables the vision of 'always best connected' by providing devices with the information needed to make optimal network selection decisions based on current conditions and operator policies.
Key Features
- Pre-association network discovery without full connection establishment
- Support for multiple information elements including authentication types and roaming information
- Integration with 3GPP-specific network metadata for cellular-WLAN interworking
- Transport via IEEE 802.11 GAS frames for efficient delivery
- Fragmentation support for large information elements through multiple frames
- Vendor-specific extensibility through custom information elements
Evolution Across Releases
Initial adoption of ANQP for 3GPP-WLAN interworking, focusing on basic network discovery capabilities. Defined support for querying network authentication types, roaming consortium information, and NAI realm details. Established the foundation for ANDSF-assisted network selection using ANQP-discovered information.
Enhanced ANQP with 3GPP Cellular Network information element, enabling UEs to discover WLAN networks that support 3GPP-based authentication. Added support for querying venue information and domain name lists. Improved integration with ePDG-based WLAN interworking architectures.
Introduced support for IP address type availability queries, helping UEs determine if networks support IPv4, IPv6, or both. Enhanced ANQP for LTE-WLAN Aggregation (LWA) scenarios. Added optimizations for faster network discovery in dense deployment environments.
Defining Specifications
| Specification | Title |
|---|---|
| TS 23.852 | 3GPP TS 23.852 |
| TS 24.234 | 3GPP TS 24.234 |
| TS 24.302 | 3GPP TS 24.302 |
| TS 24.502 | 3GPP TS 24.502 |
| TS 37.834 | 3GPP TR 37.834 |