On Wed, Jul 06, 2016 at 02:42:34PM +0200, Johannes Berg wrote: > > + * @NL80211_ATTR_MESH_PEER_AID: Association ID for the mesh peer > > (u16). This is > > + * used to pull the stored data for mesh peer in power save > > state. > > > Why does this need new API all over? > > It seems to me that it could just use the regular NL80211_ATTR_STA_AID > attribute, and the cfg80211 code would already be in place, and you'd > just need to add a single line to mac80211 and > to cfg80211_check_station_change() to accept that. We are already using NL80211_ATTR_STA_AID, though -- one is for the station's AID (in our TIM, which is NL80211_ATTR_STA_AID) and the new one is for our AID in the peer's TIM. There is the NL80211_ATTR_PEER_AID but that seems specific to TDLS and also doesn't appear to be processed in the necessary way (e.g. overrides STA_AID in nl80211_new_station). -- Bob Copeland %% http://bobcopeland.com/ -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html