Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Sep 2011 20:55:33 -0400
From:      Justin Hibbits <chmeeedalf@gmail.com>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        freebsd-wireless@freebsd.org, Nathan Whitehorn <nwhitehorn@freebsd.org>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: if_bwi on PowerBook G4
Message-ID:  <B1081314-81A7-41BE-A4E4-063DC1921E3B@gmail.com>
In-Reply-To: <CAJ-Vmonat_9LKqwXvk-seejwnoUkzhAKpGgePKtiSSdCgHykRg@mail.gmail.com>
References:  <4D05F135-FAD8-4C15-A942-D99F4F552FF6@gmail.com> <CAJ-VmombwO7PjaMaHifVE%2BUXwYp-umWko=sH=8eQZTX0t8p2Vw@mail.gmail.com> <4E7ADA31.10307@freebsd.org> <CAJ-VmonD1pzyFRjt6n9Qxj=E7N0U-VX477AwHkxyqP1rBPH9KQ@mail.gmail.com> <28BBDF20-2B20-4D0F-ADBD-84F0595352AA@gmail.com> <CAJ-Vmonat_9LKqwXvk-seejwnoUkzhAKpGgePKtiSSdCgHykRg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <chmeeedalf@gmail.com>  
> 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: <Broadcom BCM4318 802.11b/g Wireless Lan> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B1081314-81A7-41BE-A4E4-063DC1921E3B>