]> git.baikalelectronics.ru Git - kernel.git/commit
rtw89: extend role_maintain to support AP mode
authorPing-Ke Shih <pkshih@realtek.com>
Mon, 7 Feb 2022 06:38:54 +0000 (14:38 +0800)
committerKalle Valo <kvalo@kernel.org>
Thu, 10 Feb 2022 08:40:49 +0000 (10:40 +0200)
commitd87b10245d610f9c27cb0d6a005d556dd8fee706
tree340ca8ab6db3def2d9420869c66432343ebd62eb
parent47f363ae3025dee3b1f6ce8918712cf0b9f9ee91
rtw89: extend role_maintain to support AP mode

Fill mac_id and self_role depends on the operation mode.

In AP mode, echo connected station has an unique mac_id, and each vif also
has one mac_id to represent itself.

The self_role is assigned to vif if the operation mode is decided, and
RTW89_SELF_ROLE_AP_CLIENT is assigned to the connected STA in AP mode,

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