Updating bwn to support newer chipsets
Adrian Chadd
adrian at freebsd.org
Wed Apr 8 01:33:01 UTC 2015
Hi,
sorry, I have broadcom PCIe devices but no time to help :(
-a
On 6 April 2015 at 23:34, Felix Friedlander <felixphew0 at gmail.com> wrote:
> Hello all,
> I am trying to expand the bwn driver to support some newer-model Broadcom chips, like the BCM4331 in my machine. These chips require newer firmware, and so I have modified bwn-firmware-kmod to use a newer firmware. However, I do not have a device with one of the chips currently supported, so I cannot be sure that this change won't break things. Do any of you have a device that you are willing to try with the new firmware?
>
> The changes are quite simple:
>
> --- Makefile.orig 2014-01-27 08:52:12.000000000 +1100
> +++ Makefile 2015-04-07 08:31:46.000000000 +1000
> @@ -2,7 +2,7 @@
> # $FreeBSD: head/net/bwn-firmware-kmod/Makefile 341294 2014-01-26 21:52:12Z bapt $
>
> PORTNAME= bwn-firmware
> -PORTVERSION= 0.1.0
> +PORTVERSION= 0.2.0
> CATEGORIES= net
> MASTER_SITES= http://downloads.openwrt.org/sources/ \
> http://mirror2.openwrt.org/sources/
> @@ -36,11 +36,11 @@
> WRKSRC= ${WRKDIR}
> FWNAME= bwn_v4
> FWFILE= broadcom-wl-${FWVERSION}.tar.bz2
> -FWVERSION= 4.150.10.5
> +FWVERSION= 5.100.138
> KMODNAME= ${FWNAME}_ucode
> FWNAME_LP= bwn_v4_lp
> FWFILE_LP= broadcom-wl-${FWVERSION_LP}.tar.bz2
> -FWVERSION_LP= 4.178.10.4
> +FWVERSION_LP= 5.100.138
> KMODNAME_LP= ${FWNAME_LP}_ucode
> PLIST_SUB= KMODNAME="${KMODNAME}" \
> KMODNAME_LP="${KMODNAME_LP}"
> @@ -54,7 +54,7 @@
> tar xjf ${DISTDIR}/${FWFILE}
> mkdir -p ${WRKSRC}/bg
> b43-fwcutter -w ${WRKSRC}/bg \
> - ${WRKSRC}/broadcom-wl-${FWVERSION}/driver/wl_apsta_mimo.o
> + ${WRKSRC}/broadcom-wl-${FWVERSION}/linux/wl_apsta.o
> ${TOUCH} ${WRKSRC}/bg/v4/ucode.fw
>
> @${ECHO_CMD} "KMOD= ${KMODNAME}" > ${WRKSRC}/bg/v4/Makefile
> --- distinfo.orig 2014-01-23 02:30:13.000000000 +1100
> +++ distinfo 2015-04-07 08:37:10.000000000 +1000
> @@ -2,3 +2,5 @@
> SIZE (broadcom-wl-4.150.10.5.tar.bz2) = 3888794
> SHA256 (broadcom-wl-4.178.10.4.tar.bz2) = 32f6ad98facbb9045646fdc8b54bb03086d204153253f9c65d0234a5d90ae53f
> SIZE (broadcom-wl-4.178.10.4.tar.bz2) = 5986780
> +SHA256 (broadcom-wl-5.100.138.tar.bz2) = f1e7067aac5b62b67b8b6e4c517990277804339ac16065eb13c731ff909ae46f
>
> Any help would be much appreciated.
> --
> Felix Friedlander <felixphew0 at gmail.com>
More information about the freebsd-wireless
mailing list