Message ID | 20210820043538.12424-1-pkshih@realtek.com |
---|---|
Headers | show |
Series | rtw89: add Realtek 802.11ax driver | expand |
Ping-Ke Shih <pkshih@realtek.com> writes: > This driver named rtw89, which is the next generation of rtw88, supports > Realtek 8852AE 802.11ax 2x2 chip whose new features are OFDMA, DBCC, > Spatial reuse, TWT and BSS coloring; now some of them aren't implemented > though. > > The chip architecture is entirely different from the chips supported by > rtw88 like RTL8822CE 802.11ac chip. First of all, register address ranges > are totally redefined, so it's impossible to reuse register definition. To > communicate with firmware, new H2C/C2H format is proposed. In order to have > better utilization, TX DMA flow is changed to two stages DMA. To provide > rich RX status information, additional RX PPDU packets are added. > > Since there are so many differences mentioned above, we decide to propose > a new driver. It has many authors, they are listed in alphabetic order: I did a review now and this looks pretty good to me. Kconfig has a different license and lots of static/extern variables which are not const, otherwise I only saw smaller issues. But I do have to admit that after mac.h (in alphabetical order) my review was more on the sloppy side, this is a large driver. The community has been testing this driver already, right? I pushed the driver to the pending branch for build testing: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git/commit/?h=pending&id=c9dfa866a9f4004fcbde9fc3ad8772ad417c6ad9 -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
On 10/1/21 11:34, Kalle Valo wrote: > Ping-Ke Shih <pkshih@realtek.com> writes: > >> This driver named rtw89, which is the next generation of rtw88, supports >> Realtek 8852AE 802.11ax 2x2 chip whose new features are OFDMA, DBCC, >> Spatial reuse, TWT and BSS coloring; now some of them aren't implemented >> though. >> >> The chip architecture is entirely different from the chips supported by >> rtw88 like RTL8822CE 802.11ac chip. First of all, register address ranges >> are totally redefined, so it's impossible to reuse register definition. To >> communicate with firmware, new H2C/C2H format is proposed. In order to have >> better utilization, TX DMA flow is changed to two stages DMA. To provide >> rich RX status information, additional RX PPDU packets are added. >> >> Since there are so many differences mentioned above, we decide to propose >> a new driver. It has many authors, they are listed in alphabetic order: > > I did a review now and this looks pretty good to me. Kconfig has a > different license and lots of static/extern variables which are not > const, otherwise I only saw smaller issues. But I do have to admit that > after mac.h (in alphabetical order) my review was more on the sloppy > side, this is a large driver. > > The community has been testing this driver already, right? Kalle, As soon as Ping-Ke submitted this driver, I created a stand-alone version at GitHub so that people with new laptops containing this chip would have a source for the driver. There have been minor hiccups that we have fixed along the way. I am also testing it on my system. Larry
Larry Finger <Larry.Finger@lwfinger.net> writes: > On 10/1/21 11:34, Kalle Valo wrote: >> Ping-Ke Shih <pkshih@realtek.com> writes: >> >>> This driver named rtw89, which is the next generation of rtw88, supports >>> Realtek 8852AE 802.11ax 2x2 chip whose new features are OFDMA, DBCC, >>> Spatial reuse, TWT and BSS coloring; now some of them aren't implemented >>> though. >>> >>> The chip architecture is entirely different from the chips supported by >>> rtw88 like RTL8822CE 802.11ac chip. First of all, register address ranges >>> are totally redefined, so it's impossible to reuse register definition. To >>> communicate with firmware, new H2C/C2H format is proposed. In order to have >>> better utilization, TX DMA flow is changed to two stages DMA. To provide >>> rich RX status information, additional RX PPDU packets are added. >>> >>> Since there are so many differences mentioned above, we decide to propose >>> a new driver. It has many authors, they are listed in alphabetic order: >> >> I did a review now and this looks pretty good to me. Kconfig has a >> different license and lots of static/extern variables which are not >> const, otherwise I only saw smaller issues. But I do have to admit that >> after mac.h (in alphabetical order) my review was more on the sloppy >> side, this is a large driver. >> >> The community has been testing this driver already, right? > > Kalle, > > As soon as Ping-Ke submitted this driver, I created a stand-alone > version at GitHub so that people with new laptops containing this chip > would have a source for the driver. There have been minor hiccups that > we have fixed along the way. I am also testing it on my system. Nice, so I can assume there are quite a few users for this driver already? -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
On 10/1/21 11:46, Kalle Valo wrote: > > Nice, so I can assume there are quite a few users for this driver > already? > Yes. I do not know how many times the repo has been cloned or how many people are using it, but GitHub reports 31 forks of the driver, and 252 star ratings. The numbers are roughly comparable with those for my rtw88 repo. Larry
> -----Original Message----- > From: kvalo=codeaurora.org@mg.codeaurora.org <kvalo=codeaurora.org@mg.codeaurora.org> On > Behalf Of Kalle Valo > Sent: Saturday, October 2, 2021 12:34 AM > To: Pkshih <pkshih@realtek.com> > Cc: linux-wireless@vger.kernel.org > Subject: Re: [PATCH v6 00/24] rtw89: add Realtek 802.11ax driver > > Ping-Ke Shih <pkshih@realtek.com> writes: > > > This driver named rtw89, which is the next generation of rtw88, supports > > Realtek 8852AE 802.11ax 2x2 chip whose new features are OFDMA, DBCC, > > Spatial reuse, TWT and BSS coloring; now some of them aren't implemented > > though. > > > > The chip architecture is entirely different from the chips supported by > > rtw88 like RTL8822CE 802.11ac chip. First of all, register address ranges > > are totally redefined, so it's impossible to reuse register definition. To > > communicate with firmware, new H2C/C2H format is proposed. In order to have > > better utilization, TX DMA flow is changed to two stages DMA. To provide > > rich RX status information, additional RX PPDU packets are added. > > > > Since there are so many differences mentioned above, we decide to propose > > a new driver. It has many authors, they are listed in alphabetic order: > > I did a review now and this looks pretty good to me. Kconfig has a > different license and lots of static/extern variables which are not > const, otherwise I only saw smaller issues. But I do have to admit that > after mac.h (in alphabetical order) my review was more on the sloppy > side, this is a large driver. Thank you. I will revise the driver according to your comments. > > The community has been testing this driver already, right? As Larry mentioned, end users use this driver. Since bugs found in v6, we have fixed them and driver is under QA. I plan to have that fixes in v7 released this week. This version will also include fixes of your comments. Does it work to you? > > I pushed the driver to the pending branch for build testing: > > https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next.git/commit/?h= > pending&id=c9dfa866a9f4004fcbde9fc3ad8772ad417c6ad9 > -- Ping-Ke
Larry Finger <Larry.Finger@lwfinger.net> writes: > On 10/1/21 11:46, Kalle Valo wrote: >> >> Nice, so I can assume there are quite a few users for this driver >> already? >> > > Yes. I do not know how many times the repo has been cloned or how many > people are using it, but GitHub reports 31 forks of the driver, and > 252 star ratings. The numbers are roughly comparable with those for my > rtw88 repo. Very good, plenty of testing then and most likely we are talking about users in thousands. Too bad github doesn't provide statistics about clones, that would be very interesting to know as well. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Pkshih <pkshih@realtek.com> writes: >> The community has been testing this driver already, right? > > As Larry mentioned, end users use this driver. Since bugs found in v6, > we have fixed them and driver is under QA. I plan to have that fixes in v7 > released this week. > > This version will also include fixes of your comments. > Does it work to you? Sounds good to me. I hope the changes in v7 will be small in size, bigger changes (especially new features) is better to do after the driver is applied to wireless-drivers-next. This reminds me, if anyone has any objections about taking this to wireless-drivers-next speak up now. Otherwise I assume everyone are happy with the driver. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
On Mon, Oct 4, 2021 at 10:52 PM Kalle Valo <kvalo@codeaurora.org> wrote: > This reminds me, if anyone has any objections about taking this to > wireless-drivers-next speak up now. Otherwise I assume everyone are > happy with the driver. I realize I never provided any formal tags to this series. I'm not sure I can count a full Reviewed-by, but we've been playing with it here for some time, and while not perfect, it's certainly a start: Tested-by: Brian Norris <briannorris@chromium.org>
> -----Original Message----- > From: kvalo=codeaurora.org@mg.codeaurora.org <kvalo=codeaurora.org@mg.codeaurora.org> On > Behalf Of Kalle Valo > Sent: Tuesday, October 5, 2021 1:52 PM > To: Pkshih <pkshih@realtek.com> > Cc: linux-wireless@vger.kernel.org > Subject: Re: [PATCH v6 00/24] rtw89: add Realtek 802.11ax driver > > Pkshih <pkshih@realtek.com> writes: > > >> The community has been testing this driver already, right? > > > > As Larry mentioned, end users use this driver. Since bugs found in v6, > > we have fixed them and driver is under QA. I plan to have that fixes in v7 > > released this week. > > > > This version will also include fixes of your comments. > > Does it work to you? > > Sounds good to me. I hope the changes in v7 will be small in size, > bigger changes (especially new features) is better to do after the > driver is applied to wireless-drivers-next. > I have fixed this driver according to all of your comments, so I don't reply the comments one by one. If this doesn't work to you, please let me know. -- Ping-Ke
> -----Original Message----- > From: Brian Norris <briannorris@chromium.org> > Sent: Wednesday, October 6, 2021 8:10 AM > To: Kalle Valo <kvalo@codeaurora.org> > Cc: Pkshih <pkshih@realtek.com>; linux-wireless@vger.kernel.org > Subject: Re: [PATCH v6 00/24] rtw89: add Realtek 802.11ax driver > > On Mon, Oct 4, 2021 at 10:52 PM Kalle Valo <kvalo@codeaurora.org> wrote: > > This reminds me, if anyone has any objections about taking this to > > wireless-drivers-next speak up now. Otherwise I assume everyone are > > happy with the driver. > > I realize I never provided any formal tags to this series. I'm not > sure I can count a full Reviewed-by, but we've been playing with it > here for some time, and while not perfect, it's certainly a start: > > Tested-by: Brian Norris <briannorris@chromium.org> Thank you, Brian, I add your Tested-by to cover letter of v7. I think this would be convenient to Kalle. -- Ping-Ke
Pkshih <pkshih@realtek.com> writes: >> -----Original Message----- >> From: kvalo=codeaurora.org@mg.codeaurora.org <kvalo=codeaurora.org@mg.codeaurora.org> On >> Behalf Of Kalle Valo >> Sent: Tuesday, October 5, 2021 1:52 PM >> To: Pkshih <pkshih@realtek.com> >> Cc: linux-wireless@vger.kernel.org >> Subject: Re: [PATCH v6 00/24] rtw89: add Realtek 802.11ax driver >> >> Pkshih <pkshih@realtek.com> writes: >> >> >> The community has been testing this driver already, right? >> > >> > As Larry mentioned, end users use this driver. Since bugs found in v6, >> > we have fixed them and driver is under QA. I plan to have that fixes in v7 >> > released this week. >> > >> > This version will also include fixes of your comments. >> > Does it work to you? >> >> Sounds good to me. I hope the changes in v7 will be small in size, >> bigger changes (especially new features) is better to do after the >> driver is applied to wireless-drivers-next. >> > > I have fixed this driver according to all of your comments, so I > don't reply the comments one by one. If this doesn't work to you, > please let me know. That's good, no need to reply to every comment. But please do reply to the comments you did not agree on. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches