Search the field guide, causes, requirements, and glossary

PMK caching and OKC (pairwise master key caching and opportunistic key caching)

Two ways to reuse the key from an earlier 802.1X authentication so a client can skip the full EAP exchange when it reassociates: PMK caching for an access point it has already used, OKC for other access points that share the key.

The network analogy

TLS session resumption: the expensive handshake is skipped because both ends still hold the secret from the last one, but a short handshake still runs.

Why it matters for wireless

If the client and infrastructure disagree about which of these they support, a roam falls back to a full 802.1X exchange against the authentication server, and that adds time the application's timeout may not have.

PMK caching reuses the key from an earlier full 802.1X authentication when the client comes back to the same access point. After the first EAP exchange, the client and the AP each keep the resulting pairwise master key. On the next association the client names that key, and the EAP exchange is skipped. Opportunistic key caching (OKC) stretches the same idea across access points. Where the APs share the key, the next AP already holds the PMK, so the client can skip EAP at an AP it has never visited. OKC is not defined in 802.11i1, so support depends on the client and the infrastructure both choosing to implement it.

Neither one is fast transition. Both skip the full EAP exchange but still run the 4-way handshake, and neither adds the pre-derived key hierarchy that 802.11r defines. One vendor’s documentation describes 802.11r as the standards-based option and OKC as non-standard. Defaults differ by implementation. In hostapd, OKC is off by default, while ordinary PMKSA caching is on. In wpa_supplicant, caching for a network is off unless you enable it, either per network or by setting OKC globally. Microsoft documents that Windows 10 falls back to OKC2 when 802.11r is not available on the device or the network. When the client expects a cached key and the infrastructure has none, the roam becomes a full authentication; see fast-roam mismatch and slow roam with full reauthentication.

A cache hit is a shorter roam, not a bounded one, so measure the roam gap with the cache cold.

All terms, A to Z

About this page

Built from 6 sources: 2 protocol owners and alliances and 4 vendor documents. Researched and drafted with AI assistance. How pages are made

First published
Last updated
Cite this page

Plain

Ben Rutter. "PMK caching and OKC (pairwise master key caching and opportunistic key caching)." OT Wireless, published October 18, 2026. https://otwireless.com/glossary/pmk-caching-and-okc/

APA 7

Rutter, B. (2026, October 18). PMK caching and OKC (pairwise master key caching and opportunistic key caching). OT Wireless. https://otwireless.com/glossary/pmk-caching-and-okc/

BibTeX

@misc{rutter2026pmkcachingandokc,
  author = {Rutter, Ben},
  title = {{PMK caching and OKC (pairwise master key caching and opportunistic key caching)}},
  year = {2026},
  howpublished = {\url{https://otwireless.com/glossary/pmk-caching-and-okc/}},
  organization = {OT Wireless},
}