rtw89: extend firmware commands on states of sta_assoc and sta_disconnect
authorPing-Ke Shih <pkshih@realtek.com>
Fri, 7 Jan 2022 03:42:27 +0000 (11:42 +0800)
committerKalle Valo <kvalo@kernel.org>
Fri, 28 Jan 2022 15:56:37 +0000 (17:56 +0200)
commit742c470b5773ffcd1b32bcb3f1b2820d316a7ccd
treeb43ad0dc56eada595657f89706d9efa18ccc4346
parentc7df64c194f6bf8422405968645a9e7e3cd49832
rtw89: extend firmware commands on states of sta_assoc and sta_disconnect

The h2c_join firmware command is used to indicate a station is connected,
and the assoc_cmac_tbl firmware command is used to set CMAC table
corresponding to a mac_id. Both commands must work in both station and AP
modes. Use the mac_id of rtw89_sta naturally and intuitively.

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-8-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/core.c
drivers/net/wireless/realtek/rtw89/fw.c
drivers/net/wireless/realtek/rtw89/fw.h
drivers/net/wireless/realtek/rtw89/mac.c