hostapd: add ubus call for ap features
authorNick Hainke <vincent@systemli.org>
Wed, 25 Apr 2018 22:03:05 +0000 (00:03 +0200)
committerJohn Crispin <john@phrozen.org>
Mon, 30 Jul 2018 08:59:25 +0000 (10:59 +0200)
commit74ac74227715aec4b6a3badf7a69bdde13431e04
treec56c26612f2249b105990951238d04353485bba3
parentae95a8ad3ee08995f16092820aa495b46ddcfdb9
hostapd: add ubus call for ap features

The call "get_features" allows to gather hostapd config options
via ubus. As first infos we add the ht and vht support.
Although nl80211 supports to gather informations about
ht and vht capabilities, the hostapd configuration can disable
vht and ht. However, it is possible that the iw output is not
representing the actual hostapd configuration.

Signed-off-by: Nick Hainke <vincent@systemli.org>
package/network/services/hostapd/src/src/ap/ubus.c