Hi,
I just installed OpenWrt (2512) on a Cudy WR3000 but I’m struggling with the WIFI configuration.
There are a lot of WIFI networks around therefore channels under and around channel 100 are already busy. I tried to activate the higher channels (over 5725) but according to the system log they are disabled and the AP doesn’t start. I live in Europe and selected my country code (FR) when configuring the WIFI AP. The router is a EU version and I selected the 160mhz wide band.
Ideas ?
Firstly select 80MHz wide band....
There are TWO 160MHz options, both DFS or
Or SIX 80MHz options 4 DFS, one weak, one DFS & weak
Add to 5GHz radio in /etc/config/wireless the following:
option background_radar '1'
This will make channel change instant after initial DFS assessment.
iw phy shows the options
it is 4 or 8 20MHz non-overlapping channel combos starting from 36 100 149
1 * 5180.0 MHz [36] (23.0 dBm)
2 * 5200.0 MHz [40] (23.0 dBm)
3 * 5220.0 MHz [44] (23.0 dBm)
4 * 5240.0 MHz [48] (23.0 dBm)
1 * 5260.0 MHz [52] (20.0 dBm) (radar detection)
2 * 5280.0 MHz [56] (20.0 dBm) (radar detection)
3 * 5300.0 MHz [60] (20.0 dBm) (radar detection)
4 * 5320.0 MHz [64] (20.0 dBm) (radar detection)
1 * 5500.0 MHz [100] (26.0 dBm) (radar detection)
2 * 5520.0 MHz [104] (26.0 dBm) (radar detection)
3 * 5540.0 MHz [108] (26.0 dBm) (radar detection)
4 * 5560.0 MHz [112] (26.0 dBm) (radar detection)
1 * 5580.0 MHz [116] (26.0 dBm) (radar detection)
2 * 5600.0 MHz [120] (26.0 dBm) (radar detection)
3 * 5620.0 MHz [124] (26.0 dBm) (radar detection)
4 * 5640.0 MHz [128] (26.0 dBm) (radar detection)
1 * 5660.0 MHz [132] (26.0 dBm) (radar detection)
2 * 5680.0 MHz [136] (26.0 dBm) (radar detection)
3 * 5700.0 MHz [140] (26.0 dBm) (radar detection)
4 XXX * 5720.0 MHz [144] (13.0 dBm) (radar detection)
1 * 5745.0 MHz [149] (13.0 dBm)
2 * 5765.0 MHz [153] (13.0 dBm)
3 * 5785.0 MHz [157] (13.0 dBm)
4 * 5805.0 MHz [161] (13.0 dBm)
1 * 5825.0 MHz [165] (13.0 dBm)
2 * 5845.0 MHz [169] (13.0 dBm)
3 * 5865.0 MHz [173] (13.0 dBm)
XXX * 5885.0 MHz [177] (disabled)
Hello,
I activated the background DFS. I understand that if I want to keep the 160mhz band and speed I have to choose between channel 36 or 100. Channels over 140 are limited to 80mhz. Channel 100 seems to be ok for now anyway.
Thanks a lot.
Set channel to automatic, in case wifi detects radar signal - AP switches to other channel (thanks to background option immediately)
Complete list of auto-channel options https://git.w1.fi/cgit/hostap/tree/hostapd/hostapd.conf#n173
option min_tx_power 20 is simplest way to exclude 13dbm channels for 80MHz
Probably full list of options to get full speed out of low(er) end filogic too https://openwrt.org/toh/gl.inet/gl-mt6000#configuration
Is it possible to assign priorities to the selected channels? Because if I have option channels '36 100 132', the system chooses channel 36 instead of 100, and the desired outcome is that channels 100 or 132 are chosen because they are less busy, and then it switches to 36 when a DFS event is detected, before returning to 100 or 132.
Firs you need to select all channels involved
36 -> 36 40 44 48
Then select preference either via "channel" (if dfs kicks you out it goes to other option) or keep auto channel
OR
option acs_chan_bias '132:0.5 36:2.5'
(less is more - smaller number gives more chance)
Hi,
I set my 5ghz to channel 128 @ 160mhz. Because I found that channels 116 to 128 are clear and channels from 100 to 112 are not very busy. Therefore devices supporting 40 or 80 mhz are working perfectly and devices supporting 160 mhz can reach gigabit download speed anyway. For now I didn’t notice any DFS alert.
What happens when a DFS signal is detected ? Is the whole AP disabled ? Is it restored automatically after a while ? is option background_radar helpful for that or it just accelerate switching when auto mode is selected ?
It is one channel 100-128
If radar is detected transmissions in respective channel are stopped for 2h
You can add following to 5GHz radio section
option channels '36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128'
Then you will have alternative channel to escape. If you use fixed channel only pertaining channel list is generated and re-selection does not happen.
Thank you.
Alternatively I tried to use the 132 channel with the 80 mhz band. It looks like that my phone (Pixel 8) only connect at 40 mhz. After investigating channels 138 (the one used for 80mhz) is DFS/SRD (not DFS/TPC) in Euope so I guess SRD support is limited on some devices.
srd is close range iot, think bluetooth, if combined with DFS it can go to garbages
Yes and it looks like that channel 138 is more or less well supported because it was added quite lately. My Chromebook supports it but my Pixel doesn’t. Probably a question of time.
pixel 8 already had it on release. maybe it hates SRD+DFS channel somehow.
No fault in my channel list for 80 or 160MHz.
Your approach trying to find "free" channel is not very useful, it will be 4 ot 8 non-overlapping preset channel groups.
My understanding is that (in Europe) channel 144 should be standard DFS until 5725 and SRD between 5725 and 5730. Therefore some manufacturers don’t activate it. As a result channels 142 (40 mhz) and 138 (80 mhz) may be desactivated as well. I opened an issue at Google.