wraith-wireless / PyRIC

Python wireless library for Linux
http://wraith-wireless.github.io/PyRIC
Other
93 stars 51 forks source link

NL80211_ATTR_WIPHY_BANDS parsing #7

Closed wraith-wireless closed 7 years ago

wraith-wireless commented 8 years ago

Need to parse NL80211_ATTR_WIPHY_BANDS - looked at wiphy.py in libnl source, iw source and others.

wraith-wireless commented 8 years ago

Have a workaround in place but it is not desired see pyw::getfreqs

wraith-wireless commented 8 years ago

Had a working function to parse out the freqs (which turned out to be slower than the workaround) but it broke down when tested on a rosewill card. Also there are flags

wraith-wireless commented 7 years ago

After realizing my understanding of parsing nested was completely wrong, have now a completely working parsing of WIPHY_BANDS, updated code coming shortly