Wireless LAN Overview
Infrastructure Mode
Read aloud is unavailable in this browser.
The Architecture of Modern WiFi
When you connect your laptop to a WiFi network at home, in an office, or at a coffee shop, you're almost certainly using Infrastructure Mode—the dominant architecture for wireless LANs worldwide. In this mode, an Access Point (AP) acts as a central coordinator, bridging wireless clients to the wired network and managing all communication.
Infrastructure Mode is so ubiquitous that many users don't realize alternative architectures exist. But its prevalence isn't accidental—this architecture solves critical problems: it provides reliable connectivity, enables roaming between coverage areas, enforces security policies, and bridges the gap between wireless and wired networks. Understanding Infrastructure Mode means understanding how virtually every WiFi network operates.
By the end of this page, you'll possess deep knowledge of Infrastructure Mode operation—from the Basic Service Set (BSS) architecture to the complete frame exchange sequences that establish and maintain connectivity. You'll understand how APs coordinate medium access, bridge traffic, and enable the seamless connectivity we take for granted.
The Basic Service Set (BSS)
The fundamental building block of Infrastructure Mode is the Basic Service Set (BSS). A BSS consists of a single access point and its associated wireless clients (called stations or STAs in 802.11 terminology).
BSS Identification:
Every BSS is uniquely identified by a BSSID—typically the MAC address of the access point's wireless interface. When a client associates with an AP, it's joining that AP's BSS.
The SSID (Service Set Identifier):
The SSID is the human-readable network name—"CoffeeShop_WiFi" or "CorpNet-5G." Important distinctions:
- SSID is not unique — Multiple APs can advertise the same SSID (and usually do in enterprise deployments)
- BSSID is unique — Each AP interface has its own BSSID
- Clients connect to a BSSID (specific AP) even though they select by SSID (network name)
Coverage Area:
The BSS coverage area, sometimes called a cell, is determined by:
- AP transmit power
- Client transmit capabilities
- Environmental factors (walls, interference)
- Receive sensitivity of both AP and clients
Unlike the clean circles in textbook diagrams, real coverage areas are irregular, affected by building construction, furniture, and the RF environment.
| Term | Definition | Example |
|---|---|---|
| BSS (Basic Service Set) | One AP plus associated clients | The wifi network in a small office |
| BSSID | BSS identifier (AP's MAC address) | 00:14:22:01:23:45 |
| SSID | Human-readable network name | CorporateWiFi |
| STA (Station) | Any device with 802.11 interface | Laptop, phone, IoT sensor |
| AP (Access Point) | Infrastructure mode coordinator | The device mounted on the ceiling |
| BSA (Basic Service Area) | Geographic coverage of BSS | The conference room |
| Hidden SSID | Network not advertised in beacons | SecureNetwork (probe required) |
Modern access points often support multiple BSSIDs on a single radio—each appearing as a separate network with its own SSID, security settings, and VLAN assignment. This virtual BSS capability enables a single physical AP to serve guest, corporate, and IoT networks simultaneously.
Extended Service Set (ESS) and Roaming
A single access point can only cover a limited area. To provide wireless connectivity across a large building or campus, multiple APs are deployed with overlapping coverage. When these APs share the same SSID and are connected to a common distribution system, they form an Extended Service Set (ESS).
ESS Architecture:
- Multiple APs (each with unique BSSID) share a common SSID
- APs connect to a Distribution System (DS)—typically the wired Ethernet network
- Clients can roam (move) between APs while maintaining network connectivity
- From the client's perspective, the ESS appears as a single logical network
The Distribution System:
The DS connects access points and bridges traffic between them. In most deployments:
- The DS is simply the Ethernet switch infrastructure
- All APs connect to the same VLAN or routed network
- Traffic between clients on different APs flows through the DS
Roaming in the ESS:
As a user walks through a building, their device monitors signal quality. When the current AP's signal degrades sufficiently, the device:
- Scans for alternative APs advertising the same SSID
- Selects a candidate AP with better signal
- Authenticates and associates with the new AP
- Disassociates from the old AP (may be implicit)
The goal is a seamless handoff where applications don't notice the transition.
- •Client-Driven Roaming — The client decides when to roam; the network can only suggest (via 802.11v). This leads to inconsistent roaming behavior across device manufacturers.
- •Roaming Latency — Without fast roaming protocols (802.11r), reconnection can take 500ms-2 seconds—unacceptable for VoIP or video.
- •Same-Subnet Requirement — Traditional roaming assumes the same IP subnet across all APs. Roaming between subnets requires Layer 3 mobility solutions.
- •Security Context — With WPA2/WPA3 Enterprise, re-authentication can add significant delay. Fast roaming pre-caches credentials at neighboring APs.
- •Overlap Planning — APs must have overlapping coverage (typically 15-20% overlap) for seamless roaming. Gaps cause disconnection.
Modern enterprise networks deploy 802.11k (neighbor reports), 802.11v (BSS transition management), and 802.11r (fast BSS transition) together to enable sub-50ms roaming. 802.11k tells clients about neighboring APs, 802.11v helps guide roaming decisions, and 802.11r pre-authenticates to reduce handoff time.
Access Point Functions and Responsibilities
The access point is the heart of Infrastructure Mode, performing numerous critical functions beyond simply relaying frames. Understanding these responsibilities illuminates why WiFi networks behave as they do.
Core AP Responsibilities:
- •Beacon Transmission — Periodically broadcast beacons (typically every 102.4ms) announcing network presence, capabilities, and timing synchronization.
- •Probe Response — Reply to client probe requests with network details, enabling active scanning.
- •Authentication/Association — Process client connection attempts, verify credentials, negotiate capabilities.
- •Frame Bridging — Relay frames between wireless clients and the distribution system (wired network).
- •Power Save Buffering — Buffer frames for sleeping clients and deliver them when clients awaken.
- •Medium Access Coordination — Implement contention-free periods (PCF) or schedule OFDMA transmissions (802.11ax).
- •Security Enforcement — Encrypt/decrypt frames, block unauthorized traffic, enforce network policies.
- •Rate Adaptation — Select appropriate modulation and coding for each client based on channel conditions.
The Beacon Frame:
Beacons are the heartbeat of Infrastructure Mode. Transmitted at the Target Beacon Transmission Time (TBTT), typically every 102.4ms, beacons contain:
- SSID — Network name (may be hidden/null)
- Supported Rates — Data rates the AP supports
- Capability Information — Security, quality settings
- Channel Information — Current operating channel
- Traffic Indication Map (TIM) — Indicates buffered frames for sleeping clients
- Country Information — Regulatory domain
- Vendor-Specific Elements — Proprietary extensions
Beacon Overhead:
Beacons consume airtime. With multiple BSSIDs per radio and multiple APs in range, beacon traffic becomes significant:
- 10 SSIDs × every 102.4ms = ~97 beacons/second per AP
- In dense deployments with 20+ APs in range, beacon overhead can consume 10-20% of available airtime
This is why enterprise controllers often reduce virtual SSID counts and may extend beacon intervals.
| Field | Size | Purpose |
|---|---|---|
| Timestamp | 8 bytes | Synchronization (microseconds since AP started) |
| Beacon Interval | 2 bytes | Time between beacons (default 100 TUs = 102.4ms) |
| Capability Info | 2 bytes | ESS/IBSS, privacy, preamble type, etc. |
| SSID | 2-34 bytes | Network name (0-32 characters) |
| Supported Rates | 3-10 bytes | Mandatory and supported data rates |
| DS Parameter Set | 3 bytes | Current channel |
| TIM | Variable | Indicates buffered broadcast/unicast frames |
| Country | Variable | Regulatory domain and allowed channels |
| RSN (WPA2/3) | Variable | Security parameters |
Hiding the SSID (transmitting null SSID in beacons) provides no real security. The SSID is transmitted in clear text during probe requests/responses and association. It slightly increases connection time for clients and can actually reduce security by forcing clients to constantly probe for hidden networks, exposing them to evil twin attacks.
The Association Process
Before a client can exchange data through an access point, it must complete a multi-step association process. This sequence establishes the client's identity, negotiates capabilities, and (for secured networks) establishes encryption keys.
The Complete Connection Sequence:
- •Scanning (Discovery) — Client discovers available networks through passive scanning (listening for beacons) or active scanning (sending probe requests).
- •Authentication — Client sends Authentication Request; AP responds with Authentication Response. For open/WPA2-Personal, this is "Open System" authentication—essentially a formality.
- •Association — Client sends Association Request with capability information; AP responds with Association Response containing an Association ID (AID).
- •EAPOL/4-Way Handshake — For WPA2/WPA3, client and AP exchange four messages to derive and confirm encryption keys (PTK/GTK).
- •Connectivity — Client can now exchange encrypted data frames through the AP.
Scanning Methods:
Passive Scanning:
- Client listens on each channel for beacons
- Pro: Low power consumption, doesn't disturb network
- Con: Must wait up to one beacon interval per channel (~100ms × 13 channels = 1.3 seconds for 2.4 GHz)
Active Scanning:
- Client transmits Probe Request on each channel
- APs respond with Probe Response (essentially a unicast beacon)
- Pro: Much faster discovery (<100ms total)
- Con: Higher power consumption, adds network traffic
- Clients often use a hybrid approach: active scan initially, passive for background updates
| Step | Direction | Frame Type | Key Information |
|---|---|---|---|
| 1 | Client → Broadcast | Probe Request | SSID (specific or wildcard), supported rates |
| 2 | AP → Client | Probe Response | SSID, capabilities, security parameters |
| 3 | Client → AP | Authentication Request | Algorithm (Open System) |
| 4 | AP → Client | Authentication Response | Status code (success/failure) |
| 5 | Client → AP | Association Request | SSID, supported rates, HT/VHT/HE capabilities |
| 6 | AP → Client | Association Response | Association ID (AID), supported rates, status |
| 7-10 | Bidirectional | EAPOL (4-Way Handshake) | Key derivation and confirmation |
The AID (1-2007) uniquely identifies a client within a BSS. It's used for power-save indication in the Traffic Indication Map (TIM) and for OFDMA resource allocation in WiFi 6. When you see 'maximum clients: 2007' for an AP, the AID range is why.
WPA2-Enterprise Connection:
For enterprise networks using 802.1X authentication, the process extends significantly:
- Initial association as above (Open System authentication)
- EAPOL-Start — Client initiates 802.1X
- EAP Identity Request/Response — AP (as authenticator) requests identity
- EAP Method Exchange — Full EAP authentication (e.g., PEAP, EAP-TLS) with RADIUS server
- EAP Success — RADIUS approves; AP receives keying material
- 4-Way Handshake — Derive per-client encryption keys
- Connectivity — Client is now authorized and encrypted
This extended process can take 500ms to several seconds, making fast roaming protocols essential for VoIP and real-time applications.
Traffic Flow and Frame Handling
In Infrastructure Mode, the access point mediates all traffic—even between wireless clients on the same AP. Understanding this traffic flow is crucial for network design and troubleshooting.
Traffic Types:
Uplink Traffic (Client to Network):
- Client transmits frame to AP
- AP converts to wired frame format (802.3)
- AP forwards to distribution system
- Frame routed to destination
Downlink Traffic (Network to Client):
- Frame arrives from distribution system
- AP converts to wireless frame format (802.11)
- AP transmits to client
- Client acknowledges reception
Intra-BSS Traffic (Client to Client on Same AP):
- Client A transmits to AP (addressed to Client B)
- AP receives and acknowledges
- AP transmits to Client B
- Client B acknowledges
Why does client-to-client traffic go through the AP?
- Clients typically can't hear each other (hidden node problem)
- Maintains security enforcement point
- Enables traffic inspection and policy application
- Required by 802.11 standard for Infrastructure Mode
Intra-BSS traffic consumes double the airtime. A file transfer between two wireless clients uses the medium once to reach the AP and again to reach the destination. Enterprise networks sometimes use 'client isolation' to prevent wireless-to-wireless communication, forcing traffic through the wired network even for same-AP clients.
802.11 Frame Addressing:
Unlike Ethernet's simple source/destination addressing, 802.11 frames have four address fields to handle various traffic scenarios:
Address Field Usage in Infrastructure Mode:
| ToDS | FromDS | Address 1 | Address 2 | Address 3 | Address 4 |
|---|---|---|---|---|---|
| 0 | 0 | Destination | Source | BSSID | N/A (ad-hoc) |
| 1 | 0 | BSSID (AP) | Source (Client) | Destination | N/A (to AP) |
| 0 | 1 | Destination (Client) | BSSID (AP) | Source | N/A (from AP) |
| 1 | 1 | Receiver AP | Transmitter AP | Destination | Source (WDS) |
Understanding the Address Fields:
- Address 1 is always the immediate receiver (who should process this frame at Layer 2)
- Address 2 is always the immediate transmitter
- Address 3 carries the "other" address needed for bridging
- Address 4 is only used in WDS (Wireless Distribution System) where both ends are APs
Example: Client A sends to Client B via AP:
-
Client A → AP:
- ToDS=1, FromDS=0
- Addr1=AP (receiver)
- Addr2=Client A (sender)
- Addr3=Client B (ultimate destination)
-
AP → Client B:
- ToDS=0, FromDS=1
- Addr1=Client B (receiver)
- Addr2=AP (sender)
- Addr3=Client A (original source)
The AP uses Addr3 to know where to send (step 1) and to preserve source information (step 2).
Power Save Mechanisms
Mobile devices—phones, tablets, laptops—run on battery power. A WiFi radio constantly listening for transmissions would drain batteries rapidly. Infrastructure Mode provides sophisticated power save mechanisms that allow clients to sleep most of the time while still receiving data reliably.
Legacy Power Save (PS-Poll):
The original power save mechanism works as follows:
- Client informs AP it's entering power save mode (PS flag in frame control)
- AP buffers any frames destined for sleeping client
- AP includes sleeping client's AID in the Traffic Indication Map (TIM) in beacons
- Client wakes periodically to receive beacons (every 102.4ms typical)
- If TIM indicates buffered traffic, client sends PS-Poll frame
- AP sends one buffered frame
- Repeat PS-Poll for each buffered frame
- Client returns to sleep
Limitations of PS-Poll:
- Must wake for every beacon (significant power drain)
- One PS-Poll per buffered frame (high overhead for bursty traffic)
- Latency of 100-200ms for arriving traffic
| Mechanism | Standard | Key Improvement | Typical Wake Interval |
|---|---|---|---|
| Legacy PS-Poll | 802.11-1997 | Basic buffering | Every beacon (~100ms) |
| U-APSD | 802.11e | Triggered delivery, QoS-aware | Per trigger frame |
| WMM Power Save | 802.11e/WMM | Unscheduled delivery | Application-triggered |
| Target Wake Time (TWT) | 802.11ax | Scheduled wake times | Minutes to hours |
Unscheduled Automatic Power Save Delivery (U-APSD):
802.11e introduced U-APSD (also marketed as WMM Power Save), a more efficient approach:
- Client sends any uplink frame as a trigger
- AP delivers all buffered frames in a burst (Service Period)
- AP indicates end of delivery with EOSP (End of Service Period) bit
- Client immediately returns to sleep
This is particularly effective for VoIP: the client's periodic voice packets automatically trigger delivery of incoming voice, maintaining call quality while sleeping between packets.
Target Wake Time (TWT) — WiFi 6:
802.11ax introduced TWT, a game-changer for IoT and battery life:
- Client negotiates scheduled wake times with AP
- "Wake at 500ms past each minute for 5ms"
- Client sleeps deeply between scheduled times
- AP buffers frames and delivers at agreed times
TWT Benefits:
- IoT devices can sleep for minutes or hours
- Reduces contention (devices wake at staggered times)
- Enables years of battery life for sensors
- AP can coordinate TWT schedules to reduce collisions
Broadcast and multicast frames pose a challenge: they must reach all sleeping clients. The AP buffers these frames and transmits them during the Delivery Traffic Indication Map (DTIM) interval—typically every 1-3 beacons. All clients must wake for DTIM beacons regardless of whether they have individual buffered traffic.
Enterprise Infrastructure Architectures
Individual access points are fine for home networks, but enterprise deployments require coordinated management of dozens, hundreds, or thousands of APs. Several architectural models have evolved to address this challenge.
Autonomous (Fat) APs:
- Each AP operates independently
- Contains full OS, management interface, intelligence
- Configuration per-device or via simple management system
- No central controller required
Pros: Simple for small deployments, no single point of failure Cons: Difficult to maintain consistency, limited roaming optimization
Controller-Based (Thin APs):
A central Wireless LAN Controller (WLC) manages all access points:
- APs are "thin/lightweight"—minimal local intelligence
- Controller handles configuration, policy, and often traffic forwarding
- Two architectural variants:
- CAPWAP tunneling: All traffic tunnels to controller, then to network
- Local switching: Only control traffic goes to controller; data switched locally
Pros: Centralized management, consistent policy, advanced roaming Cons: Controller is single point of failure (often deployed in pairs), can create traffic bottleneck
| Aspect | Autonomous APs | Controller-Based | Cloud-Managed |
|---|---|---|---|
| Intelligence Location | Each AP | Central Controller | Cloud + Local AP |
| Data Path | Direct to network | Through controller or local | Local switching |
| Management Interface | Per-AP or NMS | Controller GUI/CLI | Cloud dashboard |
| Roaming Performance | Basic | Optimized (L2/L3) | Optimized |
| Deployment Complexity | Low (small scale) | Medium-High | Low |
| Subscription Cost | No | Controller license | Cloud subscription |
| Internet Dependency | None | None | Cloud connectivity required |
Cloud-Managed APs:
Modern cloud-managed architectures combine benefits of both approaches:
- APs are locally intelligent (can operate if cloud unreachable)
- Management plane in cloud (configuration, monitoring, updates)
- Data plane stays local (no traffic to cloud)
- Zero-touch provisioning: AP connects to cloud, downloads configuration
Examples: Cisco Meraki, Aruba Central, Ubiquiti UniFi Cloud
Split-MAC vs. Unified MAC:
In controller architectures, the 802.11 MAC layer can be split:
Split-MAC (CAPWAP):
- Time-critical functions (ACKs, beacons) handled by AP
- Higher-level functions (security, management) handled by controller
- CAPWAP tunnels frames between AP and controller
Local MAC (FlexConnect/Autonomous):
- Full MAC at AP
- Controller provides configuration and coordination
- Data switched locally, never touches controller
Most modern deployments use local switching with centralized control—providing management simplicity without controller bottlenecks.
For small deployments (<10 APs), cloud-managed or autonomous APs work well. For medium deployments, cloud-managed provides excellent manageability. For large enterprises with strict data sovereignty requirements, on-premises controllers remain popular. The trend is toward intelligent, locally-capable APs with centralized management—whether that central point is a controller or cloud platform.
KEEP LEARNING
Keep learning for free.
Read the complete lesson, save your notes and pick up where you left off with a free account. No card needed.