Skip to content
Snippets Groups Projects
Commit 598e2e80 authored by nbd's avatar nbd Committed by Jo-Philipp Wich
Browse files

iwinfo: detect AC PHY for broadcom-wl


Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>

git-svn-id: svn+ssh://svn.openwrt.org/openwrt/trunk@42761 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent 9853abe3
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,7 @@
#define WLC_PHY_TYPE_N 4
#define WLC_PHY_TYPE_LP 5
#define WLC_PHY_TYPE_HT 7
#define WLC_PHY_TYPE_AC 11
#define WLC_BAND_5G 1
#define WLC_BAND_2G 2
......
......@@ -601,6 +601,8 @@ static int wl_get_hwmodelist(const char *ifname, int *buf)
case WLC_PHY_TYPE_B:
*buf = IWINFO_80211_B;
break;
case WLC_PHY_TYPE_AC:
*buf |= IWINFO_80211_AC;
case WLC_PHY_TYPE_HT:
case WLC_PHY_TYPE_N:
*buf |= IWINFO_80211_N;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment