mbox series

[0/7] wifi: rtw89: support WoWLAN for more chips and some fixes

Message ID 20240620055825.17592-1-pkshih@realtek.com
Headers show
Series wifi: rtw89: support WoWLAN for more chips and some fixes | expand

Message

Ping-Ke Shih June 20, 2024, 5:58 a.m. UTC
Some WiFi 6 chips support WoWLAN with different firmware command formats,
and firmware uses the register of WoWLAN reason, so extend to support
them accordingly. During development, we found some drawbacks, so correct
them.

Chih-Kang Chang (7):
  wifi: rtw89: wow: append security header offset for different cipher
  wifi: rtw89: wow: update WoWLAN reason register for different FW
  wifi: rtw89: wow: update config mac for 802.11ax chip
  wifi: rtw89: wow: fix GTK offload H2C skbuff issue
  wifi: rtw89: wow: prevent to send unexpected H2C during download
    Firmware
  wifi: rtw89: wow: enable beacon filter after swapping firmware
  wifi: rtw89: add polling for LPS H2C to ensure FW received

 drivers/net/wireless/realtek/rtw89/core.c     |  3 +-
 drivers/net/wireless/realtek/rtw89/core.h     |  3 +-
 drivers/net/wireless/realtek/rtw89/fw.c       | 80 ++++++++++++-------
 drivers/net/wireless/realtek/rtw89/fw.h       |  6 ++
 drivers/net/wireless/realtek/rtw89/mac.c      | 29 +++++++
 drivers/net/wireless/realtek/rtw89/mac.h      |  1 +
 drivers/net/wireless/realtek/rtw89/mac_be.c   | 20 -----
 drivers/net/wireless/realtek/rtw89/reg.h      |  7 ++
 drivers/net/wireless/realtek/rtw89/rtw8851b.c |  6 +-
 drivers/net/wireless/realtek/rtw89/rtw8852a.c |  6 +-
 drivers/net/wireless/realtek/rtw89/rtw8852b.c |  6 +-
 drivers/net/wireless/realtek/rtw89/rtw8852c.c |  6 +-
 drivers/net/wireless/realtek/rtw89/rtw8922a.c |  6 +-
 drivers/net/wireless/realtek/rtw89/wow.c      | 33 +++++---
 drivers/net/wireless/realtek/rtw89/wow.h      | 30 +++++++
 15 files changed, 177 insertions(+), 65 deletions(-)

Comments

Ping-Ke Shih June 27, 2024, 1:40 a.m. UTC | #1
Ping-Ke Shih <pkshih@realtek.com> wrote:

> From: Chih-Kang Chang <gary.chang@realtek.com>
> 
> When creating EAPOL_KEY, SA_QUERY and ARP_RSP packet offload, we need
> to append security header offset for different cipher as required by
> the firmware. Only 8852A, 8852B, 8852BT and 8851B need it.
> 
> Signed-off-by: Chih-Kang Chang <gary.chang@realtek.com>
> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>

7 patch(es) applied to rtw-next branch of rtw.git, thanks.

0065199f4303 wifi: rtw89: wow: append security header offset for different cipher
0e5210217768 wifi: rtw89: wow: update WoWLAN reason register for different FW
6a03a349be1b wifi: rtw89: wow: update config mac for 802.11ax chip
dda364c34591 wifi: rtw89: wow: fix GTK offload H2C skbuff issue
60757f28408b wifi: rtw89: wow: prevent to send unexpected H2C during download Firmware
2e2564877f57 wifi: rtw89: wow: enable beacon filter after swapping firmware
792586591f44 wifi: rtw89: add polling for LPS H2C to ensure FW received

---
https://github.com/pkshih/rtw.git