mbox series

[00/16] rtw89: refine PCI and MAC codes into function with attributes

Message ID 20220325060055.58482-1-pkshih@realtek.com (mailing list archive)
Headers show
Series rtw89: refine PCI and MAC codes into function with attributes | expand

Message

Ping-Ke Shih March 25, 2022, 6 a.m. UTC
The existing PCI and MAC codes are only used by 8852AE, so many settings are
put in single function. To be clear, move the settings into an individual
function according to its functionality. Since functions will be shared
with chips, add attributes to make it possible to use common functions.

Also, update the settings to the latest version of our internal code.

This patchset is based on                                                       
 "rtw89: add firmware reset and dump firmware memory and backtrace" and
 "rtw89: update TX power table and 6G, refine IGI, and add TX/RX descriptors V1"
But no actual function dependency.     

Chia-Yuan Li (1):
  rtw89: pci: refine pci pre_init function

Ping-Ke Shih (15):
  rtw89: pci: add register definition to rtw89_pci_info to generalize
    pci code
  rtw89: pci: add pci attributes to configure operating mode
  rtw89: pci: add LTR setting for v1 chip
  rtw89: pci: set address info registers depends on chips
  rtw89: pci: add deglitch setting
  rtw89: pci: add L1 settings
  rtw89: extend dmac_pre_init to support 8852C
  rtw89: update STA scheduler parameters for v1 chip
  rtw89: add chip_ops::{enable,disable}_bb_rf to support v1 chip
  rtw89: Turn on CR protection of CMAC
  rtw89: 8852c: update security engine setting
  rtw89: update scheduler setting
  rtw89: initialize NAV control
  rtw89: update TMAC parameters
  rtw89: update ptcl_init

 drivers/net/wireless/realtek/rtw89/core.c     |   7 +-
 drivers/net/wireless/realtek/rtw89/core.h     |   2 +
 drivers/net/wireless/realtek/rtw89/mac.c      | 129 ++++-
 drivers/net/wireless/realtek/rtw89/mac.h      |  19 +-
 drivers/net/wireless/realtek/rtw89/pci.c      | 519 +++++++++++++++---
 drivers/net/wireless/realtek/rtw89/pci.h      | 211 +++++++
 drivers/net/wireless/realtek/rtw89/reg.h      | 187 +++++++
 drivers/net/wireless/realtek/rtw89/rtw8852a.c |   2 +
 .../net/wireless/realtek/rtw89/rtw8852ae.c    |  30 +
 drivers/net/wireless/realtek/rtw89/rtw8852c.c |  45 ++
 .../net/wireless/realtek/rtw89/rtw8852ce.c    |  30 +
 11 files changed, 1080 insertions(+), 101 deletions(-)

Comments

Kalle Valo March 25, 2022, 11:11 a.m. UTC | #1
Ping-Ke Shih <pkshih@realtek.com> writes:

> The existing PCI and MAC codes are only used by 8852AE, so many settings are
> put in single function. To be clear, move the settings into an individual
> function according to its functionality. Since functions will be shared
> with chips, add attributes to make it possible to use common functions.
>
> Also, update the settings to the latest version of our internal code.
>
> This patchset is based on                                                       
>  "rtw89: add firmware reset and dump firmware memory and backtrace" and
>  "rtw89: update TX power table and 6G, refine IGI, and add TX/RX descriptors V1"
> But no actual function dependency.     

The merge window is now open which means wireless-next is closed. I
don't mind people submitting few -next patches during the merge window,
but there's a limit for that. Currently I see 39 rtw89 patches in
patchwork, that's just too much. So please try to limit the number of
patches you submit during the merge window.

Usually wireless-next opens few days after -rc1 is released, but there's
no fixed schedule.
Ping-Ke Shih March 25, 2022, 12:01 p.m. UTC | #2
On Fri, 2022-03-25 at 13:11 +0200, Kalle Valo wrote:
> Ping-Ke Shih <pkshih@realtek.com> writes:
> 
> > The existing PCI and MAC codes are only used by 8852AE, so many settings are
> > put in single function. To be clear, move the settings into an individual
> > function according to its functionality. Since functions will be shared
> > with chips, add attributes to make it possible to use common functions.
> > 
> > Also, update the settings to the latest version of our internal code.
> > 
> > This patchset is based on                                                       
> >  "rtw89: add firmware reset and dump firmware memory and backtrace" and
> >  "rtw89: update TX power table and 6G, refine IGI, and add TX/RX descriptors V1"
> > But no actual function dependency.     
> 
> The merge window is now open which means wireless-next is closed. I
> don't mind people submitting few -next patches during the merge window,
> but there's a limit for that. Currently I see 39 rtw89 patches in
> patchwork, that's just too much. So please try to limit the number of
> patches you submit during the merge window.
> 
> Usually wireless-next opens few days after -rc1 is released, but there's
> no fixed schedule.
> 

Got it. I'll stop submitting before queued patches get reviewed. 
If this patchset is inconvenient to you, please drop it.

Thank you
Ping-Ke