iOS 27 has a clever fix for unreliable Wi-Fi connections
Apple’s networking stack in iOS 27 introduces a refined state machine for radio access technology (RAT) selection that addresses the persistent hysteresis problem in Wi-Fi-to-cellular handover. Previous implementations relied primarily on Received Signal Strength Indicator (RSSI) thresholds and a fixed dwell timer, which frequently misclassified marginal Wi-Fi links as viable, resulting in stalled TCP sessions and application-layer timeouts. The new subsystem integrates real-time Round-Trip Time (RTT) measurements, TCP retransmission rates, and link-layer retry counters into a unified quality metric, allowing the daemon to preemptively shift traffic to cellular before the Wi-Fi link enters a unrecoverable degradation state.
The engineering change centers on networkd and the WiFiManager framework, where a new LinkQualityEvaluator class computes a composite score every 500 ms using exponentially weighted moving averages of physical-layer and transport-layer telemetry. When the composite score crosses a dynamic lower bound—calibrated per SSID via on-device machine learning—the system initiates a seamless make-before-break handover using Multipath TCP (MPTCP) subflow migration, preserving socket continuity without requiring application awareness. This eliminates the “sticky Wi-Fi” behavior where clients cling to an access point with high RSSI but excessive airtime contention or hidden-node collisions.
| Subsystem / Parameter | Baseline / Previous | Updated Implementation |
|---|---|---|
| Handover Trigger Metric | RSSI threshold + fixed dwell timer (typically -75 dBm / 5 s) | Composite score: RTT p95, TCP retransmit rate, PHY retry count, ML-calibrated per SSID |
| Transport Continuity | Socket break; application reconnects via Wi-Fi Assist (single-path TCP) | MPTCP subflow migration (make-before-break); socket preserved, zero-RTT resume |
| Decision Latency | 5–10 seconds (dwell + detection + Wi-Fi Assist activation) | Sub-second (500 ms evaluation interval; immediate subflow establishment) |
Actionable Diagnostic & Implementation Steps
- Enable verbose Wi-Fi logging via
sudo log config --mode "level:debug" --subsystem com.apple.wifiand reproduce the marginal link scenario; filter forLinkQualityEvaluatorandMPTCPManagerentries to verify composite score computation and subflow creation. - Validate MPTCP fallback behavior using
netstat -m -p tcpto confirmMP_CAPABLEhandshake and subflowMP_JOINon the cellular interface during induced Wi-Fi degradation (e.g., Faraday cage or attenuator). - For enterprise MDM deployments, configure the
WiFiHandoverPolicypayload key in the Wi-Fi profile toAggressiveorBalancedto align the dynamic lower bound with organizational SLA requirements for latency-sensitive applications.
Ecosystem Compatibility & Support Notice
- Requires iOS 27 / iPadOS 27 / macOS 15 (Sequoia) or later for full MPTCP subflow migration support.
- Hardware prerequisite: Wi-Fi 6E (802.11ax) or newer radio with concurrent dual-band operation; cellular modem supporting 5G NR FR1 and LTE Cat 18+.
- Enterprise Wi-Fi infrastructure must support 802.11k/v/r for neighbor reports and fast BSS transition; MPTCP requires transparent path (no middlebox stripping TCP options).
Source and technical reference: 9to5Mac.
Share your OS version, device model, and exact error code in our independent peer Q&A rooms.
Comments