case-dfs

\"Wi-Fi keeps dropping\": the culprit turned out to be DFS radar

In the office, 5 GHz Wi-Fi kept vanishing for half an hour at a time during working hours. The cause was DFS radar detection on APs pinned to a single channel. Diagnosis and a lasting fix.

  • Wi-Fi
  • DFS
  • 5 GHz
  • channel plan
  • wireless

The complaint was as short as ever: "Wi-Fi keeps dropping." The internet lines were clean, the APs had never dropped off the controller, and the DHCP pool had room to spare. Even so, people in the busiest part of the office were losing their connection several times a day.

Symptoms

  • The drops always happen during working hours, and around the same few APs.
  • All of a sudden, dozens of clients drop off an AP in the same second.
  • The dropped clients move to 2.4 GHz or to a distant AP; the connection is slow and unstable.
  • After about 30 minutes, everything recovers on its own.

Root cause: DFS and a single channel

The channels in the middle of the 5 GHz band (roughly 52–144) are DFS channels. They are shared with weather and military radars. By regulation, when an AP detects a radar-like pulse it has to vacate the channel immediately. That channel then can't be used for 30 minutes (the Non-Occupancy Period).

Earlier, to resolve channel overlap, we had pinned a single channel to each AP (override). The key line in the controller log was this:

radar detected ... change channel 60 ==> 0

==> 0 means the AP had no other channel to go to, so it shut down its 5 GHz radio entirely. With only one channel in the list, a radar detection turned into a 30-minute 5 GHz outage.

Was the radar real?

Most likely not. The pattern in the logs pointed to false alarms (DFS false positives):

  • Detections showed up on many different channels and on many different APs. A real radar always sits on the same frequency.
  • Almost all of them happened during working hours, and none at all on weekends. In other words, heavy client traffic or nearby devices were being picked up as pulses.

In practice, though, that doesn't matter: the moment the AP detects it, it has to vacate the channel. The fix isn't to argue with the radar, it's to leave the AP somewhere to go.

Diagnosis steps

  1. Count the radar entries in the controller's syslog: which AP, which channel, what time.
  2. Group client disconnects around the same times. "Number of clients dropping in the same second" separates radio events from individual device problems.
  3. Measure how strongly the APs hear each other (most controllers' "interfering AP" or "rogue AP" list gives you this). That's how you make sure the new channels don't overlap.
# on the log server: radar detections during the day
grep -a "radar detected" ap-controller-$(date +%F).log | awk '{print $1, $2, $NF}'

Fix

  • Move the busiest APs to non-DFS channels (36, 40, 44, 48 and 149–165). The areas with heavy voice calls, the ones most sensitive to outages, belong here.
  • Give the APs that stay on DFS channels a fallback channel. Next to the DFS channel, the list should also include a non-DFS channel. When radar shows up, the AP moves to that channel and the radio stays on.
config radio-2
    set override-channel enable
    set channel "108" "36"   # DFS channel + non-DFS fallback
end
  • Make the change outside working hours: on most controllers, changing the channel restarts the AP radio (sometimes the whole AP).

Takeaway

Pinning a single channel to resolve channel overlap is a good step. But on a DFS channel, a single channel with no fallback turns a radar detection into a half-hour outage. When planning channels, ask two questions together: do the APs hear each other, and if radar shows up, where will this AP go?

Checklist

  • [ ] Is there radar detected in the controller logs, and on which APs?
  • [ ] Does every AP on a DFS channel have a non-DFS fallback channel in its list?
  • [ ] Are the areas most sensitive to outages on non-DFS channels?
  • [ ] On the first working day after the change, were utilization, retransmissions and voice quality measured?

Organisation and environment details have been removed; command and configuration examples are generalised. Test in your own environment first.

This note is the long form of one of the case files on this site. Drafted with Claude. Also available in Turkish.

ls ~/notes

More notes

All notes

Got an infrastructure question, a project or a route tip?

Email is the fastest way. If I'm on the road, I'll reply from the next Wi-Fi.

Send an email