Clone the repo
git clone https://github.com/krenzelok/broadcom-wl-chimera-alpine.gitChange directory
cd broadcom-wl-chimera-alpineRun it
./patchwl.shFirst get the required dependencies (Assuming you have linux-stable)
doas apk add linux-headers linux-stable-devel base-devel git wgetIf you use alpine
doas apk add linux-headers linux-stable-dev build-base git wgetClone the broadcom repo
git clone https://github.com/joanbm/broadcom-wl-linux-mainline.gitChange directory
cd broadcom-wl-linux-mainlineRun the extract and patch script
./extract_and_patchGo inside the folder it made (My case its hybrid-v35_64-nodebug-pcoem-6_30_223_271)
cd hybrid-v35_64-nodebug-pcoem-6_30_223_271Compile on chimera
make -C /lib/modules/$(uname -r)/build M=$(pwd) CC=clangIf on alpine
make -C /lib/modules/$(uname -r)/build M=$(pwd)(Optional) check if the compiled driver is here
ls -l wl.koNow make a directory in modules
doas mkdir -p /lib/modules/$(uname -r)/extraNow copy the newly compiled driver
doas cp wl.ko /lib/modules/$(uname -r)/extra/Update the driver database
doas depmod -a(Optional) check if modprobe recognizes it
modinfo wlIf you rerun the script make sure to delete
broadcom-wl-linux-mainlineBecause it git cannot fetch the repo when you have the folder
Also this is in testing so make sure to make an issue