[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <866570c9-38d8-1006-4721-77e2945170b9@lwfinger.net>
Date: Thu, 27 Apr 2023 21:00:28 -0500
From: Larry Finger <Larry.Finger@...inger.net>
To: Yun Lu <luyun_611@....com>, Jes.Sorensen@...il.com
Cc: 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/26/23 21:05, Yun Lu wrote:
> From: Yun Lu <luyun@...inos.cn>
>
> When using rtl8192cu with rtl8xxxu driver to connect wifi, there is a
> probability of failure, which shows "authentication with ... timed out".
> Through debugging, it was found that the RCR register has been inexplicably
> modified to an incorrect value, resulting in the nic not being able to
> receive authenticated frames.
>
> To fix this problem, add regrcr in rtl8xxxu_priv struct, and store
> the RCR value every time the register is writen, and use it the next
> time the register need to be modified.
I added the attached patch to see what was different between the two values in
REG_RCR. To my surprise, nothing was logged.
Please add this one on top of you proposed patch, and send me the output from
the log.
Thanks,
Larry
View attachment "log_data.patch" of type "text/x-patch" (1443 bytes)
Powered by blists - more mailing lists