[PATCH v2] mac80211: reject/clear user rate mask if not usable
Johannes Berg
johannes at sipsolutions.net
Fri Nov 13 04:10:42 EST 2020
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?
johannes
More information about the ath11k
mailing list