2017-03-12 16:48:09 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
#
|
|
|
|
|
|
|
|
if DRIVERS_IEEE80211
|
|
|
|
|
|
|
|
config IEEE80211_BROADCOM_FULLMAC
|
|
|
|
bool
|
2018-10-07 23:00:13 +02:00
|
|
|
default n
|
|
|
|
|
|
|
|
config IEEE80211_BROADCOM_HAVE_CLM
|
|
|
|
bool
|
|
|
|
default n
|
2017-03-12 16:48:09 +01:00
|
|
|
|
2017-03-26 17:42:53 +02:00
|
|
|
config IEEE80211_BROADCOM_BCM43362
|
2018-10-07 18:03:39 +02:00
|
|
|
bool "Broadcom 43362 chip support"
|
|
|
|
depends on IEEE80211_BROADCOM_FULLMAC
|
2017-03-26 17:42:53 +02:00
|
|
|
default n
|
|
|
|
|
2018-04-26 16:10:23 +02:00
|
|
|
config IEEE80211_BROADCOM_BCM43438
|
2018-10-07 18:03:39 +02:00
|
|
|
bool "Broadcom 43438 chip support"
|
|
|
|
depends on IEEE80211_BROADCOM_FULLMAC
|
2018-04-26 16:10:23 +02:00
|
|
|
default n
|
2018-10-07 23:00:13 +02:00
|
|
|
select IEEE80211_BROADCOM_HAVE_CLM
|
2018-04-26 16:10:23 +02:00
|
|
|
|
2018-10-07 18:03:39 +02:00
|
|
|
config IEEE80211_BROADCOM_FWFILES
|
|
|
|
bool "Firmware files"
|
|
|
|
default y
|
2018-10-07 23:00:13 +02:00
|
|
|
depends on IEEE80211_BROADCOM_BCM43362 || IEEE80211_BROADCOM_BCM43438
|
2018-10-07 18:03:39 +02:00
|
|
|
---help---
|
2018-10-07 23:00:13 +02:00
|
|
|
By default, firmware and CLM files are provided in memory.
|
|
|
|
This selection enables an option to load the firmware and CLM
|
|
|
|
files from a mounted file system.
|
|
|
|
|
2019-10-23 01:47:49 +02:00
|
|
|
A snapshot of file for the BCM43362 are available in the tools
|
2019-10-23 01:43:42 +02:00
|
|
|
repository: https://bitbucket.org/nuttx/tools/src/master/bcm43438/
|
2018-10-08 17:03:33 +02:00
|
|
|
|
|
|
|
The latest files from Cypress are available in the Linux kernel:
|
|
|
|
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/brcm
|
2018-10-08 22:45:00 +02:00
|
|
|
The 43438 is a variant of the 43430 and will even identify itself as
|
|
|
|
such. The calibration file used in the past is called:
|
|
|
|
brcmfmac43430-sdio.AP6212.txt. The firmware is brcmfmac43430-sdio.bin
|
2018-10-08 17:03:33 +02:00
|
|
|
|
2018-10-07 23:00:13 +02:00
|
|
|
If not defined, then your board support logic will have to
|
|
|
|
to provide the firmware files (and CLM files for the CBM43438)
|
2018-10-08 17:03:33 +02:00
|
|
|
in board/src directory. For the BCM43362, the following would
|
|
|
|
need to be provided:
|
|
|
|
|
|
|
|
const uint8_t bcm43362_firmware_image[];
|
|
|
|
const unsigned int bcm43362_firmware_image_len;
|
|
|
|
|
|
|
|
For the BCM43438, the following would need to be provided.
|
|
|
|
|
|
|
|
const uint8_t ap6212_firmware_image[];
|
|
|
|
const unsigned int ap6212_firmware_len;
|
|
|
|
|
|
|
|
const uint8_t ap6212_clm_blob[];
|
|
|
|
const unsigned int ap6212_clm_blob_len;
|
2018-10-07 18:03:39 +02:00
|
|
|
|
2018-10-08 22:45:00 +02:00
|
|
|
NVRAM files are currently only supported from memory. The following
|
|
|
|
must be provided all configurations. For the BCM43362:
|
|
|
|
|
|
|
|
const char bcm43362_nvram_image[];
|
|
|
|
const unsigned int bcm43362_nvram_image_len;
|
|
|
|
|
|
|
|
And for the BCM43438:
|
|
|
|
|
|
|
|
const char ap6212_nvram_image[];
|
|
|
|
const unsigned int ap6212_nvram_image_len;
|
|
|
|
|
2018-10-07 18:03:39 +02:00
|
|
|
config IEEE80211_BROADCOM_FWFILENAME
|
|
|
|
string "Firmware file"
|
|
|
|
default "/mnt/sdcard/firmware.bin"
|
|
|
|
depends on IEEE80211_BROADCOM_FWFILES
|
|
|
|
---help---
|
|
|
|
If firmware files are provided on a file system, then this option
|
|
|
|
provides the full path to the file on a mounted file system where
|
|
|
|
the firmware can be found.
|
|
|
|
|
|
|
|
config IEEE80211_BROADCOM_FWCLMNAME
|
|
|
|
string "CLM file"
|
|
|
|
default "/mnt/sdcard/blob.bin"
|
2018-10-07 23:00:13 +02:00
|
|
|
depends on IEEE80211_BROADCOM_FWFILES && IEEE80211_BROADCOM_HAVE_CLM
|
2018-10-07 18:03:39 +02:00
|
|
|
---help---
|
|
|
|
If firmware files are provided on a file system, then this option
|
|
|
|
provides the full path to the file on a mounted file system where
|
|
|
|
the CLM blob can be found.
|
|
|
|
|
2017-03-12 16:48:09 +01:00
|
|
|
config IEEE80211_BROADCOM_FULLMAC_SDIO
|
|
|
|
bool "Broadcom FullMAC driver on SDIO bus"
|
|
|
|
depends on ARCH_HAVE_SDIO
|
|
|
|
select IEEE80211_BROADCOM_FULLMAC
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
This selection enables support for broadcom
|
|
|
|
FullMAC-compliant devices using SDIO bus.
|
|
|
|
|
2017-04-24 20:02:20 +02:00
|
|
|
if IEEE80211_BROADCOM_FULLMAC
|
|
|
|
|
2017-04-24 18:23:31 +02:00
|
|
|
config IEEE80211_BROADCOM_NINTERFACES
|
2017-04-24 20:02:20 +02:00
|
|
|
int "Number of Broadcom FullMAC interfaces"
|
2017-04-24 18:23:31 +02:00
|
|
|
default 1
|
|
|
|
depends on EXPERIMENTAL
|
|
|
|
|
2017-04-24 20:02:20 +02:00
|
|
|
endif # IEEE80211_BROADCOM_FULLMAC
|
|
|
|
|
2017-03-12 16:48:09 +01:00
|
|
|
endif # DRIVERS_IEEE80211
|