From owner-freebsd-wireless@FreeBSD.ORG Mon Feb 2 06:12:55 2015 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C60A767A for ; Mon, 2 Feb 2015 06:12:55 +0000 (UTC) Received: from st11p06mm-asmtp002.mac.com (st11p06mm-asmtp002.mac.com [17.172.124.250]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9B81B7A for ; Mon, 2 Feb 2015 06:12:55 +0000 (UTC) Received: from mbp-alexander.dlink (unknown [5.18.186.216]) by st11p06mm-asmtp002.mac.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Dec 4 2014)) with ESMTPSA id <0NJ400KYTP4HAB20@st11p06mm-asmtp002.mac.com> for freebsd-wireless@freebsd.org; Sun, 01 Feb 2015 21:12:20 -0800 (PST) From: Alexander Perechnev Content-type: text/plain; charset=utf-8 Content-transfer-encoding: quoted-printable Subject: How to make working new Broadcom chips like BCM4331? Message-id: <0414D0A4-0E76-41AE-B043-453FDCBE1BCB@me.com> Date: Mon, 02 Feb 2015 08:12:17 +0300 To: FreeBSD Wireless MIME-version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) X-Mailer: Apple Mail (2.2070.6) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.13.68,1.0.33,0.0.0000 definitions=2015-02-02_01:2015-01-30,2015-02-01,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412080000 definitions=main-1502020057 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 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: Mon, 02 Feb 2015 06:12:55 -0000 Hello everyone, I=E2=80=99ve installed FreeBSD 10.1 on my MacBook Pro 13 mid 2012. = Everything works pretty good, except wireless. It works with [ndis], but = it doesn=E2=80=99t work with existing [bwi-firmware-kmod] and = [bwn-firmware-kmod] facilities. I=E2=80=99ve looked into [bwn] port Makefile = (https://github.com/aperechnev/freebsd-ports/blob/master/net/bwn-firmware-= kmod/Makefile) and found that all it does is just to download necessary = firmware (4.150.10.5 and 4.178.10.4), extracts it via [b43-fwcutter-015] = and compiles it into kernel module. So the first problem is that 4th gen firmware does not support my = BCM4331. Also i=E2=80=99ve found the [siba-bwn], which recognizes the broadcom = devices: = https://github.com/freebsd/freebsd/blob/master/sys/dev/siba/siba_bwn.c. So summary it seems that it is not so hard to support my BCM4331. I have = to: - port [b43-fwcutter-018] to FreeBSD, because earlier versions doesn=E2=80= =99t work with newest firmware - update existing [bwn-firmware-kmod] to point it to newest firmware - add my BCM4331 device to [siba-bwn] I expect that after this steps my BCM4331 should be working. But I am = new in FreeBSD and I=E2=80=99m just asking you for any help like related = information, existing problems, links, etc. I am not sure if I am right in my theory, but for me it seems that it = should work. So if you know another problems, which I don=E2=80=99t, = please let me know before I go through this steps. Thank you for excellent operating system, now it=E2=80=99s my favorite = one! Best regards, Alexander Perechnev.=