OpenWrt/LEDE Project

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Kernel
  • Assigned To No-one
  • Operating System All
  • Severity High
  • Priority Very Low
  • Reported Version lede-17.01
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Fabio Alessandro Locati - 09.06.2018
Last edited by Jo-Philipp Wich - 10.01.2019

FS#1582 - Problem with WiFi 2.4Ghz

Hi,

I’ve few Linksys WRT1200AC devices now updated to commit 4a38c0cad5b2bfe37dd921dae04346f9a6397319 by Hans Dedecker on Sun May 27 22:09:46 2018 from the lede 17.01 branch.

 

I’ve noticed that sometimes the 2.4Ghz wireless “disappears” and so far the only thing I found is in the logs:

Fri Jun  8 20:33:03 2018 kern.err kernel: [34816.252640] ieee80211 phy0: cmd 0x9125=BAStream timed out
Fri Jun  8 20:33:03 2018 kern.err kernel: [34816.258068] ieee80211 phy0: return code: 0x1125
Fri Jun  8 20:33:03 2018 kern.err kernel: [34816.262631] ieee80211 phy0: timeout: 0x1125
Fri Jun  8 20:35:14 2018 kern.err kernel: [34947.369820] ieee80211 phy0: cmd 0x9122=UpdateEncryption timed out
Fri Jun  8 20:35:14 2018 kern.err kernel: [34947.375955] ieee80211 phy0: return code: 0x1122
Fri Jun  8 20:35:14 2018 kern.err kernel: [34947.380505] ieee80211 phy0: timeout: 0x1122
Fri Jun  8 20:35:14 2018 kern.err kernel: [34947.384706] wlan0: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-5)
Fri Jun  8 20:35:18 2018 kern.err kernel: [34951.391731] ieee80211 phy0: cmd 0x9122=UpdateEncryption timed out
Fri Jun  8 20:35:18 2018 kern.err kernel: [34951.397860] ieee80211 phy0: return code: 0x1122
Fri Jun  8 20:35:18 2018 kern.err kernel: [34951.402409] ieee80211 phy0: timeout: 0x1122
Fri Jun  8 20:35:18 2018 kern.err kernel: [34951.406619] wlan0: failed to set key (1, ff:ff:ff:ff:ff:ff) to hardware (-5)
Fri Jun  8 20:35:22 2018 kern.err kernel: [34955.413653] ieee80211 phy0: cmd 0x9122=UpdateEncryption timed out
Fri Jun  8 20:35:22 2018 kern.err kernel: [34955.419783] ieee80211 phy0: return code: 0x1122
Fri Jun  8 20:35:22 2018 kern.err kernel: [34955.424332] ieee80211 phy0: timeout: 0x1122
Fri Jun  8 20:35:22 2018 kern.err kernel: [34955.428543] wlan0: failed to remove key (0, 34:02:86:6e:24:b3) from hardware (-5)
Fri Jun  8 20:35:28 2018 kern.err kernel: [34961.437512] ieee80211 phy0: cmd 0x9111=SetNewStation timed out
Fri Jun  8 20:35:28 2018 kern.err kernel: [34961.443371] ieee80211 phy0: return code: 0x1111
Fri Jun  8 20:35:28 2018 kern.err kernel: [34961.447931] ieee80211 phy0: timeout: 0x1111
Fri Jun  8 20:35:32 2018 kern.err kernel: [34965.447426] ieee80211 phy0: cmd 0x8050=broadcast_ssid_enable timed out
Fri Jun  8 20:35:32 2018 kern.err kernel: [34965.453984] ieee80211 phy0: return code: 0x0050
Fri Jun  8 20:35:32 2018 kern.err kernel: [34965.458604] ieee80211 phy0: timeout: 0x0050
Fri Jun  8 20:35:36 2018 kern.err kernel: [34969.463342] ieee80211 phy0: cmd 0x8127=SetInformationElements timed out
Fri Jun  8 20:35:36 2018 kern.err kernel: [34969.470011] ieee80211 phy0: return code: 0x0127
Fri Jun  8 20:35:36 2018 kern.err kernel: [34969.474559] ieee80211 phy0: timeout: 0x0127
Fri Jun  8 20:35:40 2018 kern.err kernel: [34973.479264] ieee80211 phy0: cmd 0x801c=80211RadioControl timed out
Fri Jun  8 20:35:40 2018 kern.err kernel: [34973.485485] ieee80211 phy0: return code: 0x001c
Fri Jun  8 20:35:40 2018 kern.err kernel: [34973.490034] ieee80211 phy0: timeout: 0x001c
Fri Jun  8 20:35:44 2018 kern.err kernel: [34977.492410] ieee80211 phy0: cmd 0x8126=SetFixedRate timed out
Fri Jun  8 20:35:44 2018 kern.err kernel: [34977.498192] ieee80211 phy0: return code: 0x0126
Fri Jun  8 20:35:44 2018 kern.err kernel: [34977.502741] ieee80211 phy0: timeout: 0x0126
Fri Jun  8 20:36:59 2018 kern.err kernel: [35052.611562] ieee80211 phy1: cmd 0x9122=UpdateEncryption timed out
Fri Jun  8 20:36:59 2018 kern.err kernel: [35052.617695] ieee80211 phy1: return code: 0x1122
Fri Jun  8 20:36:59 2018 kern.err kernel: [35052.622245] ieee80211 phy1: timeout: 0x1122
Fri Jun  8 20:36:59 2018 kern.err kernel: [35052.626455] wlan1: failed to set key (1, ff:ff:ff:ff:ff:ff) to hardware (-5)
Fri Jun  8 20:45:11 2018 kern.err kernel: [35543.855091] ieee80211 phy0: cmd 0x9122=UpdateEncryption timed out
Fri Jun  8 20:45:11 2018 kern.err kernel: [35543.861216] ieee80211 phy0: return code: 0x1122
Fri Jun  8 20:45:11 2018 kern.err kernel: [35543.865779] ieee80211 phy0: timeout: 0x1122
Fri Jun  8 20:45:11 2018 kern.err kernel: [35543.869980] wlan0: failed to remove key (2, ff:ff:ff:ff:ff:ff) from hardware (-5)
Fri Jun  8 20:45:15 2018 kern.err kernel: [35547.876061] ieee80211 phy0: cmd 0x9122=UpdateEncryption timed out
Fri Jun  8 20:45:15 2018 kern.err kernel: [35547.882183] ieee80211 phy0: return code: 0x1122
Fri Jun  8 20:45:15 2018 kern.err kernel: [35547.886743] ieee80211 phy0: timeout: 0x1122
Fri Jun  8 20:45:15 2018 kern.err kernel: [35547.890945] wlan0: failed to set key (2, ff:ff:ff:ff:ff:ff) to hardware (-5)
Fri Jun  8 20:47:03 2018 kern.err kernel: [35656.624702] ieee80211 phy1: cmd 0x9122=UpdateEncryption timed out
Fri Jun  8 20:47:03 2018 kern.err kernel: [35656.630839] ieee80211 phy1: return code: 0x1122
Fri Jun  8 20:47:03 2018 kern.err kernel: [35656.635389] ieee80211 phy1: timeout: 0x1122
Fri Jun  8 20:47:03 2018 kern.err kernel: [35656.639592] wlan1: failed to set key (2, ff:ff:ff:ff:ff:ff) to hardware (-5)

I know that this might not be much of a debug, but I’ll try to provide more information in case this occurs again on my test device where I have more control and therefore maybe is easier to have some more useful log.

Looking online I found https://unix.stackexchange.com/questions/422254/kernel-wlp2s0-failed-to-remove-key-1-ffffffffffff-from-hardware-22?noredirect=1&lq=1 that might be related as well as a patch for what seems (to me) to be a similar problem: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e4f13ad07823b

Closed by  Jo-Philipp Wich
10.01.2019 10:14
Reason for closing:  Different project
Additional comments about closing:  

The mwlwifi driver used by these devices is semi-proprietary and not maintained by OpenWrt. Please report mwlwifi driver crashes at https://github.com/kaloz/mwlwifi

psyborg commented on 08.08.2018 12:08

does it still happen with recent builds?

Michael Uray commented on 10.11.2018 01:55

I am having the same issue with a Linksys WRT1200AC and OpenWRT 18.06.01.
The 2.4 GHz WiFi gets suddenly interrupted.

Sat Nov 10 02:45:18 2018 kern.err kernel: [660282.365629] ieee80211 phy1: cmd 0x801c=80211RadioControl timed out
Sat Nov 10 02:45:18 2018 kern.err kernel: [660282.371948] ieee80211 phy1: return code: 0x001c
Sat Nov 10 02:45:18 2018 kern.err kernel: [660282.376613] ieee80211 phy1: timeout: 0x001c
Sat Nov 10 02:45:38 2018 kern.err kernel: [660302.399471] ieee80211 phy1: cmd 0x8126=SetFixedRate timed out
Sat Nov 10 02:45:38 2018 kern.err kernel: [660302.405359] ieee80211 phy1: return code: 0x0126
Sat Nov 10 02:45:38 2018 kern.err kernel: [660302.410107] ieee80211 phy1: timeout: 0x0126
Sat Nov 10 02:46:04 2018 kern.err kernel: [660328.531608] ieee80211 phy1: cmd 0x8050=BroadcastSsidEnable timed out
Sat Nov 10 02:46:04 2018 kern.err kernel: [660328.538096] ieee80211 phy1: return code: 0x0050
Sat Nov 10 02:46:04 2018 kern.err kernel: [660328.542737] ieee80211 phy1: timeout: 0x0050
Sat Nov 10 02:46:24 2018 kern.err kernel: [660348.565533] ieee80211 phy1: cmd 0x8127=SetInformationElements timed out
Sat Nov 10 02:46:24 2018 kern.err kernel: [660348.572373] ieee80211 phy1: return code: 0x0127
Sat Nov 10 02:46:24 2018 kern.err kernel: [660348.577127] ieee80211 phy1: timeout: 0x0127
Sat Nov 10 02:46:45 2018 kern.err kernel: [660368.679388] ieee80211 phy1: cmd 0x801c=80211RadioControl timed out
Sat Nov 10 02:46:45 2018 kern.err kernel: [660368.685703] ieee80211 phy1: return code: 0x001c
Sat Nov 10 02:46:45 2018 kern.err kernel: [660368.690345] ieee80211 phy1: timeout: 0x001c
Sat Nov 10 02:47:03 2018 daemon.warn miniupnpd[2638]: SSDP packet sender [::ffff:192.168.0.221]:52093 (if_index=-1) not from a LAN, ignoring
Sat Nov 10 02:47:04 2018 daemon.warn miniupnpd[2638]: SSDP packet sender [::ffff:192.168.0.221]:52093 (if_index=-1) not from a LAN, ignoring
Sat Nov 10 02:47:05 2018 kern.err kernel: [660388.713924] ieee80211 phy1: cmd 0x8126=SetFixedRate timed out
Sat Nov 10 02:47:05 2018 kern.err kernel: [660388.720070] ieee80211 phy1: return code: 0x0126
Sat Nov 10 02:47:05 2018 kern.err kernel: [660388.724794] ieee80211 phy1: timeout: 0x0126
Sat Nov 10 02:47:05 2018 daemon.warn miniupnpd[2638]: SSDP packet sender [::ffff:192.168.0.221]:52093 (if_index=-1) not from a LAN, ignoring
Sat Nov 10 02:47:06 2018 daemon.warn miniupnpd[2638]: SSDP packet sender [::ffff:192.168.0.221]:52093 (if_index=-1) not from a LAN, ignoring
Sat Nov 10 02:47:31 2018 kern.err kernel: [660414.831661] ieee80211 phy1: cmd 0x8050=BroadcastSsidEnable timed out
Sat Nov 10 02:47:31 2018 kern.err kernel: [660414.838141] ieee80211 phy1: return code: 0x0050
Sat Nov 10 02:47:31 2018 kern.err kernel: [660414.842794] ieee80211 phy1: timeout: 0x0050
TDFKAOlli commented on 09.01.2019 19:59

Same problem (same router, same openwrt version). The links to the Kernel patch seem to be related to Intel drivers, but the WRT1200AC has a Marvell 88W8864.

Problem is nasty because after problem started it continues to throw errors and blocking router for a few seconds every few minutes.

Michael Uray commented on 17.05.2019 07:03

There is an OpenWRT forum thread available regarding these drivers:
https://forum.openwrt.org/t/pre-compiled-updated-mwlwifi-drivers-for-stable-releases/3262/1

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing