Generating ht_capab and vht_capab
Jan Ceuleers
jan.ceuleers at computer.org
Sat Aug 6 06:57:42 PDT 2016
On 06/08/16 13:04, Petko Bordjukov wrote:
> 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
Thank you.
Yes, that's the kind of thing. But:
1. it ignores the warning issued by iw help: "Do NOT screenscrape this
tool, we don't consider its output stable."
2. it believes the driver's advertised capabilities. I have a radio
whose driver lies about its ability to support HT40-: when you actually
try and use it it fails saying that this capability is not yet implemented.
So what I have in mind is for some tool to tell the operator what
capabilities the driver advertises, in hostapd.conf syntax, but it would
still be the operator's responsibility to select the right lines (in
line with the frequency band being used) and to prune the capabilities
both for the use case and for the kinds of lies mentioned above.
Thx, Jan
More information about the Hostap
mailing list