wifi: rtw89: add to fill TX descriptor for firmware command v2
authorPing-Ke Shih <pkshih@realtek.com>
Mon, 11 Sep 2023 08:20:45 +0000 (16:20 +0800)
committerKalle Valo <kvalo@kernel.org>
Mon, 18 Sep 2023 14:29:26 +0000 (17:29 +0300)
commit6f09ff0a0927b464256f6e6b3fcd289c66bff6c6
tree79fde3015049b9e610b9819f134698fe254280aa
parenta1cb73f2953904139cb04cbb530c8ef41e540808
wifi: rtw89: add to fill TX descriptor for firmware command v2

This kind of TX descriptor is used to download firmware or send firmware
command. Because we want to reduce descriptor overhead and this only needs
two fields 'size' and 'type', hardware designers choose short form of
RX descriptor for it.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230911082049.33541-3-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.c
drivers/net/wireless/realtek/rtw89/core.h