Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion patches/bcm43455c0/7_45_206/nexmon/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,9 @@ endif

backup-firmware:
ifeq ($(shell uname -m),$(filter $(shell uname -m), armv6l armv7l aarch64))
cp /lib/firmware/brcm/$(RAM_FILE) $(RAM_FILE).orig
# cp /lib/firmware/brcm/$(RAM_FILE) $(RAM_FILE).orig
cp /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.bin brcmfmac43455-sdio.raspberrypi,5-model-b.bin.orig

else
$(warning Warning: Cannot backup the original firmware on this arch.)
endif
Expand Down
50 changes: 50 additions & 0 deletions patches/driver/brcmfmac_6.12.y-nexmon/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
config BRCMFMAC
tristate "Broadcom FullMAC WLAN driver"
depends on CFG80211
select BRCMUTIL
help
This module adds support for wireless adapters based on Broadcom
FullMAC chipsets. It has to work with at least one of the bus
interface support. If you choose to build a module, it'll be called
brcmfmac.ko.

config BRCMFMAC_PROTO_BCDC
bool

config BRCMFMAC_PROTO_MSGBUF
bool

config BRCMFMAC_SDIO
bool "SDIO bus interface support for FullMAC driver"
depends on (MMC = y || MMC = BRCMFMAC)
depends on BRCMFMAC
select BRCMFMAC_PROTO_BCDC
select FW_LOADER
default y
help
This option enables the SDIO bus interface support for Broadcom
IEEE802.11n embedded FullMAC WLAN driver. Say Y if you want to
use the driver for a SDIO wireless card.

config BRCMFMAC_USB
bool "USB bus interface support for FullMAC driver"
depends on (USB = y || USB = BRCMFMAC)
depends on BRCMFMAC
select BRCMFMAC_PROTO_BCDC
select FW_LOADER
help
This option enables the USB bus interface support for Broadcom
IEEE802.11n embedded FullMAC WLAN driver. Say Y if you want to
use the driver for an USB wireless card.

config BRCMFMAC_PCIE
bool "PCIE bus interface support for FullMAC driver"
depends on BRCMFMAC
depends on PCI
select BRCMFMAC_PROTO_MSGBUF
select FW_LOADER
help
This option enables the PCIE bus interface support for Broadcom
IEEE802.11ac embedded FullMAC WLAN driver. Say Y if you want to
use the driver for an PCIE wireless card.

50 changes: 50 additions & 0 deletions patches/driver/brcmfmac_6.12.y-nexmon/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# SPDX-License-Identifier: ISC
#
# Makefile fragment for Broadcom 802.11 Networking Device Driver
#
# Copyright (c) 2010 Broadcom Corporation
#

ccflags-y += \
-I$(NEXMON_ROOT)/patches/driver/brcmfmac_6.6.y-nexmon \
-I$(NEXMON_ROOT)/patches/driver/brcmfmac_6.6.y-nexmon/include \
-DDEBUG

obj-$(CONFIG_BRCMFMAC) += brcmfmac.o
brcmfmac-objs += \
cfg80211.o \
chip.o \
fwil.o \
fweh.o \
p2p.o \
proto.o \
common.o \
core.o \
firmware.o \
feature.o \
btcoex.o \
vendor.o \
pno.o \
xtlv.o
brcmfmac-$(CONFIG_BRCMFMAC_PROTO_BCDC) += \
bcdc.o \
fwsignal.o
brcmfmac-$(CONFIG_BRCMFMAC_PROTO_MSGBUF) += \
commonring.o \
flowring.o \
msgbuf.o
brcmfmac-$(CONFIG_BRCMFMAC_SDIO) += \
sdio.o \
bcmsdh.o
brcmfmac-$(CONFIG_BRCMFMAC_USB) += \
usb.o
brcmfmac-$(CONFIG_BRCMFMAC_PCIE) += \
pcie.o
brcmfmac-$(CONFIG_BRCMDBG) += \
debug.o
brcmfmac-$(CONFIG_BRCM_TRACING) += \
tracepoint.o
brcmfmac-$(CONFIG_OF) += \
of.o
brcmfmac-$(CONFIG_DMI) += \
dmi.o
Loading