netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rtw88: 8821c: Add RFE 2 support
@ 2020-08-05  8:45 Kai-Heng Feng
  2020-08-05 11:18 ` Tony Chuang
  0 siblings, 1 reply; 7+ messages in thread
From: Kai-Heng Feng @ 2020-08-05  8:45 UTC (permalink / raw)
  To: yhchuang, kvalo
  Cc: Kai-Heng Feng, David S. Miller, Jakub Kicinski,
	open list:REALTEK WIRELESS DRIVER (rtw88),
	open list:NETWORKING DRIVERS, open list

8821CE with RFE 2 isn't supported:
[   12.404834] rtw_8821ce 0000:02:00.0: rfe 2 isn't supported
[   12.404937] rtw_8821ce 0000:02:00.0: failed to setup chip efuse info
[   12.404939] rtw_8821ce 0000:02:00.0: failed to setup chip information

It works well if both type0 tables are in use, so add it to the RFE
default.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
---
 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 d8863d8a5468..f7270d0f1d55 100644
--- a/drivers/net/wireless/realtek/rtw88/rtw8821c.c
+++ b/drivers/net/wireless/realtek/rtw88/rtw8821c.c
@@ -1410,6 +1410,7 @@ static const struct rtw_intf_phy_para_table phy_para_table_8821c = {
 
 static const struct rtw_rfe_def rtw8821c_rfe_defs[] = {
 	[0] = RTW_DEF_RFE(8821c, 0, 0),
+	[2] = RTW_DEF_RFE(8821c, 0, 0),
 };
 
 static struct rtw_hw_reg rtw8821c_dig[] = {
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* RE: [PATCH] rtw88: 8821c: Add RFE 2 support
  2020-08-05  8:45 [PATCH] rtw88: 8821c: Add RFE 2 support Kai-Heng Feng
@ 2020-08-05 11:18 ` Tony Chuang
  2020-08-05 11:24   ` Kai-Heng Feng
  0 siblings, 1 reply; 7+ messages in thread
From: Tony Chuang @ 2020-08-05 11:18 UTC (permalink / raw)
  To: Kai-Heng Feng, kvalo
  Cc: David S. Miller, Jakub Kicinski,
	open list:REALTEK WIRELESS DRIVER (rtw88),
	open list:NETWORKING DRIVERS, open list, Andy Huang

> 8821CE with RFE 2 isn't supported:
> [   12.404834] rtw_8821ce 0000:02:00.0: rfe 2 isn't supported
> [   12.404937] rtw_8821ce 0000:02:00.0: failed to setup chip efuse info
> [   12.404939] rtw_8821ce 0000:02:00.0: failed to setup chip information
> 

NACK

The RFE type 2 should be working with some additional fixes.
Did you tested connecting to AP with BT paired?

The antenna configuration is different with RFE type 0.
I will ask someone else to fix them.
Then the RFE type 2 modules can be supported.

Yen-Hsuan

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] rtw88: 8821c: Add RFE 2 support
  2020-08-05 11:18 ` Tony Chuang
@ 2020-08-05 11:24   ` Kai-Heng Feng
  2021-01-07  6:38     ` Kai-Heng Feng
  0 siblings, 1 reply; 7+ messages in thread
From: Kai-Heng Feng @ 2020-08-05 11:24 UTC (permalink / raw)
  To: Tony Chuang
  Cc: kvalo, David S. Miller, Jakub Kicinski,
	open list:REALTEK WIRELESS DRIVER (rtw88),
	open list:NETWORKING DRIVERS, open list, Andy Huang

Hi Tony,

> On Aug 5, 2020, at 19:18, Tony Chuang <yhchuang@realtek.com> wrote:
> 
>> 8821CE with RFE 2 isn't supported:
>> [   12.404834] rtw_8821ce 0000:02:00.0: rfe 2 isn't supported
>> [   12.404937] rtw_8821ce 0000:02:00.0: failed to setup chip efuse info
>> [   12.404939] rtw_8821ce 0000:02:00.0: failed to setup chip information
>> 
> 
> NACK
> 
> The RFE type 2 should be working with some additional fixes.
> Did you tested connecting to AP with BT paired?

No, I only tested WiFi.

> The antenna configuration is different with RFE type 0.
> I will ask someone else to fix them.
> Then the RFE type 2 modules can be supported.

Good to know that, I'll be patient and wait for a real fix.

Kai-Heng

> 
> Yen-Hsuan


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] rtw88: 8821c: Add RFE 2 support
  2020-08-05 11:24   ` Kai-Heng Feng
@ 2021-01-07  6:38     ` Kai-Heng Feng
  2021-02-02  6:29       ` Kalle Valo
  0 siblings, 1 reply; 7+ messages in thread
From: Kai-Heng Feng @ 2021-01-07  6:38 UTC (permalink / raw)
  To: Tony Chuang
  Cc: kvalo, David S. Miller, Jakub Kicinski,
	open list:REALTEK WIRELESS DRIVER (rtw88),
	open list:NETWORKING DRIVERS, open list, Andy Huang

On Wed, Aug 5, 2020 at 7:24 PM Kai-Heng Feng
<kai.heng.feng@canonical.com> wrote:
>
> Hi Tony,
>
> > On Aug 5, 2020, at 19:18, Tony Chuang <yhchuang@realtek.com> wrote:
> >
> >> 8821CE with RFE 2 isn't supported:
> >> [   12.404834] rtw_8821ce 0000:02:00.0: rfe 2 isn't supported
> >> [   12.404937] rtw_8821ce 0000:02:00.0: failed to setup chip efuse info
> >> [   12.404939] rtw_8821ce 0000:02:00.0: failed to setup chip information
> >>
> >
> > NACK
> >
> > The RFE type 2 should be working with some additional fixes.
> > Did you tested connecting to AP with BT paired?
>
> No, I only tested WiFi.
>
> > The antenna configuration is different with RFE type 0.
> > I will ask someone else to fix them.
> > Then the RFE type 2 modules can be supported.
>
> Good to know that, I'll be patient and wait for a real fix.

It's been quite some time, is support for RFE type 2 ready now?

Kai-Heng

>
> Kai-Heng
>
> >
> > Yen-Hsuan
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] rtw88: 8821c: Add RFE 2 support
  2021-01-07  6:38     ` Kai-Heng Feng
@ 2021-02-02  6:29       ` Kalle Valo
  2021-02-02  7:02         ` Larry Finger
  0 siblings, 1 reply; 7+ messages in thread
From: Kalle Valo @ 2021-02-02  6:29 UTC (permalink / raw)
  To: Kai-Heng Feng
  Cc: Tony Chuang, David S. Miller, Jakub Kicinski,
	open list:REALTEK WIRELESS DRIVER (rtw88),
	open list:NETWORKING DRIVERS, open list, Andy Huang

Kai-Heng Feng <kai.heng.feng@canonical.com> writes:

> On Wed, Aug 5, 2020 at 7:24 PM Kai-Heng Feng
> <kai.heng.feng@canonical.com> wrote:
>>
>> Hi Tony,
>>
>> > On Aug 5, 2020, at 19:18, Tony Chuang <yhchuang@realtek.com> wrote:
>> >
>> >> 8821CE with RFE 2 isn't supported:
>> >> [   12.404834] rtw_8821ce 0000:02:00.0: rfe 2 isn't supported
>> >> [   12.404937] rtw_8821ce 0000:02:00.0: failed to setup chip efuse info
>> >> [   12.404939] rtw_8821ce 0000:02:00.0: failed to setup chip information
>> >>
>> >
>> > NACK
>> >
>> > The RFE type 2 should be working with some additional fixes.
>> > Did you tested connecting to AP with BT paired?
>>
>> No, I only tested WiFi.
>>
>> > The antenna configuration is different with RFE type 0.
>> > I will ask someone else to fix them.
>> > Then the RFE type 2 modules can be supported.
>>
>> Good to know that, I'll be patient and wait for a real fix.
>
> It's been quite some time, is support for RFE type 2 ready now?

It looks like this patch should add it:

https://patchwork.kernel.org/project/linux-wireless/patch/20210202055012.8296-4-pkshih@realtek.com/

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] rtw88: 8821c: Add RFE 2 support
  2021-02-02  6:29       ` Kalle Valo
@ 2021-02-02  7:02         ` Larry Finger
  2021-02-02  7:36           ` Kai-Heng Feng
  0 siblings, 1 reply; 7+ messages in thread
From: Larry Finger @ 2021-02-02  7:02 UTC (permalink / raw)
  To: Kalle Valo, Kai-Heng Feng
  Cc: Tony Chuang, David S. Miller, Jakub Kicinski,
	open list:REALTEK WIRELESS DRIVER (rtw88),
	open list:NETWORKING DRIVERS, open list, Andy Huang

On 2/2/21 12:29 AM, Kalle Valo wrote:
> Kai-Heng Feng <kai.heng.feng@canonical.com> writes:
> 
>> On Wed, Aug 5, 2020 at 7:24 PM Kai-Heng Feng
>> <kai.heng.feng@canonical.com> wrote:
>>>
>>> Hi Tony,
>>>
>>>> On Aug 5, 2020, at 19:18, Tony Chuang <yhchuang@realtek.com> wrote:
>>>>
>>>>> 8821CE with RFE 2 isn't supported:
>>>>> [   12.404834] rtw_8821ce 0000:02:00.0: rfe 2 isn't supported
>>>>> [   12.404937] rtw_8821ce 0000:02:00.0: failed to setup chip efuse info
>>>>> [   12.404939] rtw_8821ce 0000:02:00.0: failed to setup chip information
>>>>>
>>>>
>>>> NACK
>>>>
>>>> The RFE type 2 should be working with some additional fixes.
>>>> Did you tested connecting to AP with BT paired?
>>>
>>> No, I only tested WiFi.
>>>
>>>> The antenna configuration is different with RFE type 0.
>>>> I will ask someone else to fix them.
>>>> Then the RFE type 2 modules can be supported.
>>>
>>> Good to know that, I'll be patient and wait for a real fix.
>>
>> It's been quite some time, is support for RFE type 2 ready now?
> 
> It looks like this patch should add it:
> 
> https://patchwork.kernel.org/project/linux-wireless/patch/20210202055012.8296-4-pkshih@realtek.com/
> 
New firmware (rtw8821c_fw.bin) is also needed. That is available at 
https://github.com/lwfinger/rtw88.git.

Larry


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH] rtw88: 8821c: Add RFE 2 support
  2021-02-02  7:02         ` Larry Finger
@ 2021-02-02  7:36           ` Kai-Heng Feng
  0 siblings, 0 replies; 7+ messages in thread
From: Kai-Heng Feng @ 2021-02-02  7:36 UTC (permalink / raw)
  To: Larry Finger
  Cc: Kalle Valo, Tony Chuang, David S. Miller, Jakub Kicinski,
	open list:REALTEK WIRELESS DRIVER (rtw88),
	open list:NETWORKING DRIVERS, open list, Andy Huang

On Tue, Feb 2, 2021 at 3:02 PM Larry Finger <Larry.Finger@lwfinger.net> wrote:
>
> On 2/2/21 12:29 AM, Kalle Valo wrote:
> > Kai-Heng Feng <kai.heng.feng@canonical.com> writes:
> >
> >> On Wed, Aug 5, 2020 at 7:24 PM Kai-Heng Feng
> >> <kai.heng.feng@canonical.com> wrote:
> >>>
> >>> Hi Tony,
> >>>
> >>>> On Aug 5, 2020, at 19:18, Tony Chuang <yhchuang@realtek.com> wrote:
> >>>>
> >>>>> 8821CE with RFE 2 isn't supported:
> >>>>> [   12.404834] rtw_8821ce 0000:02:00.0: rfe 2 isn't supported
> >>>>> [   12.404937] rtw_8821ce 0000:02:00.0: failed to setup chip efuse info
> >>>>> [   12.404939] rtw_8821ce 0000:02:00.0: failed to setup chip information
> >>>>>
> >>>>
> >>>> NACK
> >>>>
> >>>> The RFE type 2 should be working with some additional fixes.
> >>>> Did you tested connecting to AP with BT paired?
> >>>
> >>> No, I only tested WiFi.
> >>>
> >>>> The antenna configuration is different with RFE type 0.
> >>>> I will ask someone else to fix them.
> >>>> Then the RFE type 2 modules can be supported.
> >>>
> >>> Good to know that, I'll be patient and wait for a real fix.
> >>
> >> It's been quite some time, is support for RFE type 2 ready now?
> >
> > It looks like this patch should add it:
> >
> > https://patchwork.kernel.org/project/linux-wireless/patch/20210202055012.8296-4-pkshih@realtek.com/
> >
> New firmware (rtw8821c_fw.bin) is also needed. That is available at
> https://github.com/lwfinger/rtw88.git.

Thanks. RFE2 works with the new firmware.

Kai-Heng

>
> Larry
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-02-02  7:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-05  8:45 [PATCH] rtw88: 8821c: Add RFE 2 support Kai-Heng Feng
2020-08-05 11:18 ` Tony Chuang
2020-08-05 11:24   ` Kai-Heng Feng
2021-01-07  6:38     ` Kai-Heng Feng
2021-02-02  6:29       ` Kalle Valo
2021-02-02  7:02         ` Larry Finger
2021-02-02  7:36           ` Kai-Heng Feng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).