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_ratesRight. 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)
johannes