Re: [PATCH 5.15 2/2] rtw88: rtw8821c: enable rfe 6 devices

From: Greg KH
Date: Thu Jun 30 2022 - 07:55:48 EST


On Thu, Jun 30, 2022 at 07:46:21PM +0800, Meng Tang wrote:
> commit e109e3617e5d563b431a52e6e2f07f0fc65a93ae upstream.
>
> Ping-Ke Shih answered[1] a question for a user about an rtl8821ce device that
> reported RFE 6, which the driver did not support. Ping-Ke suggested a possible
> fix, but the user never reported back.
>
> A second user discovered the above thread and tested the proposed fix.
> Accordingly, I am pushing this change, even though I am not the author.
>
> [1] https://lore.kernel.org/linux-wireless/3f5e2f6eac344316b5dd518ebfea2f95@xxxxxxxxxxx/
>
> Signed-off-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>
> Reported-and-tested-by: masterzorag <masterzorag@xxxxxxxxx>
> Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx>
> Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxx>
> Link: https://lore.kernel.org/r/20220107024739.20967-1-Larry.Finger@xxxxxxxxxxxx
> Signed-off-by: Meng Tang <tangmeng@xxxxxxxxxxxxx>
> ---
> drivers/net/wireless/realtek/rtw88/rtw8821c.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/wireless/realtek/rtw88/rtw8821c.c b/drivers/net/wireless/realtek/rtw88/rtw8821c.c
> index 746f6f8967d8..897da3ed2f02 100644
> --- a/drivers/net/wireless/realtek/rtw88/rtw8821c.c
> +++ b/drivers/net/wireless/realtek/rtw88/rtw8821c.c
> @@ -1513,6 +1513,7 @@ static const struct rtw_rfe_def rtw8821c_rfe_defs[] = {
> [0] = RTW_DEF_RFE(8821c, 0, 0),
> [2] = RTW_DEF_RFE_EXT(8821c, 0, 0, 2),
> [4] = RTW_DEF_RFE_EXT(8821c, 0, 0, 2),
> + [6] = RTW_DEF_RFE(8821c, 0, 0),
> };
>
> static struct rtw_hw_reg rtw8821c_dig[] = {
> --
> 2.20.1
>
>
>

Both now queued up, thanks.

greg k-h