From owner-freebsd-wireless@freebsd.org Thu Sep 1 08:33:43 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1F189BC849B for ; Thu, 1 Sep 2016 08:33:43 +0000 (UTC) (envelope-from felixphew0@gmail.com) Received: from mail-qk0-x243.google.com (mail-qk0-x243.google.com [IPv6:2607:f8b0:400d:c09::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CF79F6C1 for ; Thu, 1 Sep 2016 08:33:42 +0000 (UTC) (envelope-from felixphew0@gmail.com) Received: by mail-qk0-x243.google.com with SMTP id r128so5317264qkc.1 for ; Thu, 01 Sep 2016 01:33:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=RZdbzPQ+aortU4uQ2FFP2i2ekhVoDfv3dc8Kr0dK2Xw=; b=Tazq/BjW/jTM+2LqQ+VGCwAEjLG0xeR2PnjQArv9sMDoZ//r3OII+A01GdejDVovRo 4OO3dC4Tk9iQsXPGXj9uD3uWvbRvaeoRCF8N/TbP5Gglc3yr8/Np/rEpWooalywjkc0f 9g1htdY2J9969i1oHEwZk+UydhE77jZrGPppBMT1QALT+JuhSYEYKATc6M+xdf1RhDYG pEjirRd75qSlTvTi/VNQuYb+zp4nU+wDtb0sxDa1L17CQld55bM84Li/NWwl7/+FDEFx oaJ4BRxhlEEDnHsow6+ZKz6YA1WEHx3laVAPMrdYwUpFiNMdv8hCSVkGVyafY0qB79tE x0Mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=RZdbzPQ+aortU4uQ2FFP2i2ekhVoDfv3dc8Kr0dK2Xw=; b=KK8AxJ9EoVQO1WNu8zpDvP7Ajsm4QM7kRiUbcbz00fGwvbPn37v7Lg4OO8lnpZiYM/ bngcm8JXsAFACAWnjnZbYvx9gufmsjIuTBTVpSwVid28xsPhhZvvYZhXS1NTz8f17zAu 6/BzpjeHmZi2JgwKSMe6tmYmD32JkOP2uPihEArK0t8bGx1h7klkCixDYaTwON6nSGmQ 4NRv7awh2Y0FXJ60WrrBrPh6NVJmwmLK1nFbi2M0XEs7BO5ER1ad2/or3quSG0VSUr65 FGJ8Gk6GI8pV2QYioPBMeAXj5rtZ7xFDfoCHAHkOFfQwXJ/bKmnHn3ITIkChQzpaxTjx M8RQ== X-Gm-Message-State: AE9vXwON8KSqi0RT1wwRD1ErG3UGUIXlBmwE21FWTK0VW9NPBBwGvPj8CYEDIc0m9WWxvewIrKTHKVMWZCTVaQ== X-Received: by 10.55.5.65 with SMTP id 62mr15940194qkf.279.1472718821926; Thu, 01 Sep 2016 01:33:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.25.148 with HTTP; Thu, 1 Sep 2016 01:33:41 -0700 (PDT) In-Reply-To: <338149a3-d576-06a0-ba87-64f6e55f7c6c@gmail.com> References: <338149a3-d576-06a0-ba87-64f6e55f7c6c@gmail.com> From: Felix Friedlander Date: Thu, 1 Sep 2016 18:33:41 +1000 Message-ID: Subject: Re: Updating bwn to support newer chipsets To: Brett Wiggins Cc: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Sep 2016 08:33:43 -0000 Hi Brett, It turns out I actually have no idea how to write wireless drivers, but progress is being made by adrian and others. I don't think there's a working build to test - yet - but if you want to help code, then by all means, just talk to someone more competent than me. For the record, I'm also dual-booting several MacBooks, both BCM4331 (apparently not *that* far off) and the newer BCM4360 (which is miles away, being an 11ac chip). - Felix On 1 September 2016 at 17:43, Brett Wiggins wrote: > Hi everyone, > > I'm replying to a message from April 07 2015 which was calling for people to > help get the bwn driver to support BCM4331 adapters. The message is provided > below. I am happy to help with code or testing. I'm dual booting a Macbook > Pro 10,1 with OS X and Freebsd 10.3-RELEASE, my wireless adapter is a > BCM4331. > > If anyone know of progress on this or needs help please let me know. > > Brett. > > > Updating bwn to support newer chipsets > > *Felix Friedlander* felixphew0 at gmail.com > > /Tue Apr 7 06:35:13 UTC 2015/ > > * Previous message (by thread): hostapd with wpa > > > * Next message (by thread): Updating bwn to support newer chipsets > > > * *Messages sorted by:* [ date ] > > > [ thread ] > > > [ subject ] > > > [ author ] > > > > > ------------------------------------------------------------------------ > > 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 > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: not available > Type: application/pgp-signature > Size: 819 bytes > Desc: not available > URL: > > > ------------------------------------------------------------------------ > > * Previous message (by thread): hostapd with wpa > > > * Next message (by thread): Updating bwn to support newer chipsets > > > * *Messages sorted by:* [ date ] > > > [ thread ] > > > [ subject ] > > > [ author ] > > > > > ------------------------------------------------------------------------ > More information about the freebsd-wireless mailing list > > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org"