iwinfo: add 802.11ac hw mode
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
This commit is contained in:
parent
ed7d16a3e0
commit
d99e8adc4f
1 changed files with 3 additions and 0 deletions
3
iwinfo.c
3
iwinfo.c
|
@ -206,6 +206,9 @@ rpc_iwinfo_call_hwmodes(const char *name)
|
||||||
{
|
{
|
||||||
c = blobmsg_open_array(&buf, name);
|
c = blobmsg_open_array(&buf, name);
|
||||||
|
|
||||||
|
if (modes & IWINFO_80211_AC)
|
||||||
|
blobmsg_add_string(&buf, NULL, "ac");
|
||||||
|
|
||||||
if (modes & IWINFO_80211_A)
|
if (modes & IWINFO_80211_A)
|
||||||
blobmsg_add_string(&buf, NULL, "a");
|
blobmsg_add_string(&buf, NULL, "a");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue