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.
Detected Changes Across Releases
from 3GPP Change RequestsSpecific changes extracted from the „Change history“ tables of 3GPP specifications (8 CRs across 3 releases). Complements the general historical overview above with the evidence-based evolution of this function.
Studied in Rel-8, normative work from Rel-15.
In Release 15, the ANQP function was updated with corrections to name fields and protocol numbers for proper identification. Furthermore, an Editor's Note regarding the application ID for ANDSF GBA Push was resolved to ensure clarity within the protocol specifications. These changes provided necessary maintenance and corrections to the existing ANQP framework.
In Release 16, the primary enhancement for the Access Network Query Protocol (ANQP) was the addition of 5G Connectivity capability to its payload. This update allowed the protocol to convey information relevant to 5G network access and interworking. Furthermore, the release included corrections to protocol references, such as updating an IKEv2 RFC number.
In Release 18, a key enhancement for the ANQP function was the encapsulation of EAP-5G messages within the link layer protocol specifically for trusted non-3GPP access. This change aimed to integrate 5G authentication mechanisms more seamlessly into the WLAN access stratum. Additionally, the release formally defined and standardized abbreviations for ANQP and SSID within the 3GPP specifications.
Explore further
Broader topics and technologies where ANQP plays a role.
Defining Specifications
3GPP specifications that define or reference ANQP, with the latest known release. Sourced from the 3GPP document catalog — see methodology.
| Specification | Title | Release |
|---|---|---|
| TS 23.852 vc00 | Study on GTP-based S2a for WLAN Access | Rel-12 |
| TS 24.234 vc20 | 3GPP-WLAN Interworking Network Selection | Rel-12 |
| TS 24.302 vj00 | Access to EPC via non-3GPP networks; Stage 3 | Rel-19 |
| TS 24.502 vj20 | 5G Core Access via Non-3GPP Networks; Stage 3 | Rel-19 |
| TS 37.834 vc00 | WLAN/3GPP Radio Interworking Study | Rel-12 |