mbox series

[0/8] wifi: rtw89: fw: add H2C commands to set security CAM, CMAC, DMAC and JOIN

Message ID 20240115033742.16372-1-pkshih@realtek.com
Headers show
Series wifi: rtw89: fw: add H2C commands to set security CAM, CMAC, DMAC and JOIN | expand

Message

Ping-Ke Shih Jan. 15, 2024, 3:37 a.m. UTC
To support coming WiFi 7 chip 8922AE, add more H2C commands. Security CAM
is to hardware to encrypt/decrypt packets with pairwise/broadcast keys.
CMAC and DMAC stand for Control-/Data- MAC that are also CAM to control and
TX/RX packets. JOIN command is to create a station instance named mac_id,
so it will be called after establishing connection.

Ping-Ke Shih (8):
  wifi: rtw89: fw: add H2C command to update security CAM v2
  wifi: rtw89: fw: fill CMAC table to associated station for WiFi 7
    chips
  wifi: rtw89: fw: add chip_ops to update CMAC table to associated
    station
  wifi: rtw89: fw: update TX AMPDU parameter to CMAC table
  wifi: rtw89: fw: add H2C command to reset CMAC table for WiFi 7
  wifi: rtw89: fw: add H2C command to reset DMAC table for WiFi 7
  wifi: rtw89: fw: use struct to fill JOIN H2C command
  wifi: rtw89: fw: extend JOIN H2C command to support WiFi 7 chips

 drivers/net/wireless/realtek/rtw89/cam.c      |  61 +++
 drivers/net/wireless/realtek/rtw89/cam.h      | 109 ++++
 drivers/net/wireless/realtek/rtw89/core.c     |  12 +-
 drivers/net/wireless/realtek/rtw89/core.h     |  15 +-
 drivers/net/wireless/realtek/rtw89/fw.c       | 509 +++++++++++++++++-
 drivers/net/wireless/realtek/rtw89/fw.h       | 303 ++++++++---
 drivers/net/wireless/realtek/rtw89/mac.c      |   6 +-
 drivers/net/wireless/realtek/rtw89/mac80211.c |   8 +-
 drivers/net/wireless/realtek/rtw89/rtw8851b.c |   4 +
 drivers/net/wireless/realtek/rtw89/rtw8852a.c |   4 +
 drivers/net/wireless/realtek/rtw89/rtw8852b.c |   4 +
 drivers/net/wireless/realtek/rtw89/rtw8852c.c |   4 +
 drivers/net/wireless/realtek/rtw89/rtw8922a.c |   6 +
 drivers/net/wireless/realtek/rtw89/wow.c      |   2 +-
 14 files changed, 955 insertions(+), 92 deletions(-)