]> git.baikalelectronics.ru Git - kernel.git/commit
brcmfmac: add CLM download support
authorChung-Hsien Hsu <stanley.hsu@cypress.com>
Fri, 10 Nov 2017 09:27:15 +0000 (17:27 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 11 Nov 2017 01:04:09 +0000 (03:04 +0200)
commit04c976ec684dffd9fe1f12e832975d5978fbef17
tree83676889c062a8f8a96329758dd61d47ba9a8648
parent0e4df7db088b2265eaebe953a725ac11952a3eec
brcmfmac: add CLM download support

The firmware for brcmfmac devices includes information regarding
regulatory constraints. For certain devices this information is kept
separately in a binary form that needs to be downloaded to the device.
This patch adds support to download this so-called CLM blob file. It
uses the same naming scheme as the other firmware files with extension
of .clm_blob.

The CLM blob file is optional. If the file does not exist, the download
process will be bypassed. It will not affect the driver loading.

Reviewed-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Chung-Hsien Hsu <stanley.hsu@cypress.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/brcm80211/brcmfmac/bus.h
drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h
drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h
drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c