An audit finds a WPA/WPA2 mixed-mode SSID kept for old label printers, and some clients never exceed legacy rates; what explains it and what changes?
answer
- one group key for the whole BSS
- rates follow the pairwise cipher
- high throughput needs CCMP or GCMP
- status 46 on an HT association
basics
~20 sClients that negotiate TKIP cannot use 802.11n or later rates, and mixed mode makes TKIP everyone's group cipher. Move the printers to a separate, time-limited SSID or replace them; make the main SSID WPA2 with CCMP only.
solid answer
~40 sMixed mode advertises a WPA element offering TKIP beside an RSN element offering CCMP, and since a BSS has one group key, the group cipher becomes TKIP. High-throughput rates from 802.11n onward require CCMP or GCMP, so any station whose pairwise cipher is TKIP can only associate as non-HT at legacy rates; hostapd refuses an HT association asking for TKIP with status 46. CCMP clients keep their HT rates, but their broadcast and multicast traffic is still TKIP-protected, rekeyed every 600 seconds by hostapd's default. The fix is to move the printers to their own isolated, time-limited SSID or replace them, and make the main SSID `wpa=2` with `rsn_pairwise=CCMP`.
code
ini · 10 lines# hostapd.conf: the audited mixed-mode SSID
ssid=corp-example
hw_mode=g
channel=6
ieee80211n=1
wpa=3
wpa_key_mgmt=WPA-PSK
wpa_passphrase=example-placeholder-only
wpa_pairwise=TKIP
rsn_pairwise=CCMPgo deeper
Recall that TKIP and 802.11n do not mix: a client using TKIP is stuck at old 802.11a/b/g speeds, and mixed mode exists only to keep first-generation WPA devices working.
Explain the two elements a mixed-mode beacon carries, why there is one group cipher per BSS, and why it falls to TKIP; state that HT rates require CCMP or GCMP.
Separate the per-station rate cap from the BSS-wide group-cipher cost, prove each from the beacon and the station table, and plan the split of the legacy devices with an owner and an end date.
Treat the printers as a priced exception: a separate SSID costs airtime and an isolated segment, replacement costs money, and keeping mixed mode costs every client its group-traffic protection.
## The situation A mid-size office runs one SSID in **WPA/WPA2 mixed mode** so that a few old label printers, which only speak the first WPA generation, can stay on the network. After an access point refresh, the audit notes two things: some clients never get past legacy 802.11a/b/g rates, and the broadcast traffic of every client is protected by the weakest cipher on the network. Both trace back to **TKIP**. ## How mixed mode is built Mixed mode advertises two security elements in every beacon and probe response: - the **WPA element**, a vendor-specific element (ID 221) with OUI `00-50-F2`, type 1, offering TKIP for first-generation WPA clients; - the **RSN element** (ID 48), offering CCMP for WPA2 clients. In hostapd, the open-source reference implementation, this is `wpa=3`: bit 0 enables WPA and bit 1 enables RSN (WPA2). Each client picks one element and one pairwise cipher from it. A WPA2 client normally picks CCMP; a printer that knows only WPA picks TKIP. There is only **one group key** per BSS, used for broadcast and multicast, so there can be only one **group cipher**. Every associated client must be able to decrypt it, so it has to be the weakest cipher anyone uses. hostapd's automatic selection makes this explicit: if TKIP is among the enabled pairwise ciphers, the group cipher is TKIP. ## Why some clients are stuck at legacy rates High-throughput operation, from **802.11n-2009 (Wi-Fi 4)** onward, requires **CCMP or GCMP**. A station that uses TKIP as its pairwise cipher cannot use HT or later rates; it can only associate as a non-HT station at legacy 802.11a/b/g rates, at most 54 Mbit/s. hostapd enforces this in two places: 1. **Per station.** An association from an HT or VHT station whose pairwise cipher is TKIP is refused with status code **46**, logged as "Station tried to use TKIP with HT association". The client can only come back without HT. 2. **Per BSS.** If no CCMP or GCMP pairwise cipher is enabled at all, hostapd disables HT, VHT and HE capabilities for the whole BSS: "HT (IEEE 802.11n) with WPA/WPA2 requires CCMP/GCMP to be enabled". What each kind of client ends up with on the audited SSID: | Client | Element chosen | Pairwise | Group | Rates | |---|---|---|---|---| | Old label printer (WPA only) | WPA element | TKIP | TKIP | Legacy | | Laptop with a profile forcing WPA/TKIP | WPA element | TKIP | TKIP | Legacy | | Current laptop or phone | RSN element | CCMP | TKIP | HT or later | In this audit the second case does not apply, because the RSN side offers CCMP. The slow clients are those that negotiated TKIP: the printers, and any laptop whose saved profile forces WPA with TKIP. ## What the TKIP group cipher costs everyone else | Cost | Who pays | Why | |---|---|---| | Legacy rates | Stations whose **pairwise** cipher is TKIP (the whole BSS if no CCMP or GCMP is enabled) | The rate cap follows each station's own pairwise cipher | | Weaker group traffic | **Every** station, including CCMP clients | Broadcast and multicast use the single TKIP group key | | More rekeying | Every station | hostapd's default GTK rekey is 600 seconds with a TKIP group cipher, against 86400 with CCMP or GCMP | | No 6 GHz | The whole SSID | The 6 GHz rules refuse TKIP and pre-RSN methods | The common overstatement is that a TKIP group cipher drags every client down to legacy rates. In hostapd it does not: the HT check looks only at the station's pairwise cipher, so a CCMP client keeps its HT rates. What it cannot escape is that its group traffic is only as well protected as TKIP. ## How to prove it and what to change 1. **Read the beacon.** Both the WPA element and the RSN element are present, and the RSN element's group cipher suite is `00-0F-AC:2` (TKIP) rather than `00-0F-AC:4` (CCMP). 2. **Read the station table.** Per client, the negotiated pairwise cipher and whether the association is HT shows exactly who is on TKIP. 3. **Split the legacy devices out.** Give the printers their own SSID, on an isolated segment with a named owner and an end date, or replace them. 4. **Make the main SSID WPA2-only, then WPA3.** In hostapd terms `wpa=2` and `rsn_pairwise=CCMP`; the group cipher then follows to CCMP and every client's group traffic is AES-protected. How a WPA2 SSID later moves to WPA3 on the same name is covered with transition mode; the finding here is the TKIP floor.
- Would putting TKIP in rsn_pairwise as well as wpa_pairwise change anything?It would make things worse: WPA2 clients could then negotiate TKIP over the RSN element and lose HT rates too, and the group cipher stays TKIP. The audit target is the opposite, `rsn_pairwise=CCMP` with no WPA element at all, so no client can land on TKIP.
- Why not just raise the access point's minimum data rate to push the slow clients off?Because range is not the cause. The slow stations are limited by the TKIP rule, not by signal, so raising the minimum rate would disconnect the printers without changing their cipher, and the TKIP group cipher would remain for everyone else. The fix has to remove TKIP from the SSID.
- A TKIP group cipher by itself stops CCMP clients from using 802.11n rates.
- Mixed mode costs WPA2 clients nothing because they negotiate CCMP anyway.
- The slow clients are out of range, so more access points will fix it.
- Adding TKIP to the RSN pairwise list keeps the old printers happy at no cost.
- Raising the minimum data rate removes the TKIP problem.
Assumes Wi-Fi 4 (802.11n-2009) and later, whose HT, VHT, HE and EHT rates require CCMP or GCMP, as enforced by hostapd 2.12; mixed mode is retired and refused on 6 GHz.