Bwn Macbookpro V2

My last tries to make work bwn driver on FreeBSD 14.3p5 give tips :

1. Have /usr/src sources (thank you captain obvious

If you have intalled as me without sources :

git clone -b stable/14 --depth 1 https://git.freebsd.org/src.git /usr/src

2. Make a custom kernel with bwn

cp /usr/src/sys/amd64/conf/GENERIC /usr/src/sys/amd64/conf/BWN

Edit with your prefered editor ‘/usr/src/sys/amd64/conf/BWN’ and find :

#device         bwn                     # Broadcom BCM43xx wireless NICs.

And uncomment it. Add :

option BWN_DEBUG
option BWN_GPL_PHY

3. Check modules Makefile

Check it is as :

# The following need the BWN_GPL_PHY kenrel option to opt-in
# to the GPL'd 802.11n PHY support for this driver.
.PATH: ${SRCTOP}/sys/gnu/dev/bwn/phy_n
SRCS.BWN_GPL_PHY+=  if_bwn_radio_2055.c
SRCS.BWN_GPL_PHY+=  if_bwn_radio_2056.c
SRCS.BWN_GPL_PHY+=  if_bwn_radio_2057.c
SRCS.BWN_GPL_PHY+=  if_bwn_phy_n_sprom.c
SRCS.BWN_GPL_PHY+=  if_bwn_phy_n_tables.c
SRCS.BWN_GPL_PHY+=  if_bwn_phy_n_ppr.c
SRCS.BWN_GPL_PHY+=  if_bwn_phy_n_core.c

4. Here we go to compile

cd /usr/src/
make -j 2 buildkernel KERNCONF=BWN
make -j 2 installkernel KERNCONF=BWN

5. Reboot :)

I don’t have to give you cli command to to it ?