Web lists-archives.com

Unstable WiFi




Hello list,

I'm running Debian 9, and I'm having issues with WiFi being occasionally
unstable. It will run just fine for a while, but sometimes it will
suddenly fail.

/etc/network/interfaces:
> allow-hotplug wlo1
> iface wlo1 inet manual
> 	wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
> 
> # default wireless interface
> iface default inet dhcp
> 	openvpn-client chaos
> 
> # home
> iface home inet static
> 	address 192.168.0.2/24
> 	gateway 192.168.0.1
> 	openvpn-client chaos

openvpn-client is just a modified version of
/etc/network/if-up.d/openvpn that uses openvpn-client@* units instead of
openvpn@*.

/etc/wpa_supplicant/wpa_supplicant.conf:
> ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev
> country=KR

then the network blocks, like so:
> network={
> 	ssid="<snip>"
> 	psk="<snip>"
> 	id_str="home"
> }

dmesg:
> [ 6919.168438] rt2x00mmio_regbusy_read() Indirect register access failed: offset=0x0000101c, value=0xffffffff
> [ 6921.211274] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
> [ 6921.410607] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
> [ 6921.813303] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
> [ 6922.016635] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
> [ 6922.215970] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
> [ 6922.419375] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
> [ 6926.407143] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
> [ 6926.610495] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
> [ 6926.857821] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 0 failed to flush
> [ 6927.061267] ieee80211 phy0: rt2x00queue_flush_queue: Warning - Queue 2 failed to flush
> [ 6928.433354] ieee80211 phy0: rt2800_wait_csr_ready: Error - Unstable hardware

lspci -vvv:
> 09:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe
> 	Subsystem: Hewlett-Packard Company Ralink RT3290LE 802.11bgn 1x1 Wi-Fi and Bluetooth 4.0 Combo Adapter
> 	Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
> 	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
> 	Interrupt: pin A routed to IRQ 16
> 	Region 0: [virtual] Memory at b2510000 (32-bit, non-prefetchable) [size=64K]
> 	Capabilities: [40] Power Management version 3
> 		Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold-)
> 		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME+
> 	Capabilities: [50] MSI: Enable- Count=1/32 Maskable- 64bit+
> 		Address: 0000000000000000  Data: 0000
> 	Capabilities: [70] Express (v2) Endpoint, MSI 00
> 		DevCap:	MaxPayload 128 bytes, PhantFunc 0, Latency L0s <128ns, L1 <2us
> 			ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 0.000W
> 		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
> 			RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
> 			MaxPayload 128 bytes, MaxReadReq 512 bytes
> 		DevSta:	CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
> 		LnkCap:	Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <512ns, L1 <64us
> 			ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp-
> 		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- CommClk-
> 			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
> 		LnkSta:	Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
> 		DevCap2: Completion Timeout: Not Supported, TimeoutDis+, LTR-, OBFF Not Supported
> 		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
> 		LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-
> 			 Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS-
> 			 Compliance De-emphasis: -6dB
> 		LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
> 			 EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
> 	Capabilities: [100 v1] Advanced Error Reporting
> 		UESta:	DLP- SDES- TLP- FCP- CmpltTO+ CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol-
> 		UEMsk:	DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
> 		UESvrt:	DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
> 		CESta:	RxErr+ BadTLP- BadDLLP+ Rollover+ Timeout+ NonFatalErr+
> 		CEMsk:	RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
> 		AERCap:	First Error Pointer: 0e, GenCap+ CGenEn- ChkCap+ ChkEn-
> 	Capabilities: [140 v1] Device Serial Number 00-00-ef-dc-2a-9a-48-90
> 	Kernel driver in use: rt2800pci
> 	Kernel modules: rt2800pci

Any help in fixing this issue is appreciated.

Thanks.