wifi: rtw89: add new H2C command to pause/sleep transmitting by MAC ID
authorPing-Ke Shih <pkshih@realtek.com>
Mon, 8 Jan 2024 09:13:15 +0000 (17:13 +0800)
committerKalle Valo <kvalo@kernel.org>
Fri, 12 Jan 2024 17:10:52 +0000 (19:10 +0200)
commitc313c31ff40d6fe65570eaf237c8ba4428aeace6
treeb0d7b0467ff81b39c6f116f0ba69bd00fd6ddfab
parente3552b37dacea361a2ae488cc10c3d2e243ee514
wifi: rtw89: add new H2C command to pause/sleep transmitting by MAC ID

New H2C command is introduced to pause/sleep transmitting. That extends
more bits to support more MAC ID, and currently we still configure 256
MAC ID at most.

This new command is always used by coming WiFi 7 chips, and existing
chips can use old or new command because firmware still preserves the old
one. Add a firmware feature flag to determine which command is adopted
according to firmware version.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240108091315.67358-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.h
drivers/net/wireless/realtek/rtw89/fw.c
drivers/net/wireless/realtek/rtw89/fw.h