Hi Johannes, > > if the numbers you are planning to use are stable, then please use the > > above approach to just add the missing defines to it. Like adding a > > compat.h file with > > > > #ifndef NL80211_ATTR_SUPPORTED_IFTYPES > > #define NL80211_ATTR_SUPPORTED_IFTYPES boo > > #endif > > Well, at that point I can also just copy nl80211.h from wireless-testing > whenever I think the numbers will remain stable, no? And that doesn't > work as-is anyway since nl80211.h uses an enum to define the numbers, > not #defines. it is possible to work around with just define the enum entries also as defines. Netlink does this a lot. It is not pretty, but possible. > I guess it's the lesser of all the evils. I'm not too fond of copying in > the header file, it creates more work and doesn't make all that much > sense, but all the other proposals take even more work, and as long as > we don't change the numbers after putting things into wireless-testing > we should be fine. Simple speaking, yes :) Regards Marcel -- 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