MT7986: wifi randomly disconnects
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 888
- Forks
- 436
- PR merge metrics
- No merged PRs in 30d
Description
My device is JDCloud RE-CP-03, running v24.10.0-rc6, and the configuration is as follows:
config wifi-device 'radio0'
option type 'mac80211'
option path 'platform/soc/18000000.wifi'
option band '2g'
option channel '6'
option htmode 'HE40'
option disabled '0'
option country 'CN'
option cell_density '0'
option mu_beamformer '1'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'psk2'
option key 'xxx'
option ieee80211k '1'
option time_advertisement '2'
option time_zone 'CST-8'
option wnm_sleep_mode '1'
option bss_transition '1'
config wifi-device 'radio1'
option type 'mac80211'
option path 'platform/soc/18000000.wifi+1'
option band '5g'
option channel '48'
option htmode 'HE160'
option disabled '0'
option country 'CN'
option cell_density '0'
option mu_beamformer '1'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'psk2'
option key 'xxx'
option ieee80211k '1'
option time_advertisement '2'
option time_zone 'CST-8'
option wnm_sleep_mode '1'
option bss_transition '1'
Besides, I have enabled HW flow offload and WED. usteer is employed for band steering, but there are no other APs.
A very annoying issue is that wifi randomly disconnected, which happens once every 2 or 3 days. When it happens, all clients are still connected, but can't send or receive data. ping the router fails. The approach to resolve it is to log in to the router through Ethernet and press the Restart button in Network -> Wireless, or run /sbin/wifi in the shell. I have added a corn job to run /sbin/wifi every 24 hours, but it doesn't help.
There are no warnings or errors in both syslog and dmesg when experiencing the issue.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the JDCloud RE-CP-03 configuration and reproduce the failure over the reported two- to three-day interval. Check syslog and dmesg while clients remain connected but traffic fails, then compare the wireless state before and after running /sbin/wifi. Done means identifying the failure condition and preventing the need for a manual wireless restart.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100