On Nov 30, 2007 6:48 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > Here's a non-functioning (except for b43/b43legacy) patch that gets rid > of the if_id stuff all over in favour of a new if_priv pointer. > > This has two advantages: > * no more looking up interfaces by if_id, this is better for network > namespaces and performance > * allows drivers to store and retrieve per-interface data without > having to allocate own lists/hash tables > > and a small disadvantage: > * storage size can increase by four bytes on 64-bit machines. > > Comments welcome. I'll be improving this and making it at least compile > with all other drivers. What will ieee80211_sub_if_data's if_priv look like? > Maybe "struct if_priv" should be renamed? Yeah, hm... mac80211_priv, iw_priv, subif_priv?? Luis - 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