2022-01-07 02:48:02

by Larry Finger

[permalink] [raw]
Subject: [PATCH] rtw88: rtw8821c: enable rfe 6 devices

From: Ping-Ke Shih <[email protected]>

In https://www.spinics.net/lists/linux-wireless/msg217116.html, Ping-Ke Shih
answered 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.

Signed-off-by: Ping-Ke Shih <[email protected]>
Reported-and-tested-by: masterzorag <[email protected]>
Signed-off-by: Larry Finger <[email protected]>
---
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 db078df63f85..b1f4afb50830 100644
--- a/drivers/net/wireless/realtek/rtw88/rtw8821c.c
+++ b/drivers/net/wireless/realtek/rtw88/rtw8821c.c
@@ -1514,6 +1514,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.34.1



2022-02-01 20:42:40

by Kalle Valo

[permalink] [raw]
Subject: Re: rtw88: rtw8821c: enable rfe 6 devices

Larry Finger <[email protected]> wrote:

> From: Ping-Ke Shih <[email protected]>
>
> 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/[email protected]/
>
> Signed-off-by: Ping-Ke Shih <[email protected]>
> Reported-and-tested-by: masterzorag <[email protected]>
> Signed-off-by: Larry Finger <[email protected]>

Patch applied to wireless-next.git, thanks.

e109e3617e5d rtw88: rtw8821c: enable rfe 6 devices

--
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

2022-02-01 20:43:05

by Kalle Valo

[permalink] [raw]
Subject: Re: [PATCH] rtw88: rtw8821c: enable rfe 6 devices

Larry Finger <[email protected]> wrote:

> From: Ping-Ke Shih <[email protected]>
>
> In https://www.spinics.net/lists/linux-wireless/msg217116.html, Ping-Ke Shih
> answered 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.
>
> Signed-off-by: Ping-Ke Shih <[email protected]>
> Reported-and-tested-by: masterzorag <[email protected]>
> Signed-off-by: Larry Finger <[email protected]>

Lore links are preferred as they include the message id, so I'll change the link to:

https://lore.kernel.org/linux-wireless/[email protected]/

--
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches