brcmfmac: add firmware feature detection for gscan feature
authorArend van Spriel <arend@broadcom.com>
Fri, 21 Apr 2017 12:05:04 +0000 (13:05 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 18 May 2017 13:36:04 +0000 (16:36 +0300)
commit9fe929aaace6a3019dd64a70063cc7b0bb956a4e
tree92f439188c6169df567d3f2648bc4634d3d5d0a8
parenta95cfad947d5f40cfbf9ad3019575aac1d8ac7a6
brcmfmac: add firmware feature detection for gscan feature

Detect gscan support in firmware by doing pfn_gscan_cfg iovar with
invalid version.

Reviewed-by: Hante Meuleman <hante.meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@broadcom.com>
Reviewed-by: Franky Lin <franky.lin@broadcom.com>
Signed-off-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/feature.h
drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h