Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Apr 2012 20:57:24 -0700
From:      "Adrian Chadd" <adrian.chadd@gmail.com>
To:        "Peter Lazar" <pgl@bok.net>, "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>
Subject:   Re: wi driver
Message-ID:  <4f7d1836.c60e440a.6b03.ffff85a9@mx.google.com>
In-Reply-To: <20120404213548.GA3291@pgl-P5K-E>

next in thread | previous in thread | raw e-mail | index | archive | help
The trouble is that different cards and different versions of firmware supp=
ort different things. Some changes were committed a few years ago to suppor=
t raw frame TX and Rx which likely worked for one specific card/firmware co=
mbo but not all. Certainly not the old firmware cards I have.

I'm thinking of ripping that code out and making it optional and dependent=
 upon firmware checks. But more changes are needed- the current wi driver=
 does the MLME in net80211 which we can't unconditionally do.



Adrian


Sent from my Palm Pre on AT&amp;T
On Apr 4, 2012 2:35 PM, Peter Lazar &lt;pgl@bok.net&gt; wrote:=20

I run one more test using U.S. Robotics PCMCIA phone-line modem card,

to check whether maybe PCMCIA driver is broken in 8.0livefs:

modem appears to work okay.



My urge for a wi driver on freebsd 8.0 (and beyond) faded

(I am getting an iPad),

but if you wish we can meet and take a crack at it:

I have one t42 laptop with freebsd 8.2 that we can use.



Regards,



Peter



On Wed, Mar 28, 2012 at 06:24:33PM -0700, Peter Lazar wrote:

&gt; On Tue, Feb 07, 2012 at 03:33:38PM -0800, Adrian Chadd wrote:

&gt; &gt; Ok. How about say, Tuesday next week?

&gt; &gt;=20

&gt; &gt;=20

&gt; &gt; Adrian

&gt; &gt;=20

&gt; &gt; On 7 February 2012 15:29, Peter Lazar &lt;pgl@bok.net&gt; wrote:

&gt; &gt; &gt; On Tue, Feb 07, 2012 at 01:48:20PM -0800, Adrian Chadd wrote:

&gt; &gt; &gt;&gt; If we can find another working T42 or similar, we could=
 just spend a

&gt; &gt; &gt;&gt; weekend trying to make things work?

&gt; &gt; &gt;

&gt; &gt; &gt; I have an extra hard disk that I can pop in,

&gt; &gt; &gt; but let me try the live 8.0 cd first.

&gt; &gt; &gt;

&gt; &gt; &gt; -- p

&gt;=20

&gt; I ran a total of eight tests:

&gt; (ibm t42 + dell inspiron 6000) * (Lucent Orinoco + Senao 2511)

&gt; * (7.4 live + 8.0 live).

&gt;=20

&gt; I attach in this email my notes;

&gt; please observe the (sporadic, imho) "bfe0: link state changed to DOWN"=
 message).

&gt;=20

&gt; Regards,

&gt;=20

&gt; Peter

&gt;=20

&gt; -----

&gt; 1.

&gt; 7.4 livefs

&gt; ibm t42 laptop

&gt; Lucent WaveLAN/IEEE (Orinoco) PCMCIA card

&gt;=20

&gt; # card is inserted, log output is

&gt; wi0: &lt;Lucent Technologies WaveLAN/IEEE&gt; at port 0x4000-0x403f ir=
q 11 function 0 config 1 on pccard0

&gt; wi0: [ITHREAD]

&gt; wi0: using Lucent Technologies, WaveLAN/IEEE

&gt; wi0: Lucent Firmware: Station (7.28.1)

&gt; wi0: Ethernet address: 00:02:2d:40:67:00

&gt;=20

&gt; # setting the wireless card

&gt; ifconfig wi0 ssid colnago wepmode on weptxkey 1 wepkey 0x1234567890 up

&gt; mkdir /var/db

&gt; dhclient wi0

&gt;=20

&gt; # "netstat -nr" and "ifconfig wi0" give expected output,

&gt; # wi0 driver appears to work as expected.

&gt;=20

&gt; -----

&gt; 2.

&gt; 8.0 livefs

&gt; ibm t42 laptop

&gt; Lucent WaveLAN/IEEE (Orinoco) PCMCIA card

&gt;=20

&gt; # card is inserted, log output is

&gt; interrupt storm detected on "irq11:"; throttling interrupt source

&gt; wi0: &lt;Lucent Technologies WaveLAN/IEEE&gt; at port 0x100-0x13f irq1=
1 function 0 config 1 on pccard0

&gt; wi0: [ITHREAD]

&gt;=20

&gt; ifconfig wlan0 create wlandev wi0

&gt; # log output is

&gt; wlan0: Ethernet address: 00:02:2d:40:67:00

&gt;=20

&gt; ifconfig wlan0 ssid colnago wepmode on weptxkey 1 wepkey 0x1234567890=
 up

&gt; # relevant ifconfig output is

&gt; wi0: flags=3D8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; metric=
 0 mtu 2290

&gt; 	ether .....

&gt; 	media: IEEE 802.11 Wireless Ethernet autoselect mode 11b

&gt; 	status: associated

&gt; wlan0: flags=3D8c43&lt;UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST&=
gt; metric 0 mtu 1500

&gt; 	ether ...

&gt; 	inet6 ...

&gt; 	media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)

&gt; 	status: no carrier

&gt; 	ssid colnago channel 10 (2457 Mhz 11b)

&gt; ifconfig: missing or corrupted regdomain database

&gt;=20

&gt; # ejecting card

&gt; # log output

&gt; wi0: wi_seek_bap: timeout, id ffff off 0

&gt; wi0: wi_seek_bap: timeout, id ffff off 0

&gt; wi0: wi_seek_bap: timeout, id ffff off 0

&gt; wi0: wi_seek_bap: timeout, id ffff off 0

&gt; wi: wi_write_rid: bap0 write failure, rid 0xfc03

&gt; wi0: wi_seek_bap_ timeout, id fc00 off 0

&gt; wi: wi_write_rid: bap0 write failure, rid 0xfc03

&gt; wi0: wi_seek_bap_ timeout, id fc00 off 0

&gt; wi: wi_write_rid: bap0 write failure, rid 0xfc03

&gt; wi0: detached

&gt;=20

&gt; -----

&gt; 3.

&gt; 7.4 livefs

&gt; dell inspiron 6000 laptop

&gt; Lucent WaveLAN/IEEE (Orinoco) PCMCIA card

&gt;=20

&gt; # card is inserted, log output is

&gt; wi0: &lt;Lucent Technologies WaveLAN/IEEE&gt; at port 0x100-0x13f irq=
 19 function 0 config 1 on pccard0

&gt; wi0: [ITHREAD]

&gt; wi0: using Lucent Technologies, WaveLAN/IEEE

&gt; wi0: Lucent Firmware: Station (7.28.1)

&gt; wi0: Ethernet address: 00:02:2d:40:67:00

&gt;=20

&gt; # setting the wireless card

&gt; ifconfig wi0 ssid colnago wepmode on weptxkey 1 wepkey 0x1234567890 up

&gt; mkdir /var/db

&gt; dhclient wi0

&gt;=20

&gt; # "netstat -nr" and "ifconfig wi0" give expected output,

&gt; # wi0 driver appears to work as expected.

&gt;=20

&gt; -----

&gt; 4.

&gt; 8.0 livefs

&gt; dell inspiron 6000 laptop

&gt; Lucent WaveLAN/IEEE (Orinoco) PCMCIA card

&gt;=20

&gt; # card is inserted, log output is

&gt; wi0: &lt;Lucent Technologies WaveLAN/IEEE&gt; at port 0x100-0x13f irq=
 19 function 0 config 1 on pccard0

&gt; wi0: [ITHREAD]

&gt;=20

&gt; # setting the wireless card

&gt; ifconfig wlan0 create wlandev wi0

&gt; # log output is

&gt; bfe0: link state changed to DOWN

&gt; wlan0: Ethernet address: 00:02:2d:40:67:00

&gt; # relevant ifconfig output is

&gt; wi0: flags=3D8c43&lt;UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST&gt=
; metric 0 mtu 1500

&gt; 	ether .....

&gt; 	media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)

&gt; 	status: associated

&gt; wlan0: flags=3D8c43&lt;UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST&=
gt; metric 0 mtu 1500

&gt; 	ether ...

&gt; 	inet6 ...

&gt; 	media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)

&gt; 	status: no carrier

&gt; 	ssid colnago channel 10 (2457 Mhz 11b)

&gt; # I issued "ifconfig" command several times, and each time a different=
 channel number is displayed: 11,2,5,9,...

&gt; mkdir /var/db

&gt; dhclient wlan0

&gt; # output to term is

&gt; wlan0: no link ............ giving up

&gt; Fixit#

&gt;=20

&gt; # I removed the card

&gt; # term output is

&gt; ifconfig: missing or corrupted regdomain database

&gt; # log output is

&gt; wi0: wi_seek_bap: timeout, id ffff off 0

&gt; wi0: wi_seek_bap: timeout, id ffff off 0

&gt; wi0: wi_seek_bap: timeout, id ffff off 0

&gt; wi0: wi_seek_bap: timeout, id fc03 off 0

&gt; wi: wi_write_rid: bap0 write failure, rid 0xfc03

&gt; wi0: wi_seek_bap_ timeout, id fc00 off 0

&gt; wi: wi_write_rid: bap0 write failure, rid 0xfc00

&gt; wi0: wi_seek_bap_ timeout, id fc00 off 0

&gt; wi: wi_write_rid: bap0 write failure, rid 0xfc00

&gt; wi0: detached

&gt;=20

&gt; -----

&gt; 5.

&gt; 7.4 livefs

&gt; ibm t42 laptop

&gt; Senao 2511CD Plus

&gt;=20

&gt; # card is inserted, log output is

&gt; wi0: &lt;INTERSIL HFA384x/IEEE&gt; at port 0x4000-0x403f irq 11 functi=
on 0 config 1 on pccard0

&gt; wi0: [ITHREAD]

&gt; wi0: using RF:PRISM2.5 MAC:ISL3873

&gt; wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.9)

&gt; wi0: Ethernet address: 00:02:6f:...

&gt;=20

&gt; # setting the wireless card

&gt; ifconfig wi0 ssid colnago wepmode on weptxkey 1 wepkey 0x1234567890 up

&gt; mkdir /var/db

&gt; dhclient wi0

&gt;=20

&gt; # "netstat -nr" and "ifconfig wi0" give expected output,

&gt; # wi0 driver appears to work as expected.

&gt;=20

&gt; -----

&gt; 6.

&gt; 8.0 livefs

&gt; ibm t42 laptop

&gt; Senao 2511CD Plus

&gt;=20

&gt; # card is inserted, log output is

&gt; interrupt storm detected on "irq11:"; throttling interrupt source

&gt; wi0: &lt;INTERSIL HFA384x/IEEE&gt; at port 0x100-0x13f irq11 function=
 0 config 1 on pccard0

&gt; wi0: [ITHREAD]

&gt;=20

&gt; ifconfig wlan0 create wlandev wi0

&gt; # log output is

&gt; wlan0: Ethernet address: 00:02:2d:40:67:00

&gt;=20

&gt; ifconfig wlan0 ssid colnago wepmode on weptxkey 1 wepkey 0x1234567890=
 up

&gt; # relevant ifconfig output is

&gt; wi0: flags=3D8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; metric=
 0 mtu 2290

&gt; 	ether .....

&gt; 	media: IEEE 802.11 Wireless Ethernet autoselect mode 11b

&gt; 	status: associated

&gt; wlan0: flags=3D8c43&lt;UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST&=
gt; metric 0 mtu 1500

&gt; 	ether ...

&gt; 	inet6 ...

&gt; 	media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)

&gt; 	status: no carrier

&gt; 	ssid colnago channel 10 (2457 Mhz 11b)

&gt; ifconfig: missing or corrupted regdomain database

&gt;=20

&gt; # ejecting card

&gt; # log output

&gt; wi0: wi_seek_bap: timeout, id ffff off 0

&gt; wi0: wi_seek_bap: timeout, id ffff off 0

&gt; wi0: wi_seek_bap: timeout, id ffff off 0

&gt; wi0: wi_seek_bap: timeout, id ffff off 0

&gt; wi: wi_write_rid: bap0 write failure, rid 0xfc03

&gt; wi0: wi_seek_bap_ timeout, id fc00 off 0

&gt; wi: wi_write_rid: bap0 write failure, rid 0xfc00

&gt; wi0: wi_seek_bap_ timeout, id fc80 off 0

&gt; wi: wi_write_rid: bap0 write failure, rid 0xfc80

&gt; wi0: detached

&gt;=20

&gt; -----

&gt; 7.

&gt; 7.4 livefs

&gt; dell inspiron 6000 laptop

&gt; Senao 2511CD Plus

&gt;=20

&gt; # card is inserted, log output is

&gt; wi0: &lt;INTERSIL HFA384x/IEEE&gt; at port 0x100-0x13f irq 19 function=
 0 config 1 on pccard0

&gt; wi0: [ITHREAD]

&gt; wi0: using RF:PRISM2.5 MAC:ISL3873

&gt; wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.9)

&gt; wi0: Ethernet address: 00:02:6f:...

&gt;=20

&gt; # setting the wireless card

&gt; ifconfig wi0 ssid colnago wepmode on weptxkey 1 wepkey 0x1234567890 up

&gt; mkdir /var/db

&gt; dhclient wi0

&gt;=20

&gt; # "netstat -nr" and "ifconfig wi0" give expected output,

&gt; # wi0 driver appears to work as expected.

&gt;=20

&gt; # when the card is removed, log output

&gt; wi0: link state changed to DOWN

&gt; wi0: timeout in wi_seek to ffff/0

&gt; wi0: timeout in wi_seek to ffff/0

&gt; wi0: timeout in wi_seek to ffff/0

&gt; wi0: detached

&gt;=20

&gt; -----

&gt; 8.

&gt; 8.0 livefs

&gt; dell inspiron 6000 laptop

&gt; Senao 2511CD Plus

&gt;=20

&gt; # card is inserted, log output is

&gt; wi0: &lt;INTERSIL HFA384x/IEEE&gt; at port 0x100-0x13f irq19 function=
 0 config 1 on pccard0

&gt; wi0: [ITHREAD]

&gt;=20

&gt; # setting the wireless card

&gt; ifconfig wlan0 ssid colnago wepmode on weptxkey 1 wepkey 0x1234567890=
 up

&gt; # relevant ifconfig output is

&gt; wi0: flags=3D8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; metric=
 0 mtu 2290

&gt; 	ether .....

&gt; 	media: IEEE 802.11 Wireless Ethernet autoselect mode 11b

&gt; 	status: associated

&gt; wlan0: flags=3D8c43&lt;UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST&=
gt; metric 0 mtu 1500

&gt; 	ether ...

&gt; 	inet6 ...

&gt; 	media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)

&gt; 	status: no carrier

&gt; 	ssid colnago channel 10 (2457 Mhz 11b)

&gt; ifconfig: missing or corrupted regdomain database

&gt; # I issued "ifconfig" command several times, and each time a different=
 channel number is displayed: 11,2,5,9,...

&gt; mkdir /var/db

&gt; dhclient wlan0

&gt; # output to term is

&gt; wlan0: no link ............ giving up

&gt; # log output

&gt; bfe0: link state changed to DOWN

&gt;=20

&gt; # I removed the card

&gt; # term output is

&gt; ifconfig: missing or corrupted regdomain database

&gt; # log output is

&gt; wi0: wi_seek_bap: timeout, id ffff off 0

&gt; wi0: wi_seek_bap: timeout, id ffff off 0

&gt; wi0: wi_seek_bap: timeout, id ffff off 0

&gt; wi0: wi_seek_bap: timeout, id fc03 off 0

&gt; wi: wi_write_rid: bap0 write failure, rid 0xfc03

&gt; wi0: wi_seek_bap_ timeout, id fc00 off 0

&gt; wi: wi_write_rid: bap0 write failure, rid 0xfc00

&gt; wi0: wi_seek_bap_ timeout, id fc80 off 0

&gt; wi: wi_write_rid: bap0 write failure, rid 0xfc80

&gt; wi0: detached





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4f7d1836.c60e440a.6b03.ffff85a9>