Generating ht_capab and vht_capab

Petko Bordjukov bordjukov at gmail.com
Sat Aug 6 04:04:03 PDT 2016


On Sat, 06 Aug 2016 12:27:24 +0300,
Jan Ceuleers wrote:
> 
> On 06/08/16 10:56, Jan Ceuleers wrote:
> > - Does a tool that takes iw list output and that generates the
> > corresponding hostapd.conf incantations already exist?
> 
> Let me add also that iw warns not to screen-scrape its output (although
> that warning is absent from the iw list output).

Ahoy!

You can get inspiration from the way LEDE/OpenWrt do it:

https://github.com/lede-project/source/blob/4b8f0a2d26e5477b2dc4542ec7438665a906b756/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh#L146-L167

https://github.com/lede-project/source/blob/4b8f0a2d26e5477b2dc4542ec7438665a906b756/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh#L227-L300

---

Regards,
P.



More information about the Hostap mailing list