Skip to content

Commit 9fde292

Browse files
committed
doc: wifi: Document channel-width and security mode auto
1 parent 46c08f2 commit 9fde292

1 file changed

Lines changed: 16 additions & 6 deletions

File tree

doc/wifi.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ admin@example:/config/> <b>edit hardware component radio0 wifi-radio</b>
137137
admin@example:/config/hardware/component/radio0/wifi-radio/> <b>set country-code DE</b>
138138
admin@example:/config/hardware/component/radio0/wifi-radio/> <b>set band 5GHz</b>
139139
admin@example:/config/hardware/component/radio0/wifi-radio/> <b>set channel 36</b>
140+
admin@example:/config/hardware/component/radio0/wifi-radio/> <b>set channel-width 80MHz</b>
140141
admin@example:/config/hardware/component/radio0/wifi-radio/> <b>leave</b>
141142
</code></pre>
142143

@@ -150,22 +151,26 @@ admin@example:/config/hardware/component/radio0/wifi-radio/> <b>leave</b>
150151
- 2.4GHz: 802.11n/ax
151152
- 5GHz: 802.11n/ac/ax
152153
- 6GHz: 802.11ax
153-
- `channel`: Channel number (1-196) or "auto". When set to "auto", defaults to
154-
channel 6 for 2.4GHz, channel 36 for 5GHz, or channel 109 for 6GHz
154+
- `channel`: Channel number (1-233) or "auto". When set to "auto", defaults to
155+
channel 6 for 2.4GHz, channel 36 for 5GHz, or channel 37 for 6GHz
156+
- `channel-width`: AP channel bandwidth. Supported values are `auto`, `20MHz`,
157+
`40MHz`, `80MHz`, and `160MHz`. Wider channels require matching hardware,
158+
regulatory approval, and are only available on 5GHz/6GHz where supported.
155159
- `probe-timeout`: Seconds to wait for PHY detection at boot (default: 0). Set
156160
to a non-zero value (e.g., 30) for USB WiFi dongles that are slow to
157161
initialize due to firmware loading
158162

159163
> [!NOTE]
160-
> TX power and channel width are automatically determined by the driver
161-
> based on regulatory constraints, PHY mode, and hardware capabilities.
164+
> TX power is still determined by the driver based on regulatory
165+
> constraints and hardware capabilities. Channel width can now be set
166+
> explicitly for AP mode, or left at `auto` to let the driver choose.
162167
163168
### WiFi 6 Support
164169

165170
WiFi 6 (802.11ax) is always enabled in AP mode on all bands, providing improved
166171
performance through features like OFDMA, BSS Coloring, and beamforming.
167172

168-
**WiFi 6 Features (always enabled):**
173+
**WiFi 6 Features (always enabled in AP mode on supported radios):**
169174

170175
- **OFDMA**: Better multi-user efficiency in dense environments
171176
- **BSS Coloring**: Reduced interference from neighboring networks
@@ -177,6 +182,11 @@ performance through features like OFDMA, BSS Coloring, and beamforming.
177182
- Client devices must support WiFi 6 for full benefits
178183
- Older WiFi 5/4 clients can still connect but won't use WiFi 6 features
179184

185+
> [!IMPORTANT]
186+
> 6 GHz AP operation requires WPA3-Personal (SAE) with mandatory
187+
> management frame protection. Open networks and WPA2-only AP
188+
> configurations are not valid on 6 GHz.
189+
180190
## Discovering Available Networks
181191

182192
Before connecting to a WiFi network, you need to discover which networks
@@ -345,7 +355,6 @@ admin@example:/config/keystore/…/my-wifi-secret/> <b>end</b>
345355
<pre class="cli"><code>admin@example:/config/> <b>edit interface wifi0</b>
346356
admin@example:/config/interface/wifi0/> <b>set wifi radio radio0</b>
347357
admin@example:/config/interface/wifi0/> <b>set wifi access-point ssid MyNetwork</b>
348-
admin@example:/config/interface/wifi0/> <b>set wifi access-point security mode wpa2-personal</b>
349358
admin@example:/config/interface/wifi0/> <b>set wifi access-point security secret my-wifi-secret</b>
350359
admin@example:/config/interface/wifi0/> <b>leave</b>
351360
</code></pre>
@@ -365,6 +374,7 @@ admin@example:/config/interface/wifi0/> <b>leave</b>
365374
**Security modes:**
366375

367376
- `open`: No encryption (not recommended)
377+
- `auto`: WPA2/WPA3 transitional mode on 2.4/5 GHz, WPA3-only on 6 GHz
368378
- `wpa2-personal`: WPA2-PSK (most compatible)
369379
- `wpa3-personal`: WPA3-SAE (more secure, requires WPA3-capable clients)
370380
- `wpa2-wpa3-personal`: Mixed mode (maximum compatibility)

0 commit comments

Comments
 (0)