wifi: rtw89: fw: implement MRC H2C command functions
authorZong-Zhe Yang <kevin_yang@realtek.com>
Tue, 13 Feb 2024 07:35:12 +0000 (15:35 +0800)
committerKalle Valo <kvalo@kernel.org>
Thu, 15 Feb 2024 11:09:48 +0000 (13:09 +0200)
commit9de7829aa6fa78402f4efef60d919b1f8b54bbdb
treee7f8ec6ec444be68b3a7650af49fa9c8453a3f24
parentb8e59e55345878747b6de944e785728fb215b26c
wifi: rtw89: fw: implement MRC H2C command functions

Implement MRC (multiple role concurrent) H2C commands. Mainly deal with
H2C format, LE type built from CPU value, default setting on some fields,
and then sending the command to FW. Besides, MRC start, MRC delete, and
MRC request TSF need to wait for a report from C2H events.

Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240213073514.23796-4-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/fw.c
drivers/net/wireless/realtek/rtw89/fw.h