Re: Generating ht_capab and vht_capab

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux