From owner-freebsd-wireless@FreeBSD.ORG Fri Aug 19 05:38:45 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 357F81065672 for ; Fri, 19 Aug 2011 05:38:45 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id E61A28FC16 for ; Fri, 19 Aug 2011 05:38:44 +0000 (UTC) Received: by gxk28 with SMTP id 28so2311524gxk.13 for ; Thu, 18 Aug 2011 22:38:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=6qi4g+S/n0P1HsaTPTM/+/JqnMsQ5hd7uqmBeQF5iMQ=; b=Fr8YrDvdwNA73sgaens1m9nNr4EqUFj513FtLan27X9fl/wGKSKy1J0CtWp2bc9Ul8 gf4y1Vkk7+TUQmmy6/F1boP6XNLSbNoIFwlGMXvC4klnGtYhYLruJQbmZQBd4nTGe+Q4 AMKsdlQm1Z0ehdu89b61E3N2AktmY5TzkAU/U= MIME-Version: 1.0 Received: by 10.150.217.4 with SMTP id p4mr156560ybg.158.1313732324111; Thu, 18 Aug 2011 22:38:44 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.150.145.21 with HTTP; Thu, 18 Aug 2011 22:38:44 -0700 (PDT) In-Reply-To: <4E4D50AF.6070908@shadowsun.net> References: <4E4C0DC9.8070808@shadowsun.net> <4E4D50AF.6070908@shadowsun.net> Date: Fri, 19 Aug 2011 13:38:44 +0800 X-Google-Sender-Auth: HPNCgi1SPhmFFsxaGfYFaT4OxZw Message-ID: From: Adrian Chadd To: Eric McCorkle Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org Subject: Re: BCM4313 support X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 19 Aug 2011 05:38:45 -0000 Hm, isn't there an open source linux driver for the latest broadcom chips? I recall it was released sometime last year. Adrian On 19 August 2011 01:49, Eric McCorkle wrote: > On 8/17/11 7:12 PM, Adrian Chadd wrote: >> >> On 18 August 2011 02:51, Eric McCorkle =A0wrote: >> >>> >>> I have been working on porting the BroadCom linux driver. =A0I don't ha= ve >>> much >>> time to work on it, though, and it's a rather daunting task. >> >> Cool! Is there anything we can do to help? >> > > Well, my objective is a working BCM 4322 (the card on macbooks) driver. > =A0Someone who better understands linux drivers could take a look at the > wrapper code for the linux driver, and might be able to port it. > > More info: The broadcom linux driver consists of a closed-source object > file, compiled with standard linux kernel calling conventions, and a bunc= h > of linux wrapper code. =A0It appears that the Broadcom engineers did a > relatively good job; the object file makes calls to the kernel via an osl > (presumably OS layer) interface, which seems pretty generic. =A0One of th= e > headers appears to define the linux instance of this layer, but it would > seem others exist (probably for windows, for instance). =A0The rest of th= e > code is simply linux driver stuff that sets up interfaces, etc. > > The closed source .o file itself isn't stripped at all, and between the > known compiler flags and the headers that give types for everything, ther= e's > enough information for complete reverse-compilation. =A0I've been working= on > this myself, but I have very limited time to devote to it. > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.or= g" >