Wireless network problems in kernel 6.6 (working in 6.1))

Bug #2068041 reported by Lukas Willfort
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Raspbian
New
Undecided
Unassigned

Bug Description

Update:

It turned out the main problem exists for the 6.6 kernel and also the for the old 6.1 kernel.

The device used is an ALFA NETWORK Awus036ACHM 802.11AC, which is included in the Linux Wlan compatibility list (https://github.com/morrownr/USB-WiFi/blob/main/home/USB_WiFi_Adapters_that_are_supported_with_Linux_in-kernel_drivers.md)

Raspberry Pi OS Bookworm includes some driver/firmware, but it seems that they don't work as expected.

I found out that Mediatec also provides its own driver for the device: https://www.mediatek.com/products/broadband-wifi/mt7610u

My configuration is:
1) Raspberry Pi 5 internal: wlan0
2) One external ALFA NETWORK Awus036ACHM 802.11AC device: wlan1
3) Another external ALFA NETWORK Awus036ACHM 802.11AC device: wlan2

Wlan0 and wlan1 are both hotspots - hostap was used for configuration.

Furthermore I am using an USB hub without external power supply.

Rpi-update can be used to download kernel 6.1 (oldstable) or 6.6 (stable)

Source of 6.1 kernel: Oldstable (https://github.com/raspberrypi/rpi-firmware/tree/oldstable - commit: e38e4a4
Source of 6.6 kernel: Stable (https://github.com/raspberrypi/rpi-firmware/tree/stable - commit: 0ccee17

Wifi is very unstable - sometimes it works for the ALFA device for some second, then the SSID vanishes again.

This is dmesg:

[ 90.489680] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 90.489682] usb 1-1.3: Product: WiFi
[ 90.489684] usb 1-1.3: Manufacturer: MediaTek
[ 90.489686] usb 1-1.3: SerialNumber: 1.0
[ 90.672046] usb 1-1.3: reset high-speed USB device number 10 using xhci-hcd
[ 90.880066] mt76x0u 1-1.3:1.0: ASIC revision: 76100002 MAC revision: 76502000
[ 92.140386] mt76x0u 1-1.3:1.0: EEPROM ver:02 fae:04
[ 92.193626] ieee80211 phy8: Selected rate control algorithm 'minstrel_ht'
[ 93.312055] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[ 146.107304] usb 1-1.2: USB disconnect, device number 9
[ 146.166160] mt76x0u 1-1.2:1.0: MAC error detected
[ 146.190153] mt76x0u 1-1.3:1.0: vendor request req:07 off:1134 failed:-71
[ 146.286031] mt76x0u 1-1.3:1.0: vendor request req:07 off:2004 failed:-71
[ 146.322907] mt76x0u 1-1.2:1.0: MAC stop failed
[ 146.378187] mt76x0u 1-1.3:1.0: vendor request req:06 off:2004 failed:-71
[ 146.462144] mt76x0u 1-1.3:1.0: vendor request req:07 off:2300 failed:-71
[ 146.558671] mt76x0u 1-1.3:1.0: vendor request req:06 off:2300 failed:-71
[ 146.662427] mt76x0u 1-1.3:1.0: vendor request req:07 off:2300 failed:-71
[ 146.706136] usb 1-1.2: new high-speed USB device number 11 using xhci-hcd
[ 146.766181] mt76x0u 1-1.3:1.0: vendor request req:06 off:2300 failed:-71
[ 146.868312] mt76x0u 1-1.3:1.0: vendor request req:07 off:2700 failed:-71
[ 146.923982] usb 1-1.2: New USB device found, idVendor=0e8d, idProduct=7610, bcdDevice= 1.00
[ 146.923987] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 146.923990] usb 1-1.2: Product: WiFi
[ 146.923993] usb 1-1.2: Manufacturer: MediaTek
[ 146.923995] usb 1-1.2: SerialNumber: 1.0
[ 146.972067] mt76x0u 1-1.3:1.0: vendor request req:06 off:2700 failed:-71
[ 147.075823] mt76x0u 1-1.3:1.0: vendor request req:07 off:132c failed:-71
[ 147.102221] usb 1-1.2: reset high-speed USB device number 11 using xhci-hcd
[ 147.179578] mt76x0u 1-1.3:1.0: vendor request req:06 off:132c failed:-71
[ 147.283334] mt76x0u 1-1.3:1.0: vendor request req:07 off:132c failed:-71
[ 147.310117] mt76x0u 1-1.2:1.0: ASIC revision: 76100002 MAC revision: 76502000
[ 147.387090] mt76x0u 1-1.3:1.0: vendor request req:06 off:132c failed:-71
[ 147.490845] mt76x0u 1-1.3:1.0: vendor request req:07 off:132c failed:-71
[ 147.594601] mt76x0u 1-1.3:1.0: vendor request req:06 off:132c failed:-71
[ 147.698358] mt76x0u 1-1.3:1.0: vendor request req:07 off:141c failed:-71
[ 147.802113] mt76x0u 1-1.3:1.0: vendor request req:06 off:141c failed:-71
[ 147.902743] mt76x0u 1-1.3:1.0: vendor request req:06 off:13c8 failed:-71
[ 148.006498] mt76x0u 1-1.3:1.0: vendor request req:06 off:13a0 failed:-71
[ 148.116254] mt76x0u 1-1.3:1.0: vendor request req:07 off:0518 failed:-71
[ 148.220010] mt76x0u 1-1.3:1.0: vendor request req:06 off:0518 failed:-71
[ 148.317144] mt76x0u 1-1.3:1.0: vendor request req:06 off:13a8 failed:-71
[ 148.420900] mt76x0u 1-1.3:1.0: vendor request req:07 off:13b4 failed:-71
[ 148.524655] mt76x0u 1-1.3:1.0: vendor request req:06 off:13b4 failed:-71
[ 148.585316] mt76x0u 1-1.2:1.0: EEPROM ver:02 fae:04
[ 148.628410] mt76x0u 1-1.3:1.0: vendor request req:07 off:2004 failed:-71
[ 148.634073] ieee80211 phy9: Selected rate control algorithm 'minstrel_ht'
[ 148.732170] mt76x0u 1-1.3:1.0: vendor request req:06 off:2004 failed:-71
[ 148.835423] mt76x0u 1-1.3:1.0: vendor request req:06 off:2310 failed:-71
[ 148.937054] mt76x0u 1-1.3:1.0: vendor request req:06 off:2318 failed:-71
[ 149.040809] mt76x0u 1-1.3:1.0: vendor request req:06 off:2320 failed:-71
[ 149.144564] mt76x0u 1-1.3:1.0: vendor request req:06 off:2330 failed:-71
[ 149.248321] mt76x0u 1-1.3:1.0: vendor request req:06 off:2334 failed:-71
[ 149.352076] mt76x0u 1-1.3:1.0: vendor request req:06 off:2338 failed:-71
[ 149.455831] mt76x0u 1-1.3:1.0: vendor request req:06 off:2368 failed:-71
[ 149.559587] mt76x0u 1-1.3:1.0: vendor request req:06 off:236c failed:-71
[ 149.663342] mt76x0u 1-1.3:1.0: vendor request req:06 off:2370 failed:-71
[ 149.755474] mt76x0u 1-1.3:1.0: vendor request req:06 off:237c failed:-71
[ 149.857104] mt76x0u 1-1.3:1.0: vendor request req:06 off:2380 failed:-71
[ 149.960858] mt76x0u 1-1.3:1.0: vendor request req:06 off:2384 failed:-71
[ 150.064614] mt76x0u 1-1.3:1.0: vendor request req:06 off:238c failed:-71
[ 150.168370] mt76x0u 1-1.3:1.0: vendor request req:06 off:239c failed:-71
[ 150.272126] mt76x0u 1-1.3:1.0: vendor request req:06 off:23ac failed:-71
[ 150.374755] mt76x0u 1-1.3:1.0: vendor request req:06 off:23cc failed:-71
[ 150.478511] mt76x0u 1-1.3:1.0: vendor request req:06 off:23d4 failed:-71
[ 150.582266] mt76x0u 1-1.3:1.0: vendor request req:06 off:23dc failed:-71
[ 150.686022] mt76x0u 1-1.3:1.0: vendor request req:06 off:23e8 failed:-71
[ 150.789777] mt76x0u 1-1.3:1.0: vendor request req:06 off:2800 failed:-71
[ 150.889284] mt76x0u 1-1.3:1.0: vendor request req:06 off:110c failed:-71
[ 150.993039] mt76x0u 1-1.3:1.0: vendor request req:07 off:1134 failed:-71
[ 151.096795] mt76x0u 1-1.3:1.0: vendor request req:07 off:1130 failed:-71
[ 151.200551] mt76x0u 1-1.3:1.0: vendor request req:07 off:1350 failed:-71
[ 151.304306] mt76x0u 1-1.3:1.0: vendor request req:06 off:1350 failed:-71
[ 151.401953] mt76x0u 1-1.3:1.0: vendor request req:07 off:1340 failed:-71
[ 151.491441] mt76x0u 1-1.3:1.0: vendor request req:06 off:1340 failed:-71
[ 151.594695] mt76x0u 1-1.3:1.0: vendor request req:06 off:2308 failed:-71
[ 151.693702] mt76x0u 1-1.3:1.0: vendor request req:07 off:1608 failed:-71
[ 151.793083] mt76x0u 1-1.3:1.0: vendor request req:06 off:1608 failed:-71
[ 151.892718] mt76x0u 1-1.3:1.0: vendor request req:07 off:1004 failed:-71
[ 151.992970] mt76x0u 1-1.3:1.0: vendor request req:06 off:1004 failed:-71
[ 152.092848] mt76x0u 1-1.3:1.0: vendor request req:07 off:1404 failed:-71
[ 152.195229] mt76x0u 1-1.3:1.0: vendor request req:06 off:1404 failed:-71
[ 152.297737] mt76x0u 1-1.3:1.0: vendor request req:07 off:1328 failed:-71
[ 152.401495] mt76x0u 1-1.3:1.0: vendor request req:06 off:1328 failed:-71
[ 152.505248] mt76x0u 1-1.3:1.0: vendor request req:07 off:1140 failed:-71
[ 152.512039] usb 1-1.3: USB disconnect, device number 10
[ 152.513904] mt76x0u 1-1.3:1.0: MAC error detected
[ 152.729865] mt76x0u 1-1.3:1.0: MAC stop failed
[ 152.933904] mt76x0u 1-1.3:1.0: MAC error detected
[ 153.149845] mt76x0u 1-1.3:1.0: MAC stop failed
[ 153.545848] mt76x0u 1-1.3:1.0: MAC error detected
[ 153.749821] mt76x0u 1-1.3:1.0: MAC stop failed
[ 153.953806] mt76x0u 1-1.3:1.0: timed out waiting for pending tx

And this is the hostapd log:

wlan0: CTRL-EVENT-TERMINATING
hostapd_free_hapd_data: Interface wlan0 wasn't started
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
handle_probe_req: send failed
handle_probe_req: send failed
handle_probe_req: send failed
handle_probe_req: send failed
handle_probe_req: send failed
Could not determine operating frequency
wlan0: interface state UNINITIALIZED->DISABLED
wlan0: AP-DISABLED
wlan0: Unable to setup interface.
wlan0: interface state DISABLED->DISABLED
wlan0: AP-DISABLED
wlan0: CTRL-EVENT-TERMINATING
hostapd_free_hapd_data: Interface wlan0 wasn't started
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
handle_probe_req: send failed
handle_probe_req: send failed
Could not determine operating frequency
wlan0: interface state UNINITIALIZED->DISABLED
wlan0: AP-DISABLED
wlan0: Unable to setup interface.
wlan0: interface state DISABLED->DISABLED
wlan0: AP-DISABLED
wlan0: CTRL-EVENT-TERMINATING
hostapd_free_hapd_data: Interface wlan0 wasn't started
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
handle_probe_req: send failed
handle_probe_req: send failed
Could not determine operating frequency
wlan0: interface state UNINITIALIZED->DISABLED
wlan0: AP-DISABLED
wlan0: Unable to setup interface.
wlan0: interface state DISABLED->DISABLED
wlan0: AP-DISABLED
wlan0: CTRL-EVENT-TERMINATING
hostapd_free_hapd_data: Interface wlan0 wasn't started
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
handle_probe_req: send failed
handle_probe_req: send failed
Could not determine operating frequency
wlan0: interface state UNINITIALIZED->DISABLED
wlan0: AP-DISABLED
wlan0: Unable to setup interface.
wlan0: interface state DISABLED->DISABLED
wlan0: AP-DISABLED
wlan0: CTRL-EVENT-TERMINATING
hostapd_free_hapd_data: Interface wlan0 wasn't started
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
handle_probe_req: send failed
Could not determine operating frequency
wlan0: interface state UNINITIALIZED->DISABLED
wlan0: AP-DISABLED
wlan0: Unable to setup interface.
wlan0: interface state DISABLED->DISABLED
wlan0: AP-DISABLED
wlan0: CTRL-EVENT-TERMINATING
hostapd_free_hapd_data: Interface wlan0 wasn't started
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
handle_probe_req: send failed
handle_probe_req: send failed
handle_probe_req: send failed
handle_probe_req: send failed
handle_probe_req: send failed
handle_probe_req: send failed
handle_probe_req: send failed
handle_probe_req: send failed
Could not determine operating frequency
wlan0: interface state UNINITIALIZED->DISABLED
wlan0: AP-DISABLED
wlan0: Unable to setup interface.
wlan0: interface state DISABLED->DISABLED
wlan0: AP-DISABLED
wlan0: CTRL-EVENT-TERMINATING
hostapd_free_hapd_data: Interface wlan0 wasn't started
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
handle_probe_req: send failed
handle_probe_req: send failed
Could not determine operating frequency
wlan0: interface state UNINITIALIZED->DISABLED
wlan0: AP-DISABLED
wlan0: Unable to setup interface.
wlan0: interface state DISABLED->DISABLED
wlan0: AP-DISABLED
wlan0: CTRL-EVENT-TERMINATING

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.