On 07/03/2013 10:57 PM, Arend van Spriel wrote: > A common say in Linux arena is "when you have an itch, just scratch it". > My itch is that tools like ifconfig and iw are great, but in an > automated test environment it kind of sucks to parse output, which is > confirmed by blurb from iw: "Do NOT screenscrape this tool, we don't > consider its output stable.". 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. > > https://github.com/arend/py80211 > The source files are found in the github repository. It has two branches. The master branch is based on 3.12.6 and I intend to follow the kernel releases on that. The wl-next branch is based on the wireless-next repository. Regards, Arend -- 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