Bug 110251

Summary: wifi RT3290 Wireless 802.11n stop working after a while
Product: Networking Reporter: picard12 (picard12)
Component: WirelessAssignee: networking_wireless (networking_wireless)
Status: CLOSED DUPLICATE    
Severity: normal CC: Larry.Finger, linville, nickob, picard12, stf_xl
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.3.3 Subsystem:
Regression: No Bisected commit-id:

Description picard12 2016-01-02 07:41:54 UTC
Form many kernels i have this bug.
This wifi 
03:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe
 stop working after a while.

From dmseg i have this:


[ 1744.578392] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
[ 1744.688288] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 1745.125306] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 1745.235385] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
[ 1745.345389] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 1745.719288] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 1745.829573] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
[ 1745.939430] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
[ 1748.420905] cfg80211: World regulatory domain updated:
[ 1748.420909] cfg80211:  DFS Master region: unset
[ 1748.420911] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 1748.420915] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 1748.420918] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 1748.420920] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 1748.420933] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 1748.420936] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 1748.420938] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 1748.420941] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 1748.420943] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 1749.520129] wlp3s0f0: authenticate with 10:bf:48:80:dd:88
[ 1749.523629] wlp3s0f0: send auth to 10:bf:48:80:dd:88 (try 1/3)
[ 1749.552740] wlp3s0f0: send auth to 10:bf:48:80:dd:88 (try 2/3)
[ 1749.588667] wlp3s0f0: send auth to 10:bf:48:80:dd:88 (try 3/3)
[ 1749.616982] wlp3s0f0: authentication with 10:bf:48:80:dd:88 timed out
Comment 1 nickob 2016-02-13 20:09:49 UTC
# uname -a
Linux usern 4.4.1-calculate #1 SMP PREEMPT Fri Feb 12 15:13:56 MSK 2016 x86_64 AMD A4-5000 APU with Radeon(TM) HD Graphics AuthenticAMD GNU/Linux


# lspci -s 01:00 -k -nn
01:00.0 Network controller [0280]: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe [1814:3290]
	DeviceName: Ralink RT3290LE 802.11bgn Wi-Fi Adapter
	Subsystem: Hewlett-Packard Company Ralink RT3290LE 802.11bgn 1x1 Wi-Fi and Bluetooth 4.0 Combo Adapter [103c:18ec]
	Kernel driver in use: rt2800pci
	Kernel modules: rt2800pci
01:00.1 Bluetooth [0d11]: Ralink corp. RT3290 Bluetooth [1814:3298]
	Subsystem: Hewlett-Packard Company Ralink RT3290LE 802.11bgn 1x1 Wi-Fi and Bluetooth 4.0 Combo Adapter [103c:18ec]


- Low speed WiFi (max 30-45 Mbit/sec) 
  [Низкая скорость WiFi]

- Disable wifi module (disconnection) with a maximum download speed in 10-15 seconds. Stably short loads. 
[Отключение модуля WiFi (разрыв связи) при максимальной скорости загрузки через 10-15 сек. Стабильно работает на коротких загрузках.]

Мой костыль:
# cat /etc/NetworkManager/dispatcher.d/ip-down.sh 
#!/bin/bash

DEV_NAME="$1"
NM_ACTION="$2"

if [[ ${NM_ACTION} == "down" ]]
then
	modprobe -r rt2800pci
	modprobe rt2800pci
fi
Comment 2 Stanislaw Gruszka 2017-02-18 14:12:50 UTC

*** This bug has been marked as a duplicate of bug 107751 ***