On Mon, 2014-01-06 at 10:30 +0100, Arend van Spriel wrote: > In the christmas holiday I tinkered a bit more on py80211. It comes with > a utility to extract definitions and netlink policies from the nl80211 > source files. What is currently on github is in prototype state. It can > retrieve all wiphy information including band, frequency and rate > information. It relies on policy information and it turned out that not > all attributes are properly initialized in nl80211_policy. One that I > added manually is NL80211_ATTR_SUPPORTED_IFTYPES, which should actually > be typed as NLA_NESTED. There are other attributes that are not covered yet. This makes sense because the kernel policy only covers things that are sent *to* the kernel. In some very rare cases, the stuff sent *to* the kernel and *by* the kernel may even differ, so you may have to add some special cases. johannes -- 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