brcmfmac: allow 160MHz in custom regulatory rules
authorArend van Spriel <arend.vanspriel@broadcom.com>
Thu, 11 Jul 2019 08:45:32 +0000 (10:45 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 24 Jul 2019 11:49:54 +0000 (14:49 +0300)
commitfa9050927fa885410055ee03c948c2252693d296
treed4c00249e3c3aa5f987600964b93c3553abb9303
parent011a56a3336a5de9c3152c169cd52ff79b8c3f89
brcmfmac: allow 160MHz in custom regulatory rules

The driver has custom regulatory rules which had maximum bandwidth
for 5GHz channels set to 80MHz. As a consequence the driver can
not use 160MHz in AP mode even when the device supports it. So
relax the rules allowing 160MHz. After wiphy_register() the channel
flags are updated according what the device actually supports.

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/cfg80211.c