From owner-freebsd-wireless@FreeBSD.ORG Thu Apr 5 03:57:44 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 70D83106566C for ; Thu, 5 Apr 2012 03:57:44 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) by mx1.freebsd.org (Postfix) with ESMTP id 3E2648FC1D for ; Thu, 5 Apr 2012 03:57:43 +0000 (UTC) Received: by dadz14 with SMTP id z14so3951198dad.17 for ; Wed, 04 Apr 2012 20:57:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:to:reply-to:subject:in-reply-to:x-mailer :mime-version:content-type; bh=YmqU/RvAMCZbCCl0yOZ03ERGL6h0SQAt/y3qrc/Aj6o=; b=v/rrVf3fuQCPZVnuqidZhfSCEP4FDqyXQiDtcPUJfOUpsXjsj7tRH/BHK6/G+V6j7E Z8PDdC/KqZxlPgttQe1OJJ0vW6DCUoRb4LlF8K63zpL9bnMywhoQEUBIPrZcnB00u9mC EmKz4aEbSsWlgjnJAaPVAjIpAyDbNQOuquOjRP1qO+IRzxZlZ4jbNjuldu52uxzp9E1K RP2ytzK1nsVSSk+xcoQc5BkqV6r12kwp8SnHUArUMJTsGmWvrWNVwqXeEN5YwfTk3Dj9 et07RalDKqlX+VwTqJq0ibqcKP+yfvp0BsLAVQBt8Ojk74Xgl+HCgaqM9GjHwrfvlWYr TmVQ== Received: by 10.68.135.38 with SMTP id pp6mr3265530pbb.82.1333598263745; Wed, 04 Apr 2012 20:57:43 -0700 (PDT) Received: from www.palm.com ([32.157.192.154]) by mx.google.com with ESMTPS id r6sm2039435pbc.40.2012.04.04.20.57.33 (version=SSLv3 cipher=OTHER); Wed, 04 Apr 2012 20:57:42 -0700 (PDT) Message-ID: <4f7d1836.c60e440a.6b03.ffff85a9@mx.google.com> Date: Wed, 4 Apr 2012 20:57:24 -0700 From: "Adrian Chadd" To: "Peter Lazar" , "freebsd-wireless@freebsd.org" In-Reply-To: <20120404213548.GA3291@pgl-P5K-E> X-Mailer: Palm webOS v1.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: wi driver X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Adrian Chadd 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: Thu, 05 Apr 2012 03:57:44 -0000 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&T On Apr 4, 2012 2:35 PM, Peter Lazar <pgl@bok.net> 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: > On Tue, Feb 07, 2012 at 03:33:38PM -0800, Adrian Chadd wrote: > > Ok. How about say, Tuesday next week? > >=20 > >=20 > > Adrian > >=20 > > On 7 February 2012 15:29, Peter Lazar <pgl@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 >=20 > I ran a total of eight tests: > (ibm t42 + dell inspiron 6000) * (Lucent Orinoco + Senao 2511) > * (7.4 live + 8.0 live). >=20 > I attach in this email my notes; > please observe the (sporadic, imho) "bfe0: link state changed to DOWN"= message). >=20 > Regards, >=20 > Peter >=20 > ----- > 1. > 7.4 livefs > ibm t42 laptop > Lucent WaveLAN/IEEE (Orinoco) PCMCIA card >=20 > # card is inserted, log output is > wi0: <Lucent Technologies WaveLAN/IEEE> at port 0x4000-0x403f ir= q 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 >=20 > # setting the wireless card > ifconfig wi0 ssid colnago wepmode on weptxkey 1 wepkey 0x1234567890 up > mkdir /var/db > dhclient wi0 >=20 > # "netstat -nr" and "ifconfig wi0" give expected output, > # wi0 driver appears to work as expected. >=20 > ----- > 2. > 8.0 livefs > ibm t42 laptop > Lucent WaveLAN/IEEE (Orinoco) PCMCIA card >=20 > # card is inserted, log output is > interrupt storm detected on "irq11:"; throttling interrupt source > wi0: <Lucent Technologies WaveLAN/IEEE> at port 0x100-0x13f irq1= 1 function 0 config 1 on pccard0 > wi0: [ITHREAD] >=20 > ifconfig wlan0 create wlandev wi0 > # log output is > wlan0: Ethernet address: 00:02:2d:40:67:00 >=20 > ifconfig wlan0 ssid colnago wepmode on weptxkey 1 wepkey 0x1234567890= up > # relevant ifconfig output is > wi0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric= 0 mtu 2290 > ether ..... > media: IEEE 802.11 Wireless Ethernet autoselect mode 11b > status: associated > wlan0: flags=3D8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST&= gt; 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 >=20 > # 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 >=20 > ----- > 3. > 7.4 livefs > dell inspiron 6000 laptop > Lucent WaveLAN/IEEE (Orinoco) PCMCIA card >=20 > # 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 >=20 > # setting the wireless card > ifconfig wi0 ssid colnago wepmode on weptxkey 1 wepkey 0x1234567890 up > mkdir /var/db > dhclient wi0 >=20 > # "netstat -nr" and "ifconfig wi0" give expected output, > # wi0 driver appears to work as expected. >=20 > ----- > 4. > 8.0 livefs > dell inspiron 6000 laptop > Lucent WaveLAN/IEEE (Orinoco) PCMCIA card >=20 > # 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] >=20 > # 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=3D8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST>= ; metric 0 mtu 1500 > ether ..... > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: associated > wlan0: flags=3D8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST&= gt; 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# >=20 > # 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 >=20 > ----- > 5. > 7.4 livefs > ibm t42 laptop > Senao 2511CD Plus >=20 > # card is inserted, log output is > wi0: <INTERSIL HFA384x/IEEE> at port 0x4000-0x403f irq 11 functi= on 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:... >=20 > # setting the wireless card > ifconfig wi0 ssid colnago wepmode on weptxkey 1 wepkey 0x1234567890 up > mkdir /var/db > dhclient wi0 >=20 > # "netstat -nr" and "ifconfig wi0" give expected output, > # wi0 driver appears to work as expected. >=20 > ----- > 6. > 8.0 livefs > ibm t42 laptop > Senao 2511CD Plus >=20 > # 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] >=20 > ifconfig wlan0 create wlandev wi0 > # log output is > wlan0: Ethernet address: 00:02:2d:40:67:00 >=20 > ifconfig wlan0 ssid colnago wepmode on weptxkey 1 wepkey 0x1234567890= up > # relevant ifconfig output is > wi0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric= 0 mtu 2290 > ether ..... > media: IEEE 802.11 Wireless Ethernet autoselect mode 11b > status: associated > wlan0: flags=3D8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST&= gt; 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 >=20 > # 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 >=20 > ----- > 7. > 7.4 livefs > dell inspiron 6000 laptop > Senao 2511CD Plus >=20 > # 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:... >=20 > # setting the wireless card > ifconfig wi0 ssid colnago wepmode on weptxkey 1 wepkey 0x1234567890 up > mkdir /var/db > dhclient wi0 >=20 > # "netstat -nr" and "ifconfig wi0" give expected output, > # wi0 driver appears to work as expected. >=20 > # 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 >=20 > ----- > 8. > 8.0 livefs > dell inspiron 6000 laptop > Senao 2511CD Plus >=20 > # card is inserted, log output is > wi0: <INTERSIL HFA384x/IEEE> at port 0x100-0x13f irq19 function= 0 config 1 on pccard0 > wi0: [ITHREAD] >=20 > # setting the wireless card > ifconfig wlan0 ssid colnago wepmode on weptxkey 1 wepkey 0x1234567890= up > # relevant ifconfig output is > wi0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric= 0 mtu 2290 > ether ..... > media: IEEE 802.11 Wireless Ethernet autoselect mode 11b > status: associated > wlan0: flags=3D8c43<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST&= gt; 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 >=20 > # 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