[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3854af21-822d-75f4-0e74-e1998143d59f@gmail.com>
Date: Thu, 27 Apr 2023 20:01:06 +0300
From: Bitterblue Smith <rtl8821cerfe2@...il.com>
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 27/04/2023 05: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.
>
Can this bug be reproduced easily? Is it always the same bits which
are mysteriously cleared from REG_RCR?
Powered by blists - more mailing lists