mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Miklas <public@mikl.as>
To: benh@kernel.crashing.org, jgarzik@pobox.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: Announce: ndiswrapper
Date: Thu, 20 Nov 2003 21:53:19 -0500	[thread overview]
Message-ID: <200311202150.23184.public@mikl.as> (raw)
In-Reply-To: <TQXu.420.11@gated-at.bofh.it>

Hi,


On November 20, 2003 02:00 am, Benjamin Herrenschmidt wrote:
> Still, I've looked into possibly reverse engineering the Broadcom
> one for 802.11g from MacOS X (with 2 machines kernel debugging and
> functions names embedded in the driver, it's not _that_ bad). But
> it's a +500k binary .... I didn't go very far and decided I had
> better ways to spend my time.
>

Just in case anyone here is interested, a few of us over at 
linux-bcom4301.sourceforge.net have been working (albeit slowly) at reverse 
engineering this driver.

Actually, one ongoing project is to get the Broadcom driver with ndiswrapper 
to run inside an emulator like bochs, so we can monitor all the IO.  
Actually, something I posted last week about doing DMA to userspace was for 
this project.

For reference, Linksys has provided the source code for the components of the 
Broadcom wireless driver that are statically linked with the kernels included 
in many of their new 802.11g wireless products [1].  However, there remains a 
component that we still have in binary-only form.

For the curious, the total size of the binary-only part is 386K of mipsel 
code.  We also have this module in it's unlinked form.

I've looked at a few functions to see how simple it would be to reverse 
engineer.  Some of it is pretty easy to follow.  However, there are parts 
that become very complicated, where they start doing branches on conditions 
like: "if it is a BCM4301 chip, integrated on a Dell board, where the core 
revision is less than ver. X then set some flag".  



-- Andrew


[1] http://www.linksys.com/support/opensourcecode/wap54g/wap54g.1.08.tar.gz
(Download the WAP54G package)

       reply	other threads:[~2003-11-21  2:54 UTC|newest]

Thread overview: 84+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <TNwv.6Lz.7@gated-at.bofh.it>
     [not found] ` <TPHV.1vf.1@gated-at.bofh.it>
     [not found]   ` <TQXu.420.11@gated-at.bofh.it>
2003-11-21  2:53     ` Andrew Miklas [this message]
2003-11-21 10:33       ` Maciej Zenczykowski
2003-11-20 23:53 Mudama, Eric
2003-11-21  0:00 ` Jean Tourrilhes
2003-11-21  1:01   ` Bob McElrath
2003-11-24 17:42     ` Pavel Machek
2003-11-21  7:58   ` Jan De Luyck
2003-11-21  8:59   ` Jamie Lokier
  -- strict thread matches above, loose matches on Subject: below --
2003-11-20  3:11 Jean Tourrilhes
2003-11-20  3:26 ` Jeff Garzik
2003-11-20  3:34   ` Jean Tourrilhes
2003-11-21 12:05     ` Vojtech Pavlik
2003-11-21 17:25       ` Jean Tourrilhes
2003-11-21 17:30         ` Jeff Garzik
2003-11-21 17:43           ` Vojtech Pavlik
2003-11-21 17:48           ` Jean Tourrilhes
2003-11-21 17:50         ` Vojtech Pavlik
2003-11-20  4:00   ` William Lee Irwin III
2003-11-20  4:16     ` Nick Piggin
2003-11-20  4:35       ` Neil Brown
2003-11-20  4:49         ` Nick Piggin
2003-11-20  4:57           ` Randy.Dunlap
2003-11-20  5:05             ` Nick Piggin
2003-11-20  6:50               ` Benjamin Herrenschmidt
2003-11-20  5:27           ` William Lee Irwin III
2003-11-20  5:36             ` Jeff Garzik
2003-11-20  5:36             ` Nick Piggin
2003-11-20  4:38       ` William Lee Irwin III
2003-11-20  4:59         ` Nick Piggin
2003-11-20  5:12           ` William Lee Irwin III
2003-11-20  5:27             ` Nick Piggin
2003-11-24 15:40               ` Rik van Riel
2003-11-20 12:41           ` Diego Calleja García
2003-11-20 13:04             ` Christoph Hellwig
2003-11-20 20:24             ` Pasi Kärkkäinen
2003-11-20  5:11         ` Valdis.Kletnieks
2003-11-20  9:56         ` Ingo Oeser
2003-11-20 13:15           ` Ralph Metzler
2003-11-20  6:52       ` Matt Mackall
2003-11-20  7:40         ` Nick Piggin
2003-11-20 10:13         ` Geert Uytterhoeven
2003-11-20 10:17           ` William Lee Irwin III
2003-11-20 22:47             ` Bill Davidsen
2003-11-20 22:59               ` William Lee Irwin III
2003-11-20 23:26                 ` Oliver Hunt
2003-11-20 23:32                 ` Bill Davidsen
2003-11-20 13:19         ` Gene Heskett
2003-11-20 23:15         ` Bill Davidsen
2003-11-20  5:25     ` Jeff Garzik
2003-11-20  5:26       ` William Lee Irwin III
2003-11-20  6:54         ` Benjamin Herrenschmidt
2003-11-20 17:27           ` Jean Tourrilhes
2003-11-20 23:57             ` Benjamin Herrenschmidt
2003-11-21  0:03               ` Jean Tourrilhes
2003-11-20 16:47       ` Jason Lunz
2003-11-20 17:36         ` Jeff Garzik
2003-11-20 17:24     ` Jean Tourrilhes
2003-11-20 17:48       ` Richard B. Johnson
2003-11-20 18:03       ` William Lee Irwin III
2003-11-20 23:01       ` Bill Davidsen
2003-11-21  5:48         ` H. Peter Anvin
2003-11-21  7:26           ` Linus Torvalds
2003-11-21  7:37             ` H. Peter Anvin
2003-11-21  7:47             ` Nuno Silva
2003-11-21  7:51               ` Linus Torvalds
2003-11-20 10:55 ` Pavel Machek
2003-11-20 17:22   ` Jean Tourrilhes
2003-11-20 23:04 ` Bill Davidsen
2003-11-20 23:45   ` Jean Tourrilhes
2003-11-21 17:08     ` Bill Davidsen
2003-11-23 23:13 ` Jan Rychter
2003-11-18 11:02 Pontus Fuchs
2003-11-18 12:51 ` Christian Axelsson
2003-11-18 13:26   ` Maciej Zenczykowski
2003-11-18 13:37     ` Christian Axelsson
2003-11-18 13:49     ` Richard B. Johnson
2003-11-18 14:02       ` Arjan van de Ven
2003-11-18 13:59 ` Jeff Garzik
2003-11-18 14:14   ` Maciej Zenczykowski
2003-11-18 14:49     ` Jan-Benedict Glaw
2003-11-18 15:31       ` Maciej Zenczykowski
2003-11-18 14:19   ` Richard B. Johnson
2003-11-18 14:31   ` Davide Libenzi
2003-11-18 22:22 ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200311202150.23184.public@mikl.as \
    --to=public@mikl.as \
    --cc=benh@kernel.crashing.org \
    --cc=jgarzik@pobox.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®