Thread (10 messages) 10 messages, 3 authors, 2014-01-06

Re: py80211 update on github

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2014-01-06 10:36:21

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help