rtw89: set mac_id and port ID to TXWD
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 7 Jan 2022 03:42:31 +0000 (11:42 +0800)
committerKalle Valo <kvalo@kernel.org>
Fri, 28 Jan 2022 15:56:39 +0000 (17:56 +0200)
commit9eecaec238c81bb60ff9d011a8976397917bdfd3
tree6efe21d3364ad55a8d162e7ee1c882ee1dce754a
parent11d261f24be63fc409bb73172683e9249a97bbfb
rtw89: set mac_id and port ID to TXWD

One mac_id is corresponding to one connected station, and port ID is a
ID of virtual interfaces. With proper mac_id and port ID, firmware and
hardware can handle a packet with correct context.

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