mbox series

[0/8] wifi: rtw89: 8922a: configure hardware engines and quota

Message ID 20231124071703.132549-1-pkshih@realtek.com (mailing list archive)
Headers show
Series wifi: rtw89: 8922a: configure hardware engines and quota | expand

Message

Ping-Ke Shih Nov. 24, 2023, 7:16 a.m. UTC
The quota is allocation of chip internal buffer size assigned to certain
hardware engines, such DLE (data link engine), PLE (payload engine) and
so on.

Configure the quota according to operation modes, for example, download
firmware and normal mode. In the future, we will add more one operation
mode to support MLO for WiFi 7 chip. To support that mode, we need more
works to adjust code, so defer to add quota along with that work.

Ping-Ke Shih (6):
  wifi: rtw89: 8922a: extend and add quota number
  wifi: rtw89: mac: add to get DLE reserved quota
  wifi: rtw89: add reserved size as factor of DLE used size
  wifi: rtw89: mac: move code related to hardware engine to individual
    functions
  wifi: rtw89: mac: use pointer to access functions of hardware engine
    and quota
  wifi: rtw89: mac: functions to configure hardware engine and quota for
    WiFi 7 chips

Zong-Zhe Yang (2):
  wifi: rtw89: refine element naming used by queue empty check
  wifi: rtw89: mac: check queue empty according to chip gen

 drivers/net/wireless/realtek/rtw89/core.h     |  32 +-
 drivers/net/wireless/realtek/rtw89/debug.c    |   5 +-
 drivers/net/wireless/realtek/rtw89/mac.c      | 267 ++++++++---
 drivers/net/wireless/realtek/rtw89/mac.h      |  64 ++-
 drivers/net/wireless/realtek/rtw89/mac_be.c   | 437 ++++++++++++++++++
 drivers/net/wireless/realtek/rtw89/reg.h      | 294 ++++++++++++
 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 |  52 +++
 11 files changed, 1085 insertions(+), 82 deletions(-)