Ping-Ke Shih <pkshih@xxxxxxxxxxx> wrote: > 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@xxxxxxxxxxx> 7 patches applied to wireless-next.git, thanks. ff66964a9467 rtw89: extend role_maintain to support AP mode 2ab856cc3a6c rtw89: add addr_cam field to sta to support AP mode fd7ee4c8ac14 rtw89: only STA mode change vif_type mapping dynamically 1b73e77db1d0 rtw89: maintain assoc/disassoc STA states of firmware and hardware a52e4f2ce0f5 rtw89: implement ieee80211_ops::start_ap and stop_ap d95d8d6bba72 rtw89: debug: add stations entry to show ID assignment b478ff6bcb2d rtw89: declare AP mode support -- https://patchwork.kernel.org/project/linux-wireless/patch/20220207063900.43643-2-pkshih@xxxxxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches