Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5432ea1

Browse files
authored
Add support to kernel 6.6.y (#604)
* Added brcmfmac for kernel 6.6.y* Unload all brcmfmac* modules
1 parent6f7c8e8 commit5432ea1

File tree

72 files changed

+38647
-32
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+38647
-32
lines changed

‎patches/bcm43430a1/7_45_41_26/nexmon/Makefile‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,10 @@ ifeq ($(shell uname -m),$(filter $(shell uname -m), armv6l armv7l aarch64))
181181
@printf "\033[0;31m COPYING\033[0m brcmfmac43430-sdio.bin => /lib/firmware/brcm/brcmfmac43430-sdio.bin\n"
182182
$(Q)cp brcmfmac43430-sdio.bin /lib/firmware/brcm/brcmfmac43430-sdio.bin
183183
ifneq ("$(wildcard$(DRIVER_FOLDER_NAME)/brcmfmac.ko)", "")
184-
ifeq ($(shelllsmod | grep "^brcmfmac" |wc -l), 1)
185-
@printf "\033[0;31m UNLOADING\033[0mbrcmfmac\n"
186-
$(Q)rmmodbrcmfmac
187-
endif
184+
@for module in $$(lsmod | grep "^brcmfmac" |awk '{print $$1}'); do \
185+
printf "\033[0;31m UNLOADING\033[0m$$module\n"; \
186+
rmmod$$module; \
187+
done
188188
$(Q)modprobe brcmutil
189189
@printf "\033[0;31m RELOADING\033[0m brcmfmac\n"
190190
$(Q)insmod $(DRIVER_FOLDER_NAME)/brcmfmac.ko

‎patches/bcm43430a1/7_45_41_46/nexmon/Makefile‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,10 @@ ifeq ($(shell uname -m),$(filter $(shell uname -m), armv6l armv7l aarch64))
192192
$(Q)rm -rf /lib/firmware/brcm/brcmfmac43430-sdio.clm_blob
193193
$(Q)rm -rf /lib/firmware/brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.clm_blob
194194
ifneq ("$(wildcard$(DRIVER_FOLDER_NAME)/brcmfmac.ko)", "")
195-
ifeq ($(shelllsmod | grep "^brcmfmac" |wc -l), 1)
196-
@printf "\033[0;31m UNLOADING\033[0mbrcmfmac\n"
197-
$(Q)rmmodbrcmfmac
198-
endif
195+
@for module in $$(lsmod | grep "^brcmfmac" |awk '{print $$1}'); do \
196+
printf "\033[0;31m UNLOADING\033[0m$$module\n"; \
197+
rmmod$$module; \
198+
done
199199
$(Q)modprobe brcmutil
200200
@printf "\033[0;31m RELOADING\033[0m brcmfmac\n"
201201
$(Q)insmod $(DRIVER_FOLDER_NAME)/brcmfmac.ko

‎patches/bcm43436b0/9_88_4_65/nexmon/Makefile‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,10 @@ ifeq ($(shell uname -m),$(filter $(shell uname -m), armv6l armv7l aarch64))
188188
@printf "\033[0;31m COPYING\033[0m $(RAM_FILE) => /lib/firmware/brcm/$(RAM_FILE)\n"
189189
$(Q)cp $(RAM_FILE) /lib/firmware/brcm/$(RAM_FILE)
190190
ifneq ("$(wildcard$(DRIVER_FOLDER_NAME)/brcmfmac.ko)", "")
191-
ifeq ($(shelllsmod | grep "^brcmfmac" |wc -l), 1)
192-
@printf "\033[0;31m UNLOADING\033[0mbrcmfmac\n"
193-
$(Q)rmmodbrcmfmac
194-
endif
191+
@for module in $$(lsmod | grep "^brcmfmac" |awk '{print $$1}'); do \
192+
printf "\033[0;31m UNLOADING\033[0m$$module\n"; \
193+
rmmod$$module; \
194+
done
195195
$(Q)modprobe brcmutil
196196
@printf "\033[0;31m RELOADING\033[0m brcmfmac\n"
197197
$(Q)insmod $(DRIVER_FOLDER_NAME)/brcmfmac.ko

‎patches/bcm43455c0/7_45_154/nexmon/Makefile‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,10 @@ ifeq ($(shell uname -m),$(filter $(shell uname -m), armv6l armv7l aarch64))
188188
@printf "\033[0;31m COPYING\033[0m $(RAM_FILE) => /lib/firmware/brcm/$(RAM_FILE)\n"
189189
$(Q)cp $(RAM_FILE) /lib/firmware/brcm/$(RAM_FILE)
190190
ifneq ("$(wildcard$(DRIVER_FOLDER_NAME)/brcmfmac.ko)", "")
191-
ifeq ($(shelllsmod | grep "^brcmfmac" |wc -l), 1)
192-
@printf "\033[0;31m UNLOADING\033[0mbrcmfmac\n"
193-
$(Q)rmmodbrcmfmac
194-
endif
191+
@for module in $$(lsmod | grep "^brcmfmac" |awk '{print $$1}'); do \
192+
printf "\033[0;31m UNLOADING\033[0m$$module\n"; \
193+
rmmod$$module; \
194+
done
195195
$(Q)modprobe brcmutil
196196
@printf "\033[0;31m RELOADING\033[0m brcmfmac\n"
197197
$(Q)insmod $(DRIVER_FOLDER_NAME)/brcmfmac.ko

‎patches/bcm43455c0/7_45_189/nexmon/Makefile‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,10 @@ ifeq ($(shell uname -m),$(filter $(shell uname -m), armv6l armv7l aarch64))
188188
@printf "\033[0;31m COPYING\033[0m $(RAM_FILE) => /lib/firmware/brcm/$(RAM_FILE)\n"
189189
$(Q)cp $(RAM_FILE) /lib/firmware/brcm/$(RAM_FILE)
190190
ifneq ("$(wildcard$(DRIVER_FOLDER_NAME)/brcmfmac.ko)", "")
191-
ifeq ($(shelllsmod | grep "^brcmfmac" |wc -l), 1)
192-
@printf "\033[0;31m UNLOADING\033[0mbrcmfmac\n"
193-
$(Q)rmmodbrcmfmac
194-
endif
191+
@for module in $$(lsmod | grep "^brcmfmac" |awk '{print $$1}'); do \
192+
printf "\033[0;31m UNLOADING\033[0m$$module\n"; \
193+
rmmod$$module; \
194+
done
195195
$(Q)modprobe brcmutil
196196
@printf "\033[0;31m RELOADING\033[0m brcmfmac\n"
197197
$(Q)insmod $(DRIVER_FOLDER_NAME)/brcmfmac.ko

‎patches/bcm43455c0/7_45_189/nexmon_simplified/Makefile‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,10 @@ ifeq ($(shell uname -m),$(filter $(shell uname -m), armv6l armv7l aarch64))
188188
@printf "\033[0;31m COPYING\033[0m $(RAM_FILE) => /lib/firmware/brcm/$(RAM_FILE)\n"
189189
$(Q)cp $(RAM_FILE) /lib/firmware/brcm/$(RAM_FILE)
190190
ifneq ("$(wildcard$(DRIVER_FOLDER_NAME)/brcmfmac.ko)", "")
191-
ifeq ($(shelllsmod | grep "^brcmfmac" |wc -l), 1)
192-
@printf "\033[0;31m UNLOADING\033[0mbrcmfmac\n"
193-
$(Q)rmmodbrcmfmac
194-
endif
191+
@for module in $$(lsmod | grep "^brcmfmac" |awk '{print $$1}'); do \
192+
printf "\033[0;31m UNLOADING\033[0m$$module\n"; \
193+
rmmod$$module; \
194+
done
195195
$(Q)modprobe brcmutil
196196
@printf "\033[0;31m RELOADING\033[0m brcmfmac\n"
197197
$(Q)insmod $(DRIVER_FOLDER_NAME)/brcmfmac.ko

‎patches/bcm43455c0/7_45_206/nexmon/Makefile‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,10 @@ ifeq ($(shell uname -m),$(filter $(shell uname -m), armv6l armv7l aarch64))
188188
@printf "\033[0;31m COPYING\033[0m $(RAM_FILE) => /lib/firmware/brcm/$(RAM_FILE)\n"
189189
$(Q)cp $(RAM_FILE) /lib/firmware/brcm/$(RAM_FILE)
190190
ifneq ("$(wildcard$(DRIVER_FOLDER_NAME)/brcmfmac.ko)", "")
191-
ifeq ($(shelllsmod | grep "^brcmfmac" |wc -l), 1)
192-
@printf "\033[0;31m UNLOADING\033[0mbrcmfmac\n"
193-
$(Q)rmmodbrcmfmac
194-
endif
191+
@for module in $$(lsmod | grep "^brcmfmac" |awk '{print $$1}'); do \
192+
printf "\033[0;31m UNLOADING\033[0m$$module\n"; \
193+
rmmod$$module; \
194+
done
195195
$(Q)modprobe brcmutil
196196
@printf "\033[0;31m RELOADING\033[0m brcmfmac\n"
197197
$(Q)insmod $(DRIVER_FOLDER_NAME)/brcmfmac.ko

‎patches/bcm43455c0/7_45_234_4ca95bb_CY/nexmon/Makefile‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,10 @@ ifeq ($(shell uname -m),$(filter $(shell uname -m), armv6l armv7l aarch64))
196196
$(Q)update-alternatives --install /lib/firmware/cypress/cyfmac43455-sdio.bin cyfmac43455-sdio.bin /lib/firmware/nexmon/$(RAM_FILE) 30
197197
$(Q)update-alternatives --set cyfmac43455-sdio.bin /lib/firmware/nexmon/$(RAM_FILE)
198198
ifneq ("$(wildcard$(DRIVER_FOLDER_NAME)/brcmfmac.ko)", "")
199-
ifeq ($(shelllsmod | grep "^brcmfmac" |wc -l), 1)
200-
@printf "\033[0;31m UNLOADING\033[0mbrcmfmac\n"
201-
$(Q)rmmodbrcmfmac
202-
endif
199+
@for module in $$(lsmod | grep "^brcmfmac" |awk '{print $$1}'); do \
200+
printf "\033[0;31m UNLOADING\033[0m$$module\n"; \
201+
rmmod$$module; \
202+
done
203203
$(Q)modprobe brcmutil
204204
@printf "\033[0;31m RELOADING\033[0m brcmfmac\n"
205205
$(Q)insmod $(DRIVER_FOLDER_NAME)/brcmfmac.ko
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
config BRCMFMAC
2+
tristate "Broadcom FullMAC WLAN driver"
3+
depends on CFG80211
4+
select BRCMUTIL
5+
help
6+
This module adds support for wireless adapters based on Broadcom
7+
FullMAC chipsets. It has to work with at least one of the bus
8+
interface support. If you choose to build a module, it'll be called
9+
brcmfmac.ko.
10+
11+
config BRCMFMAC_PROTO_BCDC
12+
bool
13+
14+
config BRCMFMAC_PROTO_MSGBUF
15+
bool
16+
17+
config BRCMFMAC_SDIO
18+
bool "SDIO bus interface support for FullMAC driver"
19+
depends on (MMC = y || MMC = BRCMFMAC)
20+
depends on BRCMFMAC
21+
select BRCMFMAC_PROTO_BCDC
22+
select FW_LOADER
23+
default y
24+
help
25+
This option enables the SDIO bus interface support for Broadcom
26+
IEEE802.11n embedded FullMAC WLAN driver. Say Y if you want to
27+
use the driver for a SDIO wireless card.
28+
29+
config BRCMFMAC_USB
30+
bool "USB bus interface support for FullMAC driver"
31+
depends on (USB = y || USB = BRCMFMAC)
32+
depends on BRCMFMAC
33+
select BRCMFMAC_PROTO_BCDC
34+
select FW_LOADER
35+
help
36+
This option enables the USB bus interface support for Broadcom
37+
IEEE802.11n embedded FullMAC WLAN driver. Say Y if you want to
38+
use the driver for an USB wireless card.
39+
40+
config BRCMFMAC_PCIE
41+
bool "PCIE bus interface support for FullMAC driver"
42+
depends on BRCMFMAC
43+
depends on PCI
44+
select BRCMFMAC_PROTO_MSGBUF
45+
select FW_LOADER
46+
help
47+
This option enables the PCIE bus interface support for Broadcom
48+
IEEE802.11ac embedded FullMAC WLAN driver. Say Y if you want to
49+
use the driver for an PCIE wireless card.
50+
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# SPDX-License-Identifier: ISC
2+
#
3+
# Makefile fragment for Broadcom 802.11 Networking Device Driver
4+
#
5+
# Copyright (c) 2010 Broadcom Corporation
6+
#
7+
8+
ccflags-y +=\
9+
-I$(NEXMON_ROOT)/patches/driver/brcmfmac_6.6.y-nexmon\
10+
-I$(NEXMON_ROOT)/patches/driver/brcmfmac_6.6.y-nexmon/include\
11+
-DDEBUG
12+
13+
obj-$(CONFIG_BRCMFMAC) += brcmfmac.o
14+
brcmfmac-objs +=\
15+
cfg80211.o\
16+
chip.o\
17+
fwil.o\
18+
fweh.o\
19+
p2p.o\
20+
proto.o\
21+
common.o\
22+
core.o\
23+
firmware.o\
24+
feature.o\
25+
btcoex.o\
26+
vendor.o\
27+
pno.o\
28+
xtlv.o
29+
brcmfmac-$(CONFIG_BRCMFMAC_PROTO_BCDC) +=\
30+
bcdc.o\
31+
fwsignal.o
32+
brcmfmac-$(CONFIG_BRCMFMAC_PROTO_MSGBUF) +=\
33+
commonring.o\
34+
flowring.o\
35+
msgbuf.o
36+
brcmfmac-$(CONFIG_BRCMFMAC_SDIO) +=\
37+
sdio.o\
38+
bcmsdh.o
39+
brcmfmac-$(CONFIG_BRCMFMAC_USB) +=\
40+
usb.o
41+
brcmfmac-$(CONFIG_BRCMFMAC_PCIE) +=\
42+
pcie.o
43+
brcmfmac-$(CONFIG_BRCMDBG) +=\
44+
debug.o
45+
brcmfmac-$(CONFIG_BRCM_TRACING) +=\
46+
tracepoint.o
47+
brcmfmac-$(CONFIG_OF) +=\
48+
of.o
49+
brcmfmac-$(CONFIG_DMI) +=\
50+
dmi.o

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2026 Movatter.jp