wi driver

Adrian Chadd adrian.chadd at gmail.com
Thu Apr 5 03:57:44 UTC 2012


The trouble is that different cards and different versions of firmware support different things. Some changes were committed a few years ago to support raw frame TX and Rx which likely worked for one specific card/firmware combo 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&T
On Apr 4, 2012 2:35 PM, Peter Lazar <pgl at bok.net> wrote: 

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:

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

> > Ok. How about say, Tuesday next week?

> > 

> > 

> > Adrian

> > 

> > On 7 February 2012 15:29, Peter Lazar <pgl at bok.net> wrote:

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

> > >> If we can find another working T42 or similar, we could just spend a

> > >> weekend trying to make things work?

> > >

> > > I have an extra hard disk that I can pop in,

> > > but let me try the live 8.0 cd first.

> > >

> > > -- p

> 

> I ran a total of eight tests:

> (ibm t42 + dell inspiron 6000) * (Lucent Orinoco + Senao 2511)

> * (7.4 live + 8.0 live).

> 

> I attach in this email my notes;

> please observe the (sporadic, imho) "bfe0: link state changed to DOWN" message).

> 

> Regards,

> 

> Peter

> 

> -----

> 1.

> 7.4 livefs

> ibm t42 laptop

> Lucent WaveLAN/IEEE (Orinoco) PCMCIA card

> 

> # card is inserted, log output is

> wi0: <Lucent Technologies WaveLAN/IEEE> at port 0x4000-0x403f irq 11 function 0 config 1 on pccard0

> wi0: [ITHREAD]

> wi0: using Lucent Technologies, WaveLAN/IEEE

> wi0: Lucent Firmware: Station (7.28.1)

> wi0: Ethernet address: 00:02:2d:40:67:00

> 

> # setting the wireless card

> ifconfig wi0 ssid colnago wepmode on weptxkey 1 wepkey 0x1234567890 up

> mkdir /var/db

> dhclient wi0

> 

> # "netstat -nr" and "ifconfig wi0" give expected output,

> # wi0 driver appears to work as expected.

> 

> -----

> 2.

> 8.0 livefs

> ibm t42 laptop

> Lucent WaveLAN/IEEE (Orinoco) PCMCIA card

> 

> # card is inserted, log output is

> interrupt storm detected on "irq11:"; throttling interrupt source

> wi0: <Lucent Technologies WaveLAN/IEEE> at port 0x100-0x13f irq11 function 0 config 1 on pccard0

> wi0: [ITHREAD]

> 

> ifconfig wlan0 create wlandev wi0

> # log output is

> wlan0: Ethernet address: 00:02:2d:40:67:00

> 

> ifconfig wlan0 ssid colnago wepmode on weptxkey 1 wepkey 0x1234567890 up

> # relevant ifconfig output is

> wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290

> 	ether .....

> 	media: IEEE 802.11 Wireless Ethernet autoselect mode 11b

> 	status: associated

> wlan0: flags=8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500

> 	ether ...

> 	inet6 ...

> 	media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)

> 	status: no carrier

> 	ssid colnago channel 10 (2457 Mhz 11b)

> ifconfig: missing or corrupted regdomain database

> 

> # ejecting card

> # log output

> wi0: wi_seek_bap: timeout, id ffff off 0

> wi0: wi_seek_bap: timeout, id ffff off 0

> wi0: wi_seek_bap: timeout, id ffff off 0

> wi0: wi_seek_bap: timeout, id ffff off 0

> wi: wi_write_rid: bap0 write failure, rid 0xfc03

> wi0: wi_seek_bap_ timeout, id fc00 off 0

> wi: wi_write_rid: bap0 write failure, rid 0xfc03

> wi0: wi_seek_bap_ timeout, id fc00 off 0

> wi: wi_write_rid: bap0 write failure, rid 0xfc03

> wi0: detached

> 

> -----

> 3.

> 7.4 livefs

> dell inspiron 6000 laptop

> Lucent WaveLAN/IEEE (Orinoco) PCMCIA card

> 

> # card is inserted, log output is

> wi0: <Lucent Technologies WaveLAN/IEEE> at port 0x100-0x13f irq 19 function 0 config 1 on pccard0

> wi0: [ITHREAD]

> wi0: using Lucent Technologies, WaveLAN/IEEE

> wi0: Lucent Firmware: Station (7.28.1)

> wi0: Ethernet address: 00:02:2d:40:67:00

> 

> # setting the wireless card

> ifconfig wi0 ssid colnago wepmode on weptxkey 1 wepkey 0x1234567890 up

> mkdir /var/db

> dhclient wi0

> 

> # "netstat -nr" and "ifconfig wi0" give expected output,

> # wi0 driver appears to work as expected.

> 

> -----

> 4.

> 8.0 livefs

> dell inspiron 6000 laptop

> Lucent WaveLAN/IEEE (Orinoco) PCMCIA card

> 

> # card is inserted, log output is

> wi0: <Lucent Technologies WaveLAN/IEEE> at port 0x100-0x13f irq 19 function 0 config 1 on pccard0

> wi0: [ITHREAD]

> 

> # setting the wireless card

> ifconfig wlan0 create wlandev wi0

> # log output is

> bfe0: link state changed to DOWN

> wlan0: Ethernet address: 00:02:2d:40:67:00

> # relevant ifconfig output is

> wi0: flags=8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500

> 	ether .....

> 	media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)

> 	status: associated

> wlan0: flags=8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500

> 	ether ...

> 	inet6 ...

> 	media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)

> 	status: no carrier

> 	ssid colnago channel 10 (2457 Mhz 11b)

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

> mkdir /var/db

> dhclient wlan0

> # output to term is

> wlan0: no link ............ giving up

> Fixit#

> 

> # I removed the card

> # term output is

> ifconfig: missing or corrupted regdomain database

> # log output is

> wi0: wi_seek_bap: timeout, id ffff off 0

> wi0: wi_seek_bap: timeout, id ffff off 0

> wi0: wi_seek_bap: timeout, id ffff off 0

> wi0: wi_seek_bap: timeout, id fc03 off 0

> wi: wi_write_rid: bap0 write failure, rid 0xfc03

> wi0: wi_seek_bap_ timeout, id fc00 off 0

> wi: wi_write_rid: bap0 write failure, rid 0xfc00

> wi0: wi_seek_bap_ timeout, id fc00 off 0

> wi: wi_write_rid: bap0 write failure, rid 0xfc00

> wi0: detached

> 

> -----

> 5.

> 7.4 livefs

> ibm t42 laptop

> Senao 2511CD Plus

> 

> # card is inserted, log output is

> wi0: <INTERSIL HFA384x/IEEE> at port 0x4000-0x403f irq 11 function 0 config 1 on pccard0

> wi0: [ITHREAD]

> wi0: using RF:PRISM2.5 MAC:ISL3873

> wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.9)

> wi0: Ethernet address: 00:02:6f:...

> 

> # setting the wireless card

> ifconfig wi0 ssid colnago wepmode on weptxkey 1 wepkey 0x1234567890 up

> mkdir /var/db

> dhclient wi0

> 

> # "netstat -nr" and "ifconfig wi0" give expected output,

> # wi0 driver appears to work as expected.

> 

> -----

> 6.

> 8.0 livefs

> ibm t42 laptop

> Senao 2511CD Plus

> 

> # card is inserted, log output is

> interrupt storm detected on "irq11:"; throttling interrupt source

> wi0: <INTERSIL HFA384x/IEEE> at port 0x100-0x13f irq11 function 0 config 1 on pccard0

> wi0: [ITHREAD]

> 

> ifconfig wlan0 create wlandev wi0

> # log output is

> wlan0: Ethernet address: 00:02:2d:40:67:00

> 

> ifconfig wlan0 ssid colnago wepmode on weptxkey 1 wepkey 0x1234567890 up

> # relevant ifconfig output is

> wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290

> 	ether .....

> 	media: IEEE 802.11 Wireless Ethernet autoselect mode 11b

> 	status: associated

> wlan0: flags=8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500

> 	ether ...

> 	inet6 ...

> 	media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)

> 	status: no carrier

> 	ssid colnago channel 10 (2457 Mhz 11b)

> ifconfig: missing or corrupted regdomain database

> 

> # ejecting card

> # log output

> wi0: wi_seek_bap: timeout, id ffff off 0

> wi0: wi_seek_bap: timeout, id ffff off 0

> wi0: wi_seek_bap: timeout, id ffff off 0

> wi0: wi_seek_bap: timeout, id ffff off 0

> wi: wi_write_rid: bap0 write failure, rid 0xfc03

> wi0: wi_seek_bap_ timeout, id fc00 off 0

> wi: wi_write_rid: bap0 write failure, rid 0xfc00

> wi0: wi_seek_bap_ timeout, id fc80 off 0

> wi: wi_write_rid: bap0 write failure, rid 0xfc80

> wi0: detached

> 

> -----

> 7.

> 7.4 livefs

> dell inspiron 6000 laptop

> Senao 2511CD Plus

> 

> # card is inserted, log output is

> wi0: <INTERSIL HFA384x/IEEE> at port 0x100-0x13f irq 19 function 0 config 1 on pccard0

> wi0: [ITHREAD]

> wi0: using RF:PRISM2.5 MAC:ISL3873

> wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.9)

> wi0: Ethernet address: 00:02:6f:...

> 

> # setting the wireless card

> ifconfig wi0 ssid colnago wepmode on weptxkey 1 wepkey 0x1234567890 up

> mkdir /var/db

> dhclient wi0

> 

> # "netstat -nr" and "ifconfig wi0" give expected output,

> # wi0 driver appears to work as expected.

> 

> # when the card is removed, log output

> wi0: link state changed to DOWN

> wi0: timeout in wi_seek to ffff/0

> wi0: timeout in wi_seek to ffff/0

> wi0: timeout in wi_seek to ffff/0

> wi0: detached

> 

> -----

> 8.

> 8.0 livefs

> dell inspiron 6000 laptop

> Senao 2511CD Plus

> 

> # card is inserted, log output is

> wi0: <INTERSIL HFA384x/IEEE> at port 0x100-0x13f irq19 function 0 config 1 on pccard0

> wi0: [ITHREAD]

> 

> # setting the wireless card

> ifconfig wlan0 ssid colnago wepmode on weptxkey 1 wepkey 0x1234567890 up

> # relevant ifconfig output is

> wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290

> 	ether .....

> 	media: IEEE 802.11 Wireless Ethernet autoselect mode 11b

> 	status: associated

> wlan0: flags=8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500

> 	ether ...

> 	inet6 ...

> 	media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)

> 	status: no carrier

> 	ssid colnago channel 10 (2457 Mhz 11b)

> ifconfig: missing or corrupted regdomain database

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

> mkdir /var/db

> dhclient wlan0

> # output to term is

> wlan0: no link ............ giving up

> # log output

> bfe0: link state changed to DOWN

> 

> # I removed the card

> # term output is

> ifconfig: missing or corrupted regdomain database

> # log output is

> wi0: wi_seek_bap: timeout, id ffff off 0

> wi0: wi_seek_bap: timeout, id ffff off 0

> wi0: wi_seek_bap: timeout, id ffff off 0

> wi0: wi_seek_bap: timeout, id fc03 off 0

> wi: wi_write_rid: bap0 write failure, rid 0xfc03

> wi0: wi_seek_bap_ timeout, id fc00 off 0

> wi: wi_write_rid: bap0 write failure, rid 0xfc00

> wi0: wi_seek_bap_ timeout, id fc80 off 0

> wi: wi_write_rid: bap0 write failure, rid 0xfc80

> wi0: detached




More information about the freebsd-wireless mailing list