summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/brcm80211/brcmfmac/firmware.h
diff options
context:
space:
mode:
authorDaniel Kim <dekim@broadcom.com>2014-07-12 10:49:37 +0400
committerJohn W. Linville <linville@tuxdriver.com>2014-07-16 00:00:12 +0400
commitc1b20532ef395f23c2d24bc9c7f772a45e0420c7 (patch)
tree880138c85af5188784f78e8f9e0b31ec0b8f696e /drivers/net/wireless/brcm80211/brcmfmac/firmware.h
parent82d957e09d4f0ff8091ca67e39b51ec6bdc672b1 (diff)
downloadlinux-c1b20532ef395f23c2d24bc9c7f772a45e0420c7.tar.xz
brcmfmac: Make firmware path a module parameter
This patch makes firmware path a module parameter so that firmware and nvram files can be loaded from the specified path. Signed-off-by: Daniel Kim <dekim@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/firmware.h')
-rw-r--r--drivers/net/wireless/brcm80211/brcmfmac/firmware.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/firmware.h b/drivers/net/wireless/brcm80211/brcmfmac/firmware.h
index 6431bfd7afff..4d3482356b77 100644
--- a/drivers/net/wireless/brcm80211/brcmfmac/firmware.h
+++ b/drivers/net/wireless/brcm80211/brcmfmac/firmware.h
@@ -21,6 +21,11 @@
#define BRCMF_FW_REQ_FLAGS 0x00F0
#define BRCMF_FW_REQ_NV_OPTIONAL 0x0010
+#define BRCMF_FW_PATH_LEN 256
+#define BRCMF_FW_NAME_LEN 32
+
+extern char brcmf_firmware_path[];
+
void brcmf_fw_nvram_free(void *nvram);
/*
* Request firmware(s) asynchronously. When the asynchronous request