wifi: rtw89: refine H2C command that pause transmitting by MAC ID
authorPing-Ke Shih <pkshih@realtek.com>
Mon, 8 Jan 2024 09:13:07 +0000 (17:13 +0800)
committerKalle Valo <kvalo@kernel.org>
Fri, 12 Jan 2024 17:10:52 +0000 (19:10 +0200)
commite3552b37dacea361a2ae488cc10c3d2e243ee514
tree74d020c9922aaafd50867c419e5f1e0e6e10b9af
parentcdd368ce1ca4a6d70dc08da4175309a93ed88062
wifi: rtw89: refine H2C command that pause transmitting by MAC ID

To reuse this function to support extended H2C command that is used by
newer chip, change to use a pointer to fill pause ID and mask.

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