From owner-freebsd-wireless@FreeBSD.ORG Wed Sep 28 00:55:38 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 B7581106566C; Wed, 28 Sep 2011 00:55:38 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2CF948FC14; Wed, 28 Sep 2011 00:55:38 +0000 (UTC) Received: by yxk36 with SMTP id 36so7450767yxk.13 for ; Tue, 27 Sep 2011 17:55:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:mime-version:subject :date:references:x-mailer; bh=4hVYUNkyqeA8pJYn4VoLFzzaIMMZ9RMQufYxgHfXBvw=; b=s8xBybaozBTD+H1Cc989mV8I8AoRV7Htz255bjpBy0L8ZYPmyIEAZDnwEmL6O0zqB5 nU2e5AdtCIQcD5rHMcBQphHYYT0/NvWuhHPKeQO3Ecx7UYkq3ZXF3UlXpeiyDzzCEIs4 Uy5nvGPoMY/bvIqVnAi3g98O2ZVMxCq8h0Sw8= Received: by 10.236.170.3 with SMTP id o3mr51391616yhl.108.1317171337584; Tue, 27 Sep 2011 17:55:37 -0700 (PDT) Received: from triad.knownspace (216-15-41-8.c3-0.gth-ubr1.lnh-gth.md.cable.rcn.com. [216.15.41.8]) by mx.google.com with ESMTPS id s19sm83588183anm.20.2011.09.27.17.55.35 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 27 Sep 2011 17:55:36 -0700 (PDT) Message-Id: From: Justin Hibbits To: Adrian Chadd In-Reply-To: Content-Type: multipart/mixed; boundary=Apple-Mail-18--438282869 Mime-Version: 1.0 (Apple Message framework v936) Date: Tue, 27 Sep 2011 20:55:33 -0400 References: <4D05F135-FAD8-4C15-A942-D99F4F552FF6@gmail.com> <4E7ADA31.10307@freebsd.org> <28BBDF20-2B20-4D0F-ADBD-84F0595352AA@gmail.com> X-Mailer: Apple Mail (2.936) Cc: freebsd-wireless@freebsd.org, Nathan Whitehorn , FreeBSD PowerPC ML Subject: Re: if_bwi on PowerBook G4 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: Wed, 28 Sep 2011 00:55:38 -0000 --Apple-Mail-18--438282869 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Sep 25, 2011, at 9:50 PM, Adrian Chadd wrote: > On 26 September 2011 09:34, Justin Hibbits > wrote: > >> I haven't looked at the driver, but I can report success using it >> now. I'm >> able to associate and link, but it won't scan. I still see the >> 'invalid >> antenna gain' message, too. > > Is someone able to grab a bwi and throw it in a PC and PPC device, and > add appropriate debug code to dump the contents of the EEPROM? > I'd like to compare what values its reading. > > Thanks, > > > Adrian Hi Adrian, As you requested, here's a dump of the first 128 bytes of the SPROM, of my Linksys WPC54G, attached. I only have it from my TiBook, but I dumped raw and cooked words. The log includes everything from module load with verbose boot. - Justin --Apple-Mail-18--438282869 Content-Disposition: attachment; filename=dmesg.log Content-Type: application/octet-stream; x-unix-mode=0644; name="dmesg.log" Content-Transfer-Encoding: 7bit pci0: driver added pci1: driver added pci2: driver added found-> vendor=0x11c1, dev=0x5811, revid=0x00 domain=2, bus=0, slot=14, func=0 class=0c-00-10, hdrtype=0x00, mfdev=0 cmdreg=0x0006, statreg=0x0290, cachelnsz=8 (dwords) lattimer=0x10 (480 ns), mingnt=0x0c (3000 ns), maxlat=0x18 (6000 ns) intpin=a, irq=40 powerspec 2 supports D0 D1 D2 D3 current D0 pci2:0:14:0: reprobing on driver added found-> vendor=0x14e4, dev=0x4318, revid=0x02 domain=1, bus=1, slot=0, func=0 class=02-80-00, hdrtype=0x00, mfdev=0 cmdreg=0x0002, statreg=0x0000, cachelnsz=0 (dwords) lattimer=0xa8 (5040 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=58 pci1:1:0:0: reprobing on driver added bwi0: mem 0x88000000-0x88001fff irq 58 at device 0.0 on cardbus0 uninorth mapdev: start 88000000, len 8192 cbb0: Opening memory: cbb0: Normal: 0x88000000-0x88001fff 0: 2001 0000 0048 1737 8: 4318 8000 0002 0000 10: 1000 1800 0000 0000 18: ffff ffff ffff ffff 20: ffff ffff ffff ffff 28: ffff ffff ffff ffff 30: ffff ffff ffff ffff 38: 0000 ffff ffff ffff 40: ffff ffff ffff ffff 48: 0018 f8ff 9fae ffff 50: ffff ffff ffff ffff 58: ffff ffff 3031 1612 60: faba fe98 ffff ffff 68: 004c ffff ffff ffff 70: 003e 248 ff02 5553 78: ff10 ffff ffff 6002 Raw 0: 0120 0000 4800 3717 8: 1843 0080 0200 0000 10: 0010 0018 0000 0000 18: ffff ffff ffff ffff 20: ffff ffff ffff ffff 28: ffff ffff ffff ffff 30: ffff ffff ffff ffff 38: 0000 ffff ffff ffff 40: ffff ffff ffff ffff 48: 1800 fff8 ae9f ffff 50: ffff ffff ffff ffff 58: ffff ffff 3130 1216 60: bafa 98fe ffff ffff 68: 4c00 ffff ffff ffff 70: 3e00 4802 02ff 5355 78: 10ff ffff ffff 0260 bwi0: BBP: id 0x4318, rev 0x2, pkg 2 bwi0: MAC: rev 9 bwi0: PHY: type 2, rev 7, ver 3 bwi0: RF: manu 0x17f, type 0x2050, rev 8 bwi0: invalid antenna gain in sprom bwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps bwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps --Apple-Mail-18--438282869 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit --Apple-Mail-18--438282869--