On 2020-11-13 17:10, Johannes Berg wrote:
On Fri, 2020-11-13 at 17:09 +0800, Wen Gong wrote:
On 2020-11-13 16:51, Johannes Berg wrote:
> On Fri, 2020-11-13 at 16:51 +0800, Wen Gong wrote:
>
> > yes.
> > It can add check with supp_rates[band] of ieee80211_sta for
> > NL80211_IFTYPE_STATION type.
> > for others, check with sdata->vif.bss_conf.basic_rates
>
> Right.
>
> Though, might need to check that only if there's no TDLS station or
> something?
>
yes, I think it should do like that for TDLS:
test_sta_flag(sta, WLAN_STA_TDLS_PEER)
Yes but you have to iterate all the stations and check they belong to
the interface and all that I think?
Maybe not need.
if NL80211_IFTYPE_STATION and NON-WLAN_STA_TDLS_PEER, it has only 1
station for the ieee80211_vif
by my understand.
johannes