[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <d3743b66-23b1-011c-9dcd-c408b1963fca@lwfinger.net>
Date: Fri, 28 Apr 2023 12:06:03 -0500
From: Larry Finger <Larry.Finger@...inger.net>
To: wo <luyun_611@....com>
Cc: Jes.Sorensen@...il.com, kvalo@...nel.org, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] wifi: rtl8xxxu: fix authentication timeout due to
incorrect RCR value
On 4/27/23 23:11, wo wrote:
> [ 149.595642] [pid:7,cpu6,kworker/u16:0,0]BEFORE: REG_RCR differs from regrcr:
> 0x1830613 insted of 0x7000604e
> [ 160.676422] [pid:237,cpu6,kworker/u16:5,3]BEFORE: REG_RCR differs from
> regrcr: 0x70006009 insted of 0x700060ce
> [ 327.234588] [pid:7,cpu7,kworker/u16:0,5]BEFORE: REG_RCR differs from
regrcr: 0x1830d33 insted of 0x7000604e
My patch was messed up, but it got the information that I wanted, which is shown
in the quoted lines above. One of these differs only in the low-order byte,
while the other 2 are completely different. Strange!
It is possible that there is a firmware error. My system, which does not show
the problem, reports the following:
[54130.741148] usb 3-6: RTL8192CU rev A (TSMC) romver 0, 2T2R, TX queues 2,
WiFi=1, BT=0, GPS=0, HI PA=0
[54130.741153] usb 3-6: RTL8192CU MAC: xx:xx:xx:xx:xx:xx
[54130.741155] usb 3-6: rtl8xxxu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
[54130.742301] usb 3-6: Firmware revision 88.2 (signature 0x88c1)
Which firmware does your unit use?
Attached is a new test patch. When it logs a CORRUPTED value, I would like to
know what task is attached to the pid listed in the message. Note that the two
instances where the entire word was wrong came from pid:7.
Could improper locking could produce these results?
Larry
View attachment "log_data_2.patch" of type "text/x-patch" (1422 bytes)
Powered by blists - more mailing lists