brcmfmac: correct reporting HT40 support in wiphy htcap
authorArend van Spriel <arend@broadcom.com>
Mon, 6 Jan 2014 11:40:41 +0000 (12:40 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Jan 2014 20:48:01 +0000 (15:48 -0500)
commit2375d9701bb2f524ade9860fb4f7bc82c76c661a
treeff6e0ff98584221fd9088d302f98a0601586b911
parentfad132285081c1c37b57be5ff74e23edbf9b1864
brcmfmac: correct reporting HT40 support in wiphy htcap

Using 'iw phy' only showed HT20 support in the HT capabilities info.
This patch determines support for HT40 using a firmware query that
is supposed to work for all supported devices.

Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Franky Lin <frankyl@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c
drivers/net/wireless/brcm80211/include/brcmu_wifi.h