rtw89: 8852c: extend PCI code to support 8852ce and add 8852c chip_ops
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest14 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | rtw89: pci: add variant IMR/ISR and configure functionsdrivers/ drivers/ drivers/ +1 more | +270 | 1 reply | |
| 2/14 | rtw89: pci: add variant RPWM/CPWM to enter low power modedrivers/ drivers/ drivers/ +2 more | +21 | 0 replies | |
| 3/14 | rtw89: pci: reclaim TX BD only if it really needdrivers/ | +10 | 0 replies | |
| 4/14 | rtw89: pci: does RX in interrupt threadfn if low power modedrivers/ drivers/ | +26 | 4 replies | |
| 5/14 | rtw89: ser: re-enable interrupt in threadfn if under_recoverydrivers/ | +1 | 0 replies | |
| 6/14 | rtw89: ps: access TX/RX rings via another registers in low power modedrivers/ drivers/ drivers/ +5 more | +177 | 0 replies | |
| 7/14 | rtw89: pci: allow to process RPP prior to TX BDdrivers/ | +10 | 0 replies | |
| 8/14 | rtw89: don't flush hci queues and send h2c if power is offdrivers/ drivers/ | +10 | 0 replies | |
| 9/14 | rtw89: add RF H2C to notify firmwaredrivers/ drivers/ drivers/ +1 more | +73 | 0 replies | |
| 10/14 | rtw89: 8852c: configure default BB TX/RX pathdrivers/ drivers/ drivers/ +2 more | +279 | 0 replies | |
| 11/14 | rtw89: 8852c: implement chip_ops related to TX powerdrivers/ drivers/ | +325 | 0 replies | |
| 12/14 | rtw89: 8852c: implement chip_ops::get_thermaldrivers/ | +12 | 0 replies | |
| 13/14 | rtw89: 8852c: fill freq and band of RX status by PPDU reportdrivers/ | +33 | 0 replies | |
| 14/14 | rtw89: 8852c: add chip_ops related to BTCdrivers/ drivers/ | +194 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/14] rtw89: 8852c: extend PCI code to support 8852ce and add 8852c chip_ops
The PCI code of 8852CE is different from 8852AE. The IMR/ISR addresses are different, and 8852CE has a special low power mode that uses another set of addresses. To handle the special mode, we add a special interrupt threadfn to handle packets, because regular NAPI poll function does many things that can't access at this mode.
Another special handle is RPP (TX skb completion) prior to TX BD (TX ring completion). In low mode power, it can be possible, so we extend the code to handle this case as well as normal mode.
Patch 3/14 is to optimize count of reading IO, and patch 8/14 is to resolve some warnings happened on 8852ce, because PCI ring registers are power-off after running power-off function. These registers on 8852ae aren't power-off.
Patches 9/14-14/14 are to add chip ops of 8852c as description of the patches individually.
Ping-Ke Shih (14):
rtw89: pci: add variant IMR/ISR and configure functions
rtw89: pci: add variant RPWM/CPWM to enter low power mode
rtw89: pci: reclaim TX BD only if it really need
rtw89: pci: does RX in interrupt threadfn if low power mode
rtw89: ser: re-enable interrupt in threadfn if under_recovery
rtw89: ps: access TX/RX rings via another registers in low power mode
rtw89: pci: allow to process RPP prior to TX BD
rtw89: don't flush hci queues and send h2c if power is off
rtw89: add RF H2C to notify firmware
rtw89: 8852c: configure default BB TX/RX path
rtw89: 8852c: implement chip_ops related to TX power
rtw89: 8852c: implement chip_ops::get_thermal
rtw89: 8852c: fill freq and band of RX status by PPDU report
rtw89: 8852c: add chip_ops related to BTC
drivers/net/wireless/realtek/rtw89/core.c | 10 + drivers/net/wireless/realtek/rtw89/core.h | 34 + drivers/net/wireless/realtek/rtw89/fw.c | 39 + drivers/net/wireless/realtek/rtw89/fw.h | 12 + drivers/net/wireless/realtek/rtw89/mac.c | 6 +- drivers/net/wireless/realtek/rtw89/pci.c | 339 ++++++-- drivers/net/wireless/realtek/rtw89/pci.h | 144 ++++ drivers/net/wireless/realtek/rtw89/phy.c | 1 + drivers/net/wireless/realtek/rtw89/ps.c | 34 +- drivers/net/wireless/realtek/rtw89/reg.h | 83 +- drivers/net/wireless/realtek/rtw89/rtw8852a.c | 2 + .../net/wireless/realtek/rtw89/rtw8852ae.c | 8 + drivers/net/wireless/realtek/rtw89/rtw8852c.c | 766 ++++++++++++++++++ drivers/net/wireless/realtek/rtw89/rtw8852c.h | 1 + .../net/wireless/realtek/rtw89/rtw8852ce.c | 16 + 15 files changed, 1438 insertions(+), 57 deletions(-)
Signature · 1 line
2.25.1