I have a slight issue with my current build of OpenWrt (SNAPSHOT r22658-2c530fcb97) where at random intervals a specific model of android phone my family has keeps on disconnecting from the wireless network and will not reconnect.
My phone and other devices haven't had an issue however it says the wifi password is wrong and the only way for it to re connect is to turn the wifi on the device off and back on or re input the password.
In the syslogs i can note a line daemon.info hostapd: phy2-ap0: STA <redacted> IEEE 802.11: deauthenticated due to local deauth request
I didn't have any issues until i decided to completely restart my config with different wifi ssids and a different ip.
everything else about the wireless config is the same as before except for the ssid's and longer than before passwords .
i have a feeling its because of wpa3 and the fact that I forgot what packages i had installed on the previous working setup.
What I have tried is adding wpad-wolfssl as it was recommended for wpa3, this did not seem to help
I then thought it might be related to the firmware from Candela Technologies as that is the only difference I can recall from my previous firmware before starting fresh.
after changing to the "unoptimized" base firmware and kmod the issue seems to be better than before but returned as soon as a installed the kmod-ath10k-ct.
I thought perhaps since the drivers from Candela Technologies are 3 years old something may be broken hence why I am coming here for help.
I also noted that wifi speeds were about half with the Candela Technologies compared to the base firmware and kmod when going wireless to lan (tested with iperf3).
On another note I would also like to hear any other tips or tricks from other MR8300 owners.
Probably something stupid im forgetting as im still learning OpenWrt
Please post content of /etc/config/wireless
I'm also using a snapshot for this device, but with the base firmware/kmod (I mean non-CT drivers as in default build).
set a separate SSID for each radio. Using the same SSID for both a 2.4 and 5GHz may lead to switch.
is there a reason why you use channel 157 on radio0 ? It may interfere with radar (DFS). I prefer using auto. The device scans for radars and selects the best channel.
Awesome I'll give those a try and see if stability improves.
As for the channel 157 it is the channel that most of my devices can see and the router will actually use.
Most of the higher channels are too high for my devices to see therefore I need to lock it to a specific channel
A few questions though,
What would the differences between wpa2 and 3 be, are there any benefits or drawbacks besides security?
A general optimization for the MR8300 is to scale up the processor faster. For small loads like DNS there isn't enough load to increase MHz so this router lags and there is a lot of latency.
Add this to your startup to scale up faster and scale down slower:
#Change % when cpu scales up
echo "5" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
#Multiple of sampling rate (.02 seconds) to scale down = .04 seconds
echo "2" > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor
Cool ill give that a try thanks.
for most of the time i kept the cpu at max freq with echo performance > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
as I didn't see a better way of keeping performance in short bursty loads
the trade off was the cpu was hitting 80 degrees so i added a cooling fan.
Well, I haven't been notified of any more issues with the wifi connection.
In the end, I separated and disabled the 5Ghz on radio 2 and left the 2.4Ghz on its own ssid.
Alongside that, I changed all ssids to use wpa2 and set a country.
I then asked my family to only use the dedicated 5Ghz from radio 0.
thank you to everyone for the help.
I will keep the topic open until it auto-closes in case anyone has any extra tips to add.
Alright I'm starting to see a few daemon.notice hostapd: phy0-ap0: AP-STA-DISCONNECTED <redacted> and daemon.notice hostapd: phy1-ap0: AP-STA-DISCONNECTED <redacted> for a different device same model