hostapd: add ubus call for ap features
authorNick Hainke <[email protected]>
Wed, 25 Apr 2018 22:03:05 +0000 (00:03 +0200)
committerJo-Philipp Wich <[email protected]>
Tue, 18 Dec 2018 16:47:40 +0000 (17:47 +0100)
commit2bc58eb284c6437c740d93178e61cd083c5ff354
tree47981da50c7d29b2127527c855c9ce730c9decfc
parent62aa17aab28cc98e3b2699d14f99efcae5c4dc97
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 <[email protected]>
(backported from 74ac74227715aec4b6a3badf7a69bdde13431e04)
package/network/services/hostapd/src/src/ap/ubus.c