mbox series

[v2,00/12] wifi: rtw89: wow: support more exchange in WoWLAN mode

Message ID 20240502022505.28966-1-pkshih@realtek.com (mailing list archive)
Headers show
Series wifi: rtw89: wow: support more exchange in WoWLAN mode | expand

Message

Ping-Ke Shih May 2, 2024, 2:24 a.m. UTC
Driver offload template frames to firmware as helpers to exchange keys and
ARP response by firmware.

First two patches are to prepare flows required by WoWLAN. Patches 5/12
and 6/12 are to access H2C command via struct instead of macros, which
don't change logic at all. That last one is to support ARP response by
firmware. Others are to maintain variant keys for variant ciphers between
mac80211/driver/firmware.

v2:
  - fix undefined reference to `rtw89_wow_parse_akm' found by kernel test
    robot with alpha-randconfig-r051-20240501 config that CONFIG_PM is
    not defined. (patch 3/12)

Chih-Kang Chang (10):
  wifi: rtw89: wow: refine WoWLAN flows of HCI interrupts and low power
    mode
  wifi: rtw89: wow: parsing Auth Key Management from associate request
  wifi: rtw89: wow: prepare PTK GTK info from mac80211
  wifi: rtw89: use struct to access firmware command h2c_dctl_sec_cam_v1
  wifi: rtw89: use struct to fill H2C of WoWLAN global configuration
  wifi: rtw89: wow: construct EAPoL packet for GTK rekey offload
  wifi: rtw89: wow: add GTK rekey feature related H2C commands
  wifi: rtw89: wow: update latest PTK GTK info to mac80211 after resume
  wifi: rtw89: wow: support 802.11w PMF IGTK rekey
  wifi: rtw89: wow: support WEP cipher on WoWLAN

Chin-Yen Lee (2):
  wifi: rtw89: wow: send RFK pre-nofity H2C command in WoWLAN mode
  wifi: rtw89: wow: add ARP offload feature

 drivers/net/wireless/realtek/rtw89/cam.c      | 120 ++-
 drivers/net/wireless/realtek/rtw89/cam.h      |  71 +-
 drivers/net/wireless/realtek/rtw89/core.c     |   7 +-
 drivers/net/wireless/realtek/rtw89/core.h     |  51 ++
 drivers/net/wireless/realtek/rtw89/fw.c       | 334 +++++++-
 drivers/net/wireless/realtek/rtw89/fw.h       | 466 +++---------
 drivers/net/wireless/realtek/rtw89/mac.c      |  43 ++
 drivers/net/wireless/realtek/rtw89/mac.h      |   7 +
 drivers/net/wireless/realtek/rtw89/mac80211.c |  26 +
 drivers/net/wireless/realtek/rtw89/ps.c       |   3 +-
 drivers/net/wireless/realtek/rtw89/wow.c      | 716 +++++++++++++++++-
 drivers/net/wireless/realtek/rtw89/wow.h      |  57 ++
 12 files changed, 1509 insertions(+), 392 deletions(-)