> > 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. Well, yes, but there's no counter. So you need to iterate to see if there are any additional TDLS peers (in addition to the STA entry for the AP). johannes