Sub topic 6
Dynamic Frequency Selection on 5 GHz
This chapter assumes you know what the 5 GHz band is, how channel numbers map to frequencies, and how channel width works. It covers Dynamic Frequency Selection (DFS), the rule that lets Wi-Fi share part of 5 GHz with radar.
Why DFS exists
Parts of the 5 GHz band are used by licensed services, mainly weather radar and some military and aviation radar. Regulators let Wi-Fi use those frequencies only if it yields to radar. Dynamic Frequency Selection (DFS) is the set of rules and mechanisms an access point (AP) uses to detect radar and move away from it.
In most regulatory domains, the 5 GHz band splits into three groups:
| Group | Channels (20 MHz) | Frequencies | DFS required |
|---|---|---|---|
| UNII-1 | 36, 40, 44, 48 | 5180–5240 MHz | No |
| UNII-2A and UNII-2C (DFS channels) | 52–64 and 100–144 | 5260–5320 and 5500–5720 MHz | Yes |
| UNII-3 | 149, 153, 157, 161, 165 | 5745–5825 MHz | No |
The exact channel list depends on the regulatory domain, so check the rules for your country.
How DFS works
An AP on a DFS channel follows a fixed sequence:
- Channel Availability Check (CAC). Before transmitting on a DFS channel, the AP listens for radar. This takes at least 60 seconds, and 10 minutes on some weather-radar channels in Europe.
- In-service monitoring. While serving clients, the AP keeps watching for radar pulses.
- Radar detected. The AP must stop transmitting on that channel within a short time, usually about 10 seconds.
- Move and wait. The AP switches to another channel and does not return to the old one for 30 minutes (the non-occupancy period).
What clients see
When the AP leaves a channel, it announces the move in a Channel Switch Announcement so clients can follow. Clients that miss the announcement, or that do not support the new channel, must scan again and rejoin. You see this as a short drop in the connection.
Some client devices cannot use DFS channels, and many only scan them passively, listening for beacons without sending probe requests. This means a network on a DFS channel can be slow to appear, or not appear at all, on those devices.
Trade-offs
- Benefit: DFS channels add many extra 20 MHz channels. This matters most for 80 MHz and 160 MHz widths, which need several adjacent channels. These channels are often less crowded because some APs avoid them.
- Cost: The CAC delay after boot or after a radar event, the chance of a sudden channel change, and incompatible clients.
- False positives: Radio noise from other equipment can look like radar and trigger unnecessary moves.
If you see repeated drops at the same times, check the AP's log for DFS or radar events. If they appear, pin the AP to a non-DFS channel such as 36 to 48 or 149 to 165.
You can check which channels your radio allows and which are DFS-restricted with iw:
# Channels allowed in the current regulatory domain; DFS ones are marked "radar detection"
iw phy phy0 info | grep -E 'MHz|radar'Exercise
An AP on channel 100 works well for days, then clients drop briefly every few hours, and the AP log shows radar events. Why does this happen, and what is one fix?
Show answer
The AP detects what looks like radar, which may be a real radar or noise. It must leave channel 100, announce a channel switch, and avoid channel 100 for 30 minutes. Clients that miss the announcement rescan and reconnect. One fix is to set the AP to a non-DFS channel such as 36, 44 or 149, which avoids radar-triggered moves.