| EasyMesh - Architecture | Wi-Fi Alliance
Multi-AP Spec v4.0
IEEE 1905.1 | EasyMesh defines a standardized multi-vendor mesh Wi-Fi architecture:
• Controller: single logical entity managing the whole mesh. Usually on the root AP (connected to WAN).
• Agent: each AP in mesh is an agent. Agents report topology, stations, metrics to Controller.
• 1905.1 AL-MAC: Abstraction Layer MAC - device-independent addressing for multi-technology (Wi-Fi + Ethernet) backhaul.
• Backhaul: wired Ethernet or wireless (802.11 WDS-like but standardized). Dual-band agents can use one radio for backhaul, one for clients. | CMDU (Control Message Data Unit) - EasyMesh protocol messages over 1905.1:
• AP Autoconfiguration: new agent discovers controller, exchanges WSC (Wi-Fi Simple Config) M1/M2 for credential provisioning
• Topology Discovery: agents report neighbor BSSID, BSS info, STA associations
• Channel Selection: Controller sends Channel Selection Request, Agents respond
• Client Steering: BSS Transition Management (802.11v) to steer STAs between agents
• Backhaul Steering: move backhaul link between channels/bands | EasyMesh vs 802.11s (mesh):
• 802.11s: standardized L2 mesh (HWMP routing), no controller concept, IEEE standard
• EasyMesh: controller-based management over 802.11 + Ethernet, Wi-Fi Alliance cert
• WDS: vendor-proprietary, not interoperable
• EasyMesh preferred for multi-vendor managed deployments (ISP, enterprise home) |
| EasyMesh - Channel Selection (CSBC) | Wi-Fi Alliance
Multi-AP Spec v4.0
§17 | Channel Selection Based on Centralized control (CSBC): Controller coordinates channel assignment across all agents to minimize CCI.
Algorithm:
1. Agent reports: available channels, channel utilization (802.11k neighbor report), noise floor
2. Controller computes non-overlapping channel plan
3. Controller sends Channel Selection Request to each agent
4. Agent responds with Channel Selection Response (accept/decline + reason)
5. Agent performs CAC if DFS channel selected, then switches | Channel Selection Request TLV: Operating Class + Channel + Reason Code
Channel Selection Response TLV: Accept/Decline (reason: DFS required, not supported, busy)
CAC completion report: CAC_COMPLETION_REPORT TLV with result (success/radar detected)
Metrics reporting: Channel Scan Report includes noise, utilization, neighbor list per channel | CSBC coordination prevents the 'AP island' problem where adjacent APs independently select the same channel. In 3-agent mesh: root=ch36, hop1=ch100, hop2=ch149 = no co-channel backhaul. |
| EasyMesh - BSS Steering | Wi-Fi Alliance
Multi-AP Spec v4.0
§14 | BSS Steering: Controller directs Agent to steer a STA from current BSS to a target BSS.
Methods:
• Mandate steering: Agent sends 802.11v BTM Request to STA (Mandate bit set). STA should comply.
• Opportunity steering: Agent asks STA to roam (STA may decline).
• Force disassociation: if STA refuses BTM, Agent can disassociate STA (last resort).
Controller uses STA capabilities, RSSI reports, link quality metrics to decide when/where to steer. | Steering messages:
• Client Steering Request (Controller→Agent): STA MAC, Target BSSID list, disassoc imminent, BTM request
• Client Steering BTM Report (Agent→Controller): STA response (accept/decline), target BSSID
• Steering Completed (Agent→Controller): confirms STA associated to target
Steering metrics used:
• RSSI of STA on current BSS < threshold (e.g. -70 dBm = trigger)
• RSSI on target BSS > threshold (e.g. -65 dBm = candidate)
• Link quality (frame error rate, retry count) from 802.11k metrics | Steering guard timer: prevent oscillation. Default: 300s hold after failed steer. 802.11v BTM Request: Disassoc Timer field (if mandatory, AP disassocs after N beacon intervals if STA stays). |
| IPv6 over Wi-Fi - RA Guard | RFC 6105 (RA Guard)
RFC 8021 (RA Guard bypass)
IEEE 802.11-2020 | Router Advertisement (RA) Guard: AP/switch blocks rogue RA messages from STAs. RAs carry IPv6 default route - a rogue RA (from compromised STA or attacker) can redirect all IPv6 traffic.
RA Guard policy: only designated router ports (uplink) allowed to send RA messages. All STA ports: RA from STA → dropped.
RA Guard bypass: RFC 8021 documents RA Guard bypass via IPv6 extension header manipulation. Fragmented RA or oversize extension headers may evade some implementations. | RA Guard implementation in AP:
• Inspect ICMPv6 type=134 (Router Advertisement) in all frames from STAs
• If RA from STA port → drop + log
• If RA from uplink → forward to all STAs
Additional: DHCPv6 snooping - track IPv6 address assignments per STA MAC.
IPv6 ND Proxy: AP answers Neighbor Solicitation (NS) on behalf of STAs. Prevents NS flooding.
6LoWPAN (RFC 4944): IPv6 over IEEE 802.15.4. Relevant to 802.11ah IoT - compression headers reduce 40-byte IPv6 header to 2-6 bytes over low-bandwidth sub-1GHz links. | Key RA Guard checks:
1. Source MAC = trusted router → allow
2. Source MAC = STA → check uplink port ONLY
3. ICMPv6 type 134 from wrong port → drop
RA flood attack: attacker generates thousands of /64 prefixes → STA builds huge routing table → CPU exhaustion. RA Guard + rate limiting mitigates. |
| PMKSA Caching vs OKC vs ERP vs FT | IEEE 802.11-2020
RFC 6696
IEEE 802.11r | Comparison of fast re-authentication mechanisms:
1. PMKSA Cache (same AP):
• PMK cached at AP and STA
• No full EAP on return to SAME AP
• Lifetime: 43200s default
• Works with: all standards
2. OKC (different AP, same WLC domain):
• PMKID = HMAC(PMK, 'PMK Name'||target_AP||STA)
• WLC distributes PMK to all APs
• No 802.11r needed
• Works with: WPA2/WPA3 Enterprise
3. ERP (RFC 6696, different auth server):
• rRK derived after first EAP success
• Fast re-auth via EAP-Initiate/Re-auth
• rMSK → PMK for new AP
• Works across different WLCs if same ERP domain
4. 802.11r FT (over-air or over-DS):
• PMK-R0 → PMK-R1 → PTK without 4-way HS
• Fastest: target <50ms
• Requires 802.11r support on AP and client
5. FILS (combines ERP + in-frame key delivery):
• Authentication + Association + Keys in 2 frames
• Target: <100ms including IP address | Re-auth method selection matrix:
• Same AP, repeat visit: PMKSA cache
• Roaming within campus (same WLC): OKC or 802.11r
• Cross-WLC roaming: ERP (if deployed) or full re-auth
• IoT devices with simple association: PMKSA cache + short lifetime
• High-mobility (voice/video): 802.11r FT mandatory (<50ms)
• Next-gen deployment: FILS for all (requires 802.11ai-capable APs) | Latency comparison:
Full EAP + 4WHS: 300-500ms
PMKSA cache (same AP): 30-80ms
OKC roam: 50-100ms
802.11r FT: <50ms
FILS: <100ms (including IP assignment) |