From ruben  Tue Jul  1 02:33:48 2003
From: ruben (Ruben Puettmann)
Date: Tue, 1 Jul 2003 11:33:48 +0200
Subject: Searching Firmware for NICID: id=0x8003
Message-ID: <20030701093348.GA2305@puettmann.net>


        hy,

im searching Firmware for my pheenet PCI wlan card. 

NICID: id=0x8003 v1.0.0 (HWB3163 Rev B, Samsung PC Card Rev. B)
PRIID: id=0x0015 v0.3.0
STAID: id=0x001f v0.8.3 (station firmware)

All images I have found doesn't contain NICID: id=0x8003

        thx

            Ruben


-- 
Ruben Puettmann
ruben at puettmann.net
http://www.puettmann.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20030701/5008f2ca/attachment.pgp 


From tomislav.sajdl  Tue Jul  1 03:09:04 2003
From: tomislav.sajdl (Tomislav Sajdl)
Date: Tue, 1 Jul 2003 12:09:04 +0200
Subject: what are the minimal requirements for hostap installation
Message-ID: <200307011209.04141.tomislav.sajdl@communitymesh.com>

What is minimal setup for hostap driver to run for pcmcia card?

I tried loading manually modules (I have no config files, just modules without 
parameters), I receive no error, but still iwconfig reports no new interface.

What should I do except insmoding modules?

I tried to see what the card manager is doing, but I was unable to see what I 
am doing wrong.

Tomislav



From lmerzoug  Tue Jul  1 07:24:18 2003
From: lmerzoug (lmerzoug at esil.univ-mrs.fr)
Date: Tue,  1 Jul 2003 16:24:18 +0200
Subject: I want to use the hostAp drivers on an prism usb wireless device
Message-ID: <1057069458.3f01999240e93@webmail.esil.univ-mrs.fr>



Hi!

anyone knows if i can use the hostAp drivers with my prism usb wireless device


thanks

-------------------------------------------------
Message envoy? via le webmail de l'ESIL (http://www.esil.univ-mrs.fr)
reposant sur le syst?me libre et gratuit IMP (http://horde.org/imp/)



From vincas  Tue Jul  1 13:27:07 2003
From: vincas (Vincas Ciziunas)
Date: Tue, 1 Jul 2003 16:27:07 -0400 (EDT)
Subject: arm hostap problems...
Message-ID: <Pine.LNX.4.30.0307011624310.31264-100000@gwyn.tux.org>

I saw the following message in the archives and was wondering if anything
has come of it...I'd appreciate hearing any input anyone might have on
this problem.  It only seems to do this on an ipaq, it does not seem to
do this on a sharp zaurus:

channel / mode changing on arm
Florian Boor boor at somewhere
Thu Jun 12 14:21:22 GMT 2003


--------------------------------------------------------------------------------

Hello!

Jouni Malinen wrote:

> Please include 'dmesg' output after such a failure when reporting
> problems.

This happens when you switch to monitor mode and start to change channels.
The card that was uses is a Netgear MA401RA.

Here it is the output from dmesg:

Enabling monitor mode
wlan0: CMD=0x0121 => res=0x7f, resp0=0x0004
wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fc28,
len=2)
WEP flags setting failed
device wlan0 entered promiscuous mode
wlan0: hfa384x_setup_bap - timeout after
wlan0: hfa384x_set_rid (rid=fc03, len=2) - failed - res=-110
wlan0: hfa384x_setup_bap - timeout before
wlan0: hfa384x_set_rid (rid=fc03, len=2) - failed - res=-110
wlan0: hfa384x_setup_bap - timeout before
wlan0: hfa384x_set_rid (rid=fc03, len=2) - failed - res=-110
wlan0: hfa384x_setup_bap - timeout before
... repeats while changing channel ...

----------------------------------------------------------------



From litinoveweedle  Tue Jul  1 13:37:45 2003
From: litinoveweedle (Dominik Strnad)
Date: Tue, 1 Jul 2003 22:37:45 +0200
Subject: Hostap speed question
In-Reply-To: <m38yrlmmis.fsf@localhost.localdomain>
Message-ID: <000801c34010$a0f82fe0$0a01a8c0@litin>

Hello,
I am running Linux box based on Bearing distrib with hostap 0.0.3 version. I
have two prism based cards one in Managed, second in Master mode.
Hostap is stable and I have also good speed from clients to AP - up to
600kbits. Problem is when clients on AP wants co comunicate each to others.
Speed will decrease rapidly and finish at about 6 - 10kbits.
Is this normal? Can I avoid this problem? All clients have signal about 34.
There is no nois in my locality.

Thank you very much.

LTOW





From vincas  Tue Jul  1 13:47:56 2003
From: vincas (Vincas Ciziunas)
Date: Tue, 1 Jul 2003 16:47:56 -0400 (EDT)
Subject: arm hostap problems...
In-Reply-To: <Pine.LNX.4.30.0307011624310.31264-100000@gwyn.tux.org>
Message-ID: <Pine.LNX.4.30.0307011647030.4944-100000@gwyn.tux.org>

also, if  I use the monitor mode and I insert the card after the pcmcia
servicees have started, this is the dmesg output:

Enabling monitor mode
Enabling monitor mode
wlan0: CMD=0x0121 => res=0x7f, resp0=0x0004
wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fc28,
len=2)
WEP flags setting failed

any ideas on what could be going wrong??



On Tue, 1 Jul 2003, Vincas Ciziunas wrote:

> I saw the following message in the archives and was wondering if anything
> has come of it...I'd appreciate hearing any input anyone might have on
> this problem.  It only seems to do this on an ipaq, it does not seem to
> do this on a sharp zaurus:
>
> channel / mode changing on arm
> Florian Boor boor at somewhere
> Thu Jun 12 14:21:22 GMT 2003
>
>
> --------------------------------------------------------------------------------
>
> Hello!
>
> Jouni Malinen wrote:
>
> > Please include 'dmesg' output after such a failure when reporting
> > problems.
>
> This happens when you switch to monitor mode and start to change channels.
> The card that was uses is a Netgear MA401RA.
>
> Here it is the output from dmesg:
>
> Enabling monitor mode
> wlan0: CMD=0x0121 => res=0x7f, resp0=0x0004
> wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fc28,
> len=2)
> WEP flags setting failed
> device wlan0 entered promiscuous mode
> wlan0: hfa384x_setup_bap - timeout after
> wlan0: hfa384x_set_rid (rid=fc03, len=2) - failed - res=-110
> wlan0: hfa384x_setup_bap - timeout before
> wlan0: hfa384x_set_rid (rid=fc03, len=2) - failed - res=-110
> wlan0: hfa384x_setup_bap - timeout before
> wlan0: hfa384x_set_rid (rid=fc03, len=2) - failed - res=-110
> wlan0: hfa384x_setup_bap - timeout before
> ... repeats while changing channel ...
>
> ----------------------------------------------------------------
>
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>



From proski  Tue Jul  1 14:50:06 2003
From: proski (Pavel Roskin)
Date: Tue, 1 Jul 2003 17:50:06 -0400 (EDT)
Subject: 1.7.4 firmware as S-record, finally
Message-ID: <Pine.LNX.4.56.0307011745040.29660@marabou.research.att.com>

Hello!

I've just noticed that Intersil firmware 1.7.4 is available here:
http://www.netgate.com/support/prism_firmware/

Only flashable firmware for Prism 2.5 chipset is available (sf010704.hex).
I tried to flash it by prism2_srec, and it worked.

-- 
Regards,
Pavel Roskin



From gbritton  Tue Jul  1 15:07:54 2003
From: gbritton (Gerald Britton)
Date: Tue, 1 Jul 2003 18:07:54 -0400
Subject: 1.7.4 firmware as S-record, finally
In-Reply-To: <Pine.LNX.4.56.0307011745040.29660@marabou.research.att.com>
References: <Pine.LNX.4.56.0307011745040.29660@marabou.research.att.com>
Message-ID: <20030701220754.GA21939@fog.sekrit.org>

On Tue, Jul 01, 2003 at 05:50:06PM -0400, Pavel Roskin wrote:
> Hello!
> 
> I've just noticed that Intersil firmware 1.7.4 is available here:
> http://www.netgate.com/support/prism_firmware/
> 
> Only flashable firmware for Prism 2.5 chipset is available (sf010704.hex).
> I tried to flash it by prism2_srec, and it worked.

Is it possible to upgrade to PRI 1.1.1 with prism2_srec these days?

				-- Gerald



From proski  Tue Jul  1 15:40:07 2003
From: proski (Pavel Roskin)
Date: Tue, 1 Jul 2003 18:40:07 -0400 (EDT)
Subject: mini-HOWTO on upgrading flash firmware
In-Reply-To: <20030701012542.GA26455@gateway.junsun.net>
References: <20030701012542.GA26455@gateway.junsun.net>
Message-ID: <Pine.LNX.4.56.0307011810150.29972@marabou.research.att.com>

On Mon, 30 Jun 2003, Jun Sun wrote:

> I finished upgrading a couple of my cards.  I wrote a page
> that describes what I have done.  Hopefully people later will have
> a much easier time than I had.
>
> http://linux.junsun.net/intersil-prism/index.html

Thank you for taking time!  A few additions and corrections.  Feel free
not to include them if they are irrelevant to your document.  It's just
for your information.

I put slightly improved version of prism2dl here:
http://www.red-bean.com/~proski/prism2dl/

It should be easier to use, but it's not _safer_ to use than the original
version.  In particular, it still allows flashing firmware intended for
RAM download.

Upgrading primary firmware without secondary firmware make the card
non-functional.  That card acts as if it only has primary firmware.  The
secondary firmware should be flashed after that.  prism2dl is good for
that, prism2_srec is not (yet).  I haven't tried winupdate.  The DOS based
flash.exe should be OK.

prism2_srec cannot be used to upgrade primary firmware because it cannot
upgrade both firmwares in the same time and it cannot deal with a card
without working secondary firmware.

You probably should specify what Windows driver should be installed.
winupdate is picky.  I know that the driver for Linksys WPC11 v2.5 is OK.

The latest primary firmware for USB devices appears to be 1.1.2, but it's
not available for other devices.

-- 
Regards,
Pavel Roskin



From proski  Tue Jul  1 15:44:39 2003
From: proski (Pavel Roskin)
Date: Tue, 1 Jul 2003 18:44:39 -0400 (EDT)
Subject: 1.7.4 firmware as S-record, finally
In-Reply-To: <20030701220754.GA21939@fog.sekrit.org>
References: <Pine.LNX.4.56.0307011745040.29660@marabou.research.att.com>
 <20030701220754.GA21939@fog.sekrit.org>
Message-ID: <Pine.LNX.4.56.0307011841350.30479@marabou.research.att.com>

On Tue, 1 Jul 2003, Gerald Britton wrote:

> Is it possible to upgrade to PRI 1.1.1 with prism2_srec these days?

No.  I sent a message saying so seconds ago.
You are reading my thoughts :-)

Use linux-wlan-ng and prism2dl or DOS/Windows utilities.  And don't forget
to flash secondary firmware after that (or better yet - in the same time).

-- 
Regards,
Pavel Roskin



From jared  Tue Jul  1 15:50:09 2003
From: jared (Jared Brokaw)
Date: Tue, 1 Jul 2003 16:50:09 -0600
Subject: 1.7.4 firmware as S-record, finally
References: <Pine.LNX.4.56.0307011745040.29660@marabou.research.att.com>
Message-ID: <05d901c34023$1fbd2b70$f903a8c0@VECTOR>

I am using the senao cards and when I flashed to 1.7.4, the cards would no
longer function adequately in hostap mode under freebsd.  I'm not sure at
this point if that is some kind of incompatability between the freebsd
driver and the 1.7.4 firmware, but it definitely didn't work, I use multiple
clients to test.  I had to revert to 1.5.6.  I'm hoping this firmware solves
a problem we are seeing when having between 70 and 90 users on the radio.
About every 24 to 48 hours, the thing starts spewing the following in the
syslog:

May 28 06:48:06 host /kernel: wi0: timeout in wi_seek to fc85/0; last
status 800b
May 28 06:48:06 host /kernel: wi0: timeout in wi_seek to fc28/0; last
status 800b
May 28 06:48:06 host /kernel: wi0: timeout in wi_seek to fc23/0; last
status 800b
May 28 06:48:06 host /kernel: wi0: timeout in wi_seek to fc24/0; last
status 800b
May 28 06:48:06 host /kernel: wi0: timeout in wi_seek to fc80/0; last
status 800b
May 28 06:48:06 host /kernel: wi0: wi_cmd: busy bit won't clear.
May 28 06:48:06 host /kernel: wi0: wi_cmd: busy bit won't clear.
May 28 06:48:06 host /kernel: wi0: failed to allocate 1594 bytes on NIC
May 28 06:48:06 host /kernel: wi0: tx buffer allocation failed
May 28 06:48:06 host /kernel: wi0: wi_cmd: busy bit won't clear.
May 28 06:48:06 host /kernel: wi0: failed to allocate 1594 bytes on NIC
May 28 06:48:06 host /kernel: wi0: mgmt. buffer allocation failed
May 28 06:48:06 host /kernel: wi0: wi_cmd: busy bit won't clear.
May 28 06:48:06 host /kernel: wi0: xmit failed

I guess we'll see.  Since I've seen similar problems with linux drivers and
these cards, and since the firmware prior to 1.4.9 was complete garbage, I'm
concluding these problems lie within the firmware.  If not, I can rewrite
the driver, but before I put that effort into it, I thought I would at least
try the 1.5.6 first.  Anyone here using BSD seen this on or after sta1.4.9?
Thanks!!!

jb

----- Original Message ----- 
From: "Pavel Roskin" <proski at gnu.org>
To: <hostap at shmoo.com>
Sent: Tuesday, July 01, 2003 3:50 PM
Subject: 1.7.4 firmware as S-record, finally


> Hello!
>
> I've just noticed that Intersil firmware 1.7.4 is available here:
> http://www.netgate.com/support/prism_firmware/
>
> Only flashable firmware for Prism 2.5 chipset is available (sf010704.hex).
> I tried to flash it by prism2_srec, and it worked.
>
> -- 
> Regards,
> Pavel Roskin
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
>



From jared  Tue Jul  1 16:10:20 2003
From: jared (Jared Brokaw)
Date: Tue, 1 Jul 2003 17:10:20 -0600
Subject: 1.7.4 firmware as S-record, finally
References: <Pine.LNX.4.56.0307011745040.29660@marabou.research.att.com>
	<05d901c34023$1fbd2b70$f903a8c0@VECTOR>
Message-ID: <061401c34025$f1e2dc10$f903a8c0@VECTOR>

I should clarify:

1: When I used 1.7.4, I was unable to associate any clients with the AP.
The AP would constantly pop in and out of existance.  The card behaved as
thought it were constantly resetting itself as soon as it was finished
initalizing.

2: We were on sta firmware 1.4.9 and were seeing the error messages below in
the logs.  After about 24-48 hours, clients could no longer associate.  As
existing clients would disassociate, no more would come on so eventually the
mac table in the card would go to a count of 0 clients.

3: I have recently flashed several of our cards with 1.5.6 in the intrerest
of solving the problem we are seeing in 1.4.9.  My gut tells me we are
hitting up against some kind of performance barrier of the intersil firmware
or chipset.

Many thanks to Pavel Roskin for his comments briefly after sending this out!

jb


----- Original Message ----- 
From: "Jared Brokaw" <jared at broadbandcentral.us>
To: <hostap at shmoo.com>
Sent: Tuesday, July 01, 2003 4:50 PM
Subject: Re: 1.7.4 firmware as S-record, finally


> I am using the senao cards and when I flashed to 1.7.4, the cards would no
> longer function adequately in hostap mode under freebsd.  I'm not sure at
> this point if that is some kind of incompatability between the freebsd
> driver and the 1.7.4 firmware, but it definitely didn't work, I use
multiple
> clients to test.  I had to revert to 1.5.6.  I'm hoping this firmware
solves
> a problem we are seeing when having between 70 and 90 users on the radio.
> About every 24 to 48 hours, the thing starts spewing the following in the
> syslog:
>
> May 28 06:48:06 host /kernel: wi0: timeout in wi_seek to fc85/0; last
> status 800b
> May 28 06:48:06 host /kernel: wi0: timeout in wi_seek to fc28/0; last
> status 800b
> May 28 06:48:06 host /kernel: wi0: timeout in wi_seek to fc23/0; last
> status 800b
> May 28 06:48:06 host /kernel: wi0: timeout in wi_seek to fc24/0; last
> status 800b
> May 28 06:48:06 host /kernel: wi0: timeout in wi_seek to fc80/0; last
> status 800b
> May 28 06:48:06 host /kernel: wi0: wi_cmd: busy bit won't clear.
> May 28 06:48:06 host /kernel: wi0: wi_cmd: busy bit won't clear.
> May 28 06:48:06 host /kernel: wi0: failed to allocate 1594 bytes on NIC
> May 28 06:48:06 host /kernel: wi0: tx buffer allocation failed
> May 28 06:48:06 host /kernel: wi0: wi_cmd: busy bit won't clear.
> May 28 06:48:06 host /kernel: wi0: failed to allocate 1594 bytes on NIC
> May 28 06:48:06 host /kernel: wi0: mgmt. buffer allocation failed
> May 28 06:48:06 host /kernel: wi0: wi_cmd: busy bit won't clear.
> May 28 06:48:06 host /kernel: wi0: xmit failed
>
> I guess we'll see.  Since I've seen similar problems with linux drivers
and
> these cards, and since the firmware prior to 1.4.9 was complete garbage,
I'm
> concluding these problems lie within the firmware.  If not, I can rewrite
> the driver, but before I put that effort into it, I thought I would at
least
> try the 1.5.6 first.  Anyone here using BSD seen this on or after
sta1.4.9?
> Thanks!!!
>
> jb
>
> ----- Original Message ----- 
> From: "Pavel Roskin" <proski at gnu.org>
> To: <hostap at shmoo.com>
> Sent: Tuesday, July 01, 2003 3:50 PM
> Subject: 1.7.4 firmware as S-record, finally
>
>
> > Hello!
> >
> > I've just noticed that Intersil firmware 1.7.4 is available here:
> > http://www.netgate.com/support/prism_firmware/
> >
> > Only flashable firmware for Prism 2.5 chipset is available
(sf010704.hex).
> > I tried to flash it by prism2_srec, and it worked.
> >
> > -- 
> > Regards,
> > Pavel Roskin
> > _______________________________________________
> > HostAP mailing list
> > HostAP at shmoo.com
> > http://lists.shmoo.com/mailman/listinfo/hostap
> >
> >
>
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
>



From jsun  Tue Jul  1 17:56:08 2003
From: jsun (Jun Sun)
Date: Tue, 1 Jul 2003 17:56:08 -0700
Subject: mini-HOWTO on upgrading flash firmware
In-Reply-To: <Pine.LNX.4.56.0307011810150.29972@marabou.research.att.com>
References: <20030701012542.GA26455@gateway.junsun.net>
	<Pine.LNX.4.56.0307011810150.29972@marabou.research.att.com>
Message-ID: <20030702005608.GA31128@gateway.junsun.net>

On Tue, Jul 01, 2003 at 06:40:07PM -0400, Pavel Roskin wrote:
> On Mon, 30 Jun 2003, Jun Sun wrote:
> 
> > I finished upgrading a couple of my cards.  I wrote a page
> > that describes what I have done.  Hopefully people later will have
> > a much easier time than I had.
> >
> > http://linux.junsun.net/intersil-prism/index.html
> 
> Thank you for taking time!  A few additions and corrections.  Feel free
> not to include them if they are irrelevant to your document.  It's just
> for your information.
> 
> I put slightly improved version of prism2dl here:
> http://www.red-bean.com/~proski/prism2dl/
> 
> It should be easier to use, but it's not _safer_ to use than the original
> version.  In particular, it still allows flashing firmware intended for
> RAM download.
> 
> Upgrading primary firmware without secondary firmware make the card
> non-functional.  That card acts as if it only has primary firmware.  The
> secondary firmware should be flashed after that.  prism2dl is good for
> that, prism2_srec is not (yet).  I haven't tried winupdate.  The DOS based
> flash.exe should be OK.
> 
> prism2_srec cannot be used to upgrade primary firmware because it cannot
> upgrade both firmwares in the same time and it cannot deal with a card
> without working secondary firmware.
> 
> You probably should specify what Windows driver should be installed.
> winupdate is picky.  I know that the driver for Linksys WPC11 v2.5 is OK.
>

Thanks.  Comments are taken.
 
> The latest primary firmware for USB devices appears to be 1.1.2, but it's
> not available for other devices.
>

Can winupdate.exe upgrade USB devices too?  Just curious.

Jun 



From dgurevich  Tue Jul  1 18:42:04 2003
From: dgurevich (David Gurevich)
Date: Tue, 1 Jul 2003 18:42:04 -0700
Subject: wds between STA and AP
Message-ID: <9FACF23646E0054994FACBD301B6F62174204A@MAIL2.asp.networldcom.com>

I have the following setup:

   AP<----->wlan0
            HostAP(STA)
              wlan0wds0<------->wlan0wds0
                                HostAP(AP)

HostAP STA associates successfully to the AP.
Then I ping from HostAP(STA) over the WDS link to HostAP (AP).
The tcpdump on the HostAP(AP) tells me that the ARP requests are being received and replies are being sent back.
On the HostAP(STA) side the ARP replies are not received though.
My sniffer shows ARP requests and replies being acked at 802.11 level.
The ARP requests are 4 address frames (From DS and To DS are set).
The ARP replies are 3 address frames (To DS only set).

Is this a bug?



From imp  Tue Jul  1 23:11:50 2003
From: imp (imp)
Date: Wed, 2 Jul 2003 15:11:50 +0900
Subject: More STA Mode Question
Message-ID: <KEECLLIPMFCFLJKFNEKOGEFJCCAA.imp@airlinktek.com>

Dear everyone...

I have one more question about hostap STA mode setting..
As My previous question, hostap can run as STA mode and Jouni reply kindly the answer.

> iwpriv wlan0 host_roaming 1
> iwconfig wlan0 mode managed
> iwconfig wlan0 ap <specific AP BSSID>

Yes, It really work... 
In this case, sta mode should know the specific AP's Mac address. but, in general most card utility program
remember the essid name to association near other APs (same essid, differ BSSID) in one to many situation... 
for example,
 
AP 1 (essid:test)                 AP2 (essid:test)                AP3 (essid:test)

there are three AP differ BSSID, same ESSID, in this case, above method always change the BSSID with
iwconfig wlan0 ap (BSSID) command as mannually. when it roam AP1 ->  AP2, AP2 ->AP3.

Could you recommand any way to automatically change link with near AP in sta mode hostap box ?
If so, Please give me any comment..

Best regards.. Thanks  



From imp  Wed Jul  2 01:09:50 2003
From: imp (imp)
Date: Wed, 2 Jul 2003 17:09:50 +0900
Subject: what's mean ssid hide
Message-ID: <KEECLLIPMFCFLJKFNEKOCEFKCCAA.imp@airlinktek.com>

Dear all..

As hostap iwpriv list said, hostap can hide ssid with later 1.6.3 firmware version. 
and "ANY" scan protected ...

Could you please let me know, how can I under stand it's mean, and how do I test it ? 

I use 1.1.1 primary, 1.7.4 secondary firmware version... 

Thanks... 



From david  Wed Jul  2 14:21:22 2003
From: david (David Levitan)
Date: Wed, 02 Jul 2003 17:21:22 -0400
Subject: Open WEP Mode and SMC 2532
Message-ID: <3F034CD2.9050507@dlevitan.com>

Hi,
I'm trying to use 802.1x with an SMC 2532 (clone of Zcomax 325H). 802.1x 
itself seems to work well until I enable wep (in the hostapd config 
file). It seems open mode does not work on this card. If I enable open 
mode manually with a key, it doesn't work either. However, if I set my 
client (linux + orinoco_cs) to use encryption with the correct key, it 
works correctly. I am wondering if there is anything I can do to get 
open mode to work on this card. Let me know if more information is needed.
Thank you,
David Levitan



From chhabra  Wed Jul  2 15:21:33 2003
From: chhabra (Madhusudan Singh)
Date: Wed, 02 Jul 2003 18:21:33 -0400
Subject: Need help setting up a Netgear MA401 Rev D card
Message-ID: <3F035AED.3050706@eecs.umich.edu>

Hi
    I have a Netgear MA 401 rev D wireless card and I have been trying 
to get it to work with Linux. My installation is :

    RH Linux 9.0, custom compiled kernel (2.4.20) with the acpi patch.

    I tried following the advice on Steve's Laptop homepage 
(http://www.stevewatts.com/computers/laptop/).

    I am using the CVS version (presumably more recent than 0.0.3) of 
hostap, and found that it makes little sense to include an alias to 
hostap_pci after compilation with pccard (please see the webpage above 
to understand what I am saying).

    Accordingly, I tried the following :

   
[root at nanak hostap]# make hostap
gcc -I/usr/src/linux/include -O2 -D__KERNEL__ -DMODULE -Wall -g -c  
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h 
-fomit-frame-pointer -E -D__GENKSYMS__ driver/modules/hostap.c | \
       /sbin/genksyms -k 2.4.20 > driver/modules/hostap.ver
In file included from driver/modules/hostap.c:21:
/usr/src/linux/include/linux/module.h:15:1: warning: "_set_ver" redefined
In file included from /usr/src/linux/include/linux/modversions.h:3,
                from <command line>:1:
/usr/src/linux/include/linux/modsetver.h:9:1: warning: this is the 
location of the previous definition
gcc -I/usr/src/linux/include -O2 -D__KERNEL__ -DMODULE -Wall -g -c  
-DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h 
-fomit-frame-pointer -E -D__GENKSYMS__ driver/modules/hostap_crypt.c | \
       /sbin/genksyms -k 2.4.20 > driver/modules/hostap_crypt.ver
In file included from driver/modules/hostap_crypt.c:18:
/usr/src/linux/include/linux/module.h:15:1: warning: "_set_ver" redefined
In file included from /usr/src/linux/include/linux/modversions.h:3,
                from <command line>:1:
/usr/src/linux/include/linux/modsetver.h:9:1: warning: this is the 
location of the previous definition
gcc -I/usr/src/linux/include -include driver/modules/hostap_crypt.ver 
-include driver/modules/hostap.ver -O2 -D__KERNEL__ -DMODULE -Wall -g 
-c  -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h 
-fomit-frame-pointer -o driver/modules/hostap.o driver/modules/hostap.c
[root at nanak hostap]# make pccard
gcc -I/usr/src/linux/include -include driver/modules/hostap_crypt.ver 
-include driver/modules/hostap.ver -O2 -D__KERNEL__ -DMODULE -Wall -g 
-c  -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h 
-fomit-frame-pointer -o driver/modules/hostap_cs.o 
driver/modules/hostap_cs.c
gcc -I/usr/src/linux/include -include driver/modules/hostap_crypt.ver 
-include driver/modules/hostap.ver -O2 -D__KERNEL__ -DMODULE -Wall -g 
-c  -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h 
-fomit-frame-pointer -o driver/modules/hostap_crypt.o 
driver/modules/hostap_crypt.c
gcc -I/usr/src/linux/include -include driver/modules/hostap_crypt.ver 
-include driver/modules/hostap.ver -O2 -D__KERNEL__ -DMODULE -Wall -g 
-c  -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h 
-fomit-frame-pointer -o driver/modules/hostap_crypt_wep.o 
driver/modules/hostap_crypt_wep.c

Run 'make install_pccard' as root to install hostap_cs.o
Run 'make install_plx' as root to install hostap_plx.o
Run 'make install_pci' as root to install hostap_pci.o

[root at nanak hostap]# make install_pccard
Installing hostap_crypt*.o to /lib/modules/2.4.20-LAPTOP-APR082003/net
mkdir -p /lib/modules/2.4.20-LAPTOP-APR082003/net
cp -f driver/modules/hostap_crypt*.o 
/lib/modules/2.4.20-LAPTOP-APR082003/net
Installing hostap.o to /lib/modules/2.4.20-LAPTOP-APR082003/net
mkdir -p /lib/modules/2.4.20-LAPTOP-APR082003/net
cp -f driver/modules/hostap.o /lib/modules/2.4.20-LAPTOP-APR082003/net
Installing hostap_cs.o to /lib/modules/2.4.20-LAPTOP-APR082003/pcmcia
mkdir -p /lib/modules/2.4.20-LAPTOP-APR082003/pcmcia
cp -f driver/modules/hostap_cs.o 
/lib/modules/2.4.20-LAPTOP-APR082003/pcmcia
/sbin/depmod -ae


    Relevant section of my /etc/modules.conf :
alias eth0 eepro100
#alias eth1 orinoco_cs
alias wlan0 cisco_ipsec
alias wlan0 hostap_pci
#alias eth1 hostap_pci

For some strange reason, the redhat tool "neat" does not permit creation 
of anything other than ethX.

Upon booting, I get a "hostap_pci wlan0 device not present, delaying 
initialization" kind of error.  My /etc/sysconfig/networking/ifcfg-wlan0 
(created by hand) reads as :

DEVICE=wlan0
IPADDR=dhcp
NETMASK=255.0.0.0
#NETWORK=141.213.20.0
# If you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST=255.255.255.255
ONBOOT=yes
NAME=Wireless

This is symlinked into /etc/sysconfig/network-scripts/ .

My /etc/pcmcia/config.opts file is unchanged from its default setting (I 
had hand compiled pcmcia-cs packages earlier when I was trying out 
hostap_cs). I just edited my /etc/pcmcia/hostap_cs.conf file :

device "hostap_pci"
   class "network" module "hostap_crypt", "hostap", "hostap_pci"
                                                                                

card "NETGEAR MA401 11Mbps 802.11 WLAN Card"
   version "NETGEAR MA401 Wireless PC", "Card", "Version 01.00"
   bind "hostap_pci"
                                                                                

card "Intersil PRISM2 Reference Design 11Mb/s WLAN Card"
   version "INTERSIL", "HFA384x/IEEE"
   bind "hostap_pci"
                                                                                

card "Netgear MA401"
   version "NETGEAR MA401 Wireless PC", "Card", "Version 01.00"
#   manfid 0x0156, 0x0002
   bind "hostap_pci"
                                                                                

                                                                                

# Optional configuration parameters for hostap_cs.o
#module "hostap_cs" opts "channel=3 iw_mode=3 essid=test ignore_cis_vcc=0"

(Probably does not make much sense as I am using the pci driver, but I 
am totally lost here.).

My /etc/pcmcia/wireless.opts file reads as :
case "$1" in
netgear,*,*,00:09:5B:48:D4:E6)

(the rest being identical to the example on Steve's webpage).

My /etc/pcmcia is :
PCMCIA=yes
PCIC=yenta_socket
PCIC_OPTS=
CORE_OPTS=
CARDMGR_OPTS=
SCHEME=netgear

My /sbin/lspci yields :

00:00.0 Host bridge: ALi Corporation M1621 (rev 01)
00:01.0 PCI bridge: ALi Corporation PCI to AGP Controller (rev 01)
00:06.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link 
Controller Audio Device (rev 01)
00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
00:0a.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] 
(rev 08)
00:10.0 IDE interface: ALi Corporation M5229 IDE (rev c3)
00:11.0 Bridge: ALi Corporation M7101 PMU
00:13.0 CardBus bridge: O2 Micro, Inc. OZ6812 Cardbus Controller (rev 05)
00:14.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
01:00.0 VGA compatible controller: Trident Microsystems CyberBlade/i1 
(rev 5d)

Is using the make pci route flawed and I should try the make pccard route ?

I am not a newbie at Linux but have no experience in dealing with 
wireless or PCMCIA devices.

Any help will be appreciated,

Thanks,

MS





From chhabra  Wed Jul  2 15:59:01 2003
From: chhabra (Madhusudan Singh)
Date: Wed, 02 Jul 2003 18:59:01 -0400
Subject: Need help setting up a Netgear MA401 Rev D card
References: <3f036067.1660.0@alphalink.com.au>
Message-ID: <3F0363B5.2010109@eecs.umich.edu>

Thanks for such a prompt response !!

I wish to know if you have had any resource conflicts arising from using 
ACPI ?

Regarding network.opts :

Does the *,*,*,* follow the same scheme syntax as in wireless.opts ? 
Plus, has there ever been any conflict with eth0 ?

I do not see any place in that file to declare that wlan0 is the network 
device for pcmcia.

Do you use hostap_cs or hostap_pci ? And if the former, do you start 
pcmcia services at bootup ? I have disabled mine because of resource 
conflicts. I suspect that this has something to do with my (unchanged) 
config.opts :

#
# Local PCMCIA Configuration File
#
#----------------------------------------------------------------------
                                                                                

# System resources available for PCMCIA devices
                                                                                

include port 0x100-0x4ff, port 0x800-0x8ff, port 0xc00-0xcff
include memory 0xc0000-0xfffff
include memory 0xa0000000-0xa0ffffff, memory 0x60000000-0x60ffffff
                                                                                

# High port numbers do not always work...
# include port 0x1000-0x17ff
                                                                                

# Extra port range for IBM Token Ring
include port 0xa00-0xaff
                                                                                

# Resources we should not use, even if they appear to be available
                                                                                

# First built-in serial port
exclude irq 4
# Second built-in serial port
#exclude irq 3




Ryan Abbenhuys wrote:

>try the config file /etc/pcmcia/network.opts
>
>That's the only place I configure the tcp/ip properties for the wlan0
>interface.
>
>Also, I'd recommend giving kernel 2.4.21 a go from www.kernel.org
>
>I've had problems with about the last 4 RH kernel versions and HostAP and
>as soon as I changed kernel 2.4.21 everything works perfectly.
>
>  
>



From lists  Wed Jul  2 18:33:22 2003
From: lists (Chris Howells)
Date: Thu, 3 Jul 2003 02:33:22 +0100
Subject: Need help setting up a Netgear MA401 Rev D card
In-Reply-To: <3F0363B5.2010109@eecs.umich.edu>
References: <3f036067.1660.0@alphalink.com.au>
	<3F0363B5.2010109@eecs.umich.edu>
Message-ID: <200307030233.23015.lists@chrishowells.co.uk>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On Wednesday 02 July 2003 23:59, Madhusudan Singh wrote:
> Thanks for such a prompt response !!
>
> I wish to know if you have had any resource conflicts arising from using
> ACPI ?

unplug the card, plug it in again, and run dmesg to see the  information that 
the driver outputs when it's plugged in.

I have a MA401 running fine on SuSE 8.2, but unfortunately Linux is completely 
retarded in terms of IRQ allocation and doesn't allocate IRQs in a manner 
suitable for me to use a PCMCIA modem and the MA401 at the same time (there 
is only one free IRQ after sorting out the PCI devices, and I would need two 
for the modem and the MA401).

- -- 
Cheers, Chris Howells -- chris at chrishowells.co.uk, howells at kde.org
Web: http://chrishowells.co.uk, PGP ID: 33795A2C
KDE/Qt/C++ Developer: http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/A4fiF8Iu1zN5WiwRAkP7AJ4l+xV0W+U2th8LBPkJWPORJop/mgCgpYiA
7Hsf8gOj3biiXyfZX4seEuc=
=Fkwn
-----END PGP SIGNATURE-----



From rafaela  Thu Jul  3 04:16:56 2003
From: rafaela (=?ISO-8859-1?Q?Rafaela_Gonz=E1lez-Careaga?=)
Date: Thu, 03 Jul 2003 13:16:56 +0200
Subject: PCI Adapter + Wireless Card + Debian 2.4.20
Message-ID: <3F0410A8.4050008@gsyc.escet.urjc.es>

Hello,

I am using a US Robotics PCI Adapter (USR012415) and an Belkin Wireless 
Card, to try to use Wireless networking on my Desktop with DEbian 2.4.10.
Mi system can recognize the PCI adapter, (I can see it in /proc/pci) but 
it does not see the wireless card,
I don't know what to bdo, also I am not an expert with Linux
Anythinh that can help
Thanks in advance




From binarym  Thu Jul  3 02:32:19 2003
From: binarym (binary man)
Date: Thu, 3 Jul 2003 11:32:19 +0200
Subject: PCI Adapter + Wireless Card + Debian 2.4.20
In-Reply-To: <3F0410A8.4050008@gsyc.escet.urjc.es>
References: <3F0410A8.4050008@gsyc.escet.urjc.es>
Message-ID: <20030703093219.GA1300@construct.binarym.speka.net>

Plop,

	You said you use "US Robotics PCI Adapter (USR012415) and an Belkin
Wireless Card", is that mean that the USR is a PCMCIA to PCI bridge and
the belkin a PCMCIA card ???
	If it's really a PCMCIA bridge ( and not a PLX adapter ), you
just need to rebuild your kernel this the PCMCIA and Cardbus support,
and then install the pcmcia-cs package runnig as root "apt-get install pcmcia-cs".
Then, build the pccard support in hostap by running "make pccard
install_pccard" in the source directory of hostap.
	If it's a PLX adapter, you just need to compile the PLX support
on hostap ( i don't remember the rule so type "make help" :) ).

	Please, can you try to be more precise when you are asking for
help because we can't guess what is the "US Robotics PCI Adapter
(USR012415)" ( PLX or true PCCARD ), and we have other things to do that
googlize it.

++

On Thu, Jul 03, 2003 at 01:16:56PM +0200, Rafaela Gonz?lez-Careaga wrote:
> Hello,
> 
> I am using a US Robotics PCI Adapter (USR012415) and an Belkin Wireless 
> Card, to try to use Wireless networking on my Desktop with DEbian 2.4.10.
> Mi system can recognize the PCI adapter, (I can see it in /proc/pci) but 
> it does not see the wireless card,
> I don't know what to bdo, also I am not an expert with Linux
> Anythinh that can help
> Thanks in advance
> 
> 
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap



From mumu  Thu Jul  3 02:44:33 2003
From: mumu (Milos Sramek)
Date: Thu, 3 Jul 2003 11:44:33 +0200
Subject: Error message> wlan0: SW TICK stuck? 
Message-ID: <004e01c34147$b69d6e40$0965a8c0@msramek>

What does this error message mean ??  and why it's egressing ??

wlan0: SW TICK stuck? bits=0x0 EvStat=8001 IntEn=e018

Linux repeatly this message to console and is total "dead".



Please help.

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030703/ee7138e5/attachment.htm 


From antonio.vilei  Thu Jul  3 02:50:42 2003
From: antonio.vilei (Antonio Vilei)
Date: Thu, 3 Jul 2003 11:50:42 +0200
Subject: Open WEP Mode and SMC 2532
References: <3F034CD2.9050507@dlevitan.com>
Message-ID: <003f01c34148$919b2320$151e0a0a@stmantoniov>

Hello,
some important information is missing. What driver version are you using? If
you are using v0.0.2 or later you should also post your "hostapd.conf" file.

Regards,
Antonio


----- Original Message -----
From: "David Levitan" <david at dlevitan.com>
To: <hostap at shmoo.com>
Sent: Wednesday, July 02, 2003 11:21 PM
Subject: Open WEP Mode and SMC 2532


> Hi,
> I'm trying to use 802.1x with an SMC 2532 (clone of Zcomax 325H). 802.1x
> itself seems to work well until I enable wep (in the hostapd config
> file). It seems open mode does not work on this card. If I enable open
> mode manually with a key, it doesn't work either. However, if I set my
> client (linux + orinoco_cs) to use encryption with the correct key, it
> works correctly. I am wondering if there is anything I can do to get
> open mode to work on this card. Let me know if more information is needed.
> Thank you,
> David Levitan
>
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
>




From vda  Thu Jul  3 02:26:57 2003
From: vda (Denis Vlasenko)
Date: Thu, 3 Jul 2003 12:26:57 +0300
Subject: [PATCH] Remove blank printk
Message-ID: <200307030923.h639NNu27992@Port.imtp.ilyichevsk.odessa.ua>

Hi Jouni, Pavel, folks.

This patch removes spurious blank printk.
Applies to today's CVS.

01:21:45 kernel:    A1=01:02:2d:61:49:cd A2=00:02:2d:51:3e:ab A3=00:00:00:00:00:00 A4=aa:aa:03:00:20:f6
01:21:45 kernel: wlan0: dropped received packet from 00:02:2d:51:3e:ab with no ToDS flag (type=0x02, subtype=0x00)
01:21:45 kernel: wlan0: RX signal=163 noise=156 rate=20 len=118 jiffies=16877
01:21:45 kernel:    FC=0x0008 (type=2:0) dur=0x0000 seq=0xdca0
01:21:45 kernel:    A1=01:02:2d:61:49:cd A2=00:02:2d:51:3e:ab A3=00:00:00:00:00:00 A4=aa:aa:03:00:20:f6

a spurious KERN_WARNING empty line was here...

01:21:46 kernel: wlan0: dropped received packet from 00:02:2d:51:3e:ab with no ToDS flag (type=0x02, subtype=0x00)
01:21:46 kernel: wlan0: RX signal=163 noise=156 rate=20 len=281 jiffies=16892
01:21:46 kernel:    FC=0x0008 (type=2:0) dur=0x0000 seq=0xdd20
01:21:46 kernel:    A1=01:02:2d:61:49:cd A2=00:02:2d:51:3e:ab A3=00:00:00:00:00:00 A4=aa:aa:03:00:20:f6
01:21:46 kernel: wlan0: dropped received packet from 00:02:2d:51:3e:ab with no ToDS flag (type=0x02, subtype=0x00)
01:21:46 kernel: wlan0: RX signal=163 noise=156 rate=20 len=118 jiffies=16897
01:21:46 kernel:    FC=0x0008 (type=2:0) dur=0x0000 seq=0xdd40
01:21:46 kernel:    A1=01:02:2d:61:49:cd A2=00:02:2d:51:3e:ab A3=00:00:00:00:00:00 A4=aa:aa:03:00:20:f6
01:21:47 kernel: wlan0: dropped received packet from 00:02:2d:51:3e:ab with no ToDS flag (type=0x02, subtype=0x00)
01:21:47 kernel: wlan0: RX signal=163 noise=156 rate=20 len=50 jiffies=17030
01:21:47 kernel:    FC=0x0008 (type=2:0) dur=0x0000 seq=0xe240
01:21:47 kernel:    A1=01:02:2d:61:49:cd A2=00:02:2d:51:3e:ab A3=00:00:00:00:00:00 A4=aa:aa:03:00:20:f6
...
--
vda

diff -ur hostap-2003-06-16/driver/modules/hostap_80211_rx.c hostap-2003-06-16.sens/driver/modules/hostap_80211_rx.c
--- hostap-2003-06-16/driver/modules/hostap_80211_rx.c	Tue Jun  3 07:10:58 2003
+++ hostap-2003-06-16.sens/driver/modules/hostap_80211_rx.c	Thu Jul  3 01:24:44 2003
@@ -37,7 +37,6 @@
 	       MAC2STR(hdr->addr1), MAC2STR(hdr->addr2), MAC2STR(hdr->addr3));
 	if (skb->len >= 30)
 		printk(" A4=" MACSTR "\n", MAC2STR(hdr->addr4));
-	printk("\n");
 }




From vda  Thu Jul  3 02:29:43 2003
From: vda (Denis Vlasenko)
Date: Thu, 3 Jul 2003 12:29:43 +0300
Subject: [PATCH] implement sensitivity control
Message-ID: <200307030926.h639Q9u28018@Port.imtp.ilyichevsk.odessa.ua>

Hi Jouni, Pavel, folks.

I made a patch which implements sensitivity control for hostap.
Currently it does not program sensitivity at card initialization
(you'll need explicit iwconfig wlan# sens N or card remains
programmed as per default (max sens)) and sens settings do not
survive card reset. These can be fixed later.

Applies to today's CVS.

After iwconfig wlan0 sens 117:
wlan0     IEEE 802.11b
          Mode:Master  Frequency:2.422GHz
          Bit Rate:11Mb/s   Tx-Power=-1 dBm   Sensitivity=117/127

Untouched by iwconfig sens N:
wlan1     IEEE 802.11b
          Mode:Managed  Frequency:2.462GHz
          Bit Rate:2Mb/s   Tx-Power:5 dBm   Sensitivity=0/127

(this is wrong, should show 127/127. later...)

This is what I get in my logs with these patches:
=================================================
01:21:45 kernel:    A1=01:02:2d:61:49:cd A2=00:02:2d:51:3e:ab A3=00:00:00:00:00:00 A4=aa:aa:03:00:20:f6
01:21:45 kernel: wlan0: dropped received packet from 00:02:2d:51:3e:ab with no ToDS flag (type=0x02, subtype=0x00)
01:21:45 kernel: wlan0: RX signal=163 noise=156 rate=20 len=118 jiffies=16877
01:21:45 kernel:    FC=0x0008 (type=2:0) dur=0x0000 seq=0xdca0
01:21:45 kernel:    A1=01:02:2d:61:49:cd A2=00:02:2d:51:3e:ab A3=00:00:00:00:00:00 A4=aa:aa:03:00:20:f6
01:21:46 kernel: wlan0: dropped received packet from 00:02:2d:51:3e:ab with no ToDS flag (type=0x02, subtype=0x00)
01:21:46 kernel: wlan0: RX signal=163 noise=156 rate=20 len=281 jiffies=16892
01:21:46 kernel:    FC=0x0008 (type=2:0) dur=0x0000 seq=0xdd20
01:21:46 kernel:    A1=01:02:2d:61:49:cd A2=00:02:2d:51:3e:ab A3=00:00:00:00:00:00 A4=aa:aa:03:00:20:f6
01:21:46 kernel: wlan0: dropped received packet from 00:02:2d:51:3e:ab with no ToDS flag (type=0x02, subtype=0x00)

these are 'foreign' packets which I do not want to receive...

01:21:46 kernel: wlan0: RX signal=163 noise=156 rate=20 len=118 jiffies=16897
01:21:46 kernel:    FC=0x0008 (type=2:0) dur=0x0000 seq=0xdd40
01:21:46 kernel:    A1=01:02:2d:61:49:cd A2=00:02:2d:51:3e:ab A3=00:00:00:00:00:00 A4=aa:aa:03:00:20:f6
01:21:47 kernel: wlan0: dropped received packet from 00:02:2d:51:3e:ab with no ToDS flag (type=0x02, subtype=0x00)
01:21:47 kernel: wlan0: RX signal=163 noise=156 rate=20 len=50 jiffies=17030
01:21:47 kernel:    FC=0x0008 (type=2:0) dur=0x0000 seq=0xe240
01:21:47 kernel:    A1=01:02:2d:61:49:cd A2=00:02:2d:51:3e:ab A3=00:00:00:00:00:00 A4=aa:aa:03:00:20:f6

I do 'iwconfig wlan0 sens 117'

01:21:52 kernel: wlan0: ED_THRESHOLD: ->0a
01:21:52 kernel: wlan0: ACQUISITION_THRESHOLDS: 1e->5e

and no more bad packets seen ;)
--
vda

Now iwconfig sens N (0..127) does indeed have some effect

diff -ur hostap-2003-06-16/driver/modules/hostap_ioctl.c hostap-2003-06-16.sens/driver/modules/hostap_ioctl.c
--- hostap-2003-06-16/driver/modules/hostap_ioctl.c	Fri Jun  6 06:07:01 2003
+++ hostap-2003-06-16.sens/driver/modules/hostap_ioctl.c	Thu Jul  3 01:13:48 2003
@@ -503,14 +503,75 @@
 				struct iw_param *sens, char *extra)
 {
 	local_info_t *local = (local_info_t *) dev->priv;
-
-	/* Set the desired AP density */
-	if (sens->value < 1 || sens->value > 3)
+	u16 val,newv;
+	
+	/* Energy Detected threshold: 0..127 <-> Sensitivity 127..0 */
+	
+	/* NB: 	by default ED seen programmed to 127 (maxed out, lowest sens)
+	* 	but ignored in both TX_CONFIGURE and ACQ_THRESH regs
+	* 	That's how hw was prgrammed in my DWL-520
+	* 	before I started to have fun with sens.
+	* TODO:	special case sens 128: do not make Acquisition Thresholds
+	* 	honour Energy Detected threshold.
+	* 	Maybe it can pick weaker signals with that setting
+	* TODO:	set max sens 127 (128) at init.
+	* TODO:	teach driver to set sens after hw reset.
+	*/
+	/* Set Energy Detected threshold */
+	if(sens->value < 0 || sens->value > 127)
+		return -EINVAL;
+	val = 127 - sens->value; /* bit 7=0 - threshold is rel to noise */
+	printk(KERN_DEBUG "%s: ED_THRESHOLD: ->%02x\n", dev->name, val);
+	if(local->func->cmd(dev, HFA384X_CMDCODE_WRITEMIF,
+	  HFA386X_CR_ED_THRESHOLD, &val, NULL)) {
+		printk(KERN_ERR "%s: failure writing ED_THRESHOLD\n",
+			dev->name);
 		return -EINVAL;
-
-	if (hostap_set_word(dev, HFA384X_RID_CNFSYSTEMSCALE, sens->value) ||
-	    local->func->reset_port(dev))
+	}
+#if 0	/* Seems like it has no effect (on my hw/fw conf) */
+	/* Make Clear Channel Assessment honour Energy Detected threshold */
+	if(local->func->cmd(dev, HFA384X_CMDCODE_READMIF,
+	  HFA386X_CR_TX_CONFIGURE, NULL, &val)) {
+		printk(KERN_ERR "%s: failure reading TX_CONFIGURE\n",
+			dev->name);
 		return -EINVAL;
+	}
+	/* bits 6:5
+	* 00 - CCA is based only on ED. 
+	* 01 - CCA is based on (CS1 OR SQ1). 
+	* 10 - CCA is based on (ED AND (CS1 OR SQ1)). 
+	* 11 - CCA is based on (ED OR (CS1 OR SQ1)). */
+	newv = (val&0x9f)|0x40;	/* 6:5=10 */
+	printk(KERN_DEBUG "%s: TX_CONFIGURE: %02x->%02x\n",
+		dev->name, val, newv);
+	if(val != newv) {
+		if(local->func->cmd(dev, HFA384X_CMDCODE_WRITEMIF,
+	          HFA386X_CR_TX_CONFIGURE, &newv, NULL)) {
+			printk(KERN_ERR "%s: failure writing TX_CONFIGURE\n",
+				dev->name);
+			return -EINVAL;
+		}
+	}
+#endif
+	/* Make Acquisition Thresholds honour Energy Detected threshold */
+	if(local->func->cmd(dev, HFA384X_CMDCODE_READMIF,
+	  HFA386X_CR_ACQUISITION_THRESHOLDS, NULL, &val)) {
+		printk(KERN_ERR "%s: failure reading ACQUISITION_THRESHOLDS\n",
+			dev->name);
+		return -EINVAL;
+	}
+	/* bit 6 - ED and SQ1 control for acquisition. 0 = SQ1. 1 = ED and SQ1. */
+	newv = val|0x40;
+	printk(KERN_DEBUG "%s: ACQUISITION_THRESHOLDS: %02x->%02x\n",
+		dev->name, val, newv);
+	if(val != newv) {
+		if(local->func->cmd(dev, HFA384X_CMDCODE_WRITEMIF,
+	          HFA386X_CR_ACQUISITION_THRESHOLDS, &newv, NULL)) {
+			printk(KERN_ERR "%s: failure writing "
+				"ACQUISITION_THRESHOLDS\n", dev->name);
+			return -EINVAL;
+		}
+	}
 
 	return 0;
 }
@@ -520,14 +581,15 @@
 				struct iw_param *sens, char *extra)
 {
 	local_info_t *local = (local_info_t *) dev->priv;
-	u16 val;
-
-	/* Get the current AP density */
-	if (local->func->get_rid(dev, HFA384X_RID_CNFSYSTEMSCALE, &val, 2, 1) <
-	    0)
-		return -EINVAL;
 
-	sens->value = __le16_to_cpu(val);
+	u16 val;
+	if (local->func->cmd(dev, HFA384X_CMDCODE_READMIF,
+	  HFA386X_CR_ED_THRESHOLD, NULL, &val)) {
+		printk(KERN_ERR "%s: failure reading ED_THRESHOLD\n",
+			dev->name);
+		return -EINVAL;		/* or what? */
+	}
+	sens->value = 127-(val&0x7f);
 	sens->fixed = 1;
 
 	return 0;
@@ -932,7 +994,7 @@
 	range->max_qual.qual = 92; /* 0 .. 92 */
 	range->max_qual.level = 154; /* 27 .. 154 */
 	range->max_qual.noise = 154; /* 27 .. 154 */
-	range->sensitivity = 3;
+	range->sensitivity = 127;
 
 	range->max_encoding_tokens = WEP_KEYS;
 	range->num_encoding_sizes = 2;
diff -ur hostap-2003-06-16/driver/modules/hostap_wlan.h hostap-2003-06-16.sens/driver/modules/hostap_wlan.h
--- hostap-2003-06-16/driver/modules/hostap_wlan.h	Fri May 23 05:23:48 2003
+++ hostap-2003-06-16.sens/driver/modules/hostap_wlan.h	Sat Jun 28 23:38:54 2003
@@ -681,6 +681,8 @@
 #define HFA386X_CR_RX_CONFIGURE 0x14
 #define HFA386X_CR_A_D_TEST_MODES2 0x1A
 #define HFA386X_CR_MANUAL_TX_POWER 0x3E
+#define HFA386X_CR_ED_THRESHOLD 0x46
+#define HFA386X_CR_ACQUISITION_THRESHOLDS 0x5E
 
 /* IEEE 802.11 defines */
 



From tony_gair  Thu Jul  3 03:12:47 2003
From: tony_gair (=?iso-8859-1?q?Tony=20Gair?=)
Date: Thu, 3 Jul 2003 11:12:47 +0100 (BST)
Subject: WISP's using hostap and prism2/2.5
Message-ID: <20030703101247.20424.qmail@web60006.mail.yahoo.com>

Hi,
   I am hoping to start a local community wireless isp and having had a good look at various commercial offerings , I have settled on using linux hostap nodes with the prism 2/2.5  chipset. This is my theoretical best choice but I would be very interested to hear of peoples experiences using this combination especially with a WISP. 
 
How easy is this to use with a RADIUS mac server ? 
 
Regards
Tony Gair




---------------------------------
Yahoo! Plus - For a better Internet experience
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030703/f7d2cf07/attachment.htm 


From hoboken  Wed Jul  2 15:51:43 2003
From: hoboken (Hoboken )
Date: Wed, 02 Jul 2003 17:51:43 -0500
Subject: Accessing the PHY layer in HostAP
Message-ID: <20030702225143.58059.qmail@mail.com>

Hello,

I have finished setting up a hostAP station so I am kinda new to this whole project. I was wondering: Is it possible to access the PHY Layer's frame headers and perhaps change them? If so, can you please give me information and/or links?

Apprecaited!

-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup



From holthoef  Thu Jul  3 03:04:28 2003
From: holthoef (=?iso-8859-1?Q?=22Holth=F6fer=2C_Bastian=22?=)
Date: Thu, 3 Jul 2003 12:04:28 +0200
Subject: hiding SSID
Message-ID: <B82805232870D448862B25266567D22601FA24A4@EXSTORE1.zdv.uni-mainz.de>

Hi all!

This topic was discussed a few days ago, but there was no final solution...
I have a DWL650 (Prism2.5) Pri 1.1.1, Sta 1.7.4 and hostap 0.0.3 in use. First, trying to hide the ssid via "iwpriv <dev> prism2_param enh_sec 1" does not succeed, my WindowsXP-client still finds the ap. The driver accepts and sets the parameter successfully ("iwpriv <dev> getprism2_param enh_sec" shows the right value). Second, I also used the parameters 2 and 3 and got an error like

Interface doesn't accept private ioctl...
prism2_param (8BE0): Invalid argument

Is the 1.7.4 still buggy or did I mess up with something?

Thank you for your answers in advance :-)


Bastian



From yannick.marcq  Thu Jul  3 02:42:41 2003
From: yannick.marcq (Yannick Marcq)
Date: Thu, 03 Jul 2003 11:42:41 +0200
Subject: Netgear MA311 + hostap: seg fault :'(
In-Reply-To: <3EF893D6.3050403@ar-k-dia.net>
References: <3EF6C375.5030403@ar-k-dia.net>
	<200306240700.h5O70Cu15498@Port.imtp.ilyichevsk.odessa.ua>
	<3EF893D6.3050403@ar-k-dia.net>
Message-ID: <3F03FA91.40602@ar-k-dia.net>

After a crash of my hd I have moved to the 'testing' version of debian, 
an rebuilt a 2.4.20 kernel, with the hostap patch to build everything at 
the same time and ... it works.

Maybe an old library has a conflict with hostap, even something in an 
older version of iptables ? I don't know, but hostap and hostapd work 
fine now :-)

Yannick.

Yannick Marcq wrote:

> Here is the log I have in /var/log/messages (file messages.log) and 
> the systems calls given by strace (file strace_modprobe.log). What is 
> the link between iptables and hostap ?
>
> Yannick.
>
> Denis Vlasenko wrote:
>
>> On 23 June 2003 12:08, Yannick Marcq wrote:
>>  
>>
>>> Hi,
>>>
>>> I tried to install a PCI wireless card (netgear ma311) on my linux 
>>> box: debian woody, kernel 2.4.20 and 2.4.22-pre1. I built hostap 
>>> from cvs and from the sources of the archive provided on the website.
>>>
>>> My problem is in all cases, when I do 'modprobe hostap_pci', there 
>>> is a segmentation fault.
>>>   
>>
>>
>> Stick lots of printks in module init routine, examine your log after
>> modprobe segfaults. BTW, run modprobe under strace too
>> -- 
>> vda
>>  
>>
>------------------------------------------------------------------------
>
>execve("/sbin/modprobe", ["modprobe", "hostap_pci"], [/* 15 vars */]) = 0
>uname({sys="Linux", node="maxagaze", ...}) = 0
>brk(0)                                  = 0x805dd20
>open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
>open("/etc/ld.so.cache", O_RDONLY)      = 3
>fstat64(3, {st_mode=S_IFREG|0644, st_size=14640, ...}) = 0
>old_mmap(NULL, 14640, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40014000
>close(3)                                = 0
>open("/lib/libc.so.6", O_RDONLY)        = 3
>read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\30\222"..., 1024) = 1024
>fstat64(3, {st_mode=S_IFREG|0755, st_size=1153784, ...}) = 0
>old_mmap(NULL, 1166560, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40018000
>mprotect(0x4012b000, 40160, PROT_NONE)  = 0
>old_mmap(0x4012b000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x113000) = 0x4012b000
>old_mmap(0x40131000, 15584, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40131000
>close(3)                                = 0
>munmap(0x40014000, 14640)               = 0
>getuid32()                              = 0
>geteuid32()                             = 0
>uname({sys="Linux", node="maxagaze", ...}) = 0
>brk(0)                                  = 0x805dd20
>brk(0x805dd40)                          = 0x805dd40
>brk(0x805e000)                          = 0x805e000
>brk(0x805f000)                          = 0x805f000
>brk(0x8060000)                          = 0x8060000
>brk(0x8061000)                          = 0x8061000
>brk(0x8062000)                          = 0x8062000
>open("/etc/modules.conf", O_RDONLY)     = 3
>fstat64(3, {st_mode=S_IFREG|0644, st_size=4027, ...}) = 0
>stat64("/etc/modules.conf", {st_mode=S_IFREG|0644, st_size=4027, ...}) = 0
>stat64("/etc/conf.modules", 0xbfffad8c) = -1 ENOENT (No such file or directory)
>fstat64(3, {st_mode=S_IFREG|0644, st_size=4027, ...}) = 0
>old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
>read(3, "### This file is automatically g"..., 4096) = 4027
>brk(0x8063000)                          = 0x8063000
>read(3, "", 4096)                       = 0
>close(3)                                = 0
>munmap(0x40014000, 4096)                = 0
>open("/lib/modules/2.4.22-pre1/modules.dep", O_RDONLY) = 3
>fstat64(3, {st_mode=S_IFREG|0644, st_size=11492, ...}) = 0
>fstat64(3, {st_mode=S_IFREG|0644, st_size=11492, ...}) = 0
>old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
>read(3, "/lib/modules/2.4.22-pre1/kernel/"..., 4096) = 4096
>brk(0x8064000)                          = 0x8064000
>brk(0x8065000)                          = 0x8065000
>read(3, "p_conntrack_ftp.o:\t/lib/modules/"..., 4096) = 4096
>brk(0x8066000)                          = 0x8066000
>brk(0x8067000)                          = 0x8067000
>read(3, "es/2.4.22-pre1/kernel/net/ipv4/n"..., 4096) = 3300
>brk(0x8068000)                          = 0x8068000
>read(3, "", 4096)                       = 0
>close(3)                                = 0
>munmap(0x40014000, 4096)                = 0
>query_module(NULL, 0, NULL, 0)          = 0
>query_module(NULL, QM_MODULES, { /* 22 entries */ }, 22) = 0
>brk(0x8069000)                          = 0x8069000
>query_module("hostap_pci", QM_INFO, {address=0xc301f000, size=33708, flags=0x40, usecount=1}, 16) = 0
>query_module("hostap", QM_INFO, {address=0xc3082000, size=76516, flags=MOD_RUNNING|MOD_USED_ONCE, usecount=0}, 16) = 0
>query_module("hostap_crypt", QM_INFO, {address=0xc301d000, size=1444, flags=MOD_RUNNING|MOD_USED_ONCE, usecount=0}, 16) = 0
>query_module("sch_ingress", QM_INFO, {address=0xc307a000, size=1700, flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=1}, 16) = 0
>query_module("cls_u32", QM_INFO, {address=0xc3077000, size=4828, flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=3}, 16) = 0
>query_module("sch_sfq", QM_INFO, {address=0xc3049000, size=3328, flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=3}, 16) = 0
>query_module("sch_htb", QM_INFO, {address=0xc3071000, size=19008, flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=1}, 16) = 0
>query_module("n_hdlc", QM_INFO, {address=0xc306e000, size=6176, flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=1}, 16) = 0
>query_module("ppp_synctty", QM_INFO, {address=0xc306b000, size=5728, flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=1}, 16) = 0
>query_module("ppp_generic", QM_INFO, {address=0xc3065000, size=16420, flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=3}, 16) = 0
>query_module("slhc", QM_INFO, {address=0xc3062000, size=5040, flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_USED_ONCE, usecount=0}, 16) = 0
>query_module("usb-ohci", QM_INFO, {address=0xc305c000, size=16744, flags=MOD_RUNNING, usecount=0}, 16) = 0
>query_module("usbcore", QM_INFO, {address=0xc304d000, size=57292, flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=1}, 16) = 0
>query_module("ipt_state", QM_INFO, {address=0xc304b000, size=568, flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=1}, 16) = 0
>query_module("iptable_filter", QM_INFO, {address=0xc303e000, size=1644, flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=1}, 16) = 0
>query_module("iptable_nat", QM_INFO, {address=0xc3039000, size=15726, flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=1}, 16) = 0
>query_module("ip_conntrack", QM_INFO, {address=0xc3031000, size=17508, flags=MOD_RUNNING|MOD_AUTOCLEAN|MOD_VISITED|MOD_USED_ONCE, usecount=2}, 16) = 0
>query_module("ip_tables", QM_INFO, {address=0xc302d000, size=11584, flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=5}, 16) = 0
>query_module("8139too", QM_INFO, {address=0xc3018000, size=14408, flags=MOD_RUNNING|MOD_VISITED|MOD_USED_ONCE, usecount=1}, 16) = 0
>query_module("mii", QM_INFO, {address=0xc3016000, size=2240, flags=MOD_RUNNING|MOD_USED_ONCE, usecount=0}, 16) = 0
>query_module("crc32", QM_INFO, {address=0xc3014000, size=2880, flags=MOD_RUNNING|MOD_USED_ONCE, usecount=0}, 16) = 0
>query_module("smbfs", QM_INFO, {address=0xc300a000, size=35024, flags=MOD_RUNNING, usecount=0}, 16) = 0
>chdir("/var/log/ksymoops")              = 0
>time(NULL)                              = 1056475210
>open("/etc/localtime", O_RDONLY)        = 3
>fstat64(3, {st_mode=S_IFREG|0644, st_size=1082, ...}) = 0
>old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
>read(3, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\f\0\0\0\f\0"..., 4096) = 1082
>close(3)                                = 0
>munmap(0x40014000, 4096)                = 0
>open("20030624.log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
>fstat64(3, {st_mode=S_IFREG|0644, st_size=8447, ...}) = 0
>old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
>fstat64(3, {st_mode=S_IFREG|0644, st_size=8447, ...}) = 0
>_llseek(3, 8447, [8447], SEEK_SET)      = 0
>write(3, "20030624 192010 start modprobe h"..., 53) = 53
>fdatasync(3)                            = 0
>close(3)                                = 0
>munmap(0x40014000, 4096)                = 0
>chdir("/var/log/ksymoops")              = 0
>time(NULL)                              = 1056475210
>open("20030624.log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 3
>fstat64(3, {st_mode=S_IFREG|0644, st_size=8500, ...}) = 0
>old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
>fstat64(3, {st_mode=S_IFREG|0644, st_size=8500, ...}) = 0
>_llseek(3, 8500, [8500], SEEK_SET)      = 0
>write(3, "20030624 192010 probe ended\n", 28) = 28
>fdatasync(3)                            = 0
>close(3)                                = 0
>munmap(0x40014000, 4096)                = 0
>_exit(0)                                = ?
>  
>
>------------------------------------------------------------------------
>
>Jun 24 18:42:18 maxagaze kernel: hostap_pci: CVS (Jouni Malinen <jkmaline at cc.hut.fi>)
>Jun 24 18:42:18 maxagaze kernel: hostap_pci: Registered netdevice wlan0
>Jun 24 18:42:18 maxagaze kernel:  printing eip:
>Jun 24 18:42:18 maxagaze kernel: c0111b24
>Jun 24 18:42:18 maxagaze kernel: Oops: 0002
>Jun 24 18:42:18 maxagaze kernel: CPU:    0
>Jun 24 18:42:18 maxagaze kernel: EIP:    0010:[add_wait_queue+20/48]    Not tainted
>Jun 24 18:42:18 maxagaze kernel: EFLAGS: 00010046
>Jun 24 18:42:18 maxagaze kernel: eax: c10a6c68   ebx: 00000000   ecx: c1f55d70   edx: c1f55d68
>Jun 24 18:42:18 maxagaze kernel: esi: 00000246   edi: c10a6c9c   ebp: c1f55d68   esp: c1f55d1c
>Jun 24 18:42:18 maxagaze kernel: ds: 0018   es: 0018   ss: 0018
>Jun 24 18:42:18 maxagaze kernel: Process modprobe (pid: 841, stackpage=c1f55000)
>Jun 24 18:42:18 maxagaze kernel: Stack: c10a6c68 0000fd0b c301f2e3 0000fd0b 00000000 c0b43820 c0ed2400 c10a6c60
>Jun 24 18:42:18 maxagaze kernel:        6e6d6c6b 7271706f c1f54000 00000000 c0d01a00 c0b43800 0021f360 00000000
>Jun 24 18:42:18 maxagaze kernel:        c1f54000 00000000 00000000 00000000 c1f54000 00000000 00000000 00000000
>Jun 24 18:42:18 maxagaze kernel: Call Trace:    [iptable_nat:__insmod_iptable_nat_O/lib/modules/2.4.22-pre1/kernel/net/i+-146717/96] [iptable
>_nat:__insmod_iptable_nat_O/lib/modules/2.4.22-pre1/kernel/net/i+-144395/96] [iptable_nat:__insmod_iptable_nat_O/lib/modules/2.4.22-pre1/kern
>el/net/i+-120662/96] [vsnprintf+552/1168] [iptable_nat:__insmod_iptable_nat_O/lib/modules/2.4.22-pre1/kernel/net/i+-145086/96]
>Jun 24 18:42:18 maxagaze kernel:   [iptable_nat:__insmod_iptable_nat_O/lib/modules/2.4.22-pre1/kernel/net/i+-143378/96] [iptable_nat:__insmod
>_iptable_nat_O/lib/modules/2.4.22-pre1/kernel/net/i+-143602/96] [printk+240/304] [__rdtsc_delay+20/32] [iptable_nat:__insmod_iptable_nat_O/li
>b/modules/2.4.22-pre1/kernel/net/i+-141471/96] [iptable_nat:__insmod_iptable_nat_O/lib/modules/2.4.22-pre1/kernel/net/i+-120662/96]
>Jun 24 18:42:18 maxagaze kernel:   [iptable_nat:__insmod_iptable_nat_O/lib/modules/2.4.22-pre1/kernel/net/i+-130816/96] [iptable_nat:__insmod
>_iptable_nat_O/lib/modules/2.4.22-pre1/kernel/net/i+-140988/96] [iptable_nat:__insmod_iptable_nat_O/lib/modules/2.4.22-pre1/kernel/net/i+-125
>081/96] [iptable_nat:__insmod_iptable_nat_O/lib/modules/2.4.22-pre1/kernel/net/i+-130816/96] [iptable_nat:__insmod_iptable_nat_O/lib/modules/
>2.4.22-pre1/kernel/net/i+-125037/96] [iptable_nat:__insmod_iptable_nat_O/lib/modules/2.4.22-pre1/kernel/net/i+-114947/96]
>Jun 24 18:42:18 maxagaze kernel:   [iptable_nat:__insmod_iptable_nat_O/lib/modules/2.4.22-pre1/kernel/net/i+-114200/96] [iptable_nat:__insmod
>_iptable_nat_O/lib/modules/2.4.22-pre1/kernel/net/i+-113824/96] [pci_announce_device+33/96] [iptable_nat:__insmod_iptable_nat_O/lib/modules/2
>.4.22-pre1/kernel/net/i+-114200/96] [iptable_nat:__insmod_iptable_nat_O/lib/modules/2.4.22-pre1/kernel/net/i+-113824/96] [pci_register_driver
>+87/96]
>Jun 24 18:42:18 maxagaze kernel:   [iptable_nat:__insmod_iptable_nat_O/lib/modules/2.4.22-pre1/kernel/net/i+-113824/96] [iptable_nat:__insmod
>_iptable_nat_O/lib/modules/2.4.22-pre1/kernel/net/i+-124675/96] [iptable_nat:__insmod_iptable_nat_O/lib/modules/2.4.22-pre1/kernel/net/i+-113
>824/96] [iptable_nat:__insmod_iptable_nat_O/lib/modules/2.4.22-pre1/kernel/net/i+-124688/96] [iptable_nat:__insmod_iptable_nat_O/lib/modules/
>2.4.22-pre1/kernel/net/i+-114621/96] [iptable_nat:__insmod_iptable_nat_O/lib/modules/2.4.22-pre1/kernel/net/i+-124343/96]
>Jun 24 18:42:18 maxagaze kernel:   [iptable_nat:__insmod_iptable_nat_O/lib/modules/2.4.22-pre1/kernel/net/i+-124384/96] [sys_init_module+1145
>/1504] [iptable_nat:__insmod_iptable_nat_O/lib/modules/2.4.22-pre1/kernel/net/i+-114272/96] [iptable_nat:__insmod_iptable_nat_O/lib/modules/2
>.4.22-pre1/kernel/net/i+-147360/96] [system_call+51/64]
>Jun 24 18:42:18 maxagaze kernel:
>Jun 24 18:42:18 maxagaze kernel: Code: 89 4b 04 89 08 89 41 04 56 9d 5b 5e c3 eb 0d 90 90 90 90 90
>
>------------------------------------------------------------------------
>
>_______________________________________________
>HostAP mailing list
>HostAP at shmoo.com
>http://lists.shmoo.com/mailman/listinfo/hostap
>  
>




From spheenik  Thu Jul  3 09:23:35 2003
From: spheenik (Martin Schrodt)
Date: Thu, 3 Jul 2003 18:23:35 +0200
Subject: Error message> wlan0: SW TICK stuck? 
References: <004e01c34147$b69d6e40$0965a8c0@msramek>
Message-ID: <001401c3417f$74656540$400b000a@schorsch>

I have had the same problem here, it occured after it worked flawlessly for a week.
Haven't been able to dig further in it?

Do you have any information yet?

Thanks.


  ----- Original Message ----- 
  From: Milos Sramek 
  To: hostap at shmoo.com 
  Sent: Thursday, July 03, 2003 11:44 AM
  Subject: Error message> wlan0: SW TICK stuck? 


  What does this error message mean ??  and why it's egressing ??

  wlan0: SW TICK stuck? bits=0x0 EvStat=8001 IntEn=e018

  Linux repeatly this message to console and is total "dead".



  Please help.

  Thanks.



------------------------------------------------------------------------------


  _______________________________________________
  HostAP mailing list
  HostAP at shmoo.com
  http://lists.shmoo.com/mailman/listinfo/hostap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030703/17542300/attachment.htm 


From chhabra  Thu Jul  3 09:56:49 2003
From: chhabra (Madhusudan Singh)
Date: Thu, 03 Jul 2003 12:56:49 -0400
Subject: Need help setting up a Netgear MA401 Rev D card
In-Reply-To: <200307030233.23015.lists@chrishowells.co.uk>
References: <3f036067.1660.0@alphalink.com.au>
	<3F0363B5.2010109@eecs.umich.edu>
	<200307030233.23015.lists@chrishowells.co.uk>
Message-ID: <3F046051.5030705@eecs.umich.edu>

Hi
    I just recompiled my kernel (2.4.21) with the ACPI patch and 
compiled hostap 0.0.3

    Now I find that cardmgr is always looking for orinoco_cs and fails. 
How do I fix this ?

    Another side-effect - I find that my NFS mounts that worked 
perfectly earlier, now take a long time and I get lockd errors.

    insmod hostap_crypt and hostap load, but hostap_cs fails with 
unresolved symbols.

Any hints ?

Thanks,

MS

   

Chris Howells wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Hi,
>
>On Wednesday 02 July 2003 23:59, Madhusudan Singh wrote:
>  
>
>>Thanks for such a prompt response !!
>>
>>I wish to know if you have had any resource conflicts arising from using
>>ACPI ?
>>    
>>
>
>unplug the card, plug it in again, and run dmesg to see the  information that 
>the driver outputs when it's plugged in.
>
>I have a MA401 running fine on SuSE 8.2, but unfortunately Linux is completely 
>retarded in terms of IRQ allocation and doesn't allocate IRQs in a manner 
>suitable for me to use a PCMCIA modem and the MA401 at the same time (there 
>is only one free IRQ after sorting out the PCI devices, and I would need two 
>for the modem and the MA401).
>
>- -- 
>Cheers, Chris Howells -- chris at chrishowells.co.uk, howells at kde.org
>Web: http://chrishowells.co.uk, PGP ID: 33795A2C
>KDE/Qt/C++ Developer: http://www.kde.org
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
>
>iD8DBQE/A4fiF8Iu1zN5WiwRAkP7AJ4l+xV0W+U2th8LBPkJWPORJop/mgCgpYiA
>7Hsf8gOj3biiXyfZX4seEuc=
>=Fkwn
>-----END PGP SIGNATURE-----
>  
>

-- 
Madhusudan Singh
Graduate Student Research Assistant,
Department of Electrical Engineering and Computer Science,
University of Michigan, Ann Arbor, MI, 48109,
United States.

2437, EECS Bldg.,
1301, Beal Avenue,
Ann Arbor, MI, 48109.

Phone : +1-734-763-6466
Fax : +1-734-763-9324




From mumu  Thu Jul  3 11:01:11 2003
From: mumu (Milos Sramek)
Date: Thu, 3 Jul 2003 20:01:11 +0200
Subject: Error message> wlan0: SW TICK stuck? 
References: <004e01c34147$b69d6e40$0965a8c0@msramek>
	<001401c3417f$74656540$400b000a@schorsch>
Message-ID: <002e01c3418d$16da5f30$0965a8c0@msramek>

I am using HOSTAP 0.0.3 version.
Kernel 2.4.20 with patch wireless extension 15
One Card ZCOM XI626 with firmware 1.5.6 in MASTER mode, without hostapd.

Linux has uptime etc. 8days (this time is randomly) and after go to this error.
After restart is linux stable and ok for several days.

Please help me. I need know why this event is doing. I must resolve this problem urgently.

Thank you very much.



  I have had the same problem here, it occured after it worked flawlessly for a week.
  Haven't been able to dig further in it?

  Do you have any information yet?

  Thanks.


    What does this error message mean ??  and why it's egressing ??

    wlan0: SW TICK stuck? bits=0x0 EvStat=8001 IntEn=e018

    Linux repeatly this message to console and is total "dead".



    Please help.

    Thanks.



----------------------------------------------------------------------------


    _______________________________________________
    HostAP mailing list
    HostAP at shmoo.com
    http://lists.shmoo.com/mailman/listinfo/hostap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030703/1db846b8/attachment.htm 


From vicente.paredes  Thu Jul  3 15:35:50 2003
From: vicente.paredes (Vicente Paredes)
Date: Thu, 3 Jul 2003 17:35:50 -0500 (CDT)
Subject: DWL-520 and hostap
Message-ID:      <1257.200.63.198.175.1057271750.squirrel@webmail.linuxpowered.org>

Dear friends.

I am from ecuador, i am trying to built a wireless communitty network in
my town. I am getting DWL-520 cards and Red hat 8 to built my AP, please
send me some information, about antenas speccialy, experiences with this
card, which version of host ap is better for me, etc.

Another question

If i want to group some nodes, what do i need, another wireless card in my
access point with a diirectional antenna???

Please helpme.

Thanks in advance.

-- 
Atentamente

Vicente Paredes
Departamento de ?ngenier?a
GRUEIN S.A.
PBX 593-42690888
CEL 593-98412868



From vicente.paredes  Thu Jul  3 15:36:32 2003
From: vicente.paredes (Vicente Paredes)
Date: Thu, 3 Jul 2003 17:36:32 -0500 (CDT)
Subject: DWL-520 and hostap
Message-ID:      <1246.200.63.198.175.1057271792.squirrel@webmail.linuxpowered.org>

Dear friends.

I am from ecuador, i am trying to built a wireless communitty network in
my town. I am getting DWL-520 cards and Red hat 8 to built my AP, please
send me some information, about antenas speccialy, experiences with this
card, which version of host ap is better for me, etc.

Another question

If i want to group some nodes, what do i need, another wireless card in my
access point with a diirectional antenna???

Please helpme.

Thanks in advance.

-- 
Atentamente

Vicente Paredes
Departamento de ?ngenier?a
GRUEIN S.A.
PBX 593-42690888
CEL 593-98412868



From jkmaline  Thu Jul  3 16:58:39 2003
From: jkmaline (Jouni Malinen)
Date: Thu, 3 Jul 2003 16:58:39 -0700
Subject: [PATCH] Remove blank printk
In-Reply-To: <200307030923.h639NNu27992@Port.imtp.ilyichevsk.odessa.ua>
References: <200307030923.h639NNu27992@Port.imtp.ilyichevsk.odessa.ua>
Message-ID: <20030703235839.GA4633@jm.kir.nu>

On Thu, Jul 03, 2003 at 12:26:57PM +0300, Denis Vlasenko wrote:

> This patch removes spurious blank printk.

>  	if (skb->len >= 30)
>  		printk(" A4=" MACSTR "\n", MAC2STR(hdr->addr4));
> -	printk("\n");

Thanks. However, you removed the wrong linefeed, the one after optional
A4 is the one that should be removed and I removed it now from CVS.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Thu Jul  3 17:07:08 2003
From: jkmaline (Jouni Malinen)
Date: Thu, 3 Jul 2003 17:07:08 -0700
Subject: what's mean ssid hide
In-Reply-To: <KEECLLIPMFCFLJKFNEKOCEFKCCAA.imp@airlinktek.com>
References: <KEECLLIPMFCFLJKFNEKOCEFKCCAA.imp@airlinktek.com>
Message-ID: <20030704000708.GB4633@jm.kir.nu>

On Wed, Jul 02, 2003 at 05:09:50PM +0900, imp wrote:

> As hostap iwpriv list said, hostap can hide ssid with later 1.6.3 firmware version. 
> and "ANY" scan protected ...
> 
> Could you please let me know, how can I under stand it's mean, and how do I test it ? 

1) hide SSID in beacon frames
 - SSID element in beacon frames will be changed to report empty (len=0)
   SSID

2) ignore clients configured with "ANY" (broadcast) SSID
 - STA f/w is asked to only reply Probe Requests that contain the SSID
   that the AP is using; especially, this means that AP does not reply
   to Probe Requests for broadcast SSID (len=0)

Testing: sniff beacon and probe messages; verify that SSID element is
removed (1) and AP is not replying to ProbeReq with broadcast SSID. In
addition, if a STA is not configured with the correct SSID, it should
not be able to associate with the AP.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Thu Jul  3 17:35:44 2003
From: jkmaline (Jouni Malinen)
Date: Thu, 3 Jul 2003 17:35:44 -0700
Subject: More STA Mode Question
In-Reply-To: <KEECLLIPMFCFLJKFNEKOGEFJCCAA.imp@airlinktek.com>
References: <KEECLLIPMFCFLJKFNEKOGEFJCCAA.imp@airlinktek.com>
Message-ID: <20030704003544.GC4633@jm.kir.nu>

On Wed, Jul 02, 2003 at 03:11:50PM +0900, imp wrote:

> > iwconfig wlan0 ap <specific AP BSSID>

> In this case, sta mode should know the specific AP's Mac address. but, in general most card utility program
> remember the essid name to association near other APs (same essid, differ BSSID) in one to many situation... 
> for example,

Yes, that 'ap' command was suggested since question was about how to
explicitly select the AP using BSSID..

> there are three AP differ BSSID, same ESSID, in this case, above method always change the BSSID with
> iwconfig wlan0 ap (BSSID) command as mannually. when it roam AP1 ->  AP2, AP2 ->AP3.
> 
> Could you recommand any way to automatically change link with near AP in sta mode hostap box ?

The default station functionality will make the STA roam between APs
that are using the same SSID. In other words, just leave the 'ap'
command away.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Thu Jul  3 17:46:41 2003
From: jkmaline (Jouni Malinen)
Date: Thu, 3 Jul 2003 17:46:41 -0700
Subject: [PATCH] Re: june 8th cvs, same problems
In-Reply-To: <Pine.LNX.4.56.0306111645170.6633@marabou.research.att.com>
References: <Law9-F57V0hCLwHc9ny00005e1a@hotmail.com>
	<20030609023513.GQ3113@jm.kir.nu>
	<Pine.LNX.4.56.0306111645170.6633@marabou.research.att.com>
Message-ID: <20030704004641.GA4704@jm.kir.nu>

On Wed, Jun 11, 2003 at 04:57:01PM -0400, Pavel Roskin wrote:

> Yes.  hostap_hw.c was still including linux/wireless.h regardless of
> CONFIG_NET_RADIO.  Making this consistent with other files fixed
> unresolved symbols.

> For some reason, the iw_mode parameter was ignored without wireless
> extensions support.  I removed that ifdef.  The patch is attached.

Thanks, applied.

> There are also messages about unused functions, but I won't fix that code
> without having a testsuite with several kernels and configurations:

Yeah.. I don't really care that much about these warnings since we are
talking about using the driver with Linux wireless extensions disabled..
hostapd does not work with that kind of configuration and will probably
never work. I would not have much problems with requiring WIRELESS_EXT
for Host AP driver anyway.. It was just easy enough to make the
compilation work so now it uses some more #if blocks and might at least
work in some sort of minimal mode without WIRELESS_EXT.

-- 
Jouni Malinen                                            PGP id EFC895FA



From imp  Thu Jul  3 22:16:21 2003
From: imp (imp)
Date: Fri, 4 Jul 2003 14:16:21 +0900
Subject: Detect link state ?
Message-ID: <KEECLLIPMFCFLJKFNEKOIEPNCCAA.imp@airlinktek.com>

Dear all..

I have two hosap one is hostap master (my desktop) and the other is hostap station mode in my notebook.
actually I can link from notebook to desktop. and communicate well...

My question is, what parameter or information to detect that Is it linked or not between notebook 
and desktop in my notebook side ?, In addition too, How can I detect when my note book associate or disassociate 
with the desktop(AP) and  when my notebook reassociate the other desktop (If I have more hostap master) as roaming 
other AP in notebook side ?

Thanks for your comment and welcome to any advice...

Bernard





From vda  Thu Jul  3 22:17:21 2003
From: vda (Denis Vlasenko)
Date: Fri, 4 Jul 2003 08:17:21 +0300
Subject: [PATCH] Remove blank printk
In-Reply-To: <20030703235839.GA4633@jm.kir.nu>
References: <200307030923.h639NNu27992@Port.imtp.ilyichevsk.odessa.ua>
	<20030703235839.GA4633@jm.kir.nu>
Message-ID: <200307040513.h645Dsu32620@Port.imtp.ilyichevsk.odessa.ua>

On 4 July 2003 02:58, Jouni Malinen wrote:
> On Thu, Jul 03, 2003 at 12:26:57PM +0300, Denis Vlasenko wrote:
> 
> > This patch removes spurious blank printk.
> 
> >  	if (skb->len >= 30)
> >  		printk(" A4=" MACSTR "\n", MAC2STR(hdr->addr4));
> > -	printk("\n");
> 
> Thanks. However, you removed the wrong linefeed, the one after optional
> A4 is the one that should be removed and I removed it now from CVS.

Oh :( Indeed
--
vda



From bruno.randolf  Fri Jul  4 04:12:50 2003
From: bruno.randolf (Bruno Randolf)
Date: Fri, 4 Jul 2003 13:12:50 +0200
Subject: DWL-520 and hostap
In-Reply-To: <1246.200.63.198.175.1057271792.squirrel@webmail.linuxpowered.org>
References: <1246.200.63.198.175.1057271792.squirrel@webmail.linuxpowered.org>
Message-ID: <200307041312.50597.bruno.randolf@4g-systems.de>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hello! 

On Friday 04 July 2003 00:36, Vicente Paredes wrote:

> I am from ecuador, i am trying to built a wireless communitty network in
> my town. I am getting DWL-520 cards and Red hat 8 to built my AP, please
> send me some information, about antenas speccialy, experiences with this
> card, which version of host ap is better for me, etc.

i have used this card a lot and have had good experiences with it. it is said, 
that this card only works with a PCI 2.2 bus, but for me it also works with a 
PCI 2.1 bus in an old pentium 1 mainboard.

you have to tak care, that you get a version of the DWL-520 which has a prism 
chipset, the newest version of this card (rev. C) has a different chipset.
this is what jun sun said about this a few days ago on this mailinglist:

> Look at the cover of the box.  Rev A and B has a metal boxy cover with
> color prints, while Rev C does not.  Rev C only shows bare chips.

dont buy a DWL-520+ - this card is not supported.

i use hostap-0.0.3 at the moment and it works fine.

concerning antennas, you might want to read 
http://www.personaltelco.net/index.cgi/AntennaInfo or 
http://www.qsl.net/n9zia/index.html for more theoretical stuff. there are 
lots of other webpages concerning this topic, that i dont remember.

bruno
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/BWEyfg2jtUL97G4RAoTZAJ9e7X3yy2Ux7qlgQmlCLMAT5edMKQCgjiSJ
5Wk/9eCk0mU/q+kVySXLvH8=
=WTue
-----END PGP SIGNATURE-----



From antonio.vilei  Fri Jul  4 05:03:04 2003
From: antonio.vilei (Antonio Vilei)
Date: Fri, 4 Jul 2003 14:03:04 +0200
Subject: Detect link state ?
Message-ID: <00a701c34224$399ea520$151e0a0a@stmantoniov>

Hello Bernard,

> My question is, what parameter or information to detect that Is it linked
or not between notebook
> and desktop in my notebook side ?

AP side:
check /proc/net/hostap/wlan#/

you will find an entry (the name is a MAC address) for each station
associated to that AP.
----------
STA side:
iwconfig wlan#

if the STA is connected to an AP you will find "Access Point:
xx:xx:xx:xx:xx:xx" (where is the MAC of the AP).

if the STA is not connected to any AP you will find "Access Point:
44:44:44:44:44:44".

Regards,
Antonio



----- Original Message -----
From: "imp" <imp at airlinktek.com>
To: "hostap" <hostap at shmoo.com>
Sent: Friday, July 04, 2003 7:16 AM
Subject: Detect link state ?


> Dear all..
>
> I have two hosap one is hostap master (my desktop) and the other is hostap
station mode in my notebook.
> actually I can link from notebook to desktop. and communicate well...
>
> My question is, what parameter or information to detect that Is it linked
or not between notebook
> and desktop in my notebook side ?, In addition too, How can I detect when
my note book associate or disassociate
> with the desktop(AP) and  when my notebook reassociate the other desktop
(If I have more hostap master) as roaming
> other AP in notebook side ?
>
> Thanks for your comment and welcome to any advice...
>
> Bernard





From timo.bruderek  Fri Jul  4 09:50:55 2003
From: timo.bruderek (timo.bruderek at gmx.de)
Date: Fri, 04 Jul 2003 18:50:55 +0200
Subject: New TI ACX 100 Chipset
Message-ID: <3F05CC8F.20742.7181EA@localhost>

Is it possible to build a AP with a PCI Card with the ACX 100 Chipset ??

Does HOSTAP will be work with this Chipset sometimes ??



From chhabra  Fri Jul  4 14:03:57 2003
From: chhabra (Madhusudan Singh)
Date: Fri, 04 Jul 2003 17:03:57 -0400
Subject: Confused regarding hostap
Message-ID: <3F05EBBD.6040305@eecs.umich.edu>

Hi
    I am a little confused about what version of hostap driver do I use. 
 I apologise for such a question, but there seem to be plenty of 
conflicting reports.

    I have a Netgear MA401 RA wireless card (as cardinfo reveals). Do I 
make pci or make pccard ?

    I have found conflicting advice on the subject - a pdf file at :

    
http://www.uni-duisburg.de/HRZ/services/alle/wlan/installation/linux/ecampus_suse_debian_en.pdf

    (suggests pci - look at the Debian section)

    and

    http://www.stevewatts.com/computers/laptop/

    (suggests pccard but aliases hostap_pci !!).

Thanks,

MS



From tchen  Sat Jul  5 00:40:58 2003
From: tchen (Thomas Chen)
Date: Sat, 05 Jul 2003 00:40:58 -0700
Subject: openap vs hostap.... what is the difference?
Message-ID: <BB2BCF1A.C203%tchen@on-go.com>

also... is there any incompatiblity if wlan-ng and hostap are
both installed ?

thanks



From proski  Sun Jul  6 08:19:17 2003
From: proski (Pavel Roskin)
Date: Sun, 06 Jul 2003 11:19:17 -0400 (EDT)
Subject: Trivial patch for ChangeLog
Message-ID: <Pine.LNX.4.44.0307061114470.12860-100000@localhost.localdomain>

Hello!

ChangeLog seems to imply that using Wireless Extensions is not 
recommended, while the opposite is true.

==================================================
--- ChangeLog
+++ ChangeLog
@@ -12,4 +12,4 @@
 	* fixed compilation with Linux Wireless Extensions (CONFIG_NET_RADIO)
-	  (this is not recommended, but should work now; it will limit driver
-	  functionality)
+	  disabled (this is not recommended, but should work now; it will limit
+	  driver functionality)
 	* use less aggressive transmit rate decreasing algorithm
==================================================

-- 
Regards,
Pavel Roskin



From f6hqz  Sun Jul  6 09:53:30 2003
From: f6hqz (Francois BERGERET)
Date: Sun, 6 Jul 2003 18:53:30 +0200
Subject: complete list of hostap files, pse
Message-ID: <LEEMLOMCOLGDFKOEHKDPOEJJDLAA.f6hqz@easyconnect.fr>

Hi the list,

I have a HAMproject which is blocked by my lack of competence regarding hostap.
I am using Bering, which is a well known ditro from Leaf.sourceforge.net, based on a Woody Debian (kernel 2.4.20), and embedded in a
Soekris net4521 pc card.

Can somebody to tell me a complete list of all necessary files for HOSTAP with their own full directory tree, and copy a complete
set of examples files ?
Or to give me the correct pointer(s) because I am searching this from more than one month, jumping from personal pages to other
personal pages, with some variations that I cant understand for now.
I have just obtained kernel panic...

Many thanks for any help.

Best Regards,
Francois BERGERET,
F6HQZ,
France.



From project.manager  Sun Jul  6 10:20:48 2003
From: project.manager (Jonnas)
Date: Sun, 06 Jul 2003 19:20:48 +0200
Subject: complete list of hostap files, pse
References: <LEEMLOMCOLGDFKOEHKDPOEJJDLAA.f6hqz@easyconnect.fr>
Message-ID: <3F085A70.1050404@web.de>

Hi,

Not sure what you are looking for, probably I just don't get the wording 
of your msg! But if it is:

1) The source files for the hostap driver, you will find them at 	
	*http://hostap.epitest.fi/releases/hostap-0.0.3.tar.gz*

	You will have to compile the binaries yourself - there is no 	
	binary distribution of hostap AFAIK. It is straightfoward to
	obtain working binaries though.

2) If you are looking for a complete distribution that uses the hostap 
driver for wireless interface, then pebble is your friend.
	*http://www.nycwireless.net/pebble/*

Hope that helps.
Jonnas


Francois BERGERET wrote:
> Hi the list,
> 
> I have a HAMproject which is blocked by my lack of competence regarding hostap.
> I am using Bering, which is a well known ditro from Leaf.sourceforge.net, based on a Woody Debian (kernel 2.4.20), and embedded in a
> Soekris net4521 pc card.
> 
> Can somebody to tell me a complete list of all necessary files for HOSTAP with their own full directory tree, and copy a complete
> set of examples files ?
> Or to give me the correct pointer(s) because I am searching this from more than one month, jumping from personal pages to other
> personal pages, with some variations that I cant understand for now.
> I have just obtained kernel panic...
> 
> Many thanks for any help.
> 
> Best Regards,
> Francois BERGERET,
> F6HQZ,
> France.
> 
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
> 



-- 
To help build yet another comprehensive Linux community, visit
http://www.desilinux.com



From f6hqz  Sun Jul  6 12:03:35 2003
From: f6hqz (Francois BERGERET)
Date: Sun, 6 Jul 2003 21:03:35 +0200
Subject: complete list of hostap files, pse
In-Reply-To: <3F085A70.1050404@web.de>
Message-ID: <LEEMLOMCOLGDFKOEHKDPAEJMDLAA.f6hqz@easyconnect.fr>

Hi Jonnas, hi the list,

Thanks for the pointer.

Sorry for my very poor english.
I tempt to explain differently :
I have Bering 1.1 running. Jacques Nilo, which is the project manager of this fantastic distro, has compiled hostap for it.
But, after having installed the pcmcia_hostap.lrp package, it seems that some files are missing or I have not completely understood
how to do with it.
What I am asking is the list of the files used by hostap and their exact path in a Debian Woody directory tree.

I don't want to change my actual Bering distro against any other, because I use it from a certain time and it looks ok for me for
all my past projects, IPSec VPN, etc... I want only to add and start hostap with it now.
I am found of the Bering phylosophy. I want to add wireless access to my actual HAM radio VPN.

If you can help me more...

TIA

Best Regards,
Francois BERGERET,
France.

> -----Message d'origine-----
> De : project.manager at web.de [mailto:project.manager at web.de]
> Envoye : dimanche 6 juillet 2003 19:21
> A : hostap at shmoo.com; f6hqz at easyconnect.fr
> Objet : Re: complete list of hostap files, pse
>
>
> Hi,
>
> Not sure what you are looking for, probably I just don't get the wording
> of your msg! But if it is:
>
> 1) The source files for the hostap driver, you will find them at
> 	*http://hostap.epitest.fi/releases/hostap-0.0.3.tar.gz*
>
> 	You will have to compile the binaries yourself - there is no
> 	binary distribution of hostap AFAIK. It is straightfoward to
> 	obtain working binaries though.
>
> 2) If you are looking for a complete distribution that uses the hostap
> driver for wireless interface, then pebble is your friend.
> 	*http://www.nycwireless.net/pebble/*
>
> Hope that helps.
> Jonnas
>
>
> Francois BERGERET wrote:
> > Hi the list,
> >
> > I have a HAMproject which is blocked by my lack of competence regarding hostap.
> > I am using Bering, which is a well known ditro from Leaf.sourceforge.net, based on a Woody Debian (kernel 2.4.20), and
> embedded in a
> > Soekris net4521 pc card.
> >
> > Can somebody to tell me a complete list of all necessary files for HOSTAP with their own full directory tree, and copy
> a complete
> > set of examples files ?
> > Or to give me the correct pointer(s) because I am searching this from more than one month, jumping from personal pages to other
> > personal pages, with some variations that I cant understand for now.
> > I have just obtained kernel panic...
> >
> > Many thanks for any help.
> >
> > Best Regards,
> > Francois BERGERET,
> > F6HQZ,
> > France.
> >
> > _______________________________________________
> > HostAP mailing list
> > HostAP at shmoo.com
> > http://lists.shmoo.com/mailman/listinfo/hostap
> >
>
>
>
> --
> To help build yet another comprehensive Linux community, visit
> http://www.desilinux.com
>
>



From jsun  Sun Jul  6 15:57:07 2003
From: jsun (Jun Sun)
Date: Sun, 6 Jul 2003 15:57:07 -0700
Subject: reset hostap driver parameters to default
Message-ID: <20030706225707.GA3511@gateway.junsun.net>


Is there an easy way to reset all driver parameters?

It seems that 'rmmod hostap_xxx' and 'modprobe hostap_xxx' again would
achieve this effect.  I wonder if there is more elegant way to do it.

Jun



From ml  Sun Jul  6 18:24:45 2003
From: ml (Dominique Blas)
Date: Mon, 7 Jul 2003 03:24:45 +0200
Subject: complete list of hostap files, pse
In-Reply-To: <LEEMLOMCOLGDFKOEHKDPAEJMDLAA.f6hqz@easyconnect.fr>
References: <LEEMLOMCOLGDFKOEHKDPAEJMDLAA.f6hqz@easyconnect.fr>
Message-ID: <200307070324.45555@db>

Le Dimanche 6 Juillet 2003 21:03, Francois BERGERET a ?crit :
> Hi Jonnas, hi the list,
>
> Thanks for the pointer.
>
> Sorry for my very poor english.
> I tempt to explain differently :
> I have Bering 1.1 running. Jacques Nilo, which is the project manager of
> this fantastic distro, has compiled hostap for it. But, after having
> installed the pcmcia_hostap.lrp package, it seems that some files are
> missing or I have not completely understood how to do with it.
> What I am asking is the list of the files used by hostap and their exact
> path in a Debian Woody directory tree.
>

Fran?ois, 

as always with hostap the make is fairly simple :
	make
This make will also compile the companion modules : hostap, hostap_crypt.o and hostap_crypt_wep.o

Then you move the .o in their appropriate directory (/lib/modules/<kernel name>/pcmcia for hostap_cs.o and /lib/modules/<kernel name>/net for the others).

Or, SIMPLER, 
	make install
	will move automatically the .o in the correct destination directory and will do the depmod -a for you

If you have unresolved symbols when you load hostap_pci (or hostap_cs or hostap_plx) it means that your development kernel version and your running kernel version don't match !
Be sure that your modules where compiled with the same version (label above all) of kernel you're are running under.
Be also sure that the kernel you are running had Hermes Chipset support checked.


Here is the whole list of files for hostap 0.0.3.

	hostap-0.0.3/COPYING
	hostap-0.0.3/ChangeLog
	hostap-0.0.3/FAQ
	hostap-0.0.3/Makefile
	hostap-0.0.3/README
	hostap-0.0.3/driver_source.txt
	hostap-0.0.3/driver/
	hostap-0.0.3/driver/etc/
	hostap-0.0.3/driver/etc/hostap_cs.conf
	hostap-0.0.3/driver/hostap.mk
	hostap-0.0.3/driver/modules/
	hostap-0.0.3/driver/modules/.cvsignore
	hostap-0.0.3/driver/modules/Makefile
	hostap-0.0.3/driver/modules/hostap.c
	hostap-0.0.3/driver/modules/hostap.h
	hostap-0.0.3/driver/modules/hostap_ap.c
	hostap-0.0.3/driver/modules/hostap_ap.h
	hostap-0.0.3/driver/modules/hostap_compat.h
	hostap-0.0.3/driver/modules/hostap_config.h
	hostap-0.0.3/driver/modules/hostap_crypt.c
	hostap-0.0.3/driver/modules/hostap_crypt.h
	hostap-0.0.3/driver/modules/hostap_crypt_wep.c
	hostap-0.0.3/driver/modules/hostap_cs.c
	hostap-0.0.3/driver/modules/hostap_download.c
	hostap-0.0.3/driver/modules/hostap_hw.c
	hostap-0.0.3/driver/modules/hostap_info.c
	hostap-0.0.3/driver/modules/hostap_ioctl.c
	hostap-0.0.3/driver/modules/hostap_pci.c
	hostap-0.0.3/driver/modules/hostap_plx.c
	hostap-0.0.3/driver/modules/hostap_proc.c
	hostap-0.0.3/driver/modules/hostap_wlan.h
	hostap-0.0.3/hostapd/
	hostap-0.0.3/hostapd/.cvsignore
	hostap-0.0.3/hostapd/Makefile
	hostap-0.0.3/hostapd/accounting.c
	hostap-0.0.3/hostapd/accounting.h
	hostap-0.0.3/hostapd/ap.h
	hostap-0.0.3/hostapd/common.c
	hostap-0.0.3/hostapd/common.h
	hostap-0.0.3/hostapd/config.c
	hostap-0.0.3/hostapd/config.h
	hostap-0.0.3/hostapd/developer.txt
	hostap-0.0.3/hostapd/driver.c
	hostap-0.0.3/hostapd/driver.h
	hostap-0.0.3/hostapd/eapol_sm.c
	hostap-0.0.3/hostapd/eapol_sm.h
	hostap-0.0.3/hostapd/eloop.c
	hostap-0.0.3/hostapd/eloop.h
	hostap-0.0.3/hostapd/hostapd.accept
	hostap-0.0.3/hostapd/hostapd.c
	hostap-0.0.3/hostapd/hostapd.conf
	hostap-0.0.3/hostapd/hostapd.deny
	hostap-0.0.3/hostapd/hostapd.h
	hostap-0.0.3/hostapd/iapp.c
	hostap-0.0.3/hostapd/iapp.h
	hostap-0.0.3/hostapd/ieee802_11.c
	hostap-0.0.3/hostapd/ieee802_11.h
	hostap-0.0.3/hostapd/ieee802_11_auth.c
	hostap-0.0.3/hostapd/ieee802_11_auth.h
	hostap-0.0.3/hostapd/ieee802_1x.c
	hostap-0.0.3/hostapd/ieee802_1x.h
	hostap-0.0.3/hostapd/md5.c
	hostap-0.0.3/hostapd/md5.h
	hostap-0.0.3/hostapd/radius.c
	hostap-0.0.3/hostapd/radius.h
	hostap-0.0.3/hostapd/radius_client.c
	hostap-0.0.3/hostapd/radius_client.h
	hostap-0.0.3/hostapd/rc4.c
	hostap-0.0.3/hostapd/rc4.h
	hostap-0.0.3/hostapd/receive.c
	hostap-0.0.3/hostapd/sta_info.c
	hostap-0.0.3/hostapd/sta_info.h
	hostap-0.0.3/kernel-patches/
	hostap-0.0.3/kernel-patches/README
	hostap-0.0.3/kernel-patches/hostap-linux-2.4.20.patch
	hostap-0.0.3/kernel-patches/hostap-linux-2.5.60.patch
	hostap-0.0.3/kernel-patches/hostap-linux-2.5.69.patch
	hostap-0.0.3/pcmcia-cs-patches/
	hostap-0.0.3/pcmcia-cs-patches/README
	hostap-0.0.3/pcmcia-cs-patches/hostap-pcmcia-cs-3.1.34.patch
	hostap-0.0.3/sniff/
	hostap-0.0.3/sniff/Makefile
	hostap-0.0.3/sniff/README
	hostap-0.0.3/sniff/ieee80211.h
	hostap-0.0.3/sniff/management.c
	hostap-0.0.3/sniff/wlansniff.c
	hostap-0.0.3/utils/
	hostap-0.0.3/utils/.cvsignore
	hostap-0.0.3/utils/Makefile
	hostap-0.0.3/utils/hostap_crypt_conf.c
	hostap-0.0.3/utils/hostap_diag.c
	hostap-0.0.3/utils/hostap_io_debug.c
	hostap-0.0.3/utils/hostap_rid.c
	hostap-0.0.3/utils/prism2_param
	hostap-0.0.3/utils/prism2_srec.c
	hostap-0.0.3/utils/split_combined_hex
	hostap-0.0.3/utils/util.c
	hostap-0.0.3/utils/util.h
	hostap-0.0.3/utils/wireless_copy.h

Regards,
db



From vaidehi_30  Sun Jul  6 19:49:16 2003
From: vaidehi_30 (Vaidehi Kasarekar)
Date: Sun, 6 Jul 2003 19:49:16 -0700 (PDT)
Subject: hostap -> can it act as a client?
Message-ID: <20030707024916.92352.qmail@web41412.mail.yahoo.com>




Hi all,

I guess, i have configured hostap drivers with my SMC card. I have doubt regarding the operations of hostap. I would like to understand more about hostap.

As far my understanding, Hostap: as the name, allows our machine, to act as a accesspoint. It is a software which emulates the behaviour of the accesspoint. 

However, my aim is not to make it behave like an accesspoint and have one more wireless lan (WIRELESSLAN2). I already have got a wireless LAN, which has MAC address filtering. (WIRELESSLAN1) I am using Libradiate, and am trying to inject a packet on the wireless network. This is my ultimate motive. 

I am confused abt the following:
1)If Libradiate uses Hostap. This means i have to configure my ifcfg-wlan0 with a different network alltogether. (WIRELESSLAN2) (with my machine -with
hostap module acting as an accesspoint). (Am I right?)

However i want to emulate a client to client attack in my already existing wireless LAN (WIRELESSLAN1), which
means that i should configure my wlan0 interface, as a
client to this wireless lan (WIRELESSLAN1). I am
getting problems in configuring this.
My routing table shows:
[root at vaidehi inject]# route
ernel IP routing table
Destination Gateway Genmask Flags
Metric Ref Use Iface
129.93.68.128 * 255.255.255.128 U 
0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 
0 0 0 lo
default kickapoo-2.cs.u 0.0.0.0 UG 
0 0 0 eth0
Clearly, it does not have any wlan0 enteries.

I add them:
ifconfig wlan0 10.10.1.3 netmask 255.255.255.0
Now my routing table is:
[root at vaidehi inject]# route
Kernel IP routing table
Destination Gateway Genmask Flags
Metric Ref Use Iface
129.93.68.128 * 255.255.255.128 U 
0 0 0 eth0
10.10.1.0 * 255.255.255.0 U 
0 0 0 wlan0
127.0.0.0 * 255.0.0.0 U 
0 0 0 lo
default 10.10.1.5 0.0.0.0 UG 
0 0 0 wlan0
default kickapoo-2.cs.u 0.0.0.0 UG 
0 0 0 eth0

My IP address is 10.10.1.3

If i traceroute, to 10.10.1.5 (gateway), i get
[root at vaidehi inject]# traceroute -i wlan0 10.10.1.5
traceroute to 10.10.1.5 (10.10.1.5), 30 hops max, 38 byte packets
1 10.10.1.3 (10.10.1.3) 2992.296 ms !H 3003.252 ms!H 2993.461 ms !H

But if i ping to 10.10.1.5, 
[root at vaidehi inject]# ping -I wlan0 10.10.1.5
PING 10.10.1.5 (10.10.1.5) from 10.10.1.3 wlan0: 56(84) bytes of data.
>From 10.10.1.3 icmp_seq=1 Destination Host Unreachable
>From 10.10.1.3 icmp_seq=2 Destination Host Unreachable
>From 10.10.1.3 icmp_seq=3 Destination Host Unreachable

--- 10.10.1.5 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% loss, time 4019ms, pipe 3

Why is this happenning? Does this mean that the SMC card, and my laptop, where i have configured the
hostap driver cannot act as a client to my already existing WIRELESSLAN1?

My /var/log/kernel.log and messages show log enteries 
This is my kernel.log
Jul 6 14:11:16 vaidehi kernel: hostap_cs: hostap_cs.c0.0.0 2002-04-24 (SSH Communications Security Corp, Jouni Malinen)
Jul 6 14:11:16 vaidehi kernel: hostap_cs: hostap_cs.c 0.0.0 2002-04-24 (SSH Communications Security Corp,
Jouni Malinen)
Jul 6 14:11:16 vaidehi kernel: hostap_cs: (c) SSH Communications Security Corp 
Jul 6 14:11:16 vaidehi kernel: hostap_cs: (c) SSH Communications Security Corp 
Jul 6 14:11:16 vaidehi kernel: hostap_cs: setting Vcc=33 (constant)
Jul 6 14:11:16 vaidehi kernel: hostap_cs:CS_EVENT_CARD_INSERTION
Jul 6 14:11:16 vaidehi kernel: prism2_config()
Jul 6 14:11:16 vaidehi kernel: hostap_cs: setting Vcc=50 (from config)
Jul 6 14:11:16 vaidehi kernel: CISTPL_MANFID: 0x0156, 0x0002
Jul 6 14:11:16 vaidehi kernel: Lucent-based card
Jul 6 14:11:16 vaidehi kernel: Checking CFTABLE_ENTRY 0x01 (default 0x01)
Jul 6 14:11:16 vaidehi kernel: IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
Jul 6 14:11:16 vaidehi kernel: io->flags = 0x0046, io.base=0x0000, len=64
Jul 6 14:11:17 vaidehi kernel: hostap_cs: index 0x01: Vcc 5.0, irq 3, io 0x0100-0x013f
Jul 6 14:11:17 vaidehi kernel: hostap_cs: index 0x01: Vcc 5.0, irq 3, io 0x0100-0x013f
Jul 6 14:11:17 vaidehi kernel: hostap_cs: Registered netdevice wlan0
Jul 6 14:11:17 vaidehi kernel: hostap_cs: Registered netdevice wlan0
Jul 6 14:11:17 vaidJul 6 14:11:17 vaidehi kernel: prism2_hw_config: initialized in 8778 iterations
Jul 6 14:11:17 vaidehi kernel: wlan0: NIC: id=0x8002 v1.0.0
Jul 6 14:11:17 vaidehi kernel: wlan0: NIC: id=0x8002 v1.0.0
Jul 6 14:11:17 vaidehi kernel: wlan0: PRI: id=0x15 v0.3.0
Jul 6 14:11:17 vaidehi kernel: wlan0: PRI: id=0x15 v0.3.0
Jul 6 14:11:17 vaidehi kernel: wlan0: STA: id=0x1f v0.7.6
Jul 6 14:11:17 vaidehi kernel: wlan0: STA: id=0x1f v0.7.6
Jul 6 14:11:17 vaidehi kernel: wlan0: prism2_open
Jul 6 14:12:51 vaidehi kernel: Enabling monitor mode(1)
Jul 6 14:12:51 vaidehi kernel: wlan0: INFO - fid=0x02a5 - len=2 type=0xf200
Jul 6 14:12:51 vaidehi kernel: LinkStatus=2 (Disconnected)
vaidehi kernel: prism2_hw_config()


I think that though i have SMC 2632W card, hostap works on this. 

I was suggested to upgrade my firmware. However i think it is not the firmware issue. 

(Please correct me if i am wrong) if this works, then I wont have to upgrade my firmware.

 

Thanks

-Vaideh




---------------------------------
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030706/1d253253/attachment.htm 


From imp  Sun Jul  6 23:00:36 2003
From: imp (imp)
Date: Mon, 7 Jul 2003 15:00:36 +0900
Subject: SSID Hide..
Message-ID: <KEECLLIPMFCFLJKFNEKOCEAOCDAA.imp@airlinktek.com>

Dear jouni..

Thanks for your reply about "what's mean ssid hide" mail..
Because I have no device to capture wireless packet. so, I can't see beacon and probe packet..

My question is that, in the STA client (in normal wireless card) have site surbey functionality.
this the property page show the BSSID (Mac of AP), ESSID, channel, strenth.. etc..

In that situation My question is  
If I set ssid hide function in my hostap, then I expect client site surbey function did not display 
the ssid name on it... but, it displayed... 

Is this situation other word of ssid hide ? or my hostap does not work correctly ?

Please, give me your advice..

Thanks. 

 



From sgala  Mon Jul  7 01:22:23 2003
From: sgala (Santiago Gala)
Date: Mon, 07 Jul 2003 10:22:23 +0200
Subject: PCI Adapter + Wireless Card + Debian 2.4.20
In-Reply-To: <3F0410A8.4050008@gsyc.escet.urjc.es>
References: <3F0410A8.4050008@gsyc.escet.urjc.es>
Message-ID: <3F092DBF.6090300@hisitech.com>

Rafaela Gonz?lez-Careaga escribi?:
> Hello,
> 
> I am using a US Robotics PCI Adapter (USR012415) and an Belkin Wireless 
> Card, to try to use Wireless networking on my Desktop with DEbian 2.4.10.
> Mi system can recognize the PCI adapter, (I can see it in /proc/pci) but 
> it does not see the wireless card,

I think the PCI adapter is a PLX one, and you should use the hostap_plx 
module. I've never done it myself.

The adapter could also be a PCI->PCMCIA adapter. In this case, you 
should configure the whole PCMCIA subsystem.

Can you post the lspci -vv output relevant to the card?


Regards
-- 
Santiago Gala
High Sierra Technology, S.L. (http://hisitech.com)
http://memojo.com?page=SantiagoGalaBlog




From xfesty  Mon Jul  7 02:36:37 2003
From: xfesty (Ryan Verner)
Date: Mon, 7 Jul 2003 19:06:37 +0930
Subject: hostap - more then one card?
Message-ID: <20030707093637.M44895@computeraddictions.com.au>

Hiya,

Is it possible to use hostap with more then one card?

I'm looking at some solutions where I'll have multiple antannae (point to
point links), and for cost effectiveness and other reasons, it'll be nice to
have 4-5 cards in the one machine rather then 4-5 machines.

Even two cards in one machine would be nice.

Anybody done this?  I've never tried it.

R

--
Open WebMail Project (http://openwebmail.org)



From hostap  Mon Jul  7 02:52:06 2003
From: hostap (hostap at floppe.eu.org)
Date: Mon, 7 Jul 2003 12:52:06 +0300 (EEST)
Subject: Multiple cards
Message-ID: <10923.62.148.199.210.1057571526.squirrel@webmail.tawi.fi>

Hi,

If I set the rate to 1M on hostap, is it so that every STA will get 1Mbit
each or is it a total of 1Mbit for all STAs?

I'm asking this because...

There's performance problems when there is more than one wlan in a
computer. If someone begins a big download or upload against one HostAP,
the other suffers from heavy trafikloss and lag.

Have been like this in every (stable) version I've tested. We have five
pci cards and I don't like the idea to have 5 computers for them. Have
tested with only 2 cards too, same behavior.

The temporary solution I'm using now is LARTC HTB filtering and "shapes"
trafic down under 1Mbit.

Running hostap-0.0.3 on gentoo




From sneeze  Mon Jul  7 03:07:46 2003
From: sneeze (Ryan Abbenhuys)
Date: Mon, 7 Jul 2003 20:07:46 +1000
Subject: hostap - more then one card?
References: <20030707093637.M44895@computeraddictions.com.au>
Message-ID: <001601c3446f$9e671440$0200a8c0@silver>

You wouldn't want to run more than 3 cards in the same physical location due
to channel spacing.

There are only 3 channels in 802.11b that don't overlap.

I think they're 1, 6 and 11 ?

----- Original Message ----- 
From: "Ryan Verner" <xfesty at computeraddictions.com.au>
To: <hostap at shmoo.com>
Sent: Monday, July 07, 2003 7:36 PM
Subject: hostap - more then one card?


> Hiya,
>
> Is it possible to use hostap with more then one card?
>
> I'm looking at some solutions where I'll have multiple antannae (point to
> point links), and for cost effectiveness and other reasons, it'll be nice
to
> have 4-5 cards in the one machine rather then 4-5 machines.
>
> Even two cards in one machine would be nice.
>
> Anybody done this?  I've never tried it.
>
> R
>
> --
> Open WebMail Project (http://openwebmail.org)
>
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>



From xfesty  Mon Jul  7 03:11:29 2003
From: xfesty (Ryan Verner)
Date: Mon, 7 Jul 2003 19:41:29 +0930
Subject: hostap - more then one card?
In-Reply-To: <001601c3446f$9e671440$0200a8c0@silver>
References: <20030707093637.M44895@computeraddictions.com.au>
	<001601c3446f$9e671440$0200a8c0@silver>
Message-ID: <20030707101129.M95336@computeraddictions.com.au>

> You wouldn't want to run more than 3 cards in the same physical 
> location due to channel spacing.
> 
> There are only 3 channels in 802.11b that don't overlap.
> 
> I think they're 1, 6 and 11 ?

The cards will be running cables up to a roof where there will be seperate
antannaes facing in completely different directions (point to point links).

I got a few private emails; somebody pointed out that one issue they've had is
the cards 'jam' each other (interference), I'm guessing this is due to the
poor shielding most cards have.

But apparently the hostap driver handles more then one card fine; which is
great (I remember issues a while ago with having multiple orinoco cards, and
the kernel driver spitting chips).

Ack.  Anybody had any real life experiences with all this, and how they got
around all the problems?

R

> ----- Original Message ----- 
> From: "Ryan Verner" <xfesty at computeraddictions.com.au>
> To: <hostap at shmoo.com>
> Sent: Monday, July 07, 2003 7:36 PM
> Subject: hostap - more then one card?
> 
> > Hiya,
> >
> > Is it possible to use hostap with more then one card?
> >
> > I'm looking at some solutions where I'll have multiple antannae (point to
> > point links), and for cost effectiveness and other reasons, it'll be nice
> to
> > have 4-5 cards in the one machine rather then 4-5 machines.
> >
> > Even two cards in one machine would be nice.
> >
> > Anybody done this?  I've never tried it.
> >
> > R
> >
> > --
> > Open WebMail Project (http://openwebmail.org)
> >
> > _______________________________________________
> > HostAP mailing list
> > HostAP at shmoo.com
> > http://lists.shmoo.com/mailman/listinfo/hostap
> >


--
Open WebMail Project (http://openwebmail.org)



From antonio.vilei  Mon Jul  7 03:22:44 2003
From: antonio.vilei (Antonio Vilei)
Date: Mon, 7 Jul 2003 12:22:44 +0200
Subject: hostap - more then one card?
References: <20030707093637.M44895@computeraddictions.com.au>
	<001601c3446f$9e671440$0200a8c0@silver>
Message-ID: <003601c34471$b47278e0$151e0a0a@stmantoniov>

Hello,

> Is it possible to use hostap with more then one card?

It is possible to run more than one card controlled by hostap driver.
Anyway, besides channel spacing, if you insert too many cards, you will also
face CPU load problems. Remember that the Prism2 cards use PIO (programmed
I/O), so the CPU is involved in any data transfer from the card to the host
memory. Please dig into the mailing list archives and you will find more
details on this topic.

Regards,
Antonio

----- Original Message -----
From: "Ryan Abbenhuys" <sneeze at igreen.net>
To: "Ryan Verner" <xfesty at computeraddictions.com.au>; <hostap at shmoo.com>
Sent: Monday, July 07, 2003 12:07 PM
Subject: Re: hostap - more then one card?


> You wouldn't want to run more than 3 cards in the same physical location
due
> to channel spacing.
>
> There are only 3 channels in 802.11b that don't overlap.
>
> I think they're 1, 6 and 11 ?
>
> ----- Original Message -----
> From: "Ryan Verner" <xfesty at computeraddictions.com.au>
> To: <hostap at shmoo.com>
> Sent: Monday, July 07, 2003 7:36 PM
> Subject: hostap - more then one card?
>
>
> > Hiya,
> >
> > Is it possible to use hostap with more then one card?
> >
> > I'm looking at some solutions where I'll have multiple antannae (point
to
> > point links), and for cost effectiveness and other reasons, it'll be
nice
> to
> > have 4-5 cards in the one machine rather then 4-5 machines.
> >
> > Even two cards in one machine would be nice.
> >
> > Anybody done this?  I've never tried it.
> >
> > R
> >
> > --
> > Open WebMail Project (http://openwebmail.org)
> >
> > _______________________________________________
> > HostAP mailing list
> > HostAP at shmoo.com
> > http://lists.shmoo.com/mailman/listinfo/hostap
> >
>
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
>




From mumu  Mon Jul  7 05:54:22 2003
From: mumu (Milos Sramek)
Date: Mon, 7 Jul 2003 14:54:22 +0200
Subject: wlan0: SW TICK stuck? please help
Message-ID: <002901c34486$e3e8ff30$0965a8c0@msramek>

  What does this error message mean ??  and why it's egressing ??

  wlan0: SW TICK stuck? bits=0x0 EvStat=8001 IntEn=e018

  Linux repeatly this message to console and is total "dead".

I am using HOSTAP 0.0.3 version.
Kernel 2.4.20 with patch wireless extension 15
One Card ZCOM XI626 with firmware 1.5.6 in MASTER mode, without hostapd.

Linux has uptime etc. 8days (this time is randomly) and after go to this error.
After restart is linux stable and ok for several days.

Please help me. I need know why this event is doing. I must resolve this problem urgently.

Thank you very much.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030707/cea06669/attachment.htm 


From chhabra  Mon Jul  7 06:43:44 2003
From: chhabra (Madhusudan Singh)
Date: Mon, 07 Jul 2003 09:43:44 -0400
Subject: hostap: Confused regarding hostap
In-Reply-To: <3F099147.9050001@web.de>
References: <3F099147.9050001@web.de>
Message-ID: <3F097910.1000506@eecs.umich.edu>

Hi
    Actually, I came close to these conclusions myself. I am still in 
the process of fixing up things (making PCMCIA config dance with 
hostap_cs has been a nightmare so far). I will hopefully soon have a 
working config - will post it both here as well as on my webpage.

Thanks again,

MS


Jonnas wrote:

> Hi, don't know if you've already solved your problem, but regards your 
> dilemma with the hostap_pci driver and the hostap_pccard driver:
>
> If you are compiling hostap for an onboard WLAN hardware, you should be
> using hostap_pci, because onboard hardware is interfaced with the
> motherboard using PCI standard.
>
> If you are compiling hostap for a pcmcia card WLAN adapter, you should
> be using hostap_pccard.
>
> I am not sure why Steve of http://www.stevewatts.com/computers/laptop/
> used hostap_pci in his aliases.  Maybe you could contact him directly to
> clarify (don't forget to post your findings on the list:)!
>
> Hope it helps - Jonnas
>
>
>
>
> > Confused regarding hostap
> > Madhusudan Singh chhabra at eecs.umich.edu
> > Fri Jul 4 17:03:57 GMT 2003
> >
> >     * Previous message: Detect link state ?
> >     * Next message: New TI ACX 100 Chipset
> >     * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> >
> > Hi
> >     I am a little confused about what version of hostap driver do I 
> use.
> >  I apologise for such a question, but there seem to be plenty of
> > conflicting reports.
> >
> >     I have a Netgear MA401 RA wireless card (as cardinfo reveals). Do I
> > make pci or make pccard ?
> >
> >     I have found conflicting advice on the subject - a pdf file at :
> >
> >
> > 
> http://www.uni-duisburg.de/HRZ/services/alle/wlan/installation/linux/ecampus_suse_debian_en.pdf 
>
> >
> >     (suggests pci - look at the Debian section)
> >
> >     and
> >
> >     http://www.stevewatts.com/computers/laptop/
> >
> >     (suggests pccard but aliases hostap_pci !!).
> >
> > Thanks,
> >
> > MS
> >
>
>



From eaglecz  Mon Jul  7 07:12:01 2003
From: eaglecz (Tomas Charvat)
Date: Mon, 7 Jul 2003 16:12:01 +0200
Subject: hostap on mac
Message-ID: <000b01c34491$bc93b7d0$050314ac@rip>

do hostap works on PPC ?



From chhabra  Mon Jul  7 11:08:01 2003
From: chhabra (Madhusudan Singh)
Date: Mon, 07 Jul 2003 14:08:01 -0400
Subject: complete list of hostap files, pse
References: <LEEMLOMCOLGDFKOEHKDPAEJMDLAA.f6hqz@easyconnect.fr>
	<200307070324.45555@db>
Message-ID: <3F09B701.3010005@eecs.umich.edu>

Hi,

    Not that this affects me directly (or maybe I do not know yet), but 
why do you need to enable Hermes Chipset support when you are using hostap ?

MS

>Be also sure that the kernel you are running had Hermes Chipset support checked.
>
>
>
>  
>




From sweisman  Mon Jul  7 13:10:11 2003
From: sweisman (Scott Weisman)
Date: Mon, 7 Jul 2003 23:10:11 +0300
Subject: help needed setting up a router / access point
Message-ID: <20030707231011.07ec3182.sweisman@pobox.com>

Hello,

I've been lurking on this list for a while now, and reading up on how to use
HostAP, and I finally got all the equipment to do what I need.

What I want to do is this:

* Mandrake 9.1 IBM Thinkpad i1400 series

* Alcatel Speed Touch USB ADSL modem

* Proxim RangeLAN card in HostAP mode

* Routing (NOT bridging) between USB modem (device ppp0) and HostAP

I got the notebook working properly after a couple of false starts. I then got
the USB modem working. After that, I compiled and installed latest CVS
snapshot (I guess that would be for 7/7/03) of HostAP, and that went without a
hitch. This is where the trouble comes in.

1. I read that I should use <make pccard EXTRA_FLAGS = "-DPRISM2_HOSTAPD">
when compiling. Is this correct? What do I need hostapd for?

2. Every document or HOWTO I've found seems to focus on bridging. I want to
route. I might be adding an ethernet interface at a later date, and so routing
from the start is preferable.

3. I've found no information on any config files to permanently set things
like ESSID, CHANNEL, etc. All HOWTO's just give iwconfig commands to issue to
get up and running, but no permanent solution.

4. iwconfig returns entries for wlan0 and wlan0ap. Is this correct?

5. Once I get all this working, I want to setup PPTP layered over wlan0. Is
this possible? How difficult will it be?

Can someone help with these problems?

Thanks in advance,

Scott



From hostap  Mon Jul  7 14:20:38 2003
From: hostap (Joachim Wickman)
Date: Tue, 8 Jul 2003 00:20:38 +0300
Subject: Fw: Multiple cards
Message-ID: <002701c344cd$9ce147e0$010aa8c0@vasa>

 I tried this and one thing that isn't so good is that hostapd spams syslog
 with

 xx:xx:xx:xx:xx:xx IEEE 802.11: did not acknowledge authentication response.

 2 times / second / STA
 So this eats resources.


> ----- Original Message -----
> From: "Tomas Charvat" <eaglecz at tiscali.cz>
> To: <hostap at floppe.eu.org>
> Sent: Monday, July 07, 2003 12:58 PM
> Subject: Re: Multiple cards
>
>
> > try latest CVS snapshot .. it should solve this problem
> >
> > ----- Original Message -----
> > From: <hostap at floppe.eu.org>
> > To: <hostap at shmoo.com>
> > Sent: Monday, July 07, 2003 11:52 AM
> > Subject: Multiple cards
> >
> >
> > > Hi,
> > >
> > > If I set the rate to 1M on hostap, is it so that every STA will get
> 1Mbit
> > > each or is it a total of 1Mbit for all STAs?
> > >
> > > I'm asking this because...
> > >
> > > There's performance problems when there is more than one wlan in a
> > > computer. If someone begins a big download or upload against one
HostAP,
> > > the other suffers from heavy trafikloss and lag.
> > >
> > > Have been like this in every (stable) version I've tested. We have
five
> > > pci cards and I don't like the idea to have 5 computers for them. Have
> > > tested with only 2 cards too, same behavior.
> > >
> > > The temporary solution I'm using now is LARTC HTB filtering and
"shapes"
> > > trafic down under 1Mbit.
> > >
> > > Running hostap-0.0.3 on gentoo
> > >
> > >
> > > _______________________________________________
> > > HostAP mailing list
> > > HostAP at shmoo.com
> > > http://lists.shmoo.com/mailman/listinfo/hostap
> >
> >
>




From hostap  Mon Jul  7 14:47:28 2003
From: hostap (Joachim Wickman)
Date: Tue, 8 Jul 2003 00:47:28 +0300
Subject: Multiple cards
References: <002701c344cd$9ce147e0$010aa8c0@vasa>
Message-ID: <004501c344d1$5ce326f0$010aa8c0@vasa>

Ooops.. I'm shouting out before I jumped over the river.
It has always been like this.. Must be D-Link bridges that causes this
against hostap/radius.

// Joachim

----- Original Message -----
From: "Joachim Wickman" <hostap at floppe.eu.org>
To: "HostAP" <hostap at shmoo.com>
Sent: Tuesday, July 08, 2003 12:20 AM
Subject: Fw: Multiple cards


> I tried this and one thing that isn't so good is that hostapd spams syslog
>  with
>
>  xx:xx:xx:xx:xx:xx IEEE 802.11: did not acknowledge authentication
response.
>
>  2 times / second / STA
>  So this eats resources.
>
>
> > ----- Original Message -----
> > From: "Tomas Charvat" <eaglecz at tiscali.cz>
> > To: <hostap at floppe.eu.org>
> > Sent: Monday, July 07, 2003 12:58 PM
> > Subject: Re: Multiple cards
> >
> >
> > > try latest CVS snapshot .. it should solve this problem
> > >
> > > ----- Original Message -----
> > > From: <hostap at floppe.eu.org>
> > > To: <hostap at shmoo.com>
> > > Sent: Monday, July 07, 2003 11:52 AM
> > > Subject: Multiple cards
> > >
> > >
> > > > Hi,
> > > >
> > > > If I set the rate to 1M on hostap, is it so that every STA will get
> > 1Mbit
> > > > each or is it a total of 1Mbit for all STAs?
> > > >
> > > > I'm asking this because...
> > > >
> > > > There's performance problems when there is more than one wlan in a
> > > > computer. If someone begins a big download or upload against one
> HostAP,
> > > > the other suffers from heavy trafikloss and lag.
> > > >
> > > > Have been like this in every (stable) version I've tested. We have
> five
> > > > pci cards and I don't like the idea to have 5 computers for them.
Have
> > > > tested with only 2 cards too, same behavior.
> > > >
> > > > The temporary solution I'm using now is LARTC HTB filtering and
> "shapes"
> > > > trafic down under 1Mbit.
> > > >
> > > > Running hostap-0.0.3 on gentoo
> > > >
> > > >
> > > > _______________________________________________
> > > > HostAP mailing list
> > > > HostAP at shmoo.com
> > > > http://lists.shmoo.com/mailman/listinfo/hostap
> > >
> > >
> >
>
>
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>




From proski  Mon Jul  7 15:40:36 2003
From: proski (Pavel Roskin)
Date: Mon, 7 Jul 2003 18:40:36 -0400 (EDT)
Subject: reset hostap driver parameters to default
In-Reply-To: <20030706225707.GA3511@gateway.junsun.net>
References: <20030706225707.GA3511@gateway.junsun.net>
Message-ID: <Pine.LNX.4.56.0307071834390.14391@marabou.research.att.com>

On Sun, 6 Jul 2003, Jun Sun wrote:

> Is there an easy way to reset all driver parameters?
>
> It seems that 'rmmod hostap_xxx' and 'modprobe hostap_xxx' again would
> achieve this effect.  I wonder if there is more elegant way to do it.

The elegant way would be to implement it in Wireless Tools, but you need
to explain very clearly why you need to reset all driver parameters.

If you are doing development and you need to reproduce exactly the same
state of the driver, I don't think it would justify adding code to
Wireless Tools.  In fact, you are supposed to power down the system or at
least the card to have more or less clean results.

But if you have some other reasons, they may be good enough to justify a
"reset" command.

-- 
Regards,
Pavel Roskin



From proski  Mon Jul  7 15:49:15 2003
From: proski (Pavel Roskin)
Date: Mon, 7 Jul 2003 18:49:15 -0400 (EDT)
Subject: openap vs hostap.... what is the difference?
In-Reply-To: <BB2BCF1A.C203%tchen@on-go.com>
References: <BB2BCF1A.C203%tchen@on-go.com>
Message-ID: <Pine.LNX.4.56.0307071841330.14475@marabou.research.att.com>

Hello!

Answering the subject - HostAP is part of OpenAP.  I asked OpenAP guys to
put it on their homepage (not just under "credits") because this question
is asked many times.  But they are probably too busy.

In fact, the OpenAP mailing list has been dead since June 1.  So here's
the second difference - HostAP is being actively developed, OpenAP is
almost dead, unofficial forks notwithstanding.

> also... is there any incompatiblity if wlan-ng and hostap are
> both installed ?

Yes.  cardmgr needs to know which driver to load.  wlan-ng config file in
/etc/pcmcia will take precedence over the one for HostAP because cardmgr
includes *.conf files in alphabetic order, and last entries take
precedence.  To avoid it, put your local config entries to
/etc/pcmcia/zlocal.conf - it works just fine for me.

-- 
Regards,
Pavel Roskin



From sgala  Mon Jul  7 16:02:08 2003
From: sgala (Santiago Gala)
Date: Tue, 08 Jul 2003 01:02:08 +0200
Subject: help needed setting up a router / access point
In-Reply-To: <20030707231011.07ec3182.sweisman@pobox.com>
References: <20030707231011.07ec3182.sweisman@pobox.com>
Message-ID: <3F09FBF0.4010100@hisitech.com>

Scott Weisman escribi?:
> Hello,
> 
> I've been lurking on this list for a while now, and reading up on how to use
> HostAP, and I finally got all the equipment to do what I need.
> 
> What I want to do is this:
> 
> * Mandrake 9.1 IBM Thinkpad i1400 series
> 
> * Alcatel Speed Touch USB ADSL modem
> 
> * Proxim RangeLAN card in HostAP mode
> 
> * Routing (NOT bridging) between USB modem (device ppp0) and HostAP
> 
> I got the notebook working properly after a couple of false starts. I then got
> the USB modem working. After that, I compiled and installed latest CVS
> snapshot (I guess that would be for 7/7/03) of HostAP, and that went without a
> hitch. This is where the trouble comes in.
> 
> 1. I read that I should use <make pccard EXTRA_FLAGS = "-DPRISM2_HOSTAPD">
> when compiling. Is this correct? What do I need hostapd for?
> 

The AP functionality goes into a user mode daemon. You can have it in 
the kernel also.

> 2. Every document or HOWTO I've found seems to focus on bridging. I want to
> route. I might be adding an ethernet interface at a later date, and so routing
> from the start is preferable.
> 

just do it.

> 3. I've found no information on any config files to permanently set things
> like ESSID, CHANNEL, etc. All HOWTO's just give iwconfig commands to issue to
> get up and running, but no permanent solution.
> 

try modinfo -p hostap_cs (or hostap_pci) for a way to setup the 
parameters in /etc/modules

In /etc/sysconfig there are ways to do it too.

> 4. iwconfig returns entries for wlan0 and wlan0ap. Is this correct?
> 

wlan0 is the network interface, wlan0ap is for communication with 
hostapd, not needed for managed or ad-hoc modes.

Mandrake 9.1 (2.4.21-0.18mdk, last update of kernel) has copies of the 
hostap modules in /lib/modules/2.4.21-0.18mdk/kernel/3rdparty/hostap/, 
but they are compiled to use hostapd, and I could not find a matching 
hostapd package in the updates, which means I had to erase them :-(

If you are using the last kernel and the laptop is just a client, you 
can do it with Mandrake out of the box. If you want AP functionalities, 
erase them and use your CVS distribution.

> 5. Once I get all this working, I want to setup PPTP layered over wlan0. Is
> this possible? How difficult will it be?
> 

wlan0 *is* ethernet. If your PPTP package can accept an interface name 
of "wlan0" you should have no problems. (there are packages out there 
who have compiled interface names :-( )


> Can someone help with these problems?

my 2 cents, I could be wrong in some points, since I wrote from my head.

Regards
-- 
Santiago Gala
High Sierra Technology, S.L. (http://hisitech.com)
http://memojo.com?page=SantiagoGalaBlog




From shaifuljahari  Mon Jul  7 16:30:19 2003
From: shaifuljahari (Shaiful)
Date: Mon, 7 Jul 2003 16:30:19 -0700 (PDT)
Subject: Another kind of host based AP
Message-ID: <20030707233019.5616.qmail@web41608.mail.yahoo.com>

Hi,

FYI, just found this link from linux format magazine:
www.rosewlan.com 

According to the page, it is a Linux based Radionet
Open Source Environment (ROSE) offers highly
customizable platform for building WLAN access points

Regards,
Shaiful

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



From jsun  Mon Jul  7 16:49:46 2003
From: jsun (Jun Sun)
Date: Mon, 7 Jul 2003 16:49:46 -0700
Subject: reset hostap driver parameters to default
In-Reply-To: <Pine.LNX.4.56.0307071834390.14391@marabou.research.att.com>
References: <20030706225707.GA3511@gateway.junsun.net>
	<Pine.LNX.4.56.0307071834390.14391@marabou.research.att.com>
Message-ID: <20030707234946.GB7379@gateway.junsun.net>

On Mon, Jul 07, 2003 at 06:40:36PM -0400, Pavel Roskin wrote:
> On Sun, 6 Jul 2003, Jun Sun wrote:
> 
> > Is there an easy way to reset all driver parameters?
> >
> > It seems that 'rmmod hostap_xxx' and 'modprobe hostap_xxx' again would
> > achieve this effect.  I wonder if there is more elegant way to do it.
> 
> The elegant way would be to implement it in Wireless Tools, but you need
> to explain very clearly why you need to reset all driver parameters.
> 
> If you are doing development and you need to reproduce exactly the same
> state of the driver, I don't think it would justify adding code to
> Wireless Tools.  In fact, you are supposed to power down the system or at
> least the card to have more or less clean results.
> 
> But if you have some other reasons, they may be good enough to justify a
> "reset" command.
>

I don't have good reasons to justify that.  I am setting a multi-purposed
demo system which needs resetting the driver parameters, which is probably
not useful in most cases.

I guess I was curious ...

Thanks for the reply anyway.

Jun



From jsun  Mon Jul  7 16:56:11 2003
From: jsun (Jun Sun)
Date: Mon, 7 Jul 2003 16:56:11 -0700
Subject: Another kind of host based AP
In-Reply-To: <20030707233019.5616.qmail@web41608.mail.yahoo.com>
References: <20030707233019.5616.qmail@web41608.mail.yahoo.com>
Message-ID: <20030707235611.GC7379@gateway.junsun.net>

On Mon, Jul 07, 2003 at 04:30:19PM -0700, Shaiful wrote:
> Hi,
> 
> FYI, just found this link from linux format magazine:
> www.rosewlan.com 
> 
> According to the page, it is a Linux based Radionet
> Open Source Environment (ROSE) offers highly
> customizable platform for building WLAN access points
> 
> Regards,
> Shaiful
>

They are using hostap driver, if I remembered correctly.

Jun



From tchen  Mon Jul  7 17:02:54 2003
From: tchen (thomas chen)
Date: Mon, 07 Jul 2003 20:02:54 -0400
Subject: openap vs hostap.... what is the difference?
References: <BB2BCF1A.C203%tchen@on-go.com>
	<Pine.LNX.4.56.0307071841330.14475@marabou.research.att.com>
Message-ID: <3F0A0A2E.5E128C25@on-go.com>


thanks....  another question.... does the orinoco driver support the
prism2.5 card ??? and does the hostap driver support orinoco (lucent/agere)
card ???

thanks

Pavel Roskin wrote:
> 
> Hello!
> 
> Answering the subject - HostAP is part of OpenAP.  I asked OpenAP guys to
> put it on their homepage (not just under "credits") because this question
> is asked many times.  But they are probably too busy.
> 
> In fact, the OpenAP mailing list has been dead since June 1.  So here's
> the second difference - HostAP is being actively developed, OpenAP is
> almost dead, unofficial forks notwithstanding.
> 
> > also... is there any incompatiblity if wlan-ng and hostap are
> > both installed ?
> 
> Yes.  cardmgr needs to know which driver to load.  wlan-ng config file in
> /etc/pcmcia will take precedence over the one for HostAP because cardmgr
> includes *.conf files in alphabetic order, and last entries take
> precedence.  To avoid it, put your local config entries to
> /etc/pcmcia/zlocal.conf - it works just fine for me.
> 
> --
> Regards,
> Pavel Roskin



From sndbeat  Mon Jul  7 18:13:26 2003
From: sndbeat (Vic Berdin)
Date: Mon, 7 Jul 2003 18:13:26 -0700 (PDT)
Subject: openap vs hostap.... what is the difference?
Message-ID: <20030708011326.23196.qmail@web10403.mail.yahoo.com>

Hi,

In addition to the major diferences (and what makes
HostAP more ideal, IMO), OpenAP requires that you 
replace the sram image of working APs. 
HostAP simply requires any PC with wireless card 
support and GNU/Linux.

Regards, Vic

---------------------------------
Message: 9
Date: Mon, 7 Jul 2003 18:49:15 -0400 (EDT)
From: Pavel Roskin <proski at gnu.org>
Subject: Re: openap vs hostap.... what is the
difference?
To: Thomas Chen <tchen at on-go.com>
Cc: hostap at shmoo.com
Message-ID:

<Pine.LNX.4.56.0307071841330.14475 at marabou.research.att.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hello!

Answering the subject - HostAP is part of OpenAP.  I
asked OpenAP guys 
to
put it on their homepage (not just under "credits")
because this 
question
is asked many times.  But they are probably too busy.

In fact, the OpenAP mailing list has been dead since
June 1.  So here's
the second difference - HostAP is being actively
developed, OpenAP is
almost dead, unofficial forks notwithstanding.

> also... is there any incompatiblity if wlan-ng and
hostap are
> both installed ?

Yes.  cardmgr needs to know which driver to load. 
wlan-ng config file 
in
/etc/pcmcia will take precedence over the one for
HostAP because 
cardmgr
includes *.conf files in alphabetic order, and last
entries take
precedence.  To avoid it, put your local config
entries to
/etc/pcmcia/zlocal.conf - it works just fine for me.

-- 
Regards,
Pavel Roskin



__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



From doug  Mon Jul  7 18:35:17 2003
From: doug (Doug Yeager)
Date: Mon, 07 Jul 2003 21:35:17 -0400
Subject: ap_bridge_packets
Message-ID: <5.2.0.9.0.20030707213045.035b0d90@yeagerautomation.com>

one of the main reasons i'm using the hostap driver is that it gives the 
functionality to turn off packet bridging  which stops communications from 
client to client on the local area network....this can be very beneficial 
in a situation like a hotel or coffee shop where people don't really want 
others to be able to see their computers.

my question is:
is there any other access point hardware that gives this 
functionality?  does linksys allow you to turn off packet bridging?  or any 
other off the shelf AP?  i ask because i have one site that requires many 
AP's and it would be more practical to use the commercial AP hardware.  is 
this called a "wireless switch"?  this would seem like it was more "switch" 
functionality.
if somebody could help w/ this issue, it would be great.

thx,
doug



From proski  Mon Jul  7 21:25:54 2003
From: proski (Pavel Roskin)
Date: Tue, 08 Jul 2003 00:25:54 -0400 (EDT)
Subject: openap vs hostap.... what is the difference?
In-Reply-To: <3F0A0A2E.5E128C25@on-go.com>
Message-ID: <Pine.LNX.4.44.0307080013300.3711-100000@localhost.localdomain>

On Mon, 7 Jul 2003, thomas chen wrote:

> thanks....  another question.... does the orinoco driver support the
> prism2.5 card ??? and does the hostap driver support orinoco (lucent/agere)
> card ???

It would be much more useful if you mentioned where you looked for the
answers.  All you are asking is documented, but probably not in the right 
place if you couldn't find the answer.

Also, if you have the hardware it's more useful for others if you check
and report your problems if any.

The answer is yes to both questions.  Support for Lucent cards in HostAP
is very limited.  In particular, WEP and Managed mode are not supported.  
You are better off using hermesap if you need it.

-- 
Regards,
Pavel Roskin



From Kalle.Valo  Mon Jul  7 22:48:41 2003
From: Kalle.Valo (Kalle Valo)
Date: 08 Jul 2003 08:48:41 +0300
Subject: Another kind of host based AP
In-Reply-To: <20030707235611.GC7379@gateway.junsun.net>
References: <20030707233019.5616.qmail@web41608.mail.yahoo.com>
	<20030707235611.GC7379@gateway.junsun.net>
Message-ID: <87znjph8li.kvalo.fsf@radionet.fi>

Jun Sun <jsun at junsun.net> writes:

> > FYI, just found this link from linux format magazine:
> > www.rosewlan.com 
>
> They are using hostap driver, if I remembered correctly.

You are correct.

-- 
Kalle Valo



From ilopez  Mon Jul  7 03:44:39 2003
From: ilopez (=?iso-8859-1?Q?I=F1igo_Lopez_Barranco?=)
Date: Mon, 7 Jul 2003 12:44:39 +0200
Subject: Firmware download not working: ioctl: connection timed out
Message-ID: <EE39E8E7EEEAC44DA4ED6C1873F73CE206D4E2@srvsina.sina-sl.es>

Hi. I'm trying to upgrade the firmware of an USR 2410 with versions 0.8.3, 1.4.9 and 1.7.4 but with no results.
I compiled hostap 0.0.3, with prism2_srec and using appropiate defines in hostap_config.h, but when I use prism2_srec -f wlan0 xxx.hex, i get:
Ioctl: connection timed out
Missing wlan component info
Could not read wlan RIDs

Any idea why is this happening?
Thanks in advance

---

??igo L?pez-Barranco Mu?iz 

ilopez at sina-sl.es



From vicente.paredes  Tue Jul  8 10:08:28 2003
From: vicente.paredes (Vicente Paredes)
Date: Tue, 8 Jul 2003 12:08:28 -0500 (CDT)
Subject: Nodo hostap con antena omnidireccional
Message-ID:      <3256.200.63.198.175.1057684108.squirrel@webmail.linuxpowered.org>

Dear friends.

We have a node with hostap working now, but i need and omni antena to
increase the coverage, can you help me with a manual, maybe, a home
antena, to increase the coverage of my node.

Thanks in advance.

-- 
Atentamente

Vicente Paredes
Departamento de ?ngenier?a
GRUEIN S.A.
PBX 593-42690888 ext 245
CEL 593-98412868



From graman  Tue Jul  8 12:14:16 2003
From: graman (Gopalakrishnan Raman)
Date: Tue, 8 Jul 2003 12:14:16 -0700
Subject: No subject
Message-ID: <B2FC93133CB3EB4A813CBD19717B14880FF7C2@aruba-server.arubanetworks.com>

Hi
On a related note, I noticed the following behavior when using the hostap driver.
1. I've configured my D-Link NIC to operate as a station using the command
	iwconfig wlan0 essid new1 mode Managed
    and it associated fine with another AP (whose essid is new1).
2. Prior to this I used prism2_srec to upgrade my NICs firmware to RF010702.HEX
    firmware
3. I then put my NIC in monitor mode to sniff 802.11 packets using Ethereal using the
    command
	iwconfig wlan0 mode monitor
    Ethereal works just fine and picks up all the .11 frames

PROBLEM:
========
4. I now tried to associate another STA with the AP. Unexpectedly, my NIC card that
    was in monitor mode started replying to probe requests from the STA. The STA got
    confused and sent .11 authentication request to my NIC card rather than the AP.

QUESTION:
========
    How can I prevent my hostap controlled NIC card behaving as an AP when it is monitor mode ?
    Ideally, I would like to use my hostap driver as a passive 802.11 monitor and not behave as an AP.

Thanks
-gopal

>  -----Original Message-----
> From: 	Gopalakrishnan Raman  
> Sent:	Tuesday, July 08, 2003 11:48 AM
> To:	Gopalakrishnan Raman
> Subject:	
> 
> On Wed, Jul 02, 2003 at 03:11:50PM +0900, imp wrote:
> 
> > > iwconfig wlan0 ap <specific AP BSSID>
> 
> > In this case, sta mode should know the specific AP's Mac 
> address. but, in general most card utility program
> > remember the essid name to association near other APs (same 
> essid, differ BSSID) in one to many situation... 
> > for example,
> 
> Yes, that 'ap' command was suggested since question was about how to
> explicitly select the AP using BSSID..
> 
> > there are three AP differ BSSID, same ESSID, in this case, 
> above method always change the BSSID with
> > iwconfig wlan0 ap (BSSID) command as mannually. when it 
> roam AP1 ->  AP2, AP2 ->AP3.
> > 
> > Could you recommand any way to automatically change link 
> with near AP in sta mode hostap box ?
> 
> The default station functionality will make the STA roam between APs
> that are using the same SSID. In other words, just leave the 'ap'
> command away.
> 
> -- 
> Jouni Malinen                                            PGP 
> id EFC895FA
> 



From sam  Tue Jul  8 12:56:05 2003
From: sam (Samuel B.)
Date: Tue, 8 Jul 2003 21:56:05 +0200 (CEST)
Subject: kernel panic in monitor mode (bug?)
Message-ID: <1637.62.168.106.36.1057694165.squirrel@webmail.korex.sk>

Hi,
i've found a bug in hostap driver, that produces kernel panic when
putting wifi card (z-com xi626) in monitor mode.

I google'd a bit and found
(http://sisyphus.iocaine.com/pipermail/hostap/2003-May/002758.html) that
problem might be somewhere in skb_put() call
in the driver (i don't have direct access to servers, so i couldn't
read the 'real' reason for the kernel panic).
I've tried to fix by just blindly increase allocated buffer (+100 bytes)
in every dev_alloc_skb() calls in file hostap_hw.c file. After using this
'fixed' drivers problem did not apear again...

Unfortunately i couldn't locate where exactly the bug is, since all the
waveboxes i currently have are production servers and restarting them very
often is not a good idea :)

Wavebox config:
   - at least 2 cards Z-Com xi626
   - linux-2.4.20 patched with wolk4.1-4.3 (i don't have vanila kernels so
i couldn't test it there) - wolk includes wireless extension version 16
   - wireless tools v26
   - latest cvs snapshot of hostap drivers

Sam






From sits  Tue Jul  8 16:59:58 2003
From: sits (Sitsofe Wheeler)
Date: 09 Jul 2003 00:59:58 +0100
Subject: Interrupt delivery error on an IPAQ
Message-ID: <1057708798.7735.6.camel@galvatron.localdomain>

Hello,

I have compiled and installed the Hostap 0.0.3 drivers on an arm based
IPAQ PDA. Older (and I am guessing patched) versions of Hostap 0.0.1
would see the card and allow communicate but currently I am receiving
interrupt delivery errors. The orinoco and wlan drivers also work
without any changes to their distributed code. I am using a patched
2.4.19 kernel. The PCMCIA card is a generic Intersil (manfid 0x0156,
0x0002). A snippet from dmesg follows:

hostap_crypt: registered algorithm 'NULL'
hostap_cs: 0.0.3 - 2003-05-18 (Jouni Malinen <jkmaline at cc.hut.fi>)
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
prism2_config()
hostap_cs: setting Vcc=33 (from config)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0046, io.base=0x0000, len=64
hostap_cs: index 0x01: Vcc 3.3, irq 42, io 0xcaa80000-0xcaa8003f
hostap_cs: Registered netdevice wlan0
prism2_hw_init()
prism2_hw_init: initialized in 9456 iterations
wlan0: NIC: id=0x8003 v1.0.0
wlan0: PRI: id=0x15 v0.3.0
wlan0: STA: id=0x1f v0.8.3
wlan0: defaulting to host-based encryption as a workaround for firmware
bug in Host AP mode WEP
wlan0: defaulting to bogus WDS frame as a workaround for firmware bug in
Host AP mode WDS
prism2: wlan0: operating mode changed 3 -> 2
wlan0: LinkStatus=2 (Disconnected)
wlan0: hfa384x_cmd: entry still in list? (entry=c1e6c854, type=0, res=0)
wlan0: hfa384x_cmd: command was not completed (res=0, entry=c1e6c854,
type=0, cmd=0x0021, param0=0xfd42, EVSTAT=8010)
wlan0: interrupt delivery does not seem to work
wlan0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fd42,
len=6)
wlan0: could not read CURRENTBSSID after LinkStatus event
wlan0: hfa384x_cmd: entry still in list? (entry=c1e44344, type=0, res=0)
wlan0: hfa384x_cmd: command was not completed (res=0, entry=c1e44344,
type=0, cmd=0x0002, param0=0x0000, EVSTAT=8010)
wlan0: interrupt delivery does not seem to work
wlan0: reset port failed to disable port
wlan0: hfa384x_cmd: entry still in list? (entry=c1e6c854, type=0, res=0)
wlan0: hfa384x_cmd: command was not completed (res=0, entry=c1e6c854,
type=0, cmd=0x0121, param0=0xfc0e, EVSTAT=8010)
wlan0: interrupt delivery does not seem to work
wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=-110, rid=fc0e,
len=34)
wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wlan0: hfa384x_cmd_issue - timeout - reg=0x8000
wlan0: hfa384x_cmd: entry still in list? (entry=c1e6c854, type=0,
res=-1)
wlan0: hfa384x_cmd: interrupted; err=-110
wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=-110, rid=fc02,
len=34)
wlan0: prism2_open

Any ideas on how to fix this? 

-- 
Sitsofe | http://sucs.org/~sits/



From jkmaline  Tue Jul  8 23:39:43 2003
From: jkmaline (Jouni Malinen)
Date: Wed, 9 Jul 2003 09:39:43 +0300
Subject: Trivial patch for ChangeLog
In-Reply-To: <Pine.LNX.4.44.0307061114470.12860-100000@localhost.localdomain>
References: <Pine.LNX.4.44.0307061114470.12860-100000@localhost.localdomain>
Message-ID: <20030709063943.GA3848@jm.kir.nu>

On Sun, Jul 06, 2003 at 11:19:17AM -0400, Pavel Roskin wrote:

> ChangeLog seems to imply that using Wireless Extensions is not 
> recommended, while the opposite is true.

Thanks; it was supposed to be "without", not "with".. ;-)

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Wed Jul  9 00:25:38 2003
From: jkmaline (Jouni Malinen)
Date: Wed, 9 Jul 2003 10:25:38 +0300
Subject: hostap on mac
In-Reply-To: <000b01c34491$bc93b7d0$050314ac@rip>
References: <000b01c34491$bc93b7d0$050314ac@rip>
Message-ID: <20030709072538.GA4066@jm.kir.nu>

On Mon, Jul 07, 2003 at 04:12:01PM +0200, Tomas Charvat wrote:

> do hostap works on PPC ?

Yes. I'm successfully using Host AP driver on a PowerPC MPC8260 -based
embedded board and I'm not aware of any PowerPC related issues.

-- 
Jouni Malinen                                            PGP id EFC895FA



From chhabra  Wed Jul  9 00:38:52 2003
From: chhabra (Madhusudan Singh)
Date: Wed, 09 Jul 2003 03:38:52 -0400
Subject: Success - and documentation for anyone in need of help
Message-ID: <3F0BC68C.4040908@eecs.umich.edu>

Hi

    Thanks to help from a variety of source, including this one, I was 
able to get my Netgear MA401 wireless card to work. I have documented 
each of my steps in what I hope is an exhaustive document : 
http://www.eecs.umich.edu/~chhabra/netgearwireless.html

    Please do go over it and suggest any changes / improvements.

Thanks again to everyone who helped.

MS



From jkmaline  Wed Jul  9 00:49:18 2003
From: jkmaline (Jouni Malinen)
Date: Wed, 9 Jul 2003 10:49:18 +0300
Subject: SMP related issues
Message-ID: <20030709074918.GB4066@jm.kir.nu>

I currently have access to my SMP system and can do some Host AP testing
with it. However, I can apparently only use hostap_plx or hostap_cs
since Prism2.5 PCI cards do not seem to work in that host for some
reason.

I have tried to crash the host with various kind of data loads using two
clients, but so far I have not been able to crash it even once. I'm
using Linux 2.4.21 and 2 x Pentium III 550 MHz.

If anyone is still able to reproduce crashes more or less consistently
on SMP systems using the latest CVS version of Host AP driver, I would
be interested in knowing about these. I will have access to my SMP
system for couple of weeks, so now would be a good time to (re-)report
these issues.

-- 
Jouni Malinen                                            PGP id EFC895FA



From lgelo  Wed Jul  9 00:56:16 2003
From: lgelo (Lubomir Gelo)
Date: Wed, 9 Jul 2003 09:56:16 +0200
Subject: kernel panic in monitor mode (bug?)
In-Reply-To: <1637.62.168.106.36.1057694165.squirrel@webmail.korex.sk>
References: <1637.62.168.106.36.1057694165.squirrel@webmail.korex.sk>
Message-ID: <20030709075616.GA12633@devil.cnc.sk>

On Tue, Jul 08, 2003 at 09:56:05PM +0200, Samuel B. wrote:
> Hi,
> i've found a bug in hostap driver, that produces kernel panic when
> putting wifi card (z-com xi626) in monitor mode.
>
> I google'd a bit and found
> (http://sisyphus.iocaine.com/pipermail/hostap/2003-May/002758.html)
> that
> problem might be somewhere in skb_put() call
> in the driver (i don't have direct access to servers, so i couldn't
> read the 'real' reason for the kernel panic).
> I've tried to fix by just blindly increase allocated buffer (+100
> bytes)
> in every dev_alloc_skb() calls in file hostap_hw.c file. After using
> this
> 'fixed' drivers problem did not apear again...
>
> Unfortunately i couldn't locate where exactly the bug is, since all
> the
> waveboxes i currently have are production servers and restarting them
> very
> often is not a good idea :)
>
> Wavebox config:
>    - at least 2 cards Z-Com xi626
>    - linux-2.4.20 patched with wolk4.1-4.3 (i don't have vanila
>    kernels so
> i couldn't test it there) - wolk includes wireless extension version
> 16
>    - wireless tools v26
>    - latest cvs snapshot of hostap drivers


Problem is in prism2_rx in hostap_hw. I've sent description with patch
to list on Jun 17, and to Jouni directly on Jun 29 but received no reply.

LG



From sgala  Wed Jul  9 07:34:57 2003
From: sgala (Santiago Gala)
Date: Wed, 09 Jul 2003 16:34:57 +0200
Subject: SMP related issues
In-Reply-To: <20030709074918.GB4066@jm.kir.nu>
References: <20030709074918.GB4066@jm.kir.nu>
Message-ID: <3F0C2811.604@hisitech.com>

Jouni Malinen escribi?:
> I currently have access to my SMP system and can do some Host AP testing
> with it. However, I can apparently only use hostap_plx or hostap_cs
> since Prism2.5 PCI cards do not seem to work in that host for some
> reason.
> 

Funny, my machines takes PCI cards, but I have not been able to make my 
bridge run (it gets no interrupt assigned).


> I have tried to crash the host with various kind of data loads using two
> clients, but so far I have not been able to crash it even once. I'm
> using Linux 2.4.21 and 2 x Pentium III 550 MHz.
> 
> If anyone is still able to reproduce crashes more or less consistently
> on SMP systems using the latest CVS version of Host AP driver, I would
> be interested in knowing about these. I will have access to my SMP
> system for couple of weeks, so now would be a good time to (re-)report
> these issues.
> 

I'm not seeing SMP issues since maybe September last year. I got a 
problem during startup related with a highmem problem, but it went off 
using a non-highmem kernel, and vanished fully when I updated to 2.4.21 
enterprise (Mandrake again)

Keep on with the nice job.

-- 
Santiago Gala
High Sierra Technology, S.L. (http://hisitech.com)
http://memojo.com?page=SantiagoGalaBlog




From vicente.paredes  Wed Jul  9 08:21:48 2003
From: vicente.paredes (Vicente Paredes)
Date: Wed, 9 Jul 2003 10:21:48 -0500 (CDT)
Subject: Hostap plus omni antenna
Message-ID:      <2512.157.100.165.55.1057764108.squirrel@webmail.linuxpowered.org>


Dear friends.

We have a node with hostap working now, but i need and omni antena to
increase the coverage, can you help me with a manual, maybe, a home
antena, to increase the coverage of my node.

Thanks in advance.


-- 
Atentamente

Vicente Paredes
Departamento de ?ngenier?a
GRUEIN S.A.
PBX 593-42690888
CEL 593-98412868



From mailinglistaddie  Wed Jul  9 08:36:20 2003
From: mailinglistaddie (Mr. Mailing List)
Date: Wed, 9 Jul 2003 08:36:20 -0700 (PDT)
Subject: question about ssid and such
Message-ID: <20030709153620.20955.qmail@web20707.mail.yahoo.com>

dmesg complains about a firmware upgrade needed for
wpc11.
i didn't know there were any?

also, i have wpc11 as eth2(after editing source), but
where can i set, in some config file, the ssid to use,
the 64bit passphrase to use, and the network to
use?(and ip/dhcp and such)



__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



From f6hqz  Wed Jul  9 10:22:08 2003
From: f6hqz (Francois BERGERET)
Date: Wed, 9 Jul 2003 19:22:08 +0200
Subject: Hostap plus omni antenna
In-Reply-To: <2512.157.100.165.55.1057764108.squirrel@webmail.linuxpowered.org>
Message-ID: <LEEMLOMCOLGDFKOEHKDPEELNDLAA.f6hqz@easyconnect.fr>

Hi the list,

Mix two kinds of antennas with a splitter :
- one kind for long range as a colinear omni with 12 dBi,
- one kind for local area as some patches, but not omni, or split again with 4 or 6 patches for omni coverage as cellular phones
repeaters;

The power will be splitted through all the antennas, reducing surely the long range effect, but...

Or use only one omni antenna with electrical downtilt attack angle from 7 to 3? under the horizon line with a maximum of dBi (12 dBi
is a good compromise if not too hight).

In all cases, antenna efficiency (in dBi) is always the first point with the vertical beamwidth, the second is the cable and
connector losses, before choosing any wireless card or increasing the output power to incredible level (and dirty signal). It is
better to listening corectly than to speak loudly ;-)

Each project is different, you can't have one only antenna modelisation for everybody.

Test and test again, play with all kind of possible antennas you have and keep in place the best choice, different for each wireless
area coverage...

Have a good luck and enjoy wireless !

Best Regards,
F6HQZ (French HAM Radio),
Francois BERGERET.


> -----Message d'origine-----
> De : hostap-bounces at shmoo.com [mailto:hostap-bounces at shmoo.com]De la
> part de Vicente Paredes
> Envoy? : mercredi 9 juillet 2003 17:22
> ? : hostap at shmoo.com
> Objet : Hostap plus omni antenna
>
>
>
> Dear friends.
>
> We have a node with hostap working now, but i need and omni antena to
> increase the coverage, can you help me with a manual, maybe, a home
> antena, to increase the coverage of my node.
>
> Thanks in advance.
>
>
> --
> Atentamente
>
> Vicente Paredes
> Departamento de ?ngenier?a
> GRUEIN S.A.
> PBX 593-42690888
> CEL 593-98412868
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>



From jkmaline  Wed Jul  9 10:57:10 2003
From: jkmaline (Jouni Malinen)
Date: Wed, 9 Jul 2003 20:57:10 +0300
Subject: prism2_rx (hostap_hw.c) patch
In-Reply-To: <20030617094712.GA11573@devil.cnc.sk>
References: <20030617094712.GA11573@devil.cnc.sk>
Message-ID: <20030709175710.GB4465@jm.kir.nu>

On Tue, Jun 17, 2003 at 11:47:12AM +0200, Lubomir Gelo wrote:

> Hostap 0.0.3 introduced bug in prism2_rx (hostap_hw.c) in calculating
> size for dev_alloc_skb. Driver hangs in monitor mode if frame of
> certain length is received. Verified with gcc-2.95 and gcc-3.3 and
> secondary FW 1.4.9 and 1.5.6. 

Thanks for reporting this. I haven't seen this happening in my tests
since my card did not seem to report triggering data_len values (STA f/w
1.5.6). However, I noticed that my card seemed to be delivering many
Acknowledgement frames with invalid data_len and previous version of the
driver was dropping these. Making this work better required a bit
different patch from yours, but it should also fix the special cases.
Please let me know if this version does not fix the hangs you have been
seeing.

I modified the RX path to accept such cases in monitor mode and handle
shorter than RX desc skb's properly. These seemed to improve monitor
mode operations at least for quick bursts of frames. Some Ack frames
might be received with bogus data and incorrect length, but at least
most Acks are now reported all the way to the sniffer program.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Wed Jul  9 11:00:04 2003
From: jkmaline (Jouni Malinen)
Date: Wed, 9 Jul 2003 21:00:04 +0300
Subject: kernel panic in monitor mode (bug?)
In-Reply-To: <1637.62.168.106.36.1057694165.squirrel@webmail.korex.sk>
References: <1637.62.168.106.36.1057694165.squirrel@webmail.korex.sk>
Message-ID: <20030709180004.GC4465@jm.kir.nu>

On Tue, Jul 08, 2003 at 09:56:05PM +0200, Samuel B. wrote:

> i've found a bug in hostap driver, that produces kernel panic when
> putting wifi card (z-com xi626) in monitor mode.

> I've tried to fix by just blindly increase allocated buffer (+100 bytes)
> in every dev_alloc_skb() calls in file hostap_hw.c file. After using this
> 'fixed' drivers problem did not apear again...

I changed RX allocation for some special cases in monitor mode. Could
you please verify that the current CVS snapshot fixes the issues you
have seen?

-- 
Jouni Malinen                                            PGP id EFC895FA



From hostap  Wed Jul  9 11:54:50 2003
From: hostap (Santiago Garcia Mantinan)
Date: Wed, 9 Jul 2003 20:54:50 +0200
Subject: Symbol Spectrum24 High Rate working with hostap driver in managed
	mode
Message-ID: <20030709185450.GA2606@man.beta.es>

Hi!

Today a friend lent me a 3Com AirConnect 3CRWE73796B card, which is known to
be a Symbol Spectrum24 High Rate based card. He didn't know this and was
thinking it could be a prism2 so I put it into my machine and loaded hostap
0.0.3 and even though it gave some errors...

wlan0: NIC: id=0x8000 v0.0.1
wlan0: PRI: id=0x15 v2.1.2
wlan0: STA: id=0x1f v2.1.2
wlan0: CMD=0x0121 => res=0x7f, resp0=0x0004
wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fc33, len=2)
wlan0: Beacon interval setting to 100 failed
wlan0: CMD=0x0121 => res=0x7f, resp0=0x0004
wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fc10, len=2)
wlan0: DTIM period setting to 1 failed
wlan0: CMD=0x0121 => res=0x7f, resp0=0x0004
wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fcb4, len=2)
wlan0: cnfSupportedRates setting to 15 failed
wlan0: CMD=0x0121 => res=0x7f, resp0=0x0004
wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fcb3, len=2)
wlan0: cnfBasicRates setting to 3 failed
wlan0: CMD=0x0121 => res=0x7f, resp0=0x0004
wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=127, rid=fc43, len=2)
wlan0: cnfEnhSecurity setting to 0x0 failed

it worked well as a client, which really shocked me as I had read it was a
Symbol card. So I tried to let it stay in master mode, and it didn't work,
but it didn't give any more errors than these ones.

So I'm asking myself... how does this card, which is not even a prism card
work in managed mode? and would it be posible to get HostAP mode on it with
a different firmware/changes on the driver/any other way?

Well, I just wanted to let you know this, it shocked me quite a lot to see
this working :-???

Regards...
-- 
Manty/BestiaTester -> http://manty.net



From proski  Wed Jul  9 12:38:47 2003
From: proski (Pavel Roskin)
Date: Wed, 9 Jul 2003 15:38:47 -0400 (EDT)
Subject: Symbol Spectrum24 High Rate working with hostap driver in managed
 mode
In-Reply-To: <20030709185450.GA2606@man.beta.es>
References: <20030709185450.GA2606@man.beta.es>
Message-ID: <Pine.LNX.4.56.0307091528180.4737@marabou.research.att.com>

On Wed, 9 Jul 2003, Santiago Garcia Mantinan wrote:

> it worked well as a client, which really shocked me as I had read it was
> a Symbol card. So I tried to let it stay in master mode, and it didn't
> work, but it didn't give any more errors than these ones.

I know that.  I tried a DWL-650H card recently and it worked.  Older
versions of HostAP didn't work or it was bad luck.  However, I need to run
"iwpriv wlan0 reset 2" to make the card report the right BSSID (the AP MAC
address).  The BSSID reported initially is bogus.  Also, I don't expect
WEP to work.  And scanning should be broken as well.

> So I'm asking myself... how does this card, which is not even a prism card
> work in managed mode? and would it be possible to get HostAP mode on it with
> a different firmware/changes on the driver/any other way?

Prism, Lucent and Symbol chipsets are brothers.  They have a common
ancestor - Choice CW10.

I don't expect Symbol or Lucent cards to work in HostAP mode because I
don't think the firmware supports it.  You can load tertiary firmware to
Lucent cards - look for "hermesap" on the web.

-- 
Regards,
Pavel Roskin



From vaidehi_30  Wed Jul  9 17:22:20 2003
From: vaidehi_30 (Vaidehi Kasarekar)
Date: Wed, 9 Jul 2003 17:22:20 -0700 (PDT)
Subject: Hostap and zoomair4100
Message-ID: <20030710002220.36555.qmail@web41408.mail.yahoo.com>

Hello,

I am really confused regarding Hostap. Please help!!

I am trying to install HostAP on my laptop. No luck.
I was told to upgrade my firmware, or try a different
card. So I tried Zoomair 4100.

My iwconfig wlan0 is giving the following output:
[root at vaidehi ~]# iwconfig wlan0
Warning : Device wlan0 has been compiled with version
13
of Wireless Extension, while we are using version 12.
Some things may be broken...

wlan0     IEEE 802.11-DS  ESSID:"test"
          Mode:Managed  Frequency:2.422GHz  Access
Point: 44:44:44:44:44:44
          Bit Rate:2Mb/s   Tx-Power:-14 dBm  
Sensitivity=1/3
          Retry min limit:8   RTS thr:off   Fragment
thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0/92  Signal level:-90 dBm 
Noise level:-90 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx
invalid frag:0
          Tx excessive retries:0  Invalid misc:364  
Missed beacon:0

According to the articles given at
http://trekweb.com/~jasonb/articles/hostap_20021012.shtml,
I should not get a link quality of 0/92. My MAC ID is
also not 44:44:44:44:44:44.

According to one of the articles on the hostap
website,
(http://www.seattlewireless.net/index.cgi/HardwareComparison),
zoomair is a prism2 card. However, when my kernel is
detecting it, it is saying that it is a lucent based
card.

My routing table is:
[root at vaidehi ~]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags
Metric Ref    Use Iface
129.93.68.128   *               255.255.255.128 U    
0      0        0 eth0
192.168.0.0     *               255.255.255.0   U    
0      0        0 wlan0
127.0.0.0       *               255.0.0.0       U    
0      0        0 lo
default         kickapoo-2.cs.u 0.0.0.0         UG   
0      0        0 eth0

My /etc/sysconfig/network-scripts/ifcfg-wlan0 settings
are:
DEVICE=wlan0
BOOTPROTO=static
ONBOOT=yes
BROADCAST=192.168.255.255
NETWORK=192.168.0.0
NETMASK=255.255.255.0
IPADDR=192.168.0.1

If i ping to my machine, by wlan interface, I get the
output as:
[root at vaidehi ~]# ping -I wlan0 192.168.0.1
PING 192.168.0.1 (192.168.0.1) from 192.168.0.1 wlan0:
56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=64
time=0.151 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=64
time=0.093 ms
(As i am specifying the interface, i think, it wont go
by the loopback interface)

However using libradiate, if i do wlansniff, i do not
get any output. ??? Also my iwconfig wlan0 shows link
quality as 0/92 ?? Why is this happening?

Any ideas, hints, pointers would be REALLY useful.
I am now confused between firmwares, Is there a
difference between Lucent firmware and Prism2? How to
find firmware version no, my card is using? Is hostap
supporting my card? Are my configurations right??
Where am i going wrong???

My dmseg output is as follows:
th0: Realtek RTL8201 PHY transceiver found at address
1.
eth0: Using transceiver found at address 1 as default
eth0: SiS 900 PCI Fast Ethernet at 0xd000, IRQ 10,
00:a0:cc:c7:84:12.
eth0: Media Link On 10mbps half-duplex
Linux Kernel Card Services 3.1.22
  options:  [pci] [cardbus] [pm]
PCI: Found IRQ 11 for device 00:03.0
PCI: Sharing IRQ 11 with 00:01.4
Yenta IRQ list 00b8, PCI irq11
Socket status: 30000411
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f
0x480-0x48f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
hostap_cs: hostap_cs.c 0.0.0 2002-04-24 (SSH
Communications Security Corp, Jouni Malinen)
hostap_cs: (c) SSH Communications Security Corp
<jkm at ssh.com>
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
prism2_config()
hostap_cs: setting Vcc=50 (from config)
CISTPL_MANFID: 0x0156, 0x0002
Lucent-based card
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0046, io.base=0x0000, len=64
hostap_cs: index 0x01: Vcc 5.0, irq 3, io
0x0100-0x013f
hostap_cs: Registered netdevice wlan0
prism2_hw_config()
prism2_hw_config: initialized in 9425 iterations
wlan0: NIC: id=0x8003 v1.0.0
wlan0: PRI: id=0x15 v0.3.0
wlan0: STA: id=0x1f v0.8.3
wlan0: prism2_open
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack (1471 buckets, 11768 max)
Linux agpgart interface v0.99 (c) Jeff Hartmann





__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



From chhabra  Wed Jul  9 19:42:15 2003
From: chhabra (Madhusudan Singh)
Date: Wed, 09 Jul 2003 22:42:15 -0400
Subject: Hostap and zoomair4100
In-Reply-To: <20030710002220.36555.qmail@web41408.mail.yahoo.com>
References: <20030710002220.36555.qmail@web41408.mail.yahoo.com>
Message-ID: <3F0CD287.4030507@eecs.umich.edu>

Hi

I have Netgear Wireless MA401, which is also a Prism card. Consult :

http://www.eecs.umich.edu/~chhabra/netgearwireless.html

I hope that helps.

MS

PS : 44444 means that your card is trying to connect to an AP but not 
getting through.

Vaidehi Kasarekar wrote:

>Hello,
>
>I am really confused regarding Hostap. Please help!!
>
>I am trying to install HostAP on my laptop. No luck.
>I was told to upgrade my firmware, or try a different
>card. So I tried Zoomair 4100.
>
>My iwconfig wlan0 is giving the following output:
>[root at vaidehi ~]# iwconfig wlan0
>Warning : Device wlan0 has been compiled with version
>13
>of Wireless Extension, while we are using version 12.
>Some things may be broken...
>
>wlan0     IEEE 802.11-DS  ESSID:"test"
>          Mode:Managed  Frequency:2.422GHz  Access
>Point: 44:44:44:44:44:44
>          Bit Rate:2Mb/s   Tx-Power:-14 dBm  
>Sensitivity=1/3
>          Retry min limit:8   RTS thr:off   Fragment
>thr:off
>          Encryption key:off
>          Power Management:off
>          Link Quality:0/92  Signal level:-90 dBm 
>Noise level:-90 dBm
>          Rx invalid nwid:0  Rx invalid crypt:0  Rx
>invalid frag:0
>          Tx excessive retries:0  Invalid misc:364  
>Missed beacon:0
>
>According to the articles given at
>http://trekweb.com/~jasonb/articles/hostap_20021012.shtml,
>I should not get a link quality of 0/92. My MAC ID is
>also not 44:44:44:44:44:44.
>
>According to one of the articles on the hostap
>website,
>(http://www.seattlewireless.net/index.cgi/HardwareComparison),
>zoomair is a prism2 card. However, when my kernel is
>detecting it, it is saying that it is a lucent based
>card.
>
>My routing table is:
>[root at vaidehi ~]# route
>Kernel IP routing table
>Destination     Gateway         Genmask         Flags
>Metric Ref    Use Iface
>129.93.68.128   *               255.255.255.128 U    
>0      0        0 eth0
>192.168.0.0     *               255.255.255.0   U    
>0      0        0 wlan0
>127.0.0.0       *               255.0.0.0       U    
>0      0        0 lo
>default         kickapoo-2.cs.u 0.0.0.0         UG   
>0      0        0 eth0
>
>My /etc/sysconfig/network-scripts/ifcfg-wlan0 settings
>are:
>DEVICE=wlan0
>BOOTPROTO=static
>ONBOOT=yes
>BROADCAST=192.168.255.255
>NETWORK=192.168.0.0
>NETMASK=255.255.255.0
>IPADDR=192.168.0.1
>
>If i ping to my machine, by wlan interface, I get the
>output as:
>[root at vaidehi ~]# ping -I wlan0 192.168.0.1
>PING 192.168.0.1 (192.168.0.1) from 192.168.0.1 wlan0:
>56(84) bytes of data.
>64 bytes from 192.168.0.1: icmp_seq=1 ttl=64
>time=0.151 ms
>64 bytes from 192.168.0.1: icmp_seq=2 ttl=64
>time=0.093 ms
>(As i am specifying the interface, i think, it wont go
>by the loopback interface)
>
>However using libradiate, if i do wlansniff, i do not
>get any output. ??? Also my iwconfig wlan0 shows link
>quality as 0/92 ?? Why is this happening?
>
>Any ideas, hints, pointers would be REALLY useful.
>I am now confused between firmwares, Is there a
>difference between Lucent firmware and Prism2? How to
>find firmware version no, my card is using? Is hostap
>supporting my card? Are my configurations right??
>Where am i going wrong???
>
>My dmseg output is as follows:
>th0: Realtek RTL8201 PHY transceiver found at address
>1.
>eth0: Using transceiver found at address 1 as default
>eth0: SiS 900 PCI Fast Ethernet at 0xd000, IRQ 10,
>00:a0:cc:c7:84:12.
>eth0: Media Link On 10mbps half-duplex
>Linux Kernel Card Services 3.1.22
>  options:  [pci] [cardbus] [pm]
>PCI: Found IRQ 11 for device 00:03.0
>PCI: Sharing IRQ 11 with 00:01.4
>Yenta IRQ list 00b8, PCI irq11
>Socket status: 30000411
>cs: IO port probe 0x0c00-0x0cff: clean.
>cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f
>0x480-0x48f 0x4d0-0x4d7
>cs: IO port probe 0x0a00-0x0aff: clean.
>cs: memory probe 0xa0000000-0xa0ffffff: clean.
>hostap_cs: hostap_cs.c 0.0.0 2002-04-24 (SSH
>Communications Security Corp, Jouni Malinen)
>hostap_cs: (c) SSH Communications Security Corp
><jkm at ssh.com>
>hostap_cs: setting Vcc=33 (constant)
>hostap_cs: CS_EVENT_CARD_INSERTION
>prism2_config()
>hostap_cs: setting Vcc=50 (from config)
>CISTPL_MANFID: 0x0156, 0x0002
>Lucent-based card
>Checking CFTABLE_ENTRY 0x01 (default 0x01)
>IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
>io->flags = 0x0046, io.base=0x0000, len=64
>hostap_cs: index 0x01: Vcc 5.0, irq 3, io
>0x0100-0x013f
>hostap_cs: Registered netdevice wlan0
>prism2_hw_config()
>prism2_hw_config: initialized in 9425 iterations
>wlan0: NIC: id=0x8003 v1.0.0
>wlan0: PRI: id=0x15 v0.3.0
>wlan0: STA: id=0x1f v0.8.3
>wlan0: prism2_open
>ip_tables: (C) 2000-2002 Netfilter core team
>ip_conntrack (1471 buckets, 11768 max)
>Linux agpgart interface v0.99 (c) Jeff Hartmann
>
>
>
>
>
>__________________________________
>Do you Yahoo!?
>SBC Yahoo! DSL - Now only $29.95 per month!
>http://sbc.yahoo.com
>_______________________________________________
>HostAP mailing list
>HostAP at shmoo.com
>http://lists.shmoo.com/mailman/listinfo/hostap
>  
>

-- 
Madhusudan Singh
Graduate Student Research Assistant,
Department of Electrical Engineering and Computer Science,
University of Michigan, Ann Arbor, MI, 48109,
United States.

2437, EECS Bldg.,
1301, Beal Avenue,
Ann Arbor, MI, 48109.

Phone : +1-734-763-6466
Fax : +1-734-763-9324




From lgelo  Thu Jul 10 02:34:12 2003
From: lgelo (Lubomir Gelo)
Date: Thu, 10 Jul 2003 11:34:12 +0200
Subject: prism2_rx (hostap_hw.c) patch
In-Reply-To: <20030709175710.GB4465@jm.kir.nu>
References: <20030617094712.GA11573@devil.cnc.sk>
	<20030709175710.GB4465@jm.kir.nu>
Message-ID: <20030710093412.GB2445@devil.cnc.sk>

On Wed, Jul 09, 2003 at 08:57:10PM +0300, Jouni Malinen wrote:
> On Tue, Jun 17, 2003 at 11:47:12AM +0200, Lubomir Gelo wrote:
> 
> > Hostap 0.0.3 introduced bug in prism2_rx (hostap_hw.c) in calculating
> > size for dev_alloc_skb. Driver hangs in monitor mode if frame of
> > certain length is received. Verified with gcc-2.95 and gcc-3.3 and
> > secondary FW 1.4.9 and 1.5.6. 
> 
> Thanks for reporting this. I haven't seen this happening in my tests
> since my card did not seem to report triggering data_len values (STA f/w
> 1.5.6). However, I noticed that my card seemed to be delivering many
> Acknowledgement frames with invalid data_len and previous version of the
> driver was dropping these. Making this work better required a bit
> different patch from yours, but it should also fix the special cases.
> Please let me know if this version does not fix the hangs you have been
> seeing.
> 
> I modified the RX path to accept such cases in monitor mode and handle
> shorter than RX desc skb's properly. These seemed to improve monitor
> mode operations at least for quick bursts of frames. Some Ack frames
> might be received with bogus data and incorrect length, but at least
> most Acks are now reported all the way to the sniffer program.

Notebook survived in monitor mode whole night in an area where with plain 
0.0.3 it crashed in less than 3 seconds. So I think it's fixed. 

Thank you.

LG



From mohit  Thu Jul 10 02:48:58 2003
From: mohit (Mohit Bajpai)
Date: Thu, 10 Jul 2003 15:18:58 +0530
Subject: Does hostap work with other than PRISM 2/2.5/3 chipset based WLAN
	cards?
Message-ID: <004101c346c9$038192a0$f009030a@mahindrabt.com>

Hi,
    As far as i know hostap works with PRISM 2/2.5/3 chipset based WLAN cards. could anybody please tell whether hostap works with WLAN cards having other chipset i.e. non PRISM 2/2.5/3 chipset based cards.If yes then which WLAN cards(non PRISM) work with hostap.
Any information on this will be highly appreciated,
Thanks,
Mohit

*********************************************************
Disclaimer

This message (including any attachments) contains 
confidential information intended for a specific 
individual and purpose, and is protected by law. 
If you are not the intended recipient, you should 
delete this message and are hereby notified that 
any disclosure, copying, or distribution of this
message, or the taking of any action based on it, 
is strictly prohibited.

*********************************************************
Visit us at http://www.mahindrabt.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030710/0fce6226/attachment.htm 


From jkmaline  Thu Jul 10 02:55:54 2003
From: jkmaline (Jouni Malinen)
Date: Thu, 10 Jul 2003 12:55:54 +0300
Subject: Does hostap work with other than PRISM 2/2.5/3 chipset based
	WLAN cards?
In-Reply-To: <004101c346c9$038192a0$f009030a@mahindrabt.com>
References: <004101c346c9$038192a0$f009030a@mahindrabt.com>
Message-ID: <20030710095554.GA11476@jm.kir.nu>

On Thu, Jul 10, 2003 at 03:22:45PM +0530, Mohit Bajpai wrote:

>     As far as i know hostap works with PRISM 2/2.5/3 chipset based WLAN cards. could anybody please tell whether hostap works with WLAN cards having other chipset i.e. non PRISM 2/2.5/3 chipset based cards.If yes then which WLAN cards(non PRISM) work with hostap.

Current version of the Host AP driver works only with Prism2/2.5/3. Some
parts of the code (mostly hostapd) is hardware independent, but large
part of the kernel driver code is still quite closely tied to Prism2
hardware.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Thu Jul 10 07:05:08 2003
From: jkmaline (Jouni Malinen)
Date: Thu, 10 Jul 2003 17:05:08 +0300
Subject: Fix for crash on card removal
In-Reply-To: <Pine.LNX.4.50.0303032336100.5922-100000@marabou.research.att.com>
References: <Pine.LNX.4.50.0303032336100.5922-100000@marabou.research.att.com>
Message-ID: <20030710140508.GB30861@jm.kir.nu>

On Mon, Mar 03, 2003 at 11:47:20PM -0500, Pavel Roskin wrote:

> Using AccessConfigurationRegister is unsafe is the card has been removed.
> There is a long-standing bug in the PCMCIA drivers that causes a kernel
> oops.  This bug was been patched in pcmcia-cs, but it's still present in
> the kernel PCMCIA drivers (both 2.4.x and 2.5.x).
> 
> I have just sent a patch to LKML, but I think it's a good idea to put
> protection into the HostAP driver itself, especially because it's
> reasonable and simple.

Thanks. This ended up waiting long time in my mail queue, but it is now
finally applied.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Thu Jul 10 10:17:20 2003
From: jkmaline (Jouni Malinen)
Date: Thu, 10 Jul 2003 20:17:20 +0300
Subject: Error message> wlan0: SW TICK stuck?
In-Reply-To: <004e01c34147$b69d6e40$0965a8c0@msramek>
References: <004e01c34147$b69d6e40$0965a8c0@msramek>
Message-ID: <20030710171719.GA31992@jm.kir.nu>

On Thu, Jul 03, 2003 at 11:44:33AM +0200, Milos Sramek wrote:

> What does this error message mean ??  and why it's egressing ??
> 
> wlan0: SW TICK stuck? bits=0x0 EvStat=8001 IntEn=e018
> 
> Linux repeatly this message to console and is total "dead".

Host AP driver uses a software watchdog to detect busy looping IRQ
events. That message should be displayed every two seconds if most of
the kernel gets stuck (deadlock etc.) but hw interrupts are still
working. Did you happen to catch any messages just before the first 'SW
TICK stuck' message?

-- 
Jouni Malinen                                            PGP id EFC895FA



From hostap  Thu Jul 10 11:11:49 2003
From: hostap (Santiago Garcia Mantinan)
Date: Thu, 10 Jul 2003 20:11:49 +0200
Subject: problems caused by ESSID not being set
Message-ID: <20030710181149.GA1738@man.beta.es>

Hi!

This came out trying to confirm that the current cvs fixed the issued that
Lubomir Gelo had reported on "prism2_rx (hostap_hw.c) patch" message. I can
confirm that this is also working here.

Anyway, testing my laptops with kismet under hostap I have discovered some
other issues, this are related to the ESSID not being sed when trying ot
enter monitor mode. I'm using Debian unstable distribution in case this
makes any difference.

I believe what I found out related to monitor mode has a lot to do with
another small issue when trying to enter mater mode, and it is that you must
set an essid to enter master, it doesn't suffice to have an essid set via
essid any as shows this example:

ace:~# iwconfig wlan0
wlan0     IEEE 802.11b  ESSID:"beta.wl"  Nickname:"ace"
          Mode:Managed  Frequency:2.412GHz  Access Point: 00:50:C2:10:90:B3  
          Bit Rate:2Mb/s   Tx-Power:7 dBm   Sensitivity=1/242700000  
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:28/1  Signal level:-83 dBm  Noise level:-100 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:2   Missed beacon:0
ace:~# iwconfig wlan0 mode master
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; Invalid argument.
ace:~# iwconfig wlan0 essid beta.wl
ace:~# iwconfig wlan0 mode master
ace:~# iwconfig wlan0
wlan0     IEEE 802.11b  ESSID:"beta.wl"  Nickname:"ace"
          Mode:Master  Frequency:2.427GHz  Access Point: 00:50:C2:10:92:6A  
          Bit Rate:11Mb/s   Tx-Power:6 dBm   Sensitivity=1/242700000  
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:28/1  Signal level:-83 dBm  Noise level:-100 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:5   Missed beacon:0


Well, similarly, you must set an essid before getting into monitor mode, if
you don't do it and the essid is set to "" (any without having register to
any AP), you'll find that you cannot set the frequencies under monitor mode
and everything becomes borked, like I show here, even though kismet starts
up, only that the hopper is disabled because of the frequencies problem:

ace:~# iwconfig wlan0
wlan0     IEEE 802.11b  ESSID:""  Nickname:"ace"
          Mode:Managed  Frequency:2.412GHz  Access Point: 44:44:44:44:44:44  
          Bit Rate:2Mb/s   Tx-Power:-3 dBm   Sensitivity=1/242700000  
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0/1  Signal level:-100 dBm  Noise level:-100 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:7   Missed beacon:0
ace:~# prism2_param wlan0 monitor_type 1
ace:~# iwconfig wlan0 mode monitor
ace:~# iwconfig wlan0 channel 6
Error for wireless request "Set Frequency" (8B04) :
    SET failed on device wlan0 ; Invalid argument.
ace:~# iwconfig wlan0 mode managed
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; Operation not supported.

This are the messages the kernel shows:

Jul 10 19:56:12 ace kernel: prism2: wlan0: operating mode changed 2 -> 6
Jul 10 19:56:12 ace kernel: Enabling monitor mode
Jul 10 19:56:29 ace kernel: wlan0: Interrupt, but SWSUPPORT0 does not match:
0000 != 8A32 - card removed?
Jul 10 19:56:29 ace kernel: wlan0: WTERR event
Jul 10 19:56:29 ace kernel: wlan0: interrupt - SWSUPPORT0=0000 MAGIC=8a32
Jul 10 19:56:29 ace kernel: wlan0: scheduled card reset
Jul 10 19:56:29 ace kernel: hostap_cs: wlan0: resetting card
Jul 10 19:56:29 ace kernel: prism2_pccard_cor_sreset: original COR 00
Jul 10 19:56:29 ace kernel: wlan0: removed pending cmd_queue entry (type=0,
cmd=0x0121, param0=0xfc03)
Jul 10 19:56:29 ace kernel: prism2_hw_init()
Jul 10 19:56:29 ace kernel: hostap_cs: card initialization timed out
Jul 10 19:56:29 ace kernel: hostap_cs: Initialization failed
Jul 10 19:56:30 ace kernel: wlan0: hfa384x_cmd: command was not completed
(res=0, entry=c29aafa0, type=0, cmd=0x0121, param0=0xfc03, EVSTAT=0000
INTEN=0000)
Jul 10 19:56:30 ace kernel: wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE
failed (res=-110, rid=fc03, len=2)
Jul 10 19:58:26 ace kernel: wlan0: Disabling monitor mode
Jul 10 19:58:28 ace kernel: wlan0: hfa384x_cmd: entry still in list?
(entry=c29aafa0, type=0, res=0)
Jul 10 19:58:28 ace kernel: wlan0: hfa384x_cmd: command was not completed
(res=0, entry=c29aafa0, type=0, cmd=0x0f38, param0=0x0000, EVSTAT=0000
INTEN=0000)
Jul 10 19:58:28 ace kernel: prism2: wlan0: operating mode changed 6 -> 2
Jul 10 19:58:30 ace kernel: wlan0: hfa384x_cmd: entry still in list?
(entry=c29aafa0, type=0, res=0)
Jul 10 19:58:30 ace kernel: wlan0: hfa384x_cmd: command was not completed
(res=0, entry=c29aafa0, type=0, cmd=0x0121, param0=0xfc00, EVSTAT=0000
INTEN=0000)
Jul 10 19:58:30 ace kernel: wlan0: hfa384x_set_rid: CMDCODE_ACCESS_WRITE
failed (res=-110, rid=fc00, len=2)

If the essid was any but we are now associated to an AP the user interaction
seems the same, except that kismet doesn't start up at all, only the server
is left around in background, and the kernel messages are completely
different, they look like this:

Jul 10 20:02:48 ace kernel: prism2: wlan0: operating mode changed 2 -> 6
Jul 10 20:02:48 ace kernel: Enabling monitor mode
Jul 10 20:03:02 ace kernel: wlan0: hfa384x_setup_bap - timeout after
Jul 10 20:03:02 ace kernel: wlan0: hfa384x_set_rid (rid=fc03, len=2) -
failed - res=-110
Jul 10 20:03:43 ace kernel: wlan0: Disabling monitor mode
Jul 10 20:03:45 ace kernel: wlan0: hfa384x_cmd: entry still in list?
(entry=c29aaa20, type=0, res=0)
Jul 10 20:03:45 ace kernel: wlan0: hfa384x_cmd: command was not completed
(res=0, entry=c29aaa20, type=0, cmd=0x0f38, param0=0x0000, EVSTAT=0000
INTEN=e09f)
Jul 10 20:03:45 ace kernel: prism2: wlan0: operating mode changed 6 -> 2
Jul 10 20:03:45 ace kernel: wlan0: hfa384x_setup_bap - timeout before
Jul 10 20:03:45 ace kernel: wlan0: hfa384x_set_rid (rid=fc00, len=2) -
failed - res=-110

I have solved this by adding a iwconfig wlan0 essid test to the
kismet_monitor script before doing any other thing, but I believe that the
problem is really on the driver, comments?

Well, hope this helps a bit.

Regards...
-- 
Manty/BestiaTester -> http://manty.net



From proski  Thu Jul 10 11:55:08 2003
From: proski (Pavel Roskin)
Date: Thu, 10 Jul 2003 14:55:08 -0400 (EDT)
Subject: problems caused by ESSID not being set
In-Reply-To: <20030710181149.GA1738@man.beta.es>
References: <20030710181149.GA1738@man.beta.es>
Message-ID: <Pine.LNX.4.56.0307101450070.13427@marabou.research.att.com>

On Thu, 10 Jul 2003, Santiago Garcia Mantinan wrote:

>           Bit Rate:2Mb/s   Tx-Power:7 dBm   Sensitivity=1/242700000

I'm not sure about your problem, but this value for sensitivity makes me
think that you are using some old version of Wireless Tools.  Take version
26 and recompile it against the kernel you are using.

> ace:~# iwconfig wlan0 mode master
> Error for wireless request "Set Mode" (8B06) :
>     SET failed on device wlan0 ; Invalid argument.

It seems to me that you are using a clone (Lucent of Symbol), not a real
Prism chipset.  Clones don't support master mode.  "cardctl ident"
should show the data necessary to identify your card.

-- 
Regards,
Pavel Roskin



From mike  Thu Jul 10 12:36:00 2003
From: mike (Michael Guntsche)
Date: Thu, 10 Jul 2003 21:36:00 +0200
Subject: problems caused by ESSID not being set
In-Reply-To: <Pine.LNX.4.56.0307101450070.13427@marabou.research.att.com>
References: <20030710181149.GA1738@man.beta.es>
	<Pine.LNX.4.56.0307101450070.13427@marabou.research.att.com>
Message-ID: <20030710213600.2d248cb3.mike@it-loops.com>

On Thu, 10 Jul 2003 14:55:08 -0400 (EDT)
Pavel Roskin <proski at gnu.org> wrote:

> On Thu, 10 Jul 2003, Santiago Garcia Mantinan wrote:
> 
> >           Bit Rate:2Mb/s   Tx-Power:7 dBm   Sensitivity=1/242700000
> 
> I'm not sure about your problem, but this value for sensitivity makes
> me think that you are using some old version of Wireless Tools.  Take
> version 26 and recompile it against the kernel you are using.

Debian has version 26 in the repository. The problem is, that the
packages is build with FORCE_WEXT_VERSION = 16, giving you this kind of
problem, if you have a kernel with an older version installed (vanilla
2.4.21).


Cheers,
Michael



From daniel  Thu Jul 10 09:03:47 2003
From: daniel (Dan Hackney)
Date: Thu, 10 Jul 2003 12:03:47 -0400
Subject: pcmcia_cs vs orinoco_cs
Message-ID: <000501c346fc$d926afc0$680f010a@emji.net>

I'm a bit confused regarding the PCMCIA_PATH directive for setting up
the hostap driver.  My machine does not appear to use the pcmcia_cs
module, but the orinoco_cs one instead.  Here is an lsmod and a modprobe
pcmcia_cs for you:

wdlinux:~# lsmod
Module                  Size  Used by    Not tainted
orinoco_cs              4520   0  (unused)
orinoco                29952   0  [orinoco_cs]
hermes                  5888   0  [orinoco_cs orinoco]
nls_iso8859-1           2848   1  (autoclean)
isofs                  25664   1  (autoclean)
zlib_inflate           18752   0  (autoclean) [isofs]
loop                    8912   3  (autoclean)
tulip                  40416   1  (autoclean)
af_packet              12904   1  (autoclean)
reiserfs              177024   2  (autoclean)
ds                      6528   1  [orinoco_cs]
yenta_socket            9504   1
pcmcia_core            38144   0  [orinoco_cs ds yenta_socket]
unix                   14500   6  (autoclean)
wdlinux:~# modprobe pcmcia_cs
modprobe: Can't locate module pcmcia_cs

The card is a demarctec pcmcia card, based on prism 2.5 chipset.

Can anyone give me a push in the right direction?

Note: please reply by email as I'm not sure I'm really on the list yet;
after subscribing I got someone's vacation away message....?

-Dan



From vaidehi_30  Thu Jul 10 13:17:38 2003
From: vaidehi_30 (Vaidehi Kasarekar)
Date: Thu, 10 Jul 2003 13:17:38 -0700 (PDT)
Subject: Hostap and zoomair4100
In-Reply-To: <3F0CD287.4030507@eecs.umich.edu>
Message-ID: <20030710201738.74859.qmail@web41407.mail.yahoo.com>

Hi,

Thanks Madhusudan.! The documentation was really
helpful.

I wanted my laptop to configure as a client.
My only mistake was, i was not associating wlan0 with
my wireless network. 

Associating the card with essid of my accesspoint
solved my problem. Though a simple solution, being a
newbei, it never stiked my mind...

I always thought that its coz of my network
configuration settings or coz of some
incompatibilities between firmware versions or because
hostap cant be used in a pure client mode, or prism2
firmware issue, or my kernel and pcmcia versions are
incompatible.....the list was unending and i was
confused. :)

PHEW!! My old firmware SMC card 2632W also worked with
the current version of hostap. 

I am happy, it worked with SMC. I still have to try
with zoomair though.

thanks again!
-Vaidehi

--- Madhusudan Singh <chhabra at eecs.umich.edu> wrote:
> Hi
> 
> I have Netgear Wireless MA401, which is also a Prism
> card. Consult :
> 
>
http://www.eecs.umich.edu/~chhabra/netgearwireless.html
> 
> I hope that helps.
> 
> MS
> 
> PS : 44444 means that your card is trying to connect
> to an AP but not 
> getting through.
> 
> Vaidehi Kasarekar wrote:
> 
> >Hello,
> >
> >I am really confused regarding Hostap. Please
> help!!
> >
> >I am trying to install HostAP on my laptop. No
> luck.
> >I was told to upgrade my firmware, or try a
> different
> >card. So I tried Zoomair 4100.
> >
> >My iwconfig wlan0 is giving the following output:
> >[root at vaidehi ~]# iwconfig wlan0
> >Warning : Device wlan0 has been compiled with
> version
> >13
> >of Wireless Extension, while we are using version
> 12.
> >Some things may be broken...
> >
> >wlan0     IEEE 802.11-DS  ESSID:"test"
> >          Mode:Managed  Frequency:2.422GHz  Access
> >Point: 44:44:44:44:44:44
> >          Bit Rate:2Mb/s   Tx-Power:-14 dBm  
> >Sensitivity=1/3
> >          Retry min limit:8   RTS thr:off  
> Fragment
> >thr:off
> >          Encryption key:off
> >          Power Management:off
> >          Link Quality:0/92  Signal level:-90 dBm 
> >Noise level:-90 dBm
> >          Rx invalid nwid:0  Rx invalid crypt:0  Rx
> >invalid frag:0
> >          Tx excessive retries:0  Invalid misc:364 
> 
> >Missed beacon:0
> >
> >According to the articles given at
>
>http://trekweb.com/~jasonb/articles/hostap_20021012.shtml,
> >I should not get a link quality of 0/92. My MAC ID
> is
> >also not 44:44:44:44:44:44.
> >
> >According to one of the articles on the hostap
> >website,
>
>(http://www.seattlewireless.net/index.cgi/HardwareComparison),
> >zoomair is a prism2 card. However, when my kernel
> is
> >detecting it, it is saying that it is a lucent
> based
> >card.
> >
> >My routing table is:
> >[root at vaidehi ~]# route
> >Kernel IP routing table
> >Destination     Gateway         Genmask        
> Flags
> >Metric Ref    Use Iface
> >129.93.68.128   *               255.255.255.128 U  
>  
> >0      0        0 eth0
> >192.168.0.0     *               255.255.255.0   U  
>  
> >0      0        0 wlan0
> >127.0.0.0       *               255.0.0.0       U  
>  
> >0      0        0 lo
> >default         kickapoo-2.cs.u 0.0.0.0         UG 
>  
> >0      0        0 eth0
> >
> >My /etc/sysconfig/network-scripts/ifcfg-wlan0
> settings
> >are:
> >DEVICE=wlan0
> >BOOTPROTO=static
> >ONBOOT=yes
> >BROADCAST=192.168.255.255
> >NETWORK=192.168.0.0
> >NETMASK=255.255.255.0
> >IPADDR=192.168.0.1
> >
> >If i ping to my machine, by wlan interface, I get
> the
> >output as:
> >[root at vaidehi ~]# ping -I wlan0 192.168.0.1
> >PING 192.168.0.1 (192.168.0.1) from 192.168.0.1
> wlan0:
> >56(84) bytes of data.
> >64 bytes from 192.168.0.1: icmp_seq=1 ttl=64
> >time=0.151 ms
> >64 bytes from 192.168.0.1: icmp_seq=2 ttl=64
> >time=0.093 ms
> >(As i am specifying the interface, i think, it wont
> go
> >by the loopback interface)
> >
> >However using libradiate, if i do wlansniff, i do
> not
> >get any output. ??? Also my iwconfig wlan0 shows
> link
> >quality as 0/92 ?? Why is this happening?
> >
> >Any ideas, hints, pointers would be REALLY useful.
> >I am now confused between firmwares, Is there a
> >difference between Lucent firmware and Prism2? How
> to
> >find firmware version no, my card is using? Is
> hostap
> >supporting my card? Are my configurations right??
> >Where am i going wrong???
> >
> >My dmseg output is as follows:
> >th0: Realtek RTL8201 PHY transceiver found at
> address
> >1.
> >eth0: Using transceiver found at address 1 as
> default
> >eth0: SiS 900 PCI Fast Ethernet at 0xd000, IRQ 10,
> >00:a0:cc:c7:84:12.
> >eth0: Media Link On 10mbps half-duplex
> >Linux Kernel Card Services 3.1.22
> >  options:  [pci] [cardbus] [pm]
> >PCI: Found IRQ 11 for device 00:03.0
> >PCI: Sharing IRQ 11 with 00:01.4
> >Yenta IRQ list 00b8, PCI irq11
> >Socket status: 30000411
> >cs: IO port probe 0x0c00-0x0cff: clean.
> >cs: IO port probe 0x0100-0x04ff: excluding
> 0x378-0x37f
> >0x480-0x48f 0x4d0-0x4d7
> >cs: IO port probe 0x0a00-0x0aff: clean.
> >cs: memory probe 0xa0000000-0xa0ffffff: clean.
> >hostap_cs: hostap_cs.c 0.0.0 2002-04-24 (SSH
> >Communications Security Corp, Jouni Malinen)
> >hostap_cs: (c) SSH Communications Security Corp
> ><jkm at ssh.com>
> >hostap_cs: setting Vcc=33 (constant)
> >hostap_cs: CS_EVENT_CARD_INSERTION
> >prism2_config()
> >hostap_cs: setting Vcc=50 (from config)
> >CISTPL_MANFID: 0x0156, 0x0002
> >Lucent-based card
> >Checking CFTABLE_ENTRY 0x01 (default 0x01)
> >IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
> >io->flags = 0x0046, io.base=0x0000, len=64
> >hostap_cs: index 0x01: Vcc 5.0, irq 3, io
> >0x0100-0x013f
> >hostap_cs: Registered netdevice wlan0
> >prism2_hw_config()
> >prism2_hw_config: initialized in 9425 iterations
> >wlan0: NIC: id=0x8003 v1.0.0
> >wlan0: PRI: id=0x15 v0.3.0
> >wlan0: STA: id=0x1f v0.8.3
> >wlan0: prism2_open
> >ip_tables: (C) 2000-2002 Netfilter core team
> >ip_conntrack (1471 buckets, 11768 max)
> >Linux agpgart interface v0.99 (c) Jeff Hartmann
> >
> >
> >
> >
> >
> >__________________________________
> >Do you Yahoo!?
> >SBC Yahoo! DSL - Now only $29.95 per month!
> >http://sbc.yahoo.com
> >_______________________________________________
> >HostAP mailing list
> >HostAP at shmoo.com
> >http://lists.shmoo.com/mailman/listinfo/hostap
> >  
> >
> 
> -- 
> Madhusudan Singh
> Graduate Student Research Assistant,
> Department of Electrical Engineering and Computer
> Science,
> University of Michigan, Ann Arbor, MI, 48109,
> United States.
> 
> 2437, EECS Bldg.,
> 
=== message truncated ===


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



From proski  Thu Jul 10 14:10:48 2003
From: proski (Pavel Roskin)
Date: Thu, 10 Jul 2003 17:10:48 -0400 (EDT)
Subject: pcmcia_cs vs orinoco_cs
In-Reply-To: <000501c346fc$d926afc0$680f010a@emji.net>
References: <000501c346fc$d926afc0$680f010a@emji.net>
Message-ID: <Pine.LNX.4.56.0307101700240.14018@marabou.research.att.com>

On Thu, 10 Jul 2003, Dan Hackney wrote:

> I'm a bit confused regarding the PCMCIA_PATH directive for setting up
> the hostap driver.  My machine does not appear to use the pcmcia_cs
> module, but the orinoco_cs one instead.  Here is an lsmod and a modprobe
> pcmcia_cs for you:

There are no references to "pcmcia_cs" in the HostAP source.  "pcmcia-cs"
is always called "package", not "module" in Makefile.  I don't know how to
rephrase that comment to make it more clear.  It seems to me that you are
making assumptions based on something else, not on that comment, so fixing
it won't help you.  Try reading that text again.

> orinoco_cs              4520   0  (unused)

orinoco_cs is bound to your card in /etc/pcmcia/config.  Once you run
"make install" in HostAP and restarts PCMCIA (or simply reboot), hostap_cs
should be used instead.

> yenta_socket            9504   1

This means that you have kernel PCMCIA and don't need to compile against
pcmcia-cs package.  There is no "yenta_socket" module in pcmcia-cs.

-- 
Regards,
Pavel Roskin



From chhabra  Thu Jul 10 14:01:50 2003
From: chhabra (Madhusudan Singh)
Date: Thu, 10 Jul 2003 17:01:50 -0400
Subject: Hostap and zoomair4100
References: <20030710201738.74859.qmail@web41407.mail.yahoo.com>
Message-ID: <3F0DD43E.7070908@eecs.umich.edu>

Hi
    I am glad that I was of some assistance in that matter. A week ago, 
I was in the same position as you were :)

MS

Vaidehi Kasarekar wrote:

>Hi,
>
>Thanks Madhusudan.! The documentation was really
>helpful.
>
>I wanted my laptop to configure as a client.
>My only mistake was, i was not associating wlan0 with
>my wireless network. 
>
>Associating the card with essid of my accesspoint
>solved my problem. Though a simple solution, being a
>newbei, it never stiked my mind...
>
>I always thought that its coz of my network
>configuration settings or coz of some
>incompatibilities between firmware versions or because
>hostap cant be used in a pure client mode, or prism2
>firmware issue, or my kernel and pcmcia versions are
>incompatible.....the list was unending and i was
>confused. :)
>
>PHEW!! My old firmware SMC card 2632W also worked with
>the current version of hostap. 
>
>I am happy, it worked with SMC. I still have to try
>with zoomair though.
>
>thanks again!
>-Vaidehi
>
>--- Madhusudan Singh <chhabra at eecs.umich.edu> wrote:
>  
>
>>Hi
>>
>>I have Netgear Wireless MA401, which is also a Prism
>>card. Consult :
>>
>>
>>    
>>
>http://www.eecs.umich.edu/~chhabra/netgearwireless.html
>  
>
>>I hope that helps.
>>
>>MS
>>
>>PS : 44444 means that your card is trying to connect
>>to an AP but not 
>>getting through.
>>
>>Vaidehi Kasarekar wrote:
>>
>>    
>>
>>>Hello,
>>>
>>>I am really confused regarding Hostap. Please
>>>      
>>>
>>help!!
>>    
>>
>>>I am trying to install HostAP on my laptop. No
>>>      
>>>
>>luck.
>>    
>>
>>>I was told to upgrade my firmware, or try a
>>>      
>>>
>>different
>>    
>>
>>>card. So I tried Zoomair 4100.
>>>
>>>My iwconfig wlan0 is giving the following output:
>>>[root at vaidehi ~]# iwconfig wlan0
>>>Warning : Device wlan0 has been compiled with
>>>      
>>>
>>version
>>    
>>
>>>13
>>>of Wireless Extension, while we are using version
>>>      
>>>
>>12.
>>    
>>
>>>Some things may be broken...
>>>
>>>wlan0     IEEE 802.11-DS  ESSID:"test"
>>>         Mode:Managed  Frequency:2.422GHz  Access
>>>Point: 44:44:44:44:44:44
>>>         Bit Rate:2Mb/s   Tx-Power:-14 dBm  
>>>Sensitivity=1/3
>>>         Retry min limit:8   RTS thr:off  
>>>      
>>>
>>Fragment
>>    
>>
>>>thr:off
>>>         Encryption key:off
>>>         Power Management:off
>>>         Link Quality:0/92  Signal level:-90 dBm 
>>>Noise level:-90 dBm
>>>         Rx invalid nwid:0  Rx invalid crypt:0  Rx
>>>invalid frag:0
>>>         Tx excessive retries:0  Invalid misc:364 
>>>      
>>>
>>>Missed beacon:0
>>>
>>>According to the articles given at
>>>      
>>>
>>http://trekweb.com/~jasonb/articles/hostap_20021012.shtml,
>>    
>>
>>>I should not get a link quality of 0/92. My MAC ID
>>>      
>>>
>>is
>>    
>>
>>>also not 44:44:44:44:44:44.
>>>
>>>According to one of the articles on the hostap
>>>website,
>>>      
>>>
>>(http://www.seattlewireless.net/index.cgi/HardwareComparison),
>>    
>>
>>>zoomair is a prism2 card. However, when my kernel
>>>      
>>>
>>is
>>    
>>
>>>detecting it, it is saying that it is a lucent
>>>      
>>>
>>based
>>    
>>
>>>card.
>>>
>>>My routing table is:
>>>[root at vaidehi ~]# route
>>>Kernel IP routing table
>>>Destination     Gateway         Genmask        
>>>      
>>>
>>Flags
>>    
>>
>>>Metric Ref    Use Iface
>>>129.93.68.128   *               255.255.255.128 U  
>>>      
>>>
>> 
>>    
>>
>>>0      0        0 eth0
>>>192.168.0.0     *               255.255.255.0   U  
>>>      
>>>
>> 
>>    
>>
>>>0      0        0 wlan0
>>>127.0.0.0       *               255.0.0.0       U  
>>>      
>>>
>> 
>>    
>>
>>>0      0        0 lo
>>>default         kickapoo-2.cs.u 0.0.0.0         UG 
>>>      
>>>
>> 
>>    
>>
>>>0      0        0 eth0
>>>
>>>My /etc/sysconfig/network-scripts/ifcfg-wlan0
>>>      
>>>
>>settings
>>    
>>
>>>are:
>>>DEVICE=wlan0
>>>BOOTPROTO=static
>>>ONBOOT=yes
>>>BROADCAST=192.168.255.255
>>>NETWORK=192.168.0.0
>>>NETMASK=255.255.255.0
>>>IPADDR=192.168.0.1
>>>
>>>If i ping to my machine, by wlan interface, I get
>>>      
>>>
>>the
>>    
>>
>>>output as:
>>>[root at vaidehi ~]# ping -I wlan0 192.168.0.1
>>>PING 192.168.0.1 (192.168.0.1) from 192.168.0.1
>>>      
>>>
>>wlan0:
>>    
>>
>>>56(84) bytes of data.
>>>64 bytes from 192.168.0.1: icmp_seq=1 ttl=64
>>>time=0.151 ms
>>>64 bytes from 192.168.0.1: icmp_seq=2 ttl=64
>>>time=0.093 ms
>>>(As i am specifying the interface, i think, it wont
>>>      
>>>
>>go
>>    
>>
>>>by the loopback interface)
>>>
>>>However using libradiate, if i do wlansniff, i do
>>>      
>>>
>>not
>>    
>>
>>>get any output. ??? Also my iwconfig wlan0 shows
>>>      
>>>
>>link
>>    
>>
>>>quality as 0/92 ?? Why is this happening?
>>>
>>>Any ideas, hints, pointers would be REALLY useful.
>>>I am now confused between firmwares, Is there a
>>>difference between Lucent firmware and Prism2? How
>>>      
>>>
>>to
>>    
>>
>>>find firmware version no, my card is using? Is
>>>      
>>>
>>hostap
>>    
>>
>>>supporting my card? Are my configurations right??
>>>Where am i going wrong???
>>>
>>>My dmseg output is as follows:
>>>th0: Realtek RTL8201 PHY transceiver found at
>>>      
>>>
>>address
>>    
>>
>>>1.
>>>eth0: Using transceiver found at address 1 as
>>>      
>>>
>>default
>>    
>>
>>>eth0: SiS 900 PCI Fast Ethernet at 0xd000, IRQ 10,
>>>00:a0:cc:c7:84:12.
>>>eth0: Media Link On 10mbps half-duplex
>>>Linux Kernel Card Services 3.1.22
>>> options:  [pci] [cardbus] [pm]
>>>PCI: Found IRQ 11 for device 00:03.0
>>>PCI: Sharing IRQ 11 with 00:01.4
>>>Yenta IRQ list 00b8, PCI irq11
>>>Socket status: 30000411
>>>cs: IO port probe 0x0c00-0x0cff: clean.
>>>cs: IO port probe 0x0100-0x04ff: excluding
>>>      
>>>
>>0x378-0x37f
>>    
>>
>>>0x480-0x48f 0x4d0-0x4d7
>>>cs: IO port probe 0x0a00-0x0aff: clean.
>>>cs: memory probe 0xa0000000-0xa0ffffff: clean.
>>>hostap_cs: hostap_cs.c 0.0.0 2002-04-24 (SSH
>>>Communications Security Corp, Jouni Malinen)
>>>hostap_cs: (c) SSH Communications Security Corp
>>><jkm at ssh.com>
>>>hostap_cs: setting Vcc=33 (constant)
>>>hostap_cs: CS_EVENT_CARD_INSERTION
>>>prism2_config()
>>>hostap_cs: setting Vcc=50 (from config)
>>>CISTPL_MANFID: 0x0156, 0x0002
>>>Lucent-based card
>>>Checking CFTABLE_ENTRY 0x01 (default 0x01)
>>>IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
>>>io->flags = 0x0046, io.base=0x0000, len=64
>>>hostap_cs: index 0x01: Vcc 5.0, irq 3, io
>>>0x0100-0x013f
>>>hostap_cs: Registered netdevice wlan0
>>>prism2_hw_config()
>>>prism2_hw_config: initialized in 9425 iterations
>>>wlan0: NIC: id=0x8003 v1.0.0
>>>wlan0: PRI: id=0x15 v0.3.0
>>>wlan0: STA: id=0x1f v0.8.3
>>>wlan0: prism2_open
>>>ip_tables: (C) 2000-2002 Netfilter core team
>>>ip_conntrack (1471 buckets, 11768 max)
>>>Linux agpgart interface v0.99 (c) Jeff Hartmann
>>>
>>>
>>>
>>>
>>>
>>>__________________________________
>>>Do you Yahoo!?
>>>SBC Yahoo! DSL - Now only $29.95 per month!
>>>http://sbc.yahoo.com
>>>_______________________________________________
>>>HostAP mailing list
>>>HostAP at shmoo.com
>>>http://lists.shmoo.com/mailman/listinfo/hostap
>>> 
>>>
>>>      
>>>
>>-- 
>>Madhusudan Singh
>>Graduate Student Research Assistant,
>>Department of Electrical Engineering and Computer
>>Science,
>>University of Michigan, Ann Arbor, MI, 48109,
>>United States.
>>
>>2437, EECS Bldg.,
>>
>>    
>>
>=== message truncated ===
>
>
>__________________________________
>Do you Yahoo!?
>SBC Yahoo! DSL - Now only $29.95 per month!
>http://sbc.yahoo.com
>  
>




From chhabra  Thu Jul 10 14:09:34 2003
From: chhabra (Madhusudan Singh)
Date: Thu, 10 Jul 2003 17:09:34 -0400
Subject: pcmcia_cs vs orinoco_cs
References: <000501c346fc$d926afc0$680f010a@emji.net>
Message-ID: <3F0DD60E.4070004@eecs.umich.edu>

Hi
    My webpage might help :

    http://www.eecs.umich.edu/~chhabra/netgearwireless.html

    My card is a Netgear MA401 which is also a Prism 2.5 card. You will 
have to either get rid of the orinoco_cs driver by recompiling your 
kernel or edit the corresponding config files (listed above) to choose 
the hostap_cs one instead.

HTH,

MS

Dan Hackney wrote:

>I'm a bit confused regarding the PCMCIA_PATH directive for setting up
>the hostap driver.  My machine does not appear to use the pcmcia_cs
>module, but the orinoco_cs one instead.  Here is an lsmod and a modprobe
>pcmcia_cs for you:
>
>wdlinux:~# lsmod
>Module                  Size  Used by    Not tainted
>orinoco_cs              4520   0  (unused)
>orinoco                29952   0  [orinoco_cs]
>hermes                  5888   0  [orinoco_cs orinoco]
>nls_iso8859-1           2848   1  (autoclean)
>isofs                  25664   1  (autoclean)
>zlib_inflate           18752   0  (autoclean) [isofs]
>loop                    8912   3  (autoclean)
>tulip                  40416   1  (autoclean)
>af_packet              12904   1  (autoclean)
>reiserfs              177024   2  (autoclean)
>ds                      6528   1  [orinoco_cs]
>yenta_socket            9504   1
>pcmcia_core            38144   0  [orinoco_cs ds yenta_socket]
>unix                   14500   6  (autoclean)
>wdlinux:~# modprobe pcmcia_cs
>modprobe: Can't locate module pcmcia_cs
>
>The card is a demarctec pcmcia card, based on prism 2.5 chipset.
>
>Can anyone give me a push in the right direction?
>
>Note: please reply by email as I'm not sure I'm really on the list yet;
>after subscribing I got someone's vacation away message....?
>
>-Dan
>
>_______________________________________________
>HostAP mailing list
>HostAP at shmoo.com
>http://lists.shmoo.com/mailman/listinfo/hostap
>  
>




From dcottingham00  Thu Jul 10 18:13:27 2003
From: dcottingham00 (Dave Cottingham)
Date: 10 Jul 2003 21:13:27 -0400
Subject: weird trouble
Message-ID: <1057886008.1360.34.camel@dcottingham.erols.com>

I'm using hostap with a Linksys WMP11, and I'm having some weird
trouble.  Basically, everything works, but when transferring a large
file from elsewhere to my computer, the transfer stops happening
somewhere in the middle, hangs there a good long while (I mean the
transfer hangs, not the computer), and then gets a timeout.  This
problem does not appear when the transfer is from my computer to
elsewhere.  Or at least it's enough better that I haven't seen it yet. 
The problem is severe enough that it's basically impossible to transfer
a megabyte file to this machine via wireless.  I do get some suspicious
looking stuff in dmesg, though not at a great rate (typically a few
messages per hour, sample below).  Haven't seen anything funny in
/var/log/messages.  I haven't managed to turn up any similar sounding
problem in a random perusal of the list archives, but has anybody seen
anything like this?  Or have a clue what it is?

Some details below.  BTW, in my desperation I've tried replacing hostap
with wlan-ng and got the same results.

Any clues gratefully received,
Dave Cottingham

Card: Linksys WMP-11, PRI 1.0.5, STA 1.3.4
Hostap: 2002-10-12
Infrastructure mode, WEP, 64 bit encryption
Wireless router: Linksys BEFW11S4 ver. 4, firmware 1.44.2 (Linksys says
	that's the latest)
Redhat Linux 8.0, kernel 2.4.18

/proc/net/wireless says:
Inter-| sta-|   Quality        |   Discarded packets               | Missed
 face | tus | link level noise |  nwid  crypt   frag  retry   misc |
beacon
 wlan0: 0000   72.  199.  156.       0      0      1      0
208373        0

A sample of suspicious looking stuff from dmesg:

wlan0: prism2_rx: dropped non-data frame (type=0x01, subtype=0x09)
wlan0: RX status=0x2000 (port=0, type=1, fcserr=0) silence=1 signal=36
rate=149
rxflow=0; jiffies=20134244
   FC=0x0095 (type=1:9) dur=0x0600 seq=0x3850 data_len=54
   A1=25:a7:1a:aa:1a:aa A2=00:06:15:e7:15:e7 A3=00:06:15:e7:50:38
A4=39:0d:53:d5:4e:cc
   dst=00:06:25:a7:1a:aa src=00:06:25:e8:00:36 len=54






From proski  Thu Jul 10 18:50:38 2003
From: proski (Pavel Roskin)
Date: Thu, 10 Jul 2003 21:50:38 -0400 (EDT)
Subject: weird trouble
In-Reply-To: <1057886008.1360.34.camel@dcottingham.erols.com>
Message-ID: <Pine.LNX.4.44.0307102139480.25646-100000@localhost.localdomain>

On 10 Jul 2003, Dave Cottingham wrote:

> Some details below.  BTW, in my desperation I've tried replacing hostap
> with wlan-ng and got the same results.

Which probably means that the problem is with the firmware.

> Card: Linksys WMP-11, PRI 1.0.5, STA 1.3.4

I had some other problems with this firmware.  I didn't have a chance to
use is for production because I updated all Prism 2 cards to 1.4.9.

You should be able to upgrade primary firmware to 1.1.1 and secondary
firmware to 1.7.4.  The easiest way is to do it with Winupdate:  
http://www.station-server.com/downloads/wu3842-1.7.4.zip

You can also use prism2dl (http://www.red-bean.com/~proski/prism2dl/) with 
the firmware of your choice (http://www.red-bean.com/~proski/firmware/)

-- 
Regards,
Pavel Roskin



From jsun  Thu Jul 10 21:04:32 2003
From: jsun (Jun Sun)
Date: Thu, 10 Jul 2003 21:04:32 -0700
Subject: iwconfig wlan0 txpower 1000mW - how is this possible?
Message-ID: <20030711040432.GA20406@gateway.junsun.net>


I just tried that.  To my surprise, no error.  And even more,
it reports the txpower as if 1000mW were set (30dBm).

I know my card has 100mW maximum power.  Is ther a bug in the
driver or driver can't read txpower correctly?

Jun


wlan0     IEEE 802.11b  ESSID:"yunfei"  Nickname:"gateway"
          Mode:Master  Frequency:2.462GHz  Access Point: 00:06:25:A8:29:41
          Bit Rate:11Mb/s   Tx-Power=30 dBm   Sensitivity=3/3
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:0/92  Signal level:-100 dBm  Noise level:-100 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:82  Invalid misc:3986   Missed beacon:0



From chhabra  Thu Jul 10 22:44:32 2003
From: chhabra (Madhusudan Singh)
Date: Fri, 11 Jul 2003 01:44:32 -0400
Subject: iwconfig wlan0 txpower 1000mW - how is this possible?
In-Reply-To: <20030711040432.GA20406@gateway.junsun.net>
References: <20030711040432.GA20406@gateway.junsun.net>
Message-ID: <3F0E4EC0.6040109@eecs.umich.edu>

Why not plug in a small torch bulb to find out ? :)

Jun Sun wrote:

>I just tried that.  To my surprise, no error.  And even more,
>it reports the txpower as if 1000mW were set (30dBm).
>
>I know my card has 100mW maximum power.  Is ther a bug in the
>driver or driver can't read txpower correctly?
>
>Jun
>
>
>wlan0     IEEE 802.11b  ESSID:"yunfei"  Nickname:"gateway"
>          Mode:Master  Frequency:2.462GHz  Access Point: 00:06:25:A8:29:41
>          Bit Rate:11Mb/s   Tx-Power=30 dBm   Sensitivity=3/3
>          Retry min limit:8   RTS thr:off   Fragment thr:off
>          Power Management:off
>          Link Quality:0/92  Signal level:-100 dBm  Noise level:-100 dBm
>          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>          Tx excessive retries:82  Invalid misc:3986   Missed beacon:0
>
>_______________________________________________
>HostAP mailing list
>HostAP at shmoo.com
>http://lists.shmoo.com/mailman/listinfo/hostap
>



From sardana  Fri Jul 11 01:48:22 2003
From: sardana (Bobby Sardana)
Date: Fri, 11 Jul 2003 01:48:22 -0700
Subject: RangeLAN DS (PCMCIA) - Host AP 0.0.3 - Not working
Message-ID: <3F0E79D6.7000403@obsoft.com>

Greetings all,

I have searched the archives to find an answer but none existed. 
Following is my setup which is not working:

1) HostAP 0.0.3
2) Linux Kernel 2.4.20
3) Latest wireless tools (26)
4) RangeLAN DS (PCMCIA)

dmesg: (During boot)
--------------------

hostap_crypt: registered algorithm 'NULL'
hostap_cs: 0.0.3 - 2003-05-18 (Jouni Malinen <jkmaline at cc.hut.fi>)
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
prism2_config()
hostap_cs: setting Vcc=33 (from config)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0046, io.base=0x0000, len=64
hostap_cs: index 0x01: Vcc 3.3, irq 3, io 0x0100-0x013f
divert: allocating divert_blk for wlan0
hostap_cs: Registered netdevice wlan0
prism2_hw_init()
hostap_cs: card initialization timed out
hostap_cs: Initialization failed

ifconfig:
---------

wlan0     Link encap:Ethernet  HWaddr 00:00:00:00:00:00
           BROADCAST MULTICAST  MTU:1500  Metric:1
           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:100
           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
           Base address:0x100

iwconfig wlan0:
---------------

wlan0     IEEE 802.11-DS  ESSID:"test"
           Mode:Master  Tx-Power:15 dBm
           Link Quality:0  Signal level:0  Noise level:0
           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
           Tx excessive retries:0  Invalid misc:0   Missed beacon:0

When I perform iwconfig wlan0 or try to set wlan0 IP address via 
"ifconfig", the following is being reported by "dmesg"

dmesg:
------

wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wlan0: hfa384x_cmd_issue - timeout - reg=0x8000
wlan0: hfa384x_cmd: entry still in list? (entry=c4447b80, type=0, res=-1)
wlan0: hfa384x_cmd: interrupted; err=-110
wlan0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fdc6, len=12)
wlan0: hfa384x_cmd_issue: cmd reg was busy for 5000 usec
wlan0: hfa384x_cmd_issue - timeout - reg=0x8000
wlan0: hfa384x_cmd: entry still in list? (entry=c4447b80, type=0, res=-1)
...<repeat entries - truncated>

Was wondering if the card is dead (firmware?)? The LEDs are fixed green 
& amber with *no blinking*. I tried resetting the card using iwpriv but 
no luck.

All help to resolve is appreciated.

Thank you.

regards,

Bobby Sardana.
sardana at obsoft.com



From jkmaline  Fri Jul 11 01:37:14 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 11 Jul 2003 11:37:14 +0300
Subject: RangeLAN DS (PCMCIA) - Host AP 0.0.3 - Not working
In-Reply-To: <3F0E79D6.7000403@obsoft.com>
References: <3F0E79D6.7000403@obsoft.com>
Message-ID: <20030711083714.GB4013@jm.kir.nu>

On Fri, Jul 11, 2003 at 01:48:22AM -0700, Bobby Sardana wrote:

> 4) RangeLAN DS (PCMCIA)

I have never used this card. Do you happen to have any more details
about it (like firmware version, etc.)?

> hostap_cs: card initialization timed out
> hostap_cs: Initialization failed

Host AP driver was unable to initialize it. After this, there is not
much point in trying to do anything with the card.. Have you tested any
other driver (like orinoco_cs) with that card?

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Fri Jul 11 01:42:08 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 11 Jul 2003 11:42:08 +0300
Subject: iwconfig wlan0 txpower 1000mW - how is this possible?
In-Reply-To: <20030711040432.GA20406@gateway.junsun.net>
References: <20030711040432.GA20406@gateway.junsun.net>
Message-ID: <20030711084208.GC4013@jm.kir.nu>

On Thu, Jul 10, 2003 at 09:04:32PM -0700, Jun Sun wrote:

> I just tried that.  To my surprise, no error.  And even more,
> it reports the txpower as if 1000mW were set (30dBm).
> 
> I know my card has 100mW maximum power.  Is ther a bug in the
> driver or driver can't read txpower correctly?

TX power setting is a hack in the driver. The units are not correct in
most cases and anything over 100 mW is mapped to the maximum raw value
in the wlan card and the returned value is just calculated directly from
the value you used.

In addition, it will only set the raw value in the baseband processor
which is not the best way of controlling TX power. In most cases, I
would not use this configuration item since the default (let the
station firmware control TX power) is better option. I'm mostly using
this item to limit the power to minimum so that the range of the AP gets
smaller.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Fri Jul 11 01:48:26 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 11 Jul 2003 11:48:26 +0300
Subject: problems caused by ESSID not being set
In-Reply-To: <20030710181149.GA1738@man.beta.es>
References: <20030710181149.GA1738@man.beta.es>
Message-ID: <20030711084826.GD4013@jm.kir.nu>

On Thu, Jul 10, 2003 at 08:11:49PM +0200, Santiago Garcia Mantinan wrote:

> I believe what I found out related to monitor mode has a lot to do with
> another small issue when trying to enter mater mode, and it is that you must
> set an essid to enter master, it doesn't suffice to have an essid set via
> essid any as shows this example:

Prism2 has two different SSID configuration items (desired and own).
Setting essid to 'any' and then associating with an AP does not set
these SSIDs to non-empty values. Prism2 station firmware gets really
confused if Host AP mode is entered in such a state and Host AP driver
thus rejects the request to use Master mode with such a configuration.

> Well, similarly, you must set an essid before getting into monitor mode, if
> you don't do it and the essid is set to "" (any without having register to
> any AP), you'll find that you cannot set the frequencies under monitor mode
> and everything becomes borked, like I show here, even though kismet starts
> up, only that the hopper is disabled because of the frequencies problem:

Yes, this is an example of the Host AP mode confusion in the firmware..
Current version of the driver uses Host AP mode in Monitor mode. This
should probably be changed to use pseudo-IBSS instead. Actually, the
driver first tries this and only later goes to Host AP mode. I'll fix
this at some point. However, this might need to be configurable, since
Host AP mode seems to allow a bit less limited sending of some frames
when the card is in monitor test mode.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Fri Jul 11 03:44:02 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 11 Jul 2003 13:44:02 +0300
Subject: Hstapd configuration parser bugs
In-Reply-To: <3F0EF1F6.7060602@rfmd.com>
References: <3F0EF1F6.7060602@rfmd.com>
Message-ID: <20030711104402.GA3270@jm.kir.nu>

On Fri, Jul 11, 2003 at 02:20:54PM -0300, Oleg Izhvanov wrote:

> There are several bugs in the implementation of configuration parser in
> the hostapd, synopsis:
> 
>     1. If there is a line with one space in the config file hostapd
>        crashes.

Thanks; fixed.

>     2. If there are several spaces before comment line - it is
>        considered just like ordinary line (producing the error).

I consider that to be a feature, not a bug.

-- 
Jouni Malinen                                            PGP id EFC895FA



From eduardo  Fri Jul 11 07:41:15 2003
From: eduardo (Eduardo Kaftanski)
Date: Fri, 11 Jul 2003 10:41:15 -0400
Subject: prism2_rx (hostap_hw.c) patch
In-Reply-To: <20030709175710.GB4465@jm.kir.nu>
References: <20030617094712.GA11573@devil.cnc.sk>
	<20030709175710.GB4465@jm.kir.nu>
Message-ID: <20030711144115.GA29796@enriqueto.nn.cl>

> 
> I modified the RX path to accept such cases in monitor mode and handle
> shorter than RX desc skb's properly. These seemed to improve monitor
> mode operations at least for quick bursts of frames. Some Ack frames
> might be received with bogus data and incorrect length, but at least
> most Acks are now reported all the way to the sniffer program.

Could this fix the SMP hangups we have been seeing?


-- 
Eduardo Kaftanski
eduardo at linuxcenter.cl
Red Hat Certified Engineer
Gerente Ingenieria LinuxCenter S.A.
Canada 239 5to Piso, Providencia, Stgo de Chile.
http://www.linuxcenter.cl 2745000



From jkmaline  Fri Jul 11 08:44:44 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 11 Jul 2003 18:44:44 +0300
Subject: prism2_rx (hostap_hw.c) patch
In-Reply-To: <20030711144115.GA29796@enriqueto.nn.cl>
References: <20030617094712.GA11573@devil.cnc.sk>
	<20030709175710.GB4465@jm.kir.nu> <20030711144115.GA29796@enriqueto.nn.cl>
Message-ID: <20030711154444.GB5505@jm.kir.nu>

On Fri, Jul 11, 2003 at 10:41:15AM -0400, Eduardo Kaftanski wrote:

> > I modified the RX path to accept such cases in monitor mode and handle
> > shorter than RX desc skb's properly.

> Could this fix the SMP hangups we have been seeing?

These changes were only for Monitor mode. If you are talking about
problems with other modes, I do not think they were affected at all.

If you can give some more details about SMP issues, please let me know
quite soon. I have access to my SMP host for a week or so and could do
more testing on it if someone would be able to describe an issue that
would be easy to reproduce and does not require PCI version of the
Prism2.5 card.

-- 
Jouni Malinen                                            PGP id EFC895FA



From dgurevich  Fri Jul 11 10:07:19 2003
From: dgurevich (David Gurevich)
Date: Fri, 11 Jul 2003 10:07:19 -0700
Subject: AP sends A4 WDS frames with CRC error
Message-ID: <9FACF23646E0054994FACBD301B6F62174204C@MAIL2.asp.networldcom.com>

I am running "iwconfig wlan0 essid "test" channel 11 mode Master key AABBCCDDFF".
Then "iwpriv wlan0 wds_add 00:02:6F:03:FE:8C" to add a WDS link to another node.
Then "iwpriv wlan0wds0 wds_type 4" for A4 frames.

When I ping the node 00:02:6F:03:FE:8C, my sniffer reports the ARP REQ frames with a CRC error and the tail of the frame is truncated.
When I ping own node from the other side (node 00:02:6F:03:FE:8C, which is running as a STA), the ARP REQ is received and an ARP RESP is sent back. The ARP RESP is likewice CRC error.

The question is why does the driver generate a corrupt A4 frame in wds_type 4 when in Master mode and where should I look to fix this?

When both nodes are STA (Managed), the WDS link is fine and the A4 frames are sent correctly without CRC errors.

Thanks,
David



From dgurevich  Fri Jul 11 11:20:45 2003
From: dgurevich (David Gurevich)
Date: Fri, 11 Jul 2003 11:20:45 -0700
Subject: hostapd does not receive beacon frames
Message-ID: <9FACF23646E0054994FACBD301B6F621762678@MAIL2.asp.networldcom.com>

I was trying to run the hostapd. It seems to get the association and authentication frames but not beacons. Is that expected? If it does not receive beacons, then it cannot associate to other APs.
Thanks,
David



From nrimawi  Fri Jul 11 14:40:28 2003
From: nrimawi (Nimer Rimawi)
Date: Fri, 11 Jul 2003 17:40:28 -0400
Subject: HostAP code question
Message-ID: <007701c347f5$0bd16de0$ee42f69b@VALUEDB8142DE8>

hello,

I am trying to look through the code of hostap, and I noticed that there is a reference several times to the structure: iwr. I am not familiar with Unix environment so excuse my question if it is trivial, but what exactly is iwr? is there anywhere I can read its code and/or header files?

I am trying to access the bit-level of the physical layer of the 802.11b headers.

Thanks,
-Nimer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030711/52e2ed8b/attachment.htm 


From nrimawi  Fri Jul 11 14:41:10 2003
From: nrimawi (Nimer Rimawi)
Date: Fri, 11 Jul 2003 17:41:10 -0400
Subject: Linksys WPC11 Card Firmware update
Message-ID: <008401c347f5$24b66a40$ee42f69b@VALUEDB8142DE8>

Hello,

I currenly have a hostap station setup, but having problem running the wrapper (prism2_param). I was reading somewhere that it could be that my firmware is old, and I checked it and it turned out to be 1.0.x. There is nothing on Linksys web site, so does anyone know where to get a firmware update for this card (version 1.3.9 or whatever is compatible with Hostap)?

Thanks,
-Nimer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030711/d64acbd9/attachment.htm 


From bapper  Fri Jul 11 14:45:11 2003
From: bapper (Brian Pomerantz)
Date: Fri, 11 Jul 2003 14:45:11 -0700
Subject: AP sends A4 WDS frames with CRC error
In-Reply-To: <9FACF23646E0054994FACBD301B6F62174204C@MAIL2.asp.networldcom.com>
References: <9FACF23646E0054994FACBD301B6F62174204C@MAIL2.asp.networldcom.com>
Message-ID: <20030711214511.GA22358@skull.piratehaven.org>

On Fri, Jul 11, 2003 at 10:07:19AM -0700, David Gurevich wrote:
> 
> The question is why does the driver generate a corrupt A4 frame in
> wds_type 4 when in Master mode and where should I look to fix this?
> 

I saw this same thing happening to me.  When I updated from station
firmware 1.4.9 to 1.7.4 all was well.


BAPper



From sits  Fri Jul 11 14:48:47 2003
From: sits (Sitsofe Wheeler)
Date: 11 Jul 2003 22:48:47 +0100
Subject: Linksys WPC11 Card Firmware update
In-Reply-To: <008401c347f5$24b66a40$ee42f69b@VALUEDB8142DE8>
References: <008401c347f5$24b66a40$ee42f69b@VALUEDB8142DE8>
Message-ID: <1057960127.1974.2.camel@galvatron.localdomain>

On Fri, 2003-07-11 at 22:41, Nimer Rimawi wrote:
> I currenly have a hostap station setup, but having problem running the
> wrapper (prism2_param). I was reading somewhere that it could be that
> my firmware is old, and I checked it and it turned out to be 1.0.x.
> There is nothing on Linksys web site, so does anyone know where to get
> a firmware update for this card (version 1.3.9 or whatever is
> compatible with Hostap)?
See excellent flashing firmware page (
http://linux.junsun.net/intersil-prism/index.html ) by Jun Sun which was
recently posted to this list.

-- 
Sitsofe | http://sucs.org/~sits/



From colin.durrant  Tue Jul  8 10:21:57 2003
From: colin.durrant (Colin Durrant)
Date: Tue, 8 Jul 2003 18:21:57 +0100
Subject: Netgear MA311 Wireless Network card - Prisim II chipset
Message-ID: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA/ZzpFJY0KkK8QBCHI0cTNMKAAAAQAAAAbzJKpc/R5UOk2OofWzyrIAEAAAAA@lindengrove.net>

Hello

I am trying to get this PCI card to work with my Xandros deluxe 1.0
system (www.xandros-software.co.uk )

I have tried to install the wlan-ng drivers for the prisim II chipset
but have failed.

It fails when I try to compile my driver as it tells me that I need the
full source code although it does find the source headers.

When I run the following command then the light on the card flashes but
still doesn't work:

Wlanctl-ng wlan0 inxreg_ifstate=enable

I have posted a message to the Xandros forum which will give you more
info:

http://forums.xandros.com/viewtopic.php?p=14428#14428 

Appreciate any help you can give me?

Best regards, Colin.




From dave.puchyr  Wed Jul  9 02:28:10 2003
From: dave.puchyr (Dave Puchyr)
Date: Wed, 9 Jul 2003 11:28:10 +0200
Subject: Any chance the hostap driver will work with Prism GT, Indigo &|
	Duette?
Message-ID: <000e01c345fc$69f16a10$fa00000a@sleek>

If not, is there an effort to create the drivers for those chipsets?

Thanks for all the great work, Jouni & co!



From manty  Thu Jul 10 14:45:11 2003
From: manty (Santiago Garcia Mantinan)
Date: Thu, 10 Jul 2003 23:45:11 +0200
Subject: problems caused by ESSID not being set
In-Reply-To: <Pine.LNX.4.56.0307101450070.13427@marabou.research.att.com>
References: <20030710181149.GA1738@man.beta.es>
	<Pine.LNX.4.56.0307101450070.13427@marabou.research.att.com>
Message-ID: <20030710214511.GA2230@man.beta.es>

> I'm not sure about your problem, but this value for sensitivity makes me
> think that you are using some old version of Wireless Tools.  Take version
> 26 and recompile it against the kernel you are using.

I'm already using version 26 as in Debian unstable right now

> It seems to me that you are using a clone (Lucent of Symbol), not a real
> Prism chipset.  Clones don't support master mode.  "cardctl ident"
> should show the data necessary to identify your card.

Nope, this is a real Prism card, a conceptronic c11pro:

wlan0: NIC: id=0x8003 v1.0.0
wlan0: PRI: id=0x15 v0.3.0
wlan0: STA: id=0x1f v1.5.6

BTW, doing more tests with kismet I have found this messages from kernel:

wlan0: RX: len(2372) > MAX(2304)
wlan0: RX: len(2311) > MAX(2304)
wlan0: RX: len(2324) > MAX(2304)
wlan0: RX: len(2311) > MAX(2304)
wlan0: RX: len(2324) > MAX(2304)

The version of the driver is from today's cvs, I suppose this messages are
normal, but just in case.

Regards...
-- 
Manty/BestiaTester -> http://manty.net



From mrcool  Wed Jul  9 04:42:24 2003
From: mrcool (Jerry)
Date: Wed, 9 Jul 2003 06:42:24 -0500
Subject: SMP related issues
Message-ID: <003101c3460f$2a7880e0$bf00a8c0@Home>

Well, i dont have a SMP machine im using, but i was experiencing the lockups (not necessarily the SAME lockups, but lockups nonetheless) similar to what was being reported with SMP boards... 

Aparently mine was related to dhcpcd, it would lock up when it would lose signal and dhcpcd.... i put in a static IP, and havent had any problems since (been running flawlessly for over 2 weeks).  (SuSE 80, Engenius 200Mw, 1.4.9, PLX Adapter, middle June CVS as client)

Try using dhcpcd (or pump, probably) with a weak signal and see if it locks up then... thats when i would have the problem...

of course, this probably isnt related, may not even be hostap related, but if it helps solve problems then good.

Jerryf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030709/4933586b/attachment.htm 


From nrimawi  Tue Jul  8 13:22:42 2003
From: nrimawi (Nimer Rimawi)
Date: Tue, 8 Jul 2003 16:22:42 -0400
Subject: Frimware update for LinkSys WPC11 Card
Message-ID: <002e01c3458e$afeb6ca0$ee42f69b@VALUEDB8142DE8>

Hello,

I currenly have a hostap station setup, but having problem running the wrapper (prism2_param). I was reading somewhere that it could be that my firmware is old, and I checked it and it turned out to be 1.0.x. There is nothing on Linksys web site, so does anyone know where to get a firmware update for this card (version 1.3.9 or whatever is compatible with Hostap)?

Thanks,
-Nimer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030708/c7b25a3c/attachment.htm 


From OIzhvanov  Fri Jul 11 10:20:54 2003
From: OIzhvanov (Oleg Izhvanov)
Date: Fri, 11 Jul 2003 14:20:54 -0300
Subject: Hstapd configuration parser bugs
Message-ID: <3F0EF1F6.7060602@rfmd.com>

Greets,

There are several bugs in the implementation of configuration parser in
the hostapd, synopsis:

     1. If there is a line with one space in the config file hostapd
        crashes.
     2. If there are several spaces before comment line - it is
        considered just like ordinary line (producing the error).

Here is the diff to config.c attached that fixes above problems.

-- 
Best Regards, Oleg Izhvanov <oizhvanov at rfmd.com>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config.c-diff
Url: http://lists.shmoo.com/pipermail/hostap/attachments/20030711/099458a8/attachment.txt 


From jsun  Fri Jul 11 17:13:24 2003
From: jsun (Jun Sun)
Date: Fri, 11 Jul 2003 17:13:24 -0700
Subject: Frimware update for LinkSys WPC11 Card
In-Reply-To: <002e01c3458e$afeb6ca0$ee42f69b@VALUEDB8142DE8>
References: <002e01c3458e$afeb6ca0$ee42f69b@VALUEDB8142DE8>
Message-ID: <20030712001324.GA23421@gateway.junsun.net>

On Tue, Jul 08, 2003 at 04:22:42PM -0400, Nimer Rimawi wrote:
> Hello,
> 
> I currenly have a hostap station setup, but having problem running the wrapper (prism2_param). I was reading somewhere that it could be that my firmware is old, and I checked it and it turned out to be 1.0.x. There is nothing on Linksys web site, so does anyone know where to get a firmware update for this card (version 1.3.9 or whatever is compatible with Hostap)?
> 
> Thanks,
> -Nimer

Check on the mini-howto on firmware upgrade

	http://linux.junsun.net/intersil-prism

Jun



From gregfjohnson  Fri Jul 11 17:14:32 2003
From: gregfjohnson (Greg Johnson)
Date: Fri, 11 Jul 2003 17:14:32 -0700 (PDT)
Subject: Where can I find a hostap-compatible PCI card??
Message-ID: <20030712001432.13990.qmail@web14206.mail.yahoo.com>

I'm trying to buy another hostap-compatible PCI card.

The cards I've been using are D-Link DWL-520 cards.  As other people have
no doubt noticed, there is a massive jumble of cards all called DWL-520,
many of which have random non-Prism chipsets.  I've already bought one
of these on ebay.com accidentally.

Are hostap-compatible cards starting to become hard to find and buy?

Can someone give me a recommendation or suggestion about where to look
for a hostap-compatible PCI card?

Are there any PCI cards on sale at a place like Fry's or Best Buy or
Circuit City that would be hostap-compatible?

Any source on the web for a PCI hostap-compatible card?

I've been scouring ebay.com for days, and have not seen a DWL-520 that
looks right to me, at least based on the photographs of the cards.
(By "right", I mean one that has the same visual appearance as the ones
I currently own and know work.)

My (working) card has a rather large (maybe 1.5" x 1.5") blue and white
chip that is very thin (maybe 1/8" thick).

I have seen ebay.com ads for "DWL-520" cards that don't look the same
as mine, but might work.  They have a very large, quite thick chip on
the card that is blue and white.  An example is on ebay.com at

http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=3034330524&category=45001

Could someone check that site out and let me know if that is a
hostap-compatible card?  I'd really like to avoid stocking up on every
variant of the DWL-520 that is incompatible with hostap if possible!  ;-)

Thanks in advance!  (Starting to get desperate here..)

Greg Johnson
gregfjohnson at yahoo.com

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



From proski  Fri Jul 11 17:33:08 2003
From: proski (Pavel Roskin)
Date: Fri, 11 Jul 2003 20:33:08 -0400 (EDT)
Subject: Where can I find a hostap-compatible PCI card??
In-Reply-To: <20030712001432.13990.qmail@web14206.mail.yahoo.com>
References: <20030712001432.13990.qmail@web14206.mail.yahoo.com>
Message-ID: <Pine.LNX.4.56.0307112029300.4115@marabou.research.att.com>

On Fri, 11 Jul 2003, Greg Johnson wrote:

> http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=3034330524&category=45001
>
> Could someone check that site out and let me know if that is a
> hostap-compatible card?  I'd really like to avoid stocking up on every
> variant of the DWL-520 that is incompatible with hostap if possible!  ;-)

It should be OK.  Revisions A and B are OK, revision C is not.  Revision C
has no metallic box at all.  See pictures here:
http://www.dlink.com/products/support.asp?pid=42

-- 
Regards,
Pavel Roskin



From eduardo  Fri Jul 11 17:55:30 2003
From: eduardo (Eduardo Kaftanski)
Date: Fri, 11 Jul 2003 20:55:30 -0400
Subject: prism2_rx (hostap_hw.c) patch
In-Reply-To: <20030711154444.GB5505@jm.kir.nu>
References: <20030617094712.GA11573@devil.cnc.sk>
	<20030709175710.GB4465@jm.kir.nu> <20030711144115.GA29796@enriqueto.nn.cl>
	<20030711154444.GB5505@jm.kir.nu>
Message-ID: <20030712005530.GB5902@enriqueto.nn.cl>

> 
> If you can give some more details about SMP issues, please let me know
> quite soon. I have access to my SMP host for a week or so and could do
> more testing on it if someone would be able to describe an issue that
> would be easy to reproduce and does not require PCI version of the
> Prism2.5 card.

I only have access to a PCI card... 

I will test tomorrow with the latest CVS to see if the lockups
still occurr...

-- 
Eduardo Kaftanski
eduardo at linuxcenter.cl
Red Hat Certified Engineer
Gerente Ingenieria LinuxCenter S.A.
Canada 239 5to Piso, Providencia, Stgo de Chile.
http://www.linuxcenter.cl 2745000



From sardana  Fri Jul 11 23:23:23 2003
From: sardana (Bobby Sardana)
Date: Fri, 11 Jul 2003 23:23:23 -0700
Subject: RangeLAN DS (PCMCIA) - Host AP 0.0.3 - Not working
References: <3F0E79D6.7000403@obsoft.com> <20030711083714.GB4013@jm.kir.nu>
Message-ID: <3F0FA95B.9060107@obsoft.com>

Greetings Jouni,

Jouni Malinen wrote:
> On Fri, Jul 11, 2003 at 01:48:22AM -0700, Bobby Sardana wrote:
> 
> 
>>4) RangeLAN DS (PCMCIA)
> 
> 
> I have never used this card. Do you happen to have any more details
> about it (like firmware version, etc.)?

This card used to work fine about 8 months back with HostAP. I have not 
used it since and with HostAP 0.0.3, it just fails to initialize. The 
details are:

Proxim Range LAN DS 8430
Firmware Rev: 0.7.6 (From the label)

> 
> 
>>hostap_cs: card initialization timed out
>>hostap_cs: Initialization failed
> 
> 
> Host AP driver was unable to initialize it. After this, there is not
> much point in trying to do anything with the card.. Have you tested any
> other driver (like orinoco_cs) with that card?

No, I have not. It seems that the card (or its internal battery, if 
there is one) is dead. Was wondering if upgrarding the firmware can 
solve the problem?

Thanks a ton for all your help.

with regards,

Bobby Sardana.
sardana at obsoft.com






From jkmaline  Sat Jul 12 03:06:50 2003
From: jkmaline (Jouni Malinen)
Date: Sat, 12 Jul 2003 13:06:50 +0300
Subject: hiding SSID
In-Reply-To: <B82805232870D448862B25266567D22601FA24A4@EXSTORE1.zdv.uni-mainz.de>
References: <B82805232870D448862B25266567D22601FA24A4@EXSTORE1.zdv.uni-mainz.de>
Message-ID: <20030712100650.GA4535@jm.kir.nu>

On Thu, Jul 03, 2003 at 12:04:28PM +0200, "Holth?fer, Bastian" wrote:

> I have a DWL650 (Prism2.5) Pri 1.1.1, Sta 1.7.4 and hostap 0.0.3 in use. First, trying to hide the ssid via "iwpriv <dev> prism2_param enh_sec 1" does not succeed, my WindowsXP-client still finds the ap. The driver accepts and sets the parameter successfully ("iwpriv <dev> getprism2_param enh_sec" shows the right value). Second, I also used the parameters 2 and 3 and got an error like

Those commands should either be "iwpriv <dev> enh_sec <val>" or
"prism2_param <dev> enh_sec <val>" (and similarily for get operations).

> Is the 1.7.4 still buggy or did I mess up with something?

I did not test STA f/w 1.7.4 now, but there was a problem in the driver
not resetting Port0 after changing enh_sec value. At least with v1.7.1,
Port0 must be resetted to take some of these changes into use.
Apparently, beacons do not change before this, but the ignore SSID part
may change even without reset.

I fixed this in the CVS version, so either update to the current CVS
snapshot or run 'iwpriv wlan0 reset 2' after setting enh_sec as a
workaround.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Sat Jul 12 08:31:04 2003
From: jkmaline (Jouni Malinen)
Date: Sat, 12 Jul 2003 18:31:04 +0300
Subject: JoinRequest without Scan ? / Manual scan/roam mode
In-Reply-To: <200305050952.h459qNj20849@horus.imag.fr>
References: <200305050952.h459qNj20849@horus.imag.fr>
Message-ID: <20030712153104.GA4300@jm.kir.nu>

On Mon, May 05, 2003 at 11:52:23AM +0200, Laurentiu-Sorin Paun wrote:

> I am working on a load balancing architecture which allow mobile hosts to know
> about the current load of different access points and to handoff from one AP
> to another in order to have more bandwith available.

> But the scan is a time consuming procedure (between 150 and 400 ms, in
> function of the number of channels scanned and the activity on each of these
> channels), and the JoinRequest (authentication and association) time is only
> about 10-20 ms. Knowing the JoinRequest parameters (MAC addr, channel, Essid),
> would it be possible to on mobile client to do the JoinRequest without
> initiate a scan?

Prism2 does indeed support yet another roaming mode in which automatic
scanning is disabled. I just added support for this into the CVS version
of the driver. I implemented this in a way that allows full control of
the roaming (both scanning and roaming decision) to user space using
Linux wireless extensions. In this way, it is up to the user to decide
whether active IEEE 802.11 scan of all channels is needed or not. One
should even be able to skip all 802.11 scans and use external mechanism
to collect information about neighboring APs.

I wrote some documentation for this feature, so please check README file
in CVS for more information.

-- 
Jouni Malinen                                            PGP id EFC895FA



From puttputt  Sat Jul 12 08:41:37 2003
From: puttputt (Robert Davidson)
Date: Sun, 13 Jul 2003 01:41:37 +1000
Subject: Prism chipset differences (off-topic I suppose)
Message-ID: <3F102C31.3090206@iaccess.ws>


Hi All,

Just wondering if there is a web page or document out there that 
describes the differences between the Prism 2/2.5/3 chipsets?

I'm just curious as to the differences (feature wise and so on).

Cya's.

-- 
Regards,
Robert Davidson.
http://www.mlug.org.au/
IRC: puttputt, AustNet, #mlug




From yuxi  Sat Jul 12 23:49:04 2003
From: yuxi (Yu-Xi Lim)
Date: Sun, 13 Jul 2003 02:49:04 -0400
Subject: Prism chipset differences (off-topic I suppose)
References: <3F102C31.3090206@iaccess.ws>
Message-ID: <011b01c3490a$daa9d650$6401a8c0@micron>

Robert Davidson <puttputt at iaccess.ws> wrote:
> Just wondering if there is a web page or document out there that
> describes the differences between the Prism 2/2.5/3 chipsets?
> 
> I'm just curious as to the differences (feature wise and so on).

I assume you tried Intersil's pages?




From puttputt  Sun Jul 13 01:36:27 2003
From: puttputt (Robert Davidson)
Date: Sun, 13 Jul 2003 18:36:27 +1000
Subject: Prism chipset differences (off-topic I suppose)
In-Reply-To: <011b01c3490a$daa9d650$6401a8c0@micron>
References: <3F102C31.3090206@iaccess.ws>
	<011b01c3490a$daa9d650$6401a8c0@micron>
Message-ID: <3F111A0B.5010406@iaccess.ws>

Yu-Xi Lim wrote:
> Robert Davidson <puttputt at iaccess.ws> wrote:
> 
>>Just wondering if there is a web page or document out there that
>>describes the differences between the Prism 2/2.5/3 chipsets?
>>
>>I'm just curious as to the differences (feature wise and so on).
> 
> 
> I assume you tried Intersil's pages?
> 

Yes I did, all I was able to find was info on each chip, not just a 
short run-down of the differences.  I don't really want to read heaps 
just to learn about their differences, it doesn't matter that much to 
me.  If thats the only way to learn about them then I'll do it when I 
get a bit more time.

-- 
Regards,
Robert Davidson.
http://www.mlug.org.au/
IRC: puttputt, AustNet, #mlug




From jiri.fojtasek  Sun Jul 13 10:53:45 2003
From: jiri.fojtasek (Jiri Fojtasek)
Date: Sun, 13 Jul 2003 19:53:45 +0200
Subject: 	QUESTION: What does mean A4 mac address from the RX packet (non WDS)
Message-ID: <3F119CA9.10608@hlohovec.net>

Hello All

I just testing the "prism2_param wlan0 dump 1" command. From the kernel 
log i have found that A1,A2,A3 mac address are ok but A4 address (from 
non WDS packets)seems as random generated number. So, anyone know for 
what is used this random A4 address ?

BTW when i watching a TX dump it seems that A4 mac address is used only 
for wds connections, othervise its zero filled

Jiri



From f6hqz  Sun Jul 13 13:48:30 2003
From: f6hqz (Francois BERGERET)
Date: Sun, 13 Jul 2003 22:48:30 +0200
Subject: complete list of hostap files, pse
In-Reply-To: <200307070324.45555@db>
Message-ID: <LEEMLOMCOLGDFKOEHKDPKEODDLAA.f6hqz@easyconnect.fr>

Hi the list,
Hi all of you who have replied to my request.

My mistake was to use an incorrect version of Bering V1.1 with a Jacques Nilo's package compiled for the Bering V1.2, sorry !
I have checked again with the V1.2 this package and all seems ok now.
I have seen the SSID "test" on the air, proving that the hostap is running correctly.
I have only few difficulties to lurn how to do to modify the wireless parameters as SSID, channel, etc... because I don't see in
what file this params are.

If any of you knows, please...

TIA

Best Regards,
Francois BERGERET,
France,
F6HQZ (HAM radio callsign).


> -----Message d'origine-----
> De : Dominique Blas [mailto:ml at blas.net]
> Envoy? : lundi 7 juillet 2003 03:25
> ? : f6hqz at easyconnect.fr; hostap at shmoo.com
> Objet : Re: complete list of hostap files, pse
>
>
> Le Dimanche 6 Juillet 2003 21:03, Francois BERGERET a ?crit :
> > Hi Jonnas, hi the list,
> >
> > Thanks for the pointer.
> >
> > Sorry for my very poor english.
> > I tempt to explain differently :
> > I have Bering 1.1 running. Jacques Nilo, which is the project manager of
> > this fantastic distro, has compiled hostap for it. But, after having
> > installed the pcmcia_hostap.lrp package, it seems that some files are
> > missing or I have not completely understood how to do with it.
> > What I am asking is the list of the files used by hostap and their exact
> > path in a Debian Woody directory tree.
> >
>
> Fran?ois,
>
> as always with hostap the make is fairly simple :
> 	make
> This make will also compile the companion modules : hostap, hostap_crypt.o and hostap_crypt_wep.o
>
> Then you move the .o in their appropriate directory (/lib/modules/<kernel name>/pcmcia for hostap_cs.o and
> /lib/modules/<kernel name>/net for the others).
>
> Or, SIMPLER,
> 	make install
> 	will move automatically the .o in the correct destination directory and will do the depmod -a for you
>
> If you have unresolved symbols when you load hostap_pci (or hostap_cs or hostap_plx) it means that your development
> kernel version and your running kernel version don't match !
> Be sure that your modules where compiled with the same version (label above all) of kernel you're are running under.
> Be also sure that the kernel you are running had Hermes Chipset support checked.
>
>
> Here is the whole list of files for hostap 0.0.3.
>
> 	hostap-0.0.3/COPYING
> 	hostap-0.0.3/ChangeLog
> 	hostap-0.0.3/FAQ
> 	hostap-0.0.3/Makefile
> 	hostap-0.0.3/README
> 	hostap-0.0.3/driver_source.txt
> 	hostap-0.0.3/driver/
> 	hostap-0.0.3/driver/etc/
> 	hostap-0.0.3/driver/etc/hostap_cs.conf
> 	hostap-0.0.3/driver/hostap.mk
> 	hostap-0.0.3/driver/modules/
> 	hostap-0.0.3/driver/modules/.cvsignore
> 	hostap-0.0.3/driver/modules/Makefile
> 	hostap-0.0.3/driver/modules/hostap.c
> 	hostap-0.0.3/driver/modules/hostap.h
> 	hostap-0.0.3/driver/modules/hostap_ap.c
> 	hostap-0.0.3/driver/modules/hostap_ap.h
> 	hostap-0.0.3/driver/modules/hostap_compat.h
> 	hostap-0.0.3/driver/modules/hostap_config.h
> 	hostap-0.0.3/driver/modules/hostap_crypt.c
> 	hostap-0.0.3/driver/modules/hostap_crypt.h
> 	hostap-0.0.3/driver/modules/hostap_crypt_wep.c
> 	hostap-0.0.3/driver/modules/hostap_cs.c
> 	hostap-0.0.3/driver/modules/hostap_download.c
> 	hostap-0.0.3/driver/modules/hostap_hw.c
> 	hostap-0.0.3/driver/modules/hostap_info.c
> 	hostap-0.0.3/driver/modules/hostap_ioctl.c
> 	hostap-0.0.3/driver/modules/hostap_pci.c
> 	hostap-0.0.3/driver/modules/hostap_plx.c
> 	hostap-0.0.3/driver/modules/hostap_proc.c
> 	hostap-0.0.3/driver/modules/hostap_wlan.h
> 	hostap-0.0.3/hostapd/
> 	hostap-0.0.3/hostapd/.cvsignore
> 	hostap-0.0.3/hostapd/Makefile
> 	hostap-0.0.3/hostapd/accounting.c
> 	hostap-0.0.3/hostapd/accounting.h
> 	hostap-0.0.3/hostapd/ap.h
> 	hostap-0.0.3/hostapd/common.c
> 	hostap-0.0.3/hostapd/common.h
> 	hostap-0.0.3/hostapd/config.c
> 	hostap-0.0.3/hostapd/config.h
> 	hostap-0.0.3/hostapd/developer.txt
> 	hostap-0.0.3/hostapd/driver.c
> 	hostap-0.0.3/hostapd/driver.h
> 	hostap-0.0.3/hostapd/eapol_sm.c
> 	hostap-0.0.3/hostapd/eapol_sm.h
> 	hostap-0.0.3/hostapd/eloop.c
> 	hostap-0.0.3/hostapd/eloop.h
> 	hostap-0.0.3/hostapd/hostapd.accept
> 	hostap-0.0.3/hostapd/hostapd.c
> 	hostap-0.0.3/hostapd/hostapd.conf
> 	hostap-0.0.3/hostapd/hostapd.deny
> 	hostap-0.0.3/hostapd/hostapd.h
> 	hostap-0.0.3/hostapd/iapp.c
> 	hostap-0.0.3/hostapd/iapp.h
> 	hostap-0.0.3/hostapd/ieee802_11.c
> 	hostap-0.0.3/hostapd/ieee802_11.h
> 	hostap-0.0.3/hostapd/ieee802_11_auth.c
> 	hostap-0.0.3/hostapd/ieee802_11_auth.h
> 	hostap-0.0.3/hostapd/ieee802_1x.c
> 	hostap-0.0.3/hostapd/ieee802_1x.h
> 	hostap-0.0.3/hostapd/md5.c
> 	hostap-0.0.3/hostapd/md5.h
> 	hostap-0.0.3/hostapd/radius.c
> 	hostap-0.0.3/hostapd/radius.h
> 	hostap-0.0.3/hostapd/radius_client.c
> 	hostap-0.0.3/hostapd/radius_client.h
> 	hostap-0.0.3/hostapd/rc4.c
> 	hostap-0.0.3/hostapd/rc4.h
> 	hostap-0.0.3/hostapd/receive.c
> 	hostap-0.0.3/hostapd/sta_info.c
> 	hostap-0.0.3/hostapd/sta_info.h
> 	hostap-0.0.3/kernel-patches/
> 	hostap-0.0.3/kernel-patches/README
> 	hostap-0.0.3/kernel-patches/hostap-linux-2.4.20.patch
> 	hostap-0.0.3/kernel-patches/hostap-linux-2.5.60.patch
> 	hostap-0.0.3/kernel-patches/hostap-linux-2.5.69.patch
> 	hostap-0.0.3/pcmcia-cs-patches/
> 	hostap-0.0.3/pcmcia-cs-patches/README
> 	hostap-0.0.3/pcmcia-cs-patches/hostap-pcmcia-cs-3.1.34.patch
> 	hostap-0.0.3/sniff/
> 	hostap-0.0.3/sniff/Makefile
> 	hostap-0.0.3/sniff/README
> 	hostap-0.0.3/sniff/ieee80211.h
> 	hostap-0.0.3/sniff/management.c
> 	hostap-0.0.3/sniff/wlansniff.c
> 	hostap-0.0.3/utils/
> 	hostap-0.0.3/utils/.cvsignore
> 	hostap-0.0.3/utils/Makefile
> 	hostap-0.0.3/utils/hostap_crypt_conf.c
> 	hostap-0.0.3/utils/hostap_diag.c
> 	hostap-0.0.3/utils/hostap_io_debug.c
> 	hostap-0.0.3/utils/hostap_rid.c
> 	hostap-0.0.3/utils/prism2_param
> 	hostap-0.0.3/utils/prism2_srec.c
> 	hostap-0.0.3/utils/split_combined_hex
> 	hostap-0.0.3/utils/util.c
> 	hostap-0.0.3/utils/util.h
> 	hostap-0.0.3/utils/wireless_copy.h
>
> Regards,
> db
>
>



From h.loke  Sun Jul 13 14:17:35 2003
From: h.loke (h.loke at hccnet.nl)
Date: Sun, 13 Jul 2003 21:17:35 UT
Subject: Invalid HW-addr family 0x0321
Message-ID: <200307132117.h6DLHZjH001513@smtp.hccnet.nl>

An embedded and charset-unspecified text was scrubbed...
Name: not available
Url: http://lists.shmoo.com/pipermail/hostap/attachments/20030713/5469c1ff/attachment.txt 


From project.manager  Sun Jul 13 17:42:57 2003
From: project.manager (Jonnas)
Date: Mon, 14 Jul 2003 02:42:57 +0200
Subject: Invalid HW-addr family 0x0321
References: <200307132117.h6DLHZjH001513@smtp.hccnet.nl>
Message-ID: <3F11FC91.6020305@web.de>

h.loke at hccnet.nl wrote:
> Invalid HW-addr family 0x0321 is the message i get when i startup
> hostapd.

What pcmcia/pci card are you using - the brand, manufacturer?

Jonnas

-- 
http://www.desilinux.com



From chhabra  Sun Jul 13 16:23:41 2003
From: chhabra (Madhusudan Singh)
Date: Sun, 13 Jul 2003 19:23:41 -0400
Subject: Need advice about an Access Point
Message-ID: <3F11E9FD.2090106@eecs.umich.edu>

Hi
    I am thinking of buying an Access Point to set up a wireless network 
at home. I have a laptop with a working MA401 Netgear Wireless card, and 
so far have used a cross over cable to connect to my desktop machine 
(DHCP server + name server). This constrains my range of access as I 
have to be in the same room to use it. Buying any "old style" ethernet 
equipment is going to be expensive as well as limited in terms of the 
number of machines I can add later. Which Access Points work well with 
Hostap ? Does hostap support USB access points yet ? Is it possible to 
set up secure communications with WEP, etc ? Case studies and personal 
recommendations are especially welcome :)

Thanks,

MS



From imp  Sun Jul 13 23:12:00 2003
From: imp (imp)
Date: Mon, 14 Jul 2003 15:12:00 +0900
Subject: Hiding SSID
Message-ID: <KEECLLIPMFCFLJKFNEKOGEDICDAA.imp@airlinktek.com>

Dear jouni..

I try to the functionality of "hiding ssid" using latest CVS code..

Eventhough I set to hiding SSID in hostap, but my STA Client software (ATMEL PC Software) Still show me the 
hostap SSID name... 

Of course, my windows XP client also display the name.

I use firmware primary : 1.1.0, secondary 1.6.3  Card... I'm also test Primary 1.1.0 and Secondary 1.7.2

Could you please give me any comment ? 
Thanks.

Best Regarding..



From milkman  Mon Jul 14 00:05:42 2003
From: milkman (Cameron Jenkins)
Date: Mon, 14 Jul 2003 17:05:42 +1000
Subject: SMP related issues
References: <20030709074918.GB4066@jm.kir.nu>
Message-ID: <002301c349d6$573fbdd0$0a00a8c0@Postoffice>

Hello Jouni,

I downloaded the CVS version from 3 days ago, and have now had a chance to
try it.

I have a 2 x Celeron 433, Linux 2.4.21, and a Netgear MA311, running
hostap_pci.

I use PPTP VPN, and connected as per usual to my linux box. I then ftp'ed to
the box, and tried to send a 14 meg file. After about 4 meg, the linux
machine froze. I looked at the console, and all I see is a lot of "could not
find matching txfid for alloc event" followed by about 3 card resets about
5-8 seconds apart, and then nothing.

----- Original Message ----- 
From: "Jouni Malinen" <jkmaline at cc.hut.fi>
To: <hostap at shmoo.com>
Sent: Wednesday, July 09, 2003 5:49 PM
Subject: SMP related issues


> I currently have access to my SMP system and can do some Host AP testing
> with it. However, I can apparently only use hostap_plx or hostap_cs
> since Prism2.5 PCI cards do not seem to work in that host for some
> reason.
>
> I have tried to crash the host with various kind of data loads using two
> clients, but so far I have not been able to crash it even once. I'm
> using Linux 2.4.21 and 2 x Pentium III 550 MHz.
>
> If anyone is still able to reproduce crashes more or less consistently
> on SMP systems using the latest CVS version of Host AP driver, I would
> be interested in knowing about these. I will have access to my SMP
> system for couple of weeks, so now would be a good time to (re-)report
> these issues.
>
> -- 
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
>



From adityasc  Mon Jul 14 02:00:12 2003
From: adityasc (Aditya S C)
Date: Mon, 14 Jul 2003 14:30:12 +0530
Subject: Regarding AP and STA functionality
Message-ID: <001001c349e6$562de560$c628010a@telxsi.com>

HI

In the current version of Host AP is it programatically possible to switch
between AP mode and STA mode? We have a requirement where the network
configured should always be a Infrastructure network. So, if no AP is found
in the network, one of the STA should switch to AP mode.

Can anyone guide me on this? Any help would be appreciated

Regards
Aditya



From antonio.vilei  Mon Jul 14 02:21:16 2003
From: antonio.vilei (Antonio Vilei)
Date: Mon, 14 Jul 2003 11:21:16 +0200
Subject: struct hfa384x_rx_frame question
Message-ID: <005301c349e9$47c5f870$151e0a0a@stmantoniov>

Hello,

Why does the struct hfa384x_rx_frame include the 802.3 header after the
802.11 one?
What is the purpose of this 802.3 header, since it is not sent on air?

I've seen that setting 802.11 data_len field in this struct requires
cpu_to_le16, so the card uses little endian; setting 802.3 len field in this
struct requires cpu_to_be16, so the card (or another part of it) uses big
endian for this field.

Thanks in advance,
Antonio




From eduardo  Mon Jul 14 05:45:54 2003
From: eduardo (Eduardo Kaftanski)
Date: Mon, 14 Jul 2003 08:45:54 -0400
Subject: SMP test report
In-Reply-To: <005301c349e9$47c5f870$151e0a0a@stmantoniov>
References: <005301c349e9$47c5f870$151e0a0a@stmantoniov>
Message-ID: <20030714124554.GA10635@enriqueto.nn.cl>


Hi,

	As promised I tried the latest cvs version with my SMP machine.
I used kernel 2.4.20-18.8 in a dual PII200 with 192M of ram.

	I lasted around 15 minutes before the card was reset by the module.
On the third reset, the card did not came online again...

	SO the problem is still there. I can try again tonight...

-- 
Eduardo Kaftanski
eduardo at linuxcenter.cl
Red Hat Certified Engineer
Gerente Ingenieria LinuxCenter S.A.
Canada 239 5to Piso, Providencia, Stgo de Chile.
http://www.linuxcenter.cl 2745000



From sneeze  Mon Jul 14 06:00:07 2003
From: sneeze (Ryan Abbenhuys)
Date: Mon, 14 Jul 2003 23:00:07 +1000
Subject: SMP test report
References: <005301c349e9$47c5f870$151e0a0a@stmantoniov>
	<20030714124554.GA10635@enriqueto.nn.cl>
Message-ID: <002e01c34a07$da9ee9e0$0200a8c0@silver>

I'm running CVS from July 5th on an SMP machine with kernel 2.4.21,
pcmcia-cs-3.2.4
card is a wl200 with firmware 1.4.9
client connection just downloaded a 680mb file from me with no problems.
I had awful problems with hostap prior to using kernel 2.4.21

----- Original Message ----- 
From: "Eduardo Kaftanski" <eduardo at linuxcenter.cl>
To: <hostap at shmoo.com>
Sent: Monday, July 14, 2003 10:45 PM
Subject: SMP test report


>
> Hi,
>
> As promised I tried the latest cvs version with my SMP machine.
> I used kernel 2.4.20-18.8 in a dual PII200 with 192M of ram.
>
> I lasted around 15 minutes before the card was reset by the module.
> On the third reset, the card did not came online again...
>
> SO the problem is still there. I can try again tonight...
>
> -- 
> Eduardo Kaftanski
> eduardo at linuxcenter.cl
> Red Hat Certified Engineer
> Gerente Ingenieria LinuxCenter S.A.
> Canada 239 5to Piso, Providencia, Stgo de Chile.
> http://www.linuxcenter.cl 2745000
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>



From eduardo  Mon Jul 14 06:36:25 2003
From: eduardo (Eduardo Kaftanski)
Date: Mon, 14 Jul 2003 09:36:25 -0400
Subject: SMP test report
In-Reply-To: <002e01c34a07$da9ee9e0$0200a8c0@silver>
References: <005301c349e9$47c5f870$151e0a0a@stmantoniov>
	<20030714124554.GA10635@enriqueto.nn.cl>
	<002e01c34a07$da9ee9e0$0200a8c0@silver>
Message-ID: <20030714133625.GB11235@enriqueto.nn.cl>


will try that and repost...


On Mon, Jul 14, 2003 at 11:00:07PM +1000, Ryan Abbenhuys wrote:
> I'm running CVS from July 5th on an SMP machine with kernel 2.4.21,
> pcmcia-cs-3.2.4
> card is a wl200 with firmware 1.4.9
> client connection just downloaded a 680mb file from me with no problems.
> I had awful problems with hostap prior to using kernel 2.4.21
> 
> ----- Original Message ----- 
> From: "Eduardo Kaftanski" <eduardo at linuxcenter.cl>
> To: <hostap at shmoo.com>
> Sent: Monday, July 14, 2003 10:45 PM
> Subject: SMP test report
> 
> 
> >
> > Hi,
> >
> > As promised I tried the latest cvs version with my SMP machine.
> > I used kernel 2.4.20-18.8 in a dual PII200 with 192M of ram.
> >
> > I lasted around 15 minutes before the card was reset by the module.
> > On the third reset, the card did not came online again...
> >
> > SO the problem is still there. I can try again tonight...
> >
> > -- 
> > Eduardo Kaftanski
> > eduardo at linuxcenter.cl
> > Red Hat Certified Engineer
> > Gerente Ingenieria LinuxCenter S.A.
> > Canada 239 5to Piso, Providencia, Stgo de Chile.
> > http://www.linuxcenter.cl 2745000
> > _______________________________________________
> > HostAP mailing list
> > HostAP at shmoo.com
> > http://lists.shmoo.com/mailman/listinfo/hostap
> >

-- 
Eduardo Kaftanski
eduardo at linuxcenter.cl
Red Hat Certified Engineer
Gerente Ingenieria LinuxCenter S.A.
Canada 239 5to Piso, Providencia, Stgo de Chile.
http://www.linuxcenter.cl 2745000



From jkmaline  Mon Jul 14 06:41:03 2003
From: jkmaline (Jouni Malinen)
Date: Mon, 14 Jul 2003 16:41:03 +0300
Subject: Regarding AP and STA functionality
In-Reply-To: <001001c349e6$562de560$c628010a@telxsi.com>
References: <001001c349e6$562de560$c628010a@telxsi.com>
Message-ID: <20030714134103.GA3286@jm.kir.nu>

On Mon, Jul 14, 2003 at 02:30:12PM +0530, Aditya S C wrote:

> In the current version of Host AP is it programatically possible to switch
> between AP mode and STA mode?

Yes, you can use 'iwconfig wlan0 mode managed' and 'iwconfig wlan0 mode
master' (or the corresponding SIOCSIWMODE ioctl() if you want to change
modes from another program).

-- 
Jouni Malinen                                            PGP id EFC895FA



From pfoy  Mon Jul 14 06:42:57 2003
From: pfoy (Foy, Patrick)
Date: Mon, 14 Jul 2003 09:42:57 -0400
Subject: Hiding SSID
Message-ID: <EF5625F9F795C94BA28B150706A21548A05391@MAIL>

Intersil confirmed that you need secondary software 1.7.4 or later.

-----Original Message-----
From: imp +AFs-mailto:imp+AEA-airlinktek.com+AF0-
Sent: Monday, July 14, 2003 2:12 AM
To: hostap
Subject: Hiding SSID


Dear jouni..

I try to the functionality of +ACI-hiding ssid+ACI- using latest CVS code..

Eventhough I set to hiding SSID in hostap, but my STA Client software (ATMEL
PC Software) Still show me the 
hostap SSID name... 

Of course, my windows XP client also display the name.

I use firmware primary : 1.1.0, secondary 1.6.3  Card... I'm also test
Primary 1.1.0 and Secondary 1.7.2

Could you please give me any comment ? 
Thanks.

Best Regarding..

+AF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXwBfAF8AXw-
HostAP mailing list
HostAP+AEA-shmoo.com
http://lists.shmoo.com/mailman/listinfo/hostap



From jkmaline  Mon Jul 14 06:46:11 2003
From: jkmaline (Jouni Malinen)
Date: Mon, 14 Jul 2003 16:46:11 +0300
Subject: struct hfa384x_rx_frame question
In-Reply-To: <005301c349e9$47c5f870$151e0a0a@stmantoniov>
References: <005301c349e9$47c5f870$151e0a0a@stmantoniov>
Message-ID: <20030714134611.GB3286@jm.kir.nu>

On Mon, Jul 14, 2003 at 11:21:16AM +0200, Antonio Vilei wrote:

> Why does the struct hfa384x_rx_frame include the 802.3 header after the
> 802.11 one?
> What is the purpose of this 802.3 header, since it is not sent on air?

Prism2 station firmware supports two different methods of
sending/receiving data frames. One can use either IEEE 802.11 header or
IEEE 802.3 header. In case of 802.3, station firmware generates IEEE
802.11 header based on the address fields.

Management frames can only be sent with IEEE 802.11 headers and Host AP
driver uses this format also for data frames. IEEE 802.3 mode hides some
802.11 details and in theory could be easier to use in the driver (if
the driver is only using normal data frames and does not care about Host
AP mode or WDS, etc.).

> I've seen that setting 802.11 data_len field in this struct requires
> cpu_to_le16, so the card uses little endian; setting 802.3 len field in this
> struct requires cpu_to_be16, so the card (or another part of it) uses big
> endian for this field.

Yes, Prism2 is little endian. However, 802.3 format is big endian
(network byte order).

-- 
Jouni Malinen                                            PGP id EFC895FA



From sndbeat  Mon Jul 14 08:17:32 2003
From: sndbeat (Vic Berdin)
Date: Mon, 14 Jul 2003 08:17:32 -0700 (PDT)
Subject: Regarding AP and STA functionality
In-Reply-To: <20030714120010.89CC024531@mail.iocaine.com>
Message-ID: <20030714151732.64819.qmail@web10407.mail.yahoo.com>

Hi,

Although hostap may not be best suited for non-AP 
functionality, yes it is possible by simply changing 
operational mode on the fly using wireless tools.
You can also opt to make use of orinoco_cs for STA
operations, and have a script that should at first,
start out using orinoco_cs (STA), then if an AP is 
not detected, copy 'hostap.conf' and dump it in
/etc/pcmcia/., then restart cardmgr. This may not 
really be as easy as it sounds. But with proper 
tweaking, I believe this can be done.
Oh, and btw, this works for me via manual commands 
without having to restart my linux box. And ofcourse,
your card/s must be supported by both drivers.

HTH - Vic

================
Message: 8
Date: Mon, 14 Jul 2003 14:30:12 +0530
From: "Aditya S C" <adityasc at tataelxsi.co.in>
Subject: Regarding AP and STA functionality
To: <hostap at shmoo.com>
Message-ID:
<001001c349e6$562de560$c628010a at telxsi.com>
Content-Type: text/plain;	charset="iso-8859-1"

HI

In the current version of Host AP is it
programatically possible to 
switch
between AP mode and STA mode? We have a requirement
where the network
configured should always be a Infrastructure network.
So, if no AP is 
found
in the network, one of the STA should switch to AP
mode.

Can anyone guide me on this? Any help would be
appreciated

Regards
Aditya




__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



From daniel  Mon Jul 14 07:53:55 2003
From: daniel (Dan Hackney)
Date: Mon, 14 Jul 2003 10:53:55 -0400
Subject: hostap compilation
In-Reply-To: <3F0DD60E.4070004@eecs.umich.edu>
Message-ID: <000f01c34a17$c074f720$680f010a@emji.net>



I guess I was putting the cart before the horse with my previous
question... I can't get the driver to compile!

Here is the error I get from "make hostap":

Makefile:20: /usr/src/linux/.config: No such file or directory
make: *** No rule to make target `/usr/src/linux/.config'.  Stop.

Why does hostap want this?  I'm compiling on a machine we use for all
sorts of linux development with no problems.  I tried moving to another
box with existing .config and got tons of errors in time.h.  grrr. What
am I missing?

Thanks from the newbie,

-Dan



From eaglecz  Mon Jul 14 08:37:57 2003
From: eaglecz (Tomas Charvat)
Date: Mon, 14 Jul 2003 17:37:57 +0200
Subject: hostap with ovis airlink do not work
References: <000f01c34a17$c074f720$680f010a@emji.net>
Message-ID: <000801c34a1d$e65baaa0$050314ac@rip>

Jul 14 17:26:51 kryspin kernel: wlan2: 00:02:72:01:6f:63 assoc_cb - STA
associated
Jul 14 17:27:15 kryspin kernel: wlan2: received WDS[4 addr] frame from
unknown TA=00:02:72:01:6f:63
Jul 14 17:27:46 kryspin last message repeated 50 times

I have hostap latest CVS (30 mins old) and i got problem above when hostap
act as AP and OvisAp act as client
i can ping Ap from 10baseT interface i can ping Ap from Hostap router, but i
can not ping from machines behind router

anyway when ovisAp act as Ap and host AP card (xi-626 fw 1.1.0 /1.7.4) act
as client, every thing woking properly
i have 2.4.21 kernel with WE15

any tips ?


thanks

tomas



From eaglecz  Mon Jul 14 08:40:33 2003
From: eaglecz (Tomas Charvat)
Date: Mon, 14 Jul 2003 17:40:33 +0200
Subject: ups few mroe
Message-ID: <002901c34a1e$43194630$050314ac@rip>

Im sorry he is more from my syslog

Jul 14 17:26:51 kryspin kernel: wlan2: 00:02:72:01:6f:63 auth_cb - STA
authenticated
Jul 14 17:26:51 kryspin kernel: wlan2: assoc from 00:02:72:01:6f:63 with
extra data (24 bytes)
[<11><18><41><54><4d><45><4c><20><43><6c><69><65><6e><74><20><2d><20><00><00
><02><72><01><6f><63>]
Jul 14 17:26:51 kryspin kernel: wlan2: 00:02:72:01:6f:63 assoc_cb - STA
associated
Jul 14 17:27:15 kryspin kernel: wlan2: received WDS[4 addr] frame from
unknown TA=00:02:72:01:6f:63
Jul 14 17:27:46 kryspin last message repeated 50 times



----- Original Message ----- 
From: "Tomas Charvat" <eaglecz at tiscali.cz>
To: <hostap at shmoo.com>
Sent: Monday, July 14, 2003 5:37 PM
Subject: hostap with ovis airlink do not work


> Jul 14 17:26:51 kryspin kernel: wlan2: 00:02:72:01:6f:63 assoc_cb - STA
> associated
> Jul 14 17:27:15 kryspin kernel: wlan2: received WDS[4 addr] frame from
> unknown TA=00:02:72:01:6f:63
> Jul 14 17:27:46 kryspin last message repeated 50 times
>
> I have hostap latest CVS (30 mins old) and i got problem above when hostap
> act as AP and OvisAp act as client
> i can ping Ap from 10baseT interface i can ping Ap from Hostap router, but
i
> can not ping from machines behind router
>
> anyway when ovisAp act as Ap and host AP card (xi-626 fw 1.1.0 /1.7.4) act
> as client, every thing woking properly
> i have 2.4.21 kernel with WE15
>
> any tips ?
>
>
> thanks
>
> tomas
>



From proski  Mon Jul 14 09:03:35 2003
From: proski (Pavel Roskin)
Date: Mon, 14 Jul 2003 12:03:35 -0400 (EDT)
Subject: hostap compilation
In-Reply-To: <000f01c34a17$c074f720$680f010a@emji.net>
References: <000f01c34a17$c074f720$680f010a@emji.net>
Message-ID: <Pine.LNX.4.56.0307141157020.1269@marabou.research.att.com>

On Mon, 14 Jul 2003, Dan Hackney wrote:
>
> Makefile:20: /usr/src/linux/.config: No such file or directory make: ***
> No rule to make target `/usr/src/linux/.config'.  Stop.
>
> Why does hostap want this?  I'm compiling on a machine we use for all
> sorts of linux development with no problems.

You are compiling kernel modules, so it's different from compiling
userspace programs.  Kernel modules are compiled for a specific kernel and
its configuration should be known.

>  I tried moving to another box with existing .config and got tons of
> errors in time.h.  grrr. What am I missing?

You are missing the exact error messages and the versions of relevant
software, which is the kernel, the hostap driver and the compiler in this
case.

-- 
Regards,
Pavel Roskin



From daniel  Mon Jul 14 09:14:10 2003
From: daniel (Dan Hackney)
Date: Mon, 14 Jul 2003 12:14:10 -0400
Subject: hostap compilation
In-Reply-To: <Pine.LNX.4.56.0307141157020.1269@marabou.research.att.com>
Message-ID: <001501c34a22$f7fb7060$680f010a@emji.net>



> 
> 
> You are compiling kernel modules, so it's different from compiling
> userspace programs.  Kernel modules are compiled for a specific kernel
and
> its configuration should be known.

Ahh, that makes sense.

> 
> >  I tried moving to another box with existing .config and got tons of
> > errors in time.h.  grrr. What am I missing?
> 
> You are missing the exact error messages and the versions of relevant
> software, which is the kernel, the hostap driver and the compiler in
this
> case.

Kernel: 2.4.21
Hostap: 0.0.3
Compiler: gcc 3.2.3

The output from "make pccard" was too long for email so it is here:
http://www.people.virginia.edu/~dhh2c/fullout

Thanks,

Dan



> 
> --
> Regards,
> Pavel Roskin



From daniel  Mon Jul 14 09:20:57 2003
From: daniel (Dan Hackney)
Date: Mon, 14 Jul 2003 12:20:57 -0400
Subject: hostap compilation
In-Reply-To: <001501c34a22$f7fb7060$680f010a@emji.net>
Message-ID: <001701c34a23$e8ad7b20$680f010a@emji.net>


> 
> The output from "make pccard" was too long for email so it is here:

sorry that is the output from "make hostap"

-dan



From stomic  Mon Jul 14 10:36:35 2003
From: stomic (Slobodan Tomic)
Date: 14 Jul 2003 19:36:35 +0200
Subject: EAPOL-Key retransmission
Message-ID: <1058204195.19102.11.camel@strider>

  Hi,

  I was browsing through the source and it seems to me that EAPOL-Key
frames are not retransmitted if not acknoledged. This can lead to
situation that client misses key change and his port is dead until next
key change (depending on rekeying time parameter). Are there any
solutions to this problem?

  Second, I see that in latest releases wlan0wdsX ports are again in not
authorized state if using 802.1x (which was fixed in some previous
release). I was able to re-patchit (based on previous patch), but I am
wondering what is recommended procedure for authorizing WDS ports when
using 802.1x?

  Regards,
  Slobodan Tomic.



From vicente.paredes  Mon Jul 14 10:48:53 2003
From: vicente.paredes (Vicente Paredes)
Date: Mon, 14 Jul 2003 12:48:53 -0500 (CDT)
Subject: Wireless Community Network
Message-ID:      <4191.200.63.198.175.1058204933.squirrel@webmail.linuxpowered.org>


Dear friends

I am trying to build a wireless commnunity network, and i am using hostap
in my node with a dwl-520 card. Now How can i expand the coberture of my
node, with a home antenna. Do you have any experience, please help me.

Thanks.

-- 
Atentamente

Vicente Paredes
Departamento de ?ngenier?a
GRUEIN S.A.
PBX 593-42690888
CEL 593-98412868



From vicente.paredes  Mon Jul 14 10:49:08 2003
From: vicente.paredes (Vicente Paredes)
Date: Mon, 14 Jul 2003 12:49:08 -0500 (CDT)
Subject: Wireless Community Network
Message-ID:      <4186.200.63.198.175.1058204948.squirrel@webmail.linuxpowered.org>


Dear friends

I am trying to build a wireless commnunity network, and i am using hostap
in my node with a dwl-520 card. Now How can i expand the coberture of my
node, with a home antenna. Do you have any experience, please help me.

Thanks.

-- 
Atentamente

Vicente Paredes
Departamento de ?ngenier?a
GRUEIN S.A.
PBX 593-42690888
CEL 593-98412868



From jkmaline  Mon Jul 14 11:14:43 2003
From: jkmaline (Jouni Malinen)
Date: Mon, 14 Jul 2003 21:14:43 +0300
Subject: hostap with ovis airlink do not work
In-Reply-To: <000801c34a1d$e65baaa0$050314ac@rip>
References: <000f01c34a17$c074f720$680f010a@emji.net>
	<000801c34a1d$e65baaa0$050314ac@rip>
Message-ID: <20030714181442.GA3498@jm.kir.nu>

On Mon, Jul 14, 2003 at 05:37:57PM +0200, Tomas Charvat wrote:

> Jul 14 17:26:51 kryspin kernel: wlan2: 00:02:72:01:6f:63 assoc_cb - STA
> associated
> Jul 14 17:27:15 kryspin kernel: wlan2: received WDS[4 addr] frame from
> unknown TA=00:02:72:01:6f:63

> I have hostap latest CVS (30 mins old) and i got problem above when hostap
> act as AP and OvisAp act as client

I do not know what OvisAp is, but those frames look like unexpected WDS
frames. If you are trying to link two APs together somehow with WDS, you
will need to add WDS link in the Host AP setup. For example, you could
try adding it manually with 'iwpriv wlan0 wds_add 00:02:72:01:6f:63' and
then check what frames you are receiving from a new interface,
wlan0wds0. Then either bridge that together with other interfaces or
assign an IP address to it and use IP routing.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Mon Jul 14 11:21:42 2003
From: jkmaline (Jouni Malinen)
Date: Mon, 14 Jul 2003 21:21:42 +0300
Subject: Hiding SSID
In-Reply-To: <EF5625F9F795C94BA28B150706A21548A05391@MAIL>
References: <EF5625F9F795C94BA28B150706A21548A05391@MAIL>
Message-ID: <20030714182142.GB3498@jm.kir.nu>

On Mon, Jul 14, 2003 at 09:42:57AM -0400, Foy, Patrick wrote:

> Intersil confirmed that you need secondary software 1.7.4 or later.

That is interesting since I have seen "enhanced security" working fine
both with 1.7.1 and 1.7.2.. Maybe it works in some setups but not all.
Anyway, since 1.7.4 is available as a RAM downloadable image for all
Prism2/2.5/3-based cards, it should be quite easy to test that version
if there are any problems with older versions.

-- 
Jouni Malinen                                            PGP id EFC895FA



From proski  Mon Jul 14 11:58:03 2003
From: proski (Pavel Roskin)
Date: Mon, 14 Jul 2003 14:58:03 -0400 (EDT)
Subject: Hiding SSID
In-Reply-To: <20030714182142.GB3498@jm.kir.nu>
References: <EF5625F9F795C94BA28B150706A21548A05391@MAIL>
	<20030714182142.GB3498@jm.kir.nu>
Message-ID: <Pine.LNX.4.56.0307141456200.2648@marabou.research.att.com>

On Mon, 14 Jul 2003, Jouni Malinen wrote:

> On Mon, Jul 14, 2003 at 09:42:57AM -0400, Foy, Patrick wrote:
>
> > Intersil confirmed that you need secondary software 1.7.4 or later.
>
> That is interesting since I have seen "enhanced security" working fine
> both with 1.7.1 and 1.7.2.. Maybe it works in some setups but not all.
> Anyway, since 1.7.4 is available as a RAM downloadable image for all
> Prism2/2.5/3-based cards, it should be quite easy to test that version
> if there are any problems with older versions.

Could you please give me the link?  I'll put it to my collection.

-- 
Regards,
Pavel Roskin



From proski  Mon Jul 14 14:51:25 2003
From: proski (Pavel Roskin)
Date: Mon, 14 Jul 2003 17:51:25 -0400 (EDT)
Subject: [PATCH] Support for 2.6.x kernels
Message-ID: <Pine.LNX.4.56.0307141743060.393@marabou.research.att.com>

Hello!

I cannot compile hostap for Linux 2.6.0-test1:

$ make
*** Can't build for 2.5 with a non-2.5 source!
make: *** [2.5] Error 1

We can remove that check.  I never liked it.  But if it's there, maybe
somebody needs it.  Ideally, it should be corrected to catch user errors
but allow versions to be changed further, possibly to 2.7.x.

Another approach is to rename 2.5 to 2.6 everywhere in the top-level
Makefile.  2.5.x kernels are now obsolete and they will become irrelevant
in a few days.  The patch that replaces 2.5 with 2.6 is attached.

-- 
Regards,
Pavel Roskin
-------------- next part --------------
--- Makefile
+++ Makefile
@@ -63,12 +63,12 @@
 MSRC=driver/modules
 
 # if Rules.make exists in the kernel tree, we assume 2.4 style modules
-# if it doesn't assume 2.5 style
+# if it doesn't assume 2.6 style
 OLDMAKE = $(wildcard $(KERNEL_PATH)/Rules.make)
 
 
 ifeq (,$(OLDMAKE))
-all: 2.5
+all: 2.6
 else
 all: 2.4
 endif
@@ -100,7 +100,7 @@
 
 # Old compilation using this Makefile and not the build system in the kernel
 # tree. This is used when compiling for Linux 2.2.x (or Linux 2.4.x with
-# 'make pccard'). Both Linux 2.5.x and 2.4.x can use kernel tree build system
+# 'make pccard'). Both Linux 2.6.x and 2.4.x can use kernel tree build system
 # with 'make'.
 
 ifdef CONFIG_MODVERSIONS
@@ -142,9 +142,9 @@
 	$(MAKE) -C $(KERNEL_PATH) SUBDIRS=$(PWD)/driver/modules modules
 	$(MAKE) install_all_info
 
-2.5:
-	@if ! echo "$(KERNELRELEASE)" | grep -q "^2\.5"; then \
-		echo "*** Can't build for 2.5 with a non-2.5 source!"; \
+2.6:
+	@if ! echo "$(KERNELRELEASE)" | grep -q "^2\.6"; then \
+		echo "*** Can't build for 2.6 with a non-2.6 source!"; \
 		exit 1; \
 	fi
 	$(MAKE) -C $(KERNEL_PATH) SUBDIRS=$(PWD)/driver/modules \
@@ -191,7 +191,7 @@
 
 
 ifeq (,$(OLDMAKE))
-install: install_2.5
+install: install_2.6
 else
 install: install_2.4
 endif
@@ -208,7 +208,7 @@
 
 install_2.4: uninstall install_pccard install_pci install_plx
 
-install_2.5: install_conf
+install_2.6: install_conf
 	$(MAKE) install_check
 	@echo "*** Copying modules to: $(MODPATH)/kernel/drivers/net/wireless"
 	mkdir -p $(MODPATH)/kernel/drivers/net/wireless


From dgurevich  Mon Jul 14 15:39:24 2003
From: dgurevich (David Gurevich)
Date: Mon, 14 Jul 2003 15:39:24 -0700
Subject: AP sends A4 WDS frames with CRC error
Message-ID: <9FACF23646E0054994FACBD301B6F621762679@MAIL2.asp.networldcom.com>

Upgrading the FW from 1.4.9 to 1.7.4 did the job. Thanks!

Message: 7
Date: Fri, 11 Jul 2003 14:45:11 -0700
From: Brian Pomerantz <bapper at piratehaven.org>
Subject: Re: AP sends A4 WDS frames with CRC error
To: hostap at shmoo.com
Message-ID: <20030711214511.GA22358 at skull.piratehaven.org>
Content-Type: text/plain; charset=us-ascii

On Fri, Jul 11, 2003 at 10:07:19AM -0700, David Gurevich wrote:
> 
> The question is why does the driver generate a corrupt A4 frame in
> wds_type 4 when in Master mode and where should I look to fix this?
> 

I saw this same thing happening to me.  When I updated from station
firmware 1.4.9 to 1.7.4 all was well.


BAPper



From jkmaline  Mon Jul 14 22:52:32 2003
From: jkmaline (Jouni Malinen)
Date: Tue, 15 Jul 2003 08:52:32 +0300
Subject: Hiding SSID / STA f/w 1.7.x
In-Reply-To: <Pine.LNX.4.56.0307141456200.2648@marabou.research.att.com>
References: <EF5625F9F795C94BA28B150706A21548A05391@MAIL>
	<20030714182142.GB3498@jm.kir.nu>
	<Pine.LNX.4.56.0307141456200.2648@marabou.research.att.com>
Message-ID: <20030715055231.GA3653@jm.kir.nu>

On Mon, Jul 14, 2003 at 02:58:03PM -0400, Pavel Roskin wrote:

> Could you please give me the link?  I'll put it to my collection.

Just download any WPA update for Prism2/2.5/3 cards, e.g., from Linksys:

ftp://ftp.linksys.com/pub/network/wpc11v3_driver_utility_053003.exe

You will need to extract the firmware files with strings(1) and then
separate them into suitable files with utils/split_combined_hex.

-- 
Jouni Malinen                                            PGP id EFC895FA



From proski  Mon Jul 14 23:52:08 2003
From: proski (Pavel Roskin)
Date: Tue, 15 Jul 2003 02:52:08 -0400 (EDT)
Subject: Hiding SSID / STA f/w 1.7.x
In-Reply-To: <20030715055231.GA3653@jm.kir.nu>
Message-ID: <Pine.LNX.4.44.0307150232390.5799-100000@portland.hansa.lan>

On Tue, 15 Jul 2003, Jouni Malinen wrote:

> Just download any WPA update for Prism2/2.5/3 cards, e.g., from Linksys:
>
> ftp://ftp.linksys.com/pub/network/wpc11v3_driver_utility_053003.exe
>
> You will need to extract the firmware files with strings(1) and then
> separate them into suitable files with utils/split_combined_hex.

Got it.  Thanks!  Actually, it's version 1.7.1 for Prism 2 and 1.7.4 for
Prism 2.5 and USB.  Still, it's very good news for OpenAP.  It's also good
for owners of Prism 2 cards.

I have a crazy idea to make another release of openap-ng that would keep
its configuration not in the ROM, but in the card's PDA as a "private
item".  It would use CVS HostAP and update the firmware to 1.7.1 at
startup.  An important feature would be faking the MAC address on the
ethernet port, which would allow using the AP with a cable modem that
learns just one MAC address.  Sorry for offtopic, but the OpenAP mailing
list has been dead for weeks.

If anybody has seen any flashable firmware for Prism2 newer than 1.4.9
please let me know - it would save some space on the OpenAP image by
eliminating RAM download.

-- 
Regards,
Pavel Roskin



From ms  Tue Jul 15 01:41:00 2003
From: ms (Mike Saywell)
Date: Tue, 15 Jul 2003 09:41:00 +0100
Subject: Cross compiling hostap
Message-ID: <20030715084100.GR1215@ecs.soton.ac.uk>

Hi all,

I'm trying to compile hostap on one machine for use on another, but I'm
having problems with missing symbols, module versions in particular seem
to be giving me grief.

I'm using the same kernel source and .config on the compilation box as
what's running on the target board so there shouldn't be any problems?

fyi the target is a soekris board running pebble linux
(http://nycwireless.com/pebble)

Here's what I do:

tar xzvf linux-2.4.20.tar.gz
cp .config from the pebble
make oldconfig dep

Edit hostap Makefile to compile against above source tree.

Compile hostap, copy modules from driver/modules to target.  Reboot and
run dpmod -ae, whereupon I get pages of missing symbols.

pebble:~# depmod -ae
depmod: *** Unresolved symbols in /lib/modules/2.4.20-pebble/net/hostap.o
depmod:         __netdev_watchdog_up_R79b12f8c
depmod:         alloc_skb_Rc11cf561
depmod:         __kfree_skb_R35ab9e92
...
pebble:~# grep __netdev_watchdog_up /proc/ksyms
c01aa520 __netdev_watchdog_up_Rf53601b5
pebble:~# grep  alloc_skb /proc/ksyms
c019fa70 alloc_skb_Rdb69585e

I'm assured the kernel on the target is vanilla 2.4.20, so what could
cause the differences in version numbers?  Would the compiler make any
difference?  I'd rather not have to change the kernel on the target if
at all possible...

Thanks in advance,

Mike



From litinoveweedle  Tue Jul 15 02:35:55 2003
From: litinoveweedle (Litin)
Date: Tue, 15 Jul 2003 11:35:55 +0200
Subject: What about speed
In-Reply-To: <20030714151732.64819.qmail@web10407.mail.yahoo.com>
Message-ID: <000101c34ab4$7e5dc8b0$2604010a@CORE.CZ>

Hi,
Please do anybody know what should be transfer speed between clients on the
same AP?

I have few - 4 clients on AP, which are able to comunicate up to
500kBytes/sec but if i want comunicate between client speed will fall down
to 4-5kBytes/sec.

Iam using hostap 0.0.3 (last release - but not last csv snapshot.) Was there
similar speed problem is hostap previously? What should I try?

Thank for help

LTOW




From luca  Tue Jul 15 05:32:53 2003
From: luca (Luca)
Date: Tue, 15 Jul 2003 14:32:53 +0200
Subject: hiding ssid with DWL-650 
Message-ID: <5.1.0.14.2.20030715142536.00a42820@mail.olografix.org>


Hi everybody!

Please,could someone  tell me where i can find an updated firmware for 
dlink DWL-650?
i'd like to bring up ssid hiding, but i can't with my latest version  :)
Thanks for the support :D

Ciao :)
Luca Memini

neworder:/usr/src/linux# hostap_diag wlan0
Host AP driver diagnostics information for 'wlan0'

NICID: id=0x800c v1.0.0 (PRISM II (2.5) PCMCIA (SST parallel flash))
PRIID: id=0x0015 v1.0.7
STAID: id=0x001f v1.3.5 (station firmware)


-- -
- --->  L'artista si riconosce perche' a  differenza della gente
comune  e' riuscito a rimanere bambino - --=
______________________________________________
Home avaible: http://www.cuore.org
PGP Public Key available: http://www.cuore.org



From jupo  Tue Jul 15 06:26:50 2003
From: jupo (JUPO)
Date: Tue, 15 Jul 2003 15:26:50 +0200
Subject: WL360F 1.7.4
Message-ID: <003901c34ad4$bfdd9d40$0303a8c0@jupo.sk>

Hi,

Im updating my firmware on WL360F ( from 1.4.9 to 1.7.4).
All works fine ;-) But i have problem.This message is in kernel/message/
log...
Its repeating every 2 seconds.
OS. linux mandrake 9.1 /kernel 2.4.21/ hostap 0.0.3
With frmware 1.4.9 its all OK /i mean log...etc/
Have anyone any idea, what with this?;-)
Whats is this message?

Thanks

JUPO

----------------
Jul 14 21:43:10 ns kernel: wlan0: dropped received packet from
00:60:b3:16:c1:10 with no ToDS flag (type=0x02, subtype=0x00)
Jul 14 21:43:10 ns kernel: wlan0: RX status=0x0000 (port=0, type=0,
fcserr=0) silence=0 signal=9 rate=110 rxflow=0; jiffies=45
Jul 14 21:43:10 ns kernel:    FC=0x0008 (type=2:0) dur=0x0000 seq=0x0780
data_len=58
Jul 14 21:43:10 ns kernel:    A1=ff:ff:ff:ff:ff:ff A2=00:60:b3:16:c1:10
A3=00:00:00:00:00:00 A4=00:00:00:00:00:00
Jul 14 21:43:10 ns kernel:    dst=ff:ff:ff:ff:ff:ff src=00:60:b3:16:c1:10
len=58
Jul 14 21:43:12 ns kernel: wlan0: dropped received packet from
00:60:b3:16:c1:10 with no ToDS flag (type=0x02, subtype=0x00)
Jul 14 21:43:12 ns kernel: wlan0: RX status=0x0000 (port=0, type=0,
fcserr=0) silence=0 signal=9 rate=110 rxflow=0; jiffies=46
Jul 14 21:43:12 ns kernel:    FC=0x0008 (type=2:0) dur=0x0000 seq=0x0ba0
data_len=58
Jul 14 21:43:12 ns kernel:    A1=ff:ff:ff:ff:ff:ff A2=00:60:b3:16:c1:10
A3=00:00:00:00:00:00 A4=00:00:00:00:00:00
Jul 14 21:43:12 ns kernel:    dst=ff:ff:ff:ff:ff:ff src=00:60:b3:16:c1:10
len=58
Jul 14 21:43:20 ns kernel: wlan0: dropped received packet from
00:60:b3:16:c1:10 with no ToDS flag (type=0x02, subtype=0x00)
Jul 14 21:43:20 ns kernel: wlan0: RX status=0x0000 (port=0, type=0,
fcserr=0) silence=0 signal=9 rate=110 rxflow=0; jiffies=46
Jul 14 21:43:20 ns kernel:    FC=0x0008 (type=2:0) dur=0x0000 seq=0x2150
data_len=58
Jul 14 21:43:20 ns kernel:    A1=ff:ff:ff:ff:ff:ff A2=00:60:b3:16:c1:10
A3=00:00:00:00:00:00 A4=00:00:00:00:00:00
Jul 14 21:43:20 ns kernel:    dst=ff:ff:ff:ff:ff:ff src=00:60:b3:16:c1:10
len=58
Jul 14 21:43:22 ns kernel: wlan0: dropped received packet from
00:60:b3:16:c1:10 with no ToDS flag (type=0x02, subtype=0x00)
Jul 14 21:43:22 ns kernel: wlan0: RX status=0x0000 (port=0, type=0,
fcserr=0) silence=0 signal=9 rate=110 rxflow=0; jiffies=47
Jul 14 21:43:22 ns kernel:    FC=0x0008 (type=2:0) dur=0x0000 seq=0x24c0
data_len=58
Jul 14 21:43:22 ns kernel:    A1=ff:ff:ff:ff:ff:ff A2=00:60:b3:16:c1:10
A3=00:00:00:00:00:00 A4=75:3c:68:74:74:70
Jul 14 21:43:22 ns kernel:    dst=ff:ff:ff:ff:ff:ff src=00:60:b3:16:c1:10
len=58
-----------------
Jul 14 21:36:09 ns kernel: hostap_pci: 0.0.3 - 2003-05-18 (Jouni Malinen
<jkmaline at cc.hut.fi>)
Jul 14 21:36:09 ns kernel: PCI: Found IRQ 11 for device 00:08.0
Jul 14 21:36:09 ns kernel: PCI: Sharing IRQ 11 with 00:0c.0
Jul 14 21:36:09 ns kernel: hostap_pci: Registered netdevice wlan0
Jul 14 21:36:09 ns kernel: wlan0: NIC: id=0x8013 v1.0.0
Jul 14 21:36:09 ns kernel: wlan0: PRI: id=0x15 v1.1.1
Jul 14 21:36:09 ns kernel: wlan0: STA: id=0x1f v1.7.4
Jul 14 21:36:09 ns kernel: wlan0: Intersil Prism2.5 PCI: mem=0xe9004000,
irq=11




From hostap  Tue Jul 15 06:41:19 2003
From: hostap (Andreas Grosse)
Date: Tue, 15 Jul 2003 15:41:19 +0200
Subject: Using hostap in medium- to big-sized installations?
Message-ID: <20030715134119.GA6445@armageddon.rot13.de>

Hi,

I was wondering about how well a hostap-driven Access Point could handle
many users and high traffic load. Real-life experiences wanted!

So if you have a wireless network with 5-20, 20-50 or even more clients
all using your hostap AP(s), it would be nice to report your success
stories as well as the problems and limitations.

Thanks,
        andreas



From xfesty  Tue Jul 15 06:51:32 2003
From: xfesty (Ryan Verner)
Date: Tue, 15 Jul 2003 23:21:32 +0930
Subject: Using hostap in medium- to big-sized installations?
In-Reply-To: <20030715134119.GA6445@armageddon.rot13.de>
References: <20030715134119.GA6445@armageddon.rot13.de>
Message-ID: <20030715135132.M98356@computeraddictions.com.au>

Hiya,

> So if you have a wireless network with 5-20, 20-50 or even more clients
> all using your hostap AP(s), it would be nice to report your success
> stories as well as the problems and limitations.

I've tested hostap with ~15 clients - as long as clients wern't doing anything
major to each other, it all ran pretty fine.  If a few clients started
simultaneously transferring files to each other, everything would go to shite
(simultaneous client->ap transfers didn't seem to affect much apart from
bandwidth).

Mind you, this is with July 2002 snapshot.  I've personally had nothing *but*
troubles with 0.0.3 for high node/outdoor stuff, apart from indoor connections
(I'm using 0.0.3 right now with an internal antannae and one client, and it's
fine).

R

> Thanks,
>         andreas
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap


--
Open WebMail Project (http://openwebmail.org)



From jupo  Tue Jul 15 06:17:57 2003
From: jupo (JUPO)
Date: Tue, 15 Jul 2003 15:17:57 +0200
Subject: WL360F
References: <5.1.0.14.2.20030715142536.00a42820@mail.olografix.org>
Message-ID: <000801c34ad3$81fb70c0$0303a8c0@jupo.sk>

Hi,

Im updating my firmware on WL360F ( from 1.4.9 to 1.7.4).
All works fine ;-) But i have problem.This message is in kernel/message/
log...
Its repeating every 2 seconds.
OS. linux mandrake 9.1 /kernel 2.4.21/ hostap 0.0.3
With frmware 1.4.9 its all OK /i mean log...etc/
Have anyone any idea, what with this?;-)
Whats is this message?

Thanks

JUPO

----------------
Jul 14 21:43:10 ns kernel: wlan0: dropped received packet from
00:60:b3:16:c1:10 with no ToDS flag (type=0x02, subtype=0x00)
Jul 14 21:43:10 ns kernel: wlan0: RX status=0x0000 (port=0, type=0,
fcserr=0) silence=0 signal=9 rate=110 rxflow=0; jiffies=45
Jul 14 21:43:10 ns kernel:    FC=0x0008 (type=2:0) dur=0x0000 seq=0x0780
data_len=58
Jul 14 21:43:10 ns kernel:    A1=ff:ff:ff:ff:ff:ff A2=00:60:b3:16:c1:10
A3=00:00:00:00:00:00 A4=00:00:00:00:00:00
Jul 14 21:43:10 ns kernel:    dst=ff:ff:ff:ff:ff:ff src=00:60:b3:16:c1:10
len=58
Jul 14 21:43:12 ns kernel: wlan0: dropped received packet from
00:60:b3:16:c1:10 with no ToDS flag (type=0x02, subtype=0x00)
Jul 14 21:43:12 ns kernel: wlan0: RX status=0x0000 (port=0, type=0,
fcserr=0) silence=0 signal=9 rate=110 rxflow=0; jiffies=46
Jul 14 21:43:12 ns kernel:    FC=0x0008 (type=2:0) dur=0x0000 seq=0x0ba0
data_len=58
Jul 14 21:43:12 ns kernel:    A1=ff:ff:ff:ff:ff:ff A2=00:60:b3:16:c1:10
A3=00:00:00:00:00:00 A4=00:00:00:00:00:00
Jul 14 21:43:12 ns kernel:    dst=ff:ff:ff:ff:ff:ff src=00:60:b3:16:c1:10
len=58
Jul 14 21:43:20 ns kernel: wlan0: dropped received packet from
00:60:b3:16:c1:10 with no ToDS flag (type=0x02, subtype=0x00)
Jul 14 21:43:20 ns kernel: wlan0: RX status=0x0000 (port=0, type=0,
fcserr=0) silence=0 signal=9 rate=110 rxflow=0; jiffies=46
Jul 14 21:43:20 ns kernel:    FC=0x0008 (type=2:0) dur=0x0000 seq=0x2150
data_len=58
Jul 14 21:43:20 ns kernel:    A1=ff:ff:ff:ff:ff:ff A2=00:60:b3:16:c1:10
A3=00:00:00:00:00:00 A4=00:00:00:00:00:00
Jul 14 21:43:20 ns kernel:    dst=ff:ff:ff:ff:ff:ff src=00:60:b3:16:c1:10
len=58
Jul 14 21:43:22 ns kernel: wlan0: dropped received packet from
00:60:b3:16:c1:10 with no ToDS flag (type=0x02, subtype=0x00)
Jul 14 21:43:22 ns kernel: wlan0: RX status=0x0000 (port=0, type=0,
fcserr=0) silence=0 signal=9 rate=110 rxflow=0; jiffies=47
Jul 14 21:43:22 ns kernel:    FC=0x0008 (type=2:0) dur=0x0000 seq=0x24c0
data_len=58
Jul 14 21:43:22 ns kernel:    A1=ff:ff:ff:ff:ff:ff A2=00:60:b3:16:c1:10
A3=00:00:00:00:00:00 A4=75:3c:68:74:74:70
Jul 14 21:43:22 ns kernel:    dst=ff:ff:ff:ff:ff:ff src=00:60:b3:16:c1:10
len=58
-----------------
Jul 14 21:36:09 ns kernel: hostap_pci: 0.0.3 - 2003-05-18 (Jouni Malinen
<jkmaline at cc.hut.fi>)
Jul 14 21:36:09 ns kernel: PCI: Found IRQ 11 for device 00:08.0
Jul 14 21:36:09 ns kernel: PCI: Sharing IRQ 11 with 00:0c.0
Jul 14 21:36:09 ns kernel: hostap_pci: Registered netdevice wlan0
Jul 14 21:36:09 ns kernel: wlan0: NIC: id=0x8013 v1.0.0
Jul 14 21:36:09 ns kernel: wlan0: PRI: id=0x15 v1.1.1
Jul 14 21:36:09 ns kernel: wlan0: STA: id=0x1f v1.7.4
Jul 14 21:36:09 ns kernel: wlan0: Intersil Prism2.5 PCI: mem=0xe9004000,
irq=11



From tusonnguyen  Sat Jul 12 09:26:20 2003
From: tusonnguyen (Tuson Nguyen)
Date: Sat, 12 Jul 2003 16:26:20 +0000
Subject: Hostap and PPP interface
Message-ID: <Law10-F74PM1EhXTwpb000035d0@hotmail.com>

Dear all,

My hostap is running OK but PPP interface does not show up. My configuration 
is:
Linux Suse 8.2
Hostap 0.0.3
Wireless tool 26
Netgear PCI card running on an AMD-duron machine.
eth0 pointing to my LAN
CAPI card for DSL.

What I did was:
- Install Suse 8.2
- make oldconfig to generate .config file.
- Edit .config file to change KERNELRELEASE to VERSION.PATCHLEVEL.SUBLEVEL 
(for example 2.4.20) as SUSE would make it 2.4.20-4GB-duron and hostap 
doesnot like it)
- make the new kernel and install it
- make and install new modules to /lib/modules/2.4.20
- reboot with the new kernel.
- make and install hostap_pci
- make and install wirelesstool

then modprobe hostap_pci would run OK and I can do all the ifconfig and 
iwconfig with wlan0 without problem. But now I want to go online so I set up 
my DSL interface to be CAPI for ADSL. At booting, dsl0 interface will show 
up, and smpppd starts OK, but I can not see ppp0 with ifconfig. It was all 
OK if I run the original kernel without hostap.

I check the .config file and CONFIG_ISDN was set to m.

Did I make mistake some where or I missed out something? Your help is 
appreciated.

Happy wirelessing!

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail



From jkmaline  Tue Jul 15 07:03:35 2003
From: jkmaline (Jouni Malinen)
Date: Tue, 15 Jul 2003 17:03:35 +0300
Subject: WL360F 1.7.4
In-Reply-To: <003901c34ad4$bfdd9d40$0303a8c0@jupo.sk>
References: <003901c34ad4$bfdd9d40$0303a8c0@jupo.sk>
Message-ID: <20030715140335.GA3565@jm.kir.nu>

On Tue, Jul 15, 2003 at 03:26:50PM +0200, JUPO wrote:

> All works fine ;-) But i have problem.This message is in kernel/message/
> log...
> Its repeating every 2 seconds.
> With frmware 1.4.9 its all OK /i mean log...etc/
> Have anyone any idea, what with this?;-)

Do you mean that you get these messages only with new firmware version?
This should not depend on firmware version..

> Jul 14 21:43:10 ns kernel: wlan0: dropped received packet from
> 00:60:b3:16:c1:10 with no ToDS flag (type=0x02, subtype=0x00)
> Jul 14 21:43:10 ns kernel: wlan0: RX status=0x0000 (port=0, type=0,
> fcserr=0) silence=0 signal=9 rate=110 rxflow=0; jiffies=45
> Jul 14 21:43:10 ns kernel:    FC=0x0008 (type=2:0) dur=0x0000 seq=0x0780
> data_len=58
> Jul 14 21:43:10 ns kernel:    A1=ff:ff:ff:ff:ff:ff A2=00:60:b3:16:c1:10
> A3=00:00:00:00:00:00 A4=00:00:00:00:00:00

That looks like a broadcast frame from a pseudo-adhoc network operating
on the same (or neighboring) channel. It should be just silently
dropped, but Host AP driver used to report those. The latest CVS
snapshot from http://hostap.epitest.fi/ should not report these anymore.

-- 
Jouni Malinen                                            PGP id EFC895FA



From proski  Tue Jul 15 12:25:33 2003
From: proski (Pavel Roskin)
Date: Tue, 15 Jul 2003 15:25:33 -0400 (EDT)
Subject: hiding ssid with DWL-650 
In-Reply-To: <5.1.0.14.2.20030715142536.00a42820@mail.olografix.org>
References: <5.1.0.14.2.20030715142536.00a42820@mail.olografix.org>
Message-ID: <Pine.LNX.4.56.0307151518010.13651@marabou.research.att.com>

On Tue, 15 Jul 2003, Luca wrote:

> Please,could someone  tell me where i can find an updated firmware for
> dlink DWL-650?
[snip]
> NICID: id=0x800c v1.0.0 (PRISM II (2.5) PCMCIA (SST parallel flash))
> PRIID: id=0x0015 v1.0.7
> STAID: id=0x001f v1.3.5 (station firmware)

For updating under Windows:
http://www.station-server.com/downloads/wu3842-1.7.4.zip

1.3.5 is one of the most buggy firmwares I've ever seen, except the
ancient 0.7.6.

-- 
Regards,
Pavel Roskin



From proski  Tue Jul 15 12:34:32 2003
From: proski (Pavel Roskin)
Date: Tue, 15 Jul 2003 15:34:32 -0400 (EDT)
Subject: Searching Firmware for NICID: id=0x8003
In-Reply-To: <20030701093348.GA2305@puettmann.net>
References: <20030701093348.GA2305@puettmann.net>
Message-ID: <Pine.LNX.4.56.0307151532460.13651@marabou.research.att.com>

On Tue, 1 Jul 2003, Ruben Puettmann wrote:

> NICID: id=0x8003 v1.0.0 (HWB3163 Rev B, Samsung PC Card Rev. B)
> PRIID: id=0x0015 v0.3.0
> STAID: id=0x001f v0.8.3 (station firmware)
>
> All images I have found doesn't contain NICID: id=0x8003

For flashing: http://www.red-bean.com/~proski/firmware/1.4.9.tar.gz
(you need s1010409.hex)

For RAM download: http://www.red-bean.com/~proski/firmware/1.7.1.tar.gz

-- 
Regards,
Pavel Roskin



From igouta  Wed Jul 16 03:00:59 2003
From: igouta (=?iso-8859-1?q?Ilyes=20Gouta?=)
Date: Wed, 16 Jul 2003 12:00:59 +0200 (CEST)
Subject: Flashing prism2 PCI cards ...
Message-ID: <20030716100059.65226.qmail@web41506.mail.yahoo.com>

Hi everybody !

I have an intersil prism2 Wi-Fi based card w/ primary
firmware 0.3.0 and secondary firmware 0.8.3. (yeah..
this is too old). I searched across the available
updates and found that the only upgradable version,
supported by my hardware, is 1.3.6. The distribution
comes with two files : the primary and the secondary
update hex files. The problem is that only the
secondary firmware 1.3.6 is usable. WinUpdate return a
version mismatch for the primary firmware (my NICID is
8002). Is it possible to update only the secondary
firmware and keep the old evil big bloating primary
firmware ? Is there any risk for my card to become
unusable ?

Tks in advance !

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais !
Yahoo! Mail : http://fr.mail.yahoo.com



From hick.hostap  Wed Jul 16 03:22:48 2003
From: hick.hostap (gARetH baBB)
Date: Wed, 16 Jul 2003 11:22:48 +0100 (BST)
Subject: Flashing prism2 PCI cards ...
In-Reply-To: <20030716100059.65226.qmail@web41506.mail.yahoo.com>
References: <20030716100059.65226.qmail@web41506.mail.yahoo.com>
Message-ID: <Pine.LNX.4.53.0307161118300.30022@stum.gink.org>

On Wed, 16 Jul 2003, [iso-8859-1] Ilyes Gouta wrote:

> I have an intersil prism2 Wi-Fi based card w/ primary firmware 0.3.0 and
> secondary firmware 0.8.3. (yeah.. this is too old). I searched across
> the available updates and found that the only upgradable version,
> supported by my hardware, is 1.3.6. The distribution comes with two
> files : the primary and the secondary update hex files. The problem is
> that only the secondary firmware 1.3.6 is usable. WinUpdate return a
> version mismatch for the primary firmware (my NICID is 8002).

There is 1.4.9 flash and 1.7.1 ram available for 8002.

Pavel's link for 1.7.1 was the previous post to yours ...

Plenty of links in the archives for sources of 1.4.9 flash.

> Is it possible to update only the secondary firmware and keep the old
> evil big bloating primary firmware ?

Yes, there is no later primary firmware for your NICID.



From piotrdab  Wed Jul 16 03:31:42 2003
From: piotrdab (=?iso-8859-2?Q?Piotr_D=B1browski?=)
Date: Wed, 16 Jul 2003 12:31:42 +0200
Subject: Format firmware
Message-ID: <007a01c34b85$8d23e7e0$0a01a8c0@pc207>

Hi!



I'm trying to repair my Compaq WL100 card with erased CIS part of firmware.
To do this, I need a file with dump of hole firmware from working card. This
dump should be done by WinUpdate program (I know, that it works).
Unfortunately, I only have dumpfile done by flash.exe program (DOS) and it's
format differ from dumpfile done by WinUpdate.



WinUpdate dumpfile looks like this:



S315007E0000006490FF00F720FE006491FF01F720FE5A

S315007E0010006492FF02F720FE006493FF03F720FE42

S315007E0020006494FF04F720FE006495FF05F720FE2A

S315007E0030006496FF06F720FE006497FF0A043044AC

etc.



And flash.exe dump file looks like this:



3e0000: 6400,ff90,f720,fe20,6400,ff91,f721,fe20

3e0010: 6400,ff92,f722,fe20,6400,ff93,f723,fe20

3e0020: 6400,ff94,f724,fe20,6400,ff95,f725,fe20

3e0030: 6400,ff96,f726,fe20,6400,ff97,0403,6084

3e0040: 781f,ffff,6084,7826,ffff,ffff,ffff,ffff

3e0050: ffff,ffff,ffff,ffff,ffff,ffff,ffff,ffff

3e0060: ffff,ffff,ffff,ffff,ffff,ffff,ffff,ffff

etc.



I have a question: is there any chance to change format of flash.exe file to

WinUpdate file format?



Thank You in advance!
Best, best, regards
Piotr Dabrowski

Ps. Sorry for my poor english




From piotrdab  Wed Jul 16 03:36:21 2003
From: piotrdab (=?iso-8859-2?Q?Piotr_D=B1browski?=)
Date: Wed, 16 Jul 2003 12:36:21 +0200
Subject: Format firmware
References: <007a01c34b85$8d23e7e0$0a01a8c0@pc207>
Message-ID: <009301c34b86$1bc10000$0a01a8c0@pc207>

Hi again!

Sorry! Subject should be: "Format of firmware files".

Piotr



From mohit  Wed Jul 16 03:56:05 2003
From: mohit (Mohit Bajpai)
Date: Wed, 16 Jul 2003 16:26:05 +0530
Subject: Exact location of STA with respect to AP
Message-ID: <000c01c34b87$844e54a0$f009030a@mahindrabt.com>

Hi,
    I would like to know whether it is possible to get the exact location of the STA with respect to the AP it is associated to. if yes, then how to find out the exact location?
any help will be highly appreciated.

Thanks and regards,
Mohit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030716/947a2fe7/attachment.htm 


From thomas  Wed Jul 16 03:58:45 2003
From: thomas (Thomas Rulmont)
Date: Wed, 16 Jul 2003 12:58:45 +0200
Subject: Exact location of STA with respect to AP
In-Reply-To: <000c01c34b87$844e54a0$f009030a@mahindrabt.com>
Message-ID: <200307161134.DAA60928@archimedes.shmoo.com>

What do you mean by exact location ?
Is it the physical location in the space ?

-----Original Message-----
From: "Mohit Bajpai" <mohit at mahindrabt.com>
To: <hostap at shmoo.com>
Date: Wed, 16 Jul 2003 16:26:05 +0530
Subject: Exact location of STA with respect to AP

> Hi,
>     I would like to know whether it is possible to get the exact
> location of the STA with respect to the AP it is associated to. if yes,
> then how to find out the exact location?
> any help will be highly appreciated.
> 
> Thanks and regards,
> Mohit
> 




From sits  Wed Jul 16 05:37:27 2003
From: sits (Sitsofe Wheeler)
Date: 16 Jul 2003 13:37:27 +0100
Subject: Cross compiling hostap
In-Reply-To: <20030715084100.GR1215@ecs.soton.ac.uk>
References: <20030715084100.GR1215@ecs.soton.ac.uk>
Message-ID: <1058359047.1482.9.camel@subsub.caederus.com>

On Tue, 2003-07-15 at 09:41, Mike Saywell wrote:
> Hi all,
> 
> I'm trying to compile hostap on one machine for use on another, but I'm
> having problems with missing symbols, module versions in particular seem
> to be giving me grief.
Did you overide/set all the Makefile variables (CC, AS, LD, CC, CPP, AR,
NM, STRIP, OBJCOPY, OBJDUMP) which control which version of the compiler
to use? Did you change the KERNEL_PATH variable to point to the
configured and compiled kernel for the target machine? Did you use the
same CFLAGS as the ones used on the target machine's kernel?



From akots  Wed Jul 16 07:10:15 2003
From: akots (Achilleas Kotsis)
Date: Wed, 16 Jul 2003 17:10:15 +0300
Subject: how to patch your ram-download firmware image to allow more
	channels
References: <20030623202550.GA23128@orion.toppoint.de>
Message-ID: <003101c34ba3$ffc52b10$fb822f0a@achille.awmn>

Tested on Prism2 PCMCIA Card, firmware 1.7.1, works like a charm.
Thank you very much, we live in Greece and have many Prism FCC cards with 11
channels, Greece follows ETSI regulations (13 channels).
If you have any suggestions in patching Windows drivers or flash firmware,
they would be most welcome.

Achilleas Kotsis a.k.a. Achille
Webpage: http://www.cslab.ntua.gr/~akots/
Athens Wireless Metropolitan Network: http://www.awmn.gr/
-- "whois awk?", sed Grep --



From lgelo  Wed Jul 16 08:42:36 2003
From: lgelo (Lubomir Gelo)
Date: Wed, 16 Jul 2003 17:42:36 +0200
Subject: hostapd and WLAN_STA_PERM
Message-ID: <20030716154236.GA12797@devil.cnc.sk>

I've noticed that hostapd daemon doesn't honour permanent station
configuration flag WLAN_STA_PERM. When the station is deauthenticated
permanent encryption keys are deleted. Hostapd in fact doesn't care 
about kernel driver STA flags. Possible solutions:

1) New ioctl PRISM2_HOSTAPD_GET_FLAGS and checking for WLAN_STA_PERM in 
   ap_handle_timer (sta_info.c). That's what we're using at the moment.
   Will send the patch if desired.

2) Format of accept_mac_file could be modified to hold static keys and
   hostapd will set keys upon authentication. Modification should (and
   will) be backward compatible. Eventually special file could be used.

3) Such functionality isn't desired and we will continue to patch our
   version.

LG

-- 
It is right to believe in a need to be free.



From litinoveweedle  Wed Jul 16 08:59:34 2003
From: litinoveweedle (Litin)
Date: Wed, 16 Jul 2003 17:59:34 +0200
Subject: Invalid Wireless Event (0x8C03)
Message-ID: <001101c34bb3$41333510$2604010a@CORE.CZ>

Hello, please do anybody know what:

 Invalid Wireless Event (0x8C03)

on hostap in Master mode mean?

I just copy my Linux distribution, which is working perfectly on one
machine, to the new HW (with same WiFi card - Zcomax XI-626 with same fw
1.5.6) and when (I think) client is authetificated I get this message.

What can be wrong?

Thanks.

Litin




From lgelo  Wed Jul 16 08:59:54 2003
From: lgelo (Lubomir Gelo)
Date: Wed, 16 Jul 2003 17:59:54 +0200
Subject: [PATCH] hostapd PID
Message-ID: <20030716155954.GB12797@devil.cnc.sk>

Hostapd daemon doesn't create PID file. Since we often use 2 or even 
4 daemons, one for each wireless interface it's nice to know PID 
without greping through ps output. Using one daemon for more interfaces 
is out of question. Patch is enclosed.

LG

-------------- next part --------------
diff -urN hostapd-snapshot.orig/hostapd/config.c hostapd-snapshot/hostapd/config.c
--- hostapd-snapshot.orig/hostapd/config.c	2003-05-09 17:54:09.000000000 +0200
+++ hostapd-snapshot/hostapd/config.c	2003-05-14 11:02:34.000000000 +0200
@@ -214,6 +214,8 @@
 			conf->dump_log_name = strdup(pos);
 		} else if (strcmp(buf, "daemonize") == 0) {
 			conf->daemonize = atoi(pos);
+		} else if (strcmp(buf, "pid_file") == 0) {
+			conf->pid_file_name = strdup(pos);
 		} else if (strcmp(buf, "ssid") == 0) {
 			conf->ssid_len = strlen(pos);
 			if (conf->ssid_len >= HOSTAPD_SSID_LEN ||
@@ -396,6 +397,7 @@
 		return;
 
 	free(conf->dump_log_name);
+	free(conf->pid_file_name);
 	free(conf->eap_req_id_text);
 	free(conf->accept_mac);
 	free(conf->deny_mac);
diff -urN hostapd-snapshot.orig/hostapd/config.h hostapd-snapshot/hostapd/config.h
--- hostapd-snapshot.orig/hostapd/config.h	2003-05-07 06:38:47.000000000 +0200
+++ hostapd-snapshot/hostapd/config.h	2003-05-14 10:58:56.000000000 +0200
@@ -33,6 +33,8 @@
 	char *dump_log_name; /* file name for state dump (SIGUSR1) */
 	int daemonize; /* fork into background */
 
+	char *pid_file_name;
+
 	int ieee802_1x; /* use IEEE 802.1X */
 	int minimal_eap; /* test version of EAP authentication that only
 			  * requires EAP Response-Identity and authorizes any
diff -urN hostapd-snapshot.orig/hostapd/hostapd.c hostapd-snapshot/hostapd/hostapd.c
--- hostapd-snapshot.orig/hostapd/hostapd.c	2003-05-11 08:10:08.000000000 +0200
+++ hostapd-snapshot/hostapd/hostapd.c	2003-05-14 11:25:36.000000000 +0200
@@ -348,6 +348,9 @@
 	hostapd_acl_deinit(hapd);
 	radius_client_deinit(hapd);
 
+	if (hapd->conf->pid_file_name)
+	    unlink(hapd->conf->pid_file_name);
+
 	hostapd_config_free(hapd->conf);
 	hapd->conf = NULL;
 
@@ -522,6 +525,7 @@
 {
 	struct hapd_interfaces interfaces;
 	int ret = 1, i;
+	FILE *fp;
 	int c, debug = 0, daemonize = 0;
 
 	for (;;) {
@@ -572,10 +576,23 @@
 			goto out;
 	}
 
-	if (daemonize && daemon(0, 0)) {
-		perror("daemon");
-		goto out;
-	}
+
+ 	if (daemonize){
+ 		if (daemon(0, 0)) {
+ 	    		perror("daemon");
+ 			goto out;
+ 		}
+ 		
+		for (i = 0; i < interfaces.count; i++) {
+ 		    if ((fp=fopen(interfaces.hapd[i]->conf->pid_file_name,"w"))==NULL){
+ 			printf("Failed to create PID file %s\n", interfaces.hapd[i]->conf->pid_file_name);
+ 		    } else {
+ 			fprintf(fp, "%d\n", getpid());
+ 			fclose(fp);
+ 		    }
+ 		}
+
+	}
 
 	openlog("hostapd", 0, LOG_DAEMON);
 


From jkmaline  Wed Jul 16 09:00:30 2003
From: jkmaline (Jouni Malinen)
Date: Wed, 16 Jul 2003 19:00:30 +0300
Subject: hostapd and WLAN_STA_PERM
In-Reply-To: <20030716154236.GA12797@devil.cnc.sk>
References: <20030716154236.GA12797@devil.cnc.sk>
Message-ID: <20030716160029.GA30082@jm.kir.nu>

On Wed, Jul 16, 2003 at 05:42:36PM +0200, Lubomir Gelo wrote:

> 1) New ioctl PRISM2_HOSTAPD_GET_FLAGS and checking for WLAN_STA_PERM in 
>    ap_handle_timer (sta_info.c). That's what we're using at the moment.
>    Will send the patch if desired.

I don't think I would prefer this direction.. hostapd should have more
"authorative" information about stations than kernel driver and in most
cases I would like hostapd to configure the driver and if something
needs per station configuration, it should be in hostapd's
configuration.

> 2) Format of accept_mac_file could be modified to hold static keys and
>    hostapd will set keys upon authentication. Modification should (and
>    will) be backward compatible. Eventually special file could be used.

I would move this to a separate files from the beginning.. This
modification should also take into account default(broadcast) WEP key
configuration and IEEE 802.1X. In other words, it should be possible for
the user of hostapd to configure static default keys and have hostapd
send them out for IEEE 802.1X-enabled stations to allow co-existance of
IEEE 802.1X stations and stations that do not support IEEE 802.1X, but
can use static WEP keys.

> 3) Such functionality isn't desired and we will continue to patch our
>    version.

There is certainly use for this kind of functionality, but I would like
to do it in a way which makes it easy to update IEEE 802.1X code, too.

-- 
Jouni Malinen                                            PGP id EFC895FA



From judah  Wed Jul 16 09:49:39 2003
From: judah (Aaron Baer)
Date: 16 Jul 2003 09:49:39 -0700
Subject: Intersil to bow out of WLAN biz]
Message-ID: <1058374178.4222.21.camel@localhost.localdomain>

-----Forwarded Message-----
> From: Nigel Ballard <nigel at joejava.com>
> To: 'PTPGeneralList' <general at lists.personaltelco.net>
> Subject: [ptp-general] Intersil to bow out of WLAN biz
> Date: 16 Jul 2003 08:32:55 -0700
> 
> WLAN chip maker Intersil has become the first major casualty of the battle
> to dominate the crowded Wi-Fi silicon market. Today it said it will sell its
> WLAN chip business to DSL chip specialist Globespan Virata for $365 million
> in cash and shares. 
> 
> Intersil is one of the best-known WLAN chip companies and has been in the
> market for more than five years. But as demand for Wi-Fi products has
> ballooned, it has had to face many new competitors, almost all of them based
> in the Far East and choosing to compete on price. 
> 
> So Globespan will get the WNPG, while Intersil will focus exclusively on its
> analog products. The Analog Product Groups are "approaching a $500 million
> annual revenue run rate", said Beyer, who also noted that the business grew
> by more than ten per cent during the first half of the year compared to the
> same period in 2002. 
> 
> Intersil's WNPG employs around 300 people in design, sales, marketing and
> applications development, all of whom will become Globespan workers.
> Intersil's Prism branded products and the intellectual property they embody
> will be transferred to Globespan too. 
> 
> http://www.theregister.co.uk/content/69/31775.html
> 
> Nigel Ballard
> nigel at joejava.com
> www.joejava.com
>    

-- 
----
Aaron Baer
judah at opusnet.com
http://www.cat.pdx.edu/~baera/



From jt  Wed Jul 16 09:50:23 2003
From: jt (Jean Tourrilhes)
Date: Wed, 16 Jul 2003 09:50:23 -0700
Subject: Invalid Wireless Event (0x8C03)
Message-ID: <20030716165023.GA27316@bougret.hpl.hp.com>

Litin wrote :
> Hello, please do anybody know what:
> 
>  Invalid Wireless Event (0x8C03)

	The kernel and the driver were compiled with different version
of Wireless Extensions. You driver is compiled with v15, and the
kernel with v14.

	Jean



From proski  Wed Jul 16 09:57:54 2003
From: proski (Pavel Roskin)
Date: Wed, 16 Jul 2003 12:57:54 -0400 (EDT)
Subject: how to patch your ram-download firmware image to allow more
 channels
In-Reply-To: <003101c34ba3$ffc52b10$fb822f0a@achille.awmn>
References: <20030623202550.GA23128@orion.toppoint.de>
 <003101c34ba3$ffc52b10$fb822f0a@achille.awmn>
Message-ID: <Pine.LNX.4.56.0307161243290.2080@marabou.research.att.com>

On Wed, 16 Jul 2003, Achilleas Kotsis wrote:

> Tested on Prism2 PCMCIA Card, firmware 1.7.1, works like a charm.
> Thank you very much, we live in Greece and have many Prism FCC cards with 11
> channels, Greece follows ETSI regulations (13 channels).
> If you have any suggestions in patching Windows drivers or flash firmware,
> they would be most welcome.

You should change two word in the PDA - regulatory domain and allowed
channels.  HostAP doesn't allow dumping PDA yet, so you can get
linux-wlan-ng (http://www.linux-wlan.com/) and use prism2dl
(http://www.red-bean.com/~proski/prism2dl/) to dump PDA using the "-g"
option.

The find the like that has 0x0103 in the second position and change the
number in the fourth position (which is normally 0x0010 - FCC) to 0x0030 -
ETSI.  The line that has 0x0104 in the second position should have 0x1fff
in the third position - it means that channels 1-13 are allowed.

For my card, the diff would be following:

$ diff before after
7,8c7,8
< 0x0007, 0x0103, 0x0001, 0x0010, 0x0000, 0x0000, 0x0000, 0x0000,
< 0x0002, 0x0104, 0x07ff,
---
> 0x0007, 0x0103, 0x0001, 0x0030, 0x0000, 0x0000, 0x0000, 0x0000,
> 0x0002, 0x0104, 0x1fff,

Flash the PDA using prism2dl.  You may also need to flash secondary
firmware unless you are going to always use downloadable firmware.

I don't know about Windows, but this page may be helpful:
http://www.frars.org.uk/cgi-bin/render.pl?pageid=1109

Still, it's better to preserve your PDA and just patch it than to
overwrite it completely.  If you can dump your PDA, try finding those
numbers and changing them.

-- 
Regards,
Pavel Roskin



From jsun  Wed Jul 16 10:12:04 2003
From: jsun (Jun Sun)
Date: Wed, 16 Jul 2003 10:12:04 -0700
Subject: Flashing prism2 PCI cards ...
In-Reply-To: <20030716100059.65226.qmail@web41506.mail.yahoo.com>
References: <20030716100059.65226.qmail@web41506.mail.yahoo.com>
Message-ID: <20030716171204.GA26809@gateway.junsun.net>


You may find the prism chip flashing how-to useful.

http://linux.junsun.net/intersil-prism

Ju

On Wed, Jul 16, 2003 at 12:00:59PM +0200, Ilyes Gouta wrote:
> Hi everybody !
> 
> I have an intersil prism2 Wi-Fi based card w/ primary
> firmware 0.3.0 and secondary firmware 0.8.3. (yeah..
> this is too old). I searched across the available
> updates and found that the only upgradable version,
> supported by my hardware, is 1.3.6. The distribution
> comes with two files : the primary and the secondary
> update hex files. The problem is that only the
> secondary firmware 1.3.6 is usable. WinUpdate return a
> version mismatch for the primary firmware (my NICID is
> 8002). Is it possible to update only the secondary
> firmware and keep the old evil big bloating primary
> firmware ? Is there any risk for my card to become
> unusable ?
> 
> Tks in advance !
> 
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais !
> Yahoo! Mail : http://fr.mail.yahoo.com
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap



From hostap  Wed Jul 16 10:21:41 2003
From: hostap (Wilfried Klaebe)
Date: Wed, 16 Jul 2003 19:21:41 +0200
Subject: how to patch your ram-download firmware image to allow more
	channels
In-Reply-To: <20030623202550.GA23128@orion.toppoint.de>
References: <20030623202550.GA23128@orion.toppoint.de>
Message-ID: <20030716172141.GA18731@orion.toppoint.de>

Am Mon, Jun 23, 2003 at 10:25:50PM +0200 schrieb Wilfried Klaebe:

I just realized I an error in my howto... 

It says there:

> Change to FF2F (channels 1 to 13), subtract 0x10 from checksum at end
> of line (8A) =>

which is wrong, since the bitmask for channels 1 to 13 is in fact FF1F,
while FF2F would be channels 1 to 12 plus 14.

So, for ETSI areas, where channels 1 to 13 are allowed, just delete
the PDR line and leave the FF1F alone. For areas with all 14 channels
allowed, the next paragraph applies nevertheless:

> Of course, you could also change that data to FF3F, allowing all 14
> channels (which would be against regulations). Don't forget to change
> the checksum by 0x20 then...

This should work for both types of firmware, ram-download as well as flash.
For flash, I am not sure if you can read PDR 0104 afterwards.

regards, Wilfried
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20030716/203a99b6/attachment.pgp 


From hostap  Wed Jul 16 10:22:25 2003
From: hostap (Wilfried Klaebe)
Date: Wed, 16 Jul 2003 19:22:25 +0200
Subject: how to patch your ram-download firmware image to allow more
	channels
In-Reply-To: <003101c34ba3$ffc52b10$fb822f0a@achille.awmn>
References: <20030623202550.GA23128@orion.toppoint.de>
	<003101c34ba3$ffc52b10$fb822f0a@achille.awmn>
Message-ID: <20030716172225.GA18635@orion.toppoint.de>

Am Wed, Jul 16, 2003 at 05:10:15PM +0300 schrieb Achilleas Kotsis:
> Tested on Prism2 PCMCIA Card, firmware 1.7.1, works like a charm.
> Thank you very much, we live in Greece and have many Prism FCC cards with 11
> channels, Greece follows ETSI regulations (13 channels).
> If you have any suggestions in patching Windows drivers or flash firmware,
> they would be most welcome.

Flash firmware should work exactly the same way.

regards, Wilfried
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20030716/1c4bb41c/attachment.pgp 


From ishwar  Wed Jul 16 10:51:25 2003
From: ishwar (Ishwar Ramani)
Date: Wed, 16 Jul 2003 10:51:25 -0700 (PDT)
Subject: where to get old STA f/w versions 0.7.6 and 0.8.0
Message-ID: <Pine.GSO.4.32.0307161049260.123-100000@gradlab.ucsd.edu>

hi,
I have been looking for the old firmware versions and could not locate
them. Can someone point out the link where these versions are available?
Or if u have it could you forward it to me?

ishwar



From f6hqz  Wed Jul 16 11:25:45 2003
From: f6hqz (Francois BERGERET)
Date: Wed, 16 Jul 2003 20:25:45 +0200
Subject: Invalid Wireless Event (0x8C03)
In-Reply-To: <001101c34bb3$41333510$2604010a@CORE.CZ>
Message-ID: <LEEMLOMCOLGDFKOEHKDPIEAJDMAA.f6hqz@easyconnect.fr>

Hi Litin,

I am using Bering V1.2 in a Soekris and a Z-com pc-card and I get the same event when somebody connect the AP.
I don't know why but this seems ok and doesn't block anything.

To be continued ?

Best Regards,
Francois BERGERET,
France.

> -----Message d'origine-----
> De : hostap-bounces at shmoo.com [mailto:hostap-bounces at shmoo.com]De la part de Litin
> Envoy? : mercredi 16 juillet 2003 18:00
> A : hostap at shmoo.com
> Objet : Invalid Wireless Event (0x8C03)
>
>
> Hello, please do anybody know what:
>
>  Invalid Wireless Event (0x8C03)
>
> on hostap in Master mode mean?
>
> I just copy my Linux distribution, which is working perfectly on one
> machine, to the new HW (with same WiFi card - Zcomax XI-626 with same fw
> 1.5.6) and when (I think) client is authetificated I get this message.
>
> What can be wrong?
>
> Thanks.
>
> Litin
>
>
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>



From proski  Wed Jul 16 11:30:18 2003
From: proski (Pavel Roskin)
Date: Wed, 16 Jul 2003 14:30:18 -0400 (EDT)
Subject: where to get old STA f/w versions 0.7.6 and 0.8.0
In-Reply-To: <Pine.GSO.4.32.0307161049260.123-100000@gradlab.ucsd.edu>
References: <Pine.GSO.4.32.0307161049260.123-100000@gradlab.ucsd.edu>
Message-ID: <Pine.LNX.4.56.0307161421570.3440@marabou.research.att.com>

On Wed, 16 Jul 2003, Ishwar Ramani wrote:

> hi,
> I have been looking for the old firmware versions and could not locate
> them. Can someone point out the link where these versions are available?
> Or if u have it could you forward it to me?

I put them here:
http://www.red-bean.com/~proski/firmware/0.x.x.tar.gz

Included is flashable secondary firmware for Prism2, versions 0.6.2,
0.7.6, 0.8.2 and 0.8.3.

-- 
Regards,
Pavel Roskin



From holthoef  Wed Jul 16 15:10:56 2003
From: holthoef (=?iso-8859-1?Q?=22Holth=F6fer=2C_Bastian=22?=)
Date: Thu, 17 Jul 2003 00:10:56 +0200
Subject: hiding SSID
Message-ID: <B82805232870D448862B25266567D22601FA24AB@EXSTORE1.zdv.uni-mainz.de>

Dear Jouni!

Thanks a lot for your answer!
Due to my restricted time I tried your workaround to hide the ssid and did not recompile the driver. 

> or run 'iwpriv wlan0 reset 2' after setting enh_sec as a
> workaround.


I am really sorry that resetting the card after disabling ssid-broadcast did not force the ap to hide the ssid in the beacons (tested by WindowsXP).
In a few days maybe I will compile the latest CVS and hopefully disable ssid-broadcasting then.
Which firmware did u use to successfully disable ssid-broadcasts? IMHO is the only available (to public) firmware 1.7.4. Can you send me an link where I can also download the 1.7.1 (you mentioned this particular version)?

Thank you in advance!


Best wishes...

Bastian Holthoefer



From skull  Wed Jul 16 10:02:46 2003
From: skull (Maxx)
Date: Wed, 16 Jul 2003 20:02:46 +0300
Subject: Orinoco Ethernet Converter
Message-ID: <3F158536.9010803@uzhgorod.ukrsat.com>

Can anybody tell me how i have to configure Orinoco ethernet converter 
to work with HostAP driver(Prism2.5) in AP mode?



From sardana  Thu Jul 17 00:49:51 2003
From: sardana (Bobby Sardana)
Date: Thu, 17 Jul 2003 00:49:51 -0700
Subject: Senao 2511 CD - Flash Primary & Secondary - Problems
Message-ID: <3F16551F.8060402@obsoft.com>

Greetings all,

I have read the document:

http://linux.junsun.net/intersil-prism

and am flashing firmaware of Senao 2511 CD:

NIC: id=0x800c v1.0.0
PRI: id=0x15   v1.1.0
STA: id=0x1f   v1.4.9

to:

Primary:    1.1.1 (PK010101.hex)
Secondary:  1.7.4 (SF010704.hex)

using the WinUpdate utility (0.7.0). I am able to add both the firmware 
files in WinUpdate and it finds the right driver. However, when I click 
on continue, and during the writing phase, the following error is 
displayed by WinUpdate:

"Error Programming Block. Continue anyway?"

I selected "No" to stop the update. Any clues why this is happening?

Thank you.

with regards,

Bobby Sardana.
sardana at obsoft.com





From mpolak  Thu Jul 17 00:34:50 2003
From: mpolak (Martin Polak)
Date: Thu, 17 Jul 2003 09:34:50 +0200
Subject: Senao 2511 CD - Flash Primary & Secondary - Problems
In-Reply-To: <3F16551F.8060402@obsoft.com>
References: <3F16551F.8060402@obsoft.com>
Message-ID: <3F16519A.5090600@gup.jku.at>

Bobby Sardana wrote:
> Greetings all,
> 
> I have read the document:
> 
> http://linux.junsun.net/intersil-prism
> 
> and am flashing firmaware of Senao 2511 CD:
> 
> NIC: id=0x800c v1.0.0
> PRI: id=0x15   v1.1.0
> STA: id=0x1f   v1.4.9
> 
> to:
> 
> Primary:    1.1.1 (PK010101.hex)
> Secondary:  1.7.4 (SF010704.hex)
> 
> using the WinUpdate utility (0.7.0). I am able to add both the firmware 
> files in WinUpdate and it finds the right driver. However, when I click 
> on continue, and during the writing phase, the following error is 
> displayed by WinUpdate:
> 
> "Error Programming Block. Continue anyway?"
> 

Are you using the original Senao Driver?
I had similar problems when trying to flash from 1.4.9 to 1.5.6 using 
the drivers from Intersil.

Martin



From sardana  Thu Jul 17 01:45:27 2003
From: sardana (Bobby Sardana)
Date: Thu, 17 Jul 2003 01:45:27 -0700
Subject: Senao 2511 CD - Flash Primary & Secondary - Problems
References: <3F16551F.8060402@obsoft.com> <3F16519A.5090600@gup.jku.at>
Message-ID: <3F166227.5020104@obsoft.com>

Martin Polak wrote:
> Bobby Sardana wrote:
> 
>> http://linux.junsun.net/intersil-prism
>>
>> and am flashing firmaware of Senao 2511 CD:
>>
>> NIC: id=0x800c v1.0.0
>> PRI: id=0x15   v1.1.0
>> STA: id=0x1f   v1.4.9
>>
>> to:
>>
>> Primary:    1.1.1 (PK010101.hex)
>> Secondary:  1.7.4 (SF010704.hex)
>>
>> using the WinUpdate utility (0.7.0). I am able to add both the 
>> firmware files in WinUpdate and it finds the right driver. However, 
>> when I click on continue, and during the writing phase, the following 
>> error is displayed by WinUpdate:
>>
>> "Error Programming Block. Continue anyway?"
>>
> 
> Are you using the original Senao Driver?

I downloaded the WinXP driver from Senao site. Somehow the driver 
WLANCFG is in a language other than English.

> I had similar problems when trying to flash from 1.4.9 to 1.5.6 using 
> the drivers from Intersil.

The driver for XP on the Senao CD does not work for me. Was wondering 
where did you download the drivers from?

regards,

Bobby Sardana.
sardana at obsoft.com



From mpolak  Thu Jul 17 01:41:37 2003
From: mpolak (Martin Polak)
Date: Thu, 17 Jul 2003 10:41:37 +0200
Subject: Senao 2511 CD - Flash Primary & Secondary - Problems
In-Reply-To: <3F166227.5020104@obsoft.com>
References: <3F16551F.8060402@obsoft.com> <3F16519A.5090600@gup.jku.at>
	<3F166227.5020104@obsoft.com>
Message-ID: <3F166141.4020908@gup.jku.at>

Bobby Sardana wrote:

> The driver for XP on the Senao CD does not work for me. Was wondering 
> where did you download the drivers from?
> 
Hi!

I am not quite sure, but I think the ones from the Driver Cd. A trouble 
with XP is, that if you have ever forced it to use
other drivers than the supplied (like Intersils) it refuses to use the 
original ones again. So you might need to force it again
to the original ones, by not letting it search but specifying the right 
ones.

Martin



From lgelo  Thu Jul 17 05:05:32 2003
From: lgelo (Lubomir Gelo)
Date: 17 Jul 2003 14:05:32 +0200
Subject: hostapd and WLAN_STA_PERM
In-Reply-To: <20030716160029.GA30082@jm.kir.nu>
References: <20030716154236.GA12797@devil.cnc.sk>
	 <20030716160029.GA30082@jm.kir.nu>
Message-ID: <1058443532.15363.79.camel@devil.cnc.sk>

On Wed, 2003-07-16 at 18:00, Jouni Malinen wrote:
> > 2) Format of accept_mac_file could be modified to hold static keys and
> >    hostapd will set keys upon authentication. Modification should (and
> >    will) be backward compatible. Eventually special file could be used.
> 
> I would move this to a separate files from the beginning.. This
> modification should also take into account default(broadcast) WEP key
> configuration and IEEE 802.1X. In other words, it should be possible for
> the user of hostapd to configure static default keys and have hostapd
> send them out for IEEE 802.1X-enabled stations to allow co-existance of
> IEEE 802.1X stations and stations that do not support IEEE 802.1X, but
> can use static WEP keys.

Coexistence of 802.1x stations and static-WEP stations is my goal as
well. We need a file with at least default key and (optional) keys for
each non-802.1x station capable of using individual per-station keys. 
I would like to use trivial to create/parse file format. Something like:

<algo>	<STA HW address>	<key>		<key_id>

e.g.:

WEP	default			0011223344	2
WEP	01:02:03:04:05:06	s:sta1

For the 802.1x authorized stations both default and individual keys will
be distributed protected by session key. Keys for static WEP stations
will be set and deleted upon authentication. 

IMHO some new configuration switches are needed. Hostapd needs to be
told (at least): 

1) How to deal with static-WEP stations which don't have individual key
defined. I mean, when the station is allowed by ACL and isn't authorized
by 802.1x and doesn't have individual key what exactly hostapd should
do: disable port or use the default key? Think of it as of
  - "strict mode": everyone not listed in keyfile have to use 802.1x 
or 
  - "open mode": 802.1x is encouraged but static WEP key is sufficient.

2) Whether it should send accounting messages for non-802.1x stations.

There're more issues and things that need to be addressed. 

LG

PS: I'm forced to deploy this kind of functionality so I'm undertaking
the modification regardless if it will be accepted or not. Naturally I
prefer colaboration, sharing and want to contribute back to community.




From jsun  Thu Jul 17 10:28:48 2003
From: jsun (Jun Sun)
Date: Thu, 17 Jul 2003 10:28:48 -0700
Subject: Senao 2511 CD - Flash Primary & Secondary - Problems
In-Reply-To: <3F16551F.8060402@obsoft.com>
References: <3F16551F.8060402@obsoft.com>
Message-ID: <20030717172848.GB31151@gateway.junsun.net>

On Thu, Jul 17, 2003 at 12:49:51AM -0700, Bobby Sardana wrote:
> Greetings all,
> 
> I have read the document:
> 
> http://linux.junsun.net/intersil-prism
> 
> and am flashing firmaware of Senao 2511 CD:
> 
> NIC: id=0x800c v1.0.0
> PRI: id=0x15   v1.1.0
> STA: id=0x1f   v1.4.9
> 
> to:
> 
> Primary:    1.1.1 (PK010101.hex)
> Secondary:  1.7.4 (SF010704.hex)
> 
> using the WinUpdate utility (0.7.0). I am able to add both the firmware 
> files in WinUpdate and it finds the right driver. However, when I click 
> on continue, and during the writing phase, the following error is 
> displayed by WinUpdate:
> 
> "Error Programming Block. Continue anyway?"
> 
> I selected "No" to stop the update. Any clues why this is happening?
>

I heard quite a few complains about window based update.  If it works,
it is great.  If it does not work as expected, you can't anything
about it.

I like to hear more experience about using Linux-based
flashing update, i.e., using prsim2_dl or prsim2_srec.
If I get some clear clues, I think I am willing to try it out.

Jun



From lists-920516  Thu Jul 17 10:52:25 2003
From: lists-920516 (James Gemmell)
Date: Thu, 17 Jul 2003 18:52:25 +0100 (BST)
Subject: Exact location of STA with respect to AP
In-Reply-To: <000c01c34b87$844e54a0$f009030a@mahindrabt.com>
References: <000c01c34b87$844e54a0$f009030a@mahindrabt.com>
Message-ID: <16150.57945.84631.729406@sporan.dipalo.com>

>> On Wed, 16 Jul 2003 11:46:18 +0100, Mohit Bajpai
>> <mohit at mahindrabt.com> said:

> I would like to know whether it is possible to get the exact
>location of the STA with respect to the AP it is associated to. if
>yes, then how to find out the exact location?

I saw this article on /. shortly after your posting and it may be of
interest to you.

http://slashdot.org/article.pl?sid=03/07/16/0617241

Regards
James



From jzh  Thu Jul 17 12:36:35 2003
From: jzh (Jay Zhang)
Date: Thu, 17 Jul 2003 14:36:35 -0500
Subject: Senao 2511 CD - Flash Primary & Secondary - Problems
In-Reply-To: <3F16551F.8060402@obsoft.com>
References: <3F16551F.8060402@obsoft.com>
Message-ID: <3F16FAC3.7070004@yifan.net>

I had similar error from Winupdate with my Linksys WPC11 v3 (Prism 3).
nicid: 0x801b v1.0.0
priid: 0x15 v1.1.0
staid: 0x15 v1.4.2

Winupdate reports error, and if I continue, it will corrupt the firmware.

Turn off the "download" option in Windows driver will help Winupdate to 
detect the right firmware version.
( Intersil FAQ Answer ID 4122
http://www.intersil.com/rnwscripts/custfaq.cfg/php.exe/enduser/std_adp.php?p_sid=xKjz22Og&p_lva=3803&p_faqid=4122&p_created=1024513499&p_sp=cF9zcmNoPTEmcF9ncmlkc29ydD0mcF9yb3dfY250PTEzMCZwX3NlYXJjaF90ZXh0PWZpcm13YXJlJnBfc2VhcmNoX3R5cGU9MyZwX3Byb2RfbHZsMT03JnBfcHJvZF9sdmwyPX5hbnl_JnBfc29ydF9ieT1kZmx0JnBfcGFnZT0x&p_li= 
)

But I still got errors. Even the DOS based tool 0.3e doesn't work for 
me( http://www.hawkingtech.com/download/we110.exe ) .

The DOS tool v0.5 (http://home.eunet.cz/jt/wifi/ )
is the only tool that can updates my card (with option -3842)


You may have to try them by yourself.

Bobby Sardana wrote:
> Greetings all,
> 
> I have read the document:
> 
> http://linux.junsun.net/intersil-prism
> 
> and am flashing firmaware of Senao 2511 CD:
> 
> NIC: id=0x800c v1.0.0
> PRI: id=0x15   v1.1.0
> STA: id=0x1f   v1.4.9
> 
> to:
> 
> Primary:    1.1.1 (PK010101.hex)
> Secondary:  1.7.4 (SF010704.hex)
> 
> using the WinUpdate utility (0.7.0). I am able to add both the firmware 
> files in WinUpdate and it finds the right driver. However, when I click 
> on continue, and during the writing phase, the following error is 
> displayed by WinUpdate:
> 
> "Error Programming Block. Continue anyway?"
> 
> I selected "No" to stop the update. Any clues why this is happening?
> 
> Thank you.
> 
> with regards,
> 
> Bobby Sardana.
> sardana at obsoft.com
> 
> 
> 
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
> 
> 




From proski  Thu Jul 17 13:58:25 2003
From: proski (Pavel Roskin)
Date: Thu, 17 Jul 2003 16:58:25 -0400 (EDT)
Subject: Senao 2511 CD - Flash Primary & Secondary - Problems
In-Reply-To: <20030717172848.GB31151@gateway.junsun.net>
References: <3F16551F.8060402@obsoft.com>
	<20030717172848.GB31151@gateway.junsun.net>
Message-ID: <Pine.LNX.4.56.0307171646280.30625@marabou.research.att.com>

On Thu, 17 Jul 2003, Jun Sun wrote:

> I heard quite a few complains about window based update.  If it works,
> it is great.  If it does not work as expected, you can't anything
> about it.

I wrote to this list already that installing drivers for Linksys WPC11 2.5
helps on Windows 2000.  Also, flashing firmware to a card that has
firmware in RAM doesn't work.  If possible, this option should be turned
off in the drivers.

> I like to hear more experience about using Linux-based
> flashing update, i.e., using prsim2_dl or prsim2_srec.
> If I get some clear clues, I think I am willing to try it out.

prism2_srec cannot be used for flashing primary firmware.  The reason is
that after the primary firmware is loaded, the card cannot be initialized
by the HostAP driver, which is considered fatal and prevents loading the
secondary firmware.

linux-wlan-ng has a special state for firmware download, in which it
doesn't try to initialize the card.  I have successfully used prism2dl to
upgrade both primary and secondary firmware.

I have just released the new unofficial version of prism2dl.  It has some
additional sanity checks that should prevent flashing firmware meant for
RAM download.

However, hardware compatibility is still not checked, so it's still
possible to kill a Prism 2 card by flashing firmware for Prism 2.5.  The
necessary checks are quite complex.  It may be easier to fix primary
firmware download in prism2_srec.

Download prism2dl here: http://www.red-bean.com/~proski/prism2dl/

-- 
Regards,
Pavel Roskin



From david  Thu Jul 17 14:59:57 2003
From: david (David Levitan)
Date: Thu, 17 Jul 2003 17:59:57 -0400
Subject: Open WEP Mode and SMC 2532
In-Reply-To: <003f01c34148$919b2320$151e0a0a@stmantoniov>
References: <3F034CD2.9050507@dlevitan.com>
	<003f01c34148$919b2320$151e0a0a@stmantoniov>
Message-ID: <3F171C5D.8000902@dlevitan.com>

Hi,
I didn't get a chance to respond - was busy - but I've done some more 
testing. First - system specs - hostap v0.0.3, debian 3.0 testing, 
kernel 2.4.20, dual athlon 1600, and antec datachute PCI->PCMCIA bridge. 
I've tested with hostap v0.0.3 with both the SMC 2532 and a Proxim 
RangeLAN-DS. I've also updated the SMC to firmware 1.7.4/1.1.1. In all 
cases, setting "iwconfig wlan0 key s:test open" does not let clients 
without the WEP key associate. I have tried both a windows 2000 client 
with an SMC 2632 (PRISM2 PCMCIA card) and a linux client with an orinoco 
silver card. Neither worked. Any ideas on what could be happening? I 
will try grabbing the latest hostap CVS soon and will report my results 
when I get chance. This happens even when hostapd is not running and the 
key is set manually.
Thank you,
David


Antonio Vilei wrote:
> Hello,
> some important information is missing. What driver version are you using? If
> you are using v0.0.2 or later you should also post your "hostapd.conf" file.
> 
> Regards,
> Antonio
> 
> 
> ----- Original Message -----
> From: "David Levitan" <david at dlevitan.com>
> To: <hostap at shmoo.com>
> Sent: Wednesday, July 02, 2003 11:21 PM
> Subject: Open WEP Mode and SMC 2532
> 
> 
> 
>>Hi,
>>I'm trying to use 802.1x with an SMC 2532 (clone of Zcomax 325H). 802.1x
>>itself seems to work well until I enable wep (in the hostapd config
>>file). It seems open mode does not work on this card. If I enable open
>>mode manually with a key, it doesn't work either. However, if I set my
>>client (linux + orinoco_cs) to use encryption with the correct key, it
>>works correctly. I am wondering if there is anything I can do to get
>>open mode to work on this card. Let me know if more information is needed.
>>Thank you,
>>David Levitan
>>
>>_______________________________________________
>>HostAP mailing list
>>HostAP at shmoo.com
>>http://lists.shmoo.com/mailman/listinfo/hostap
>>
>>
> 
> 
> 




From sardana  Thu Jul 17 20:31:04 2003
From: sardana (Bobby Sardana)
Date: Thu, 17 Jul 2003 20:31:04 -0700
Subject: Senao 2511 CD - Flash Primary & Secondary - Problems
References: <3F16551F.8060402@obsoft.com> <3F16FAC3.7070004@yifan.net>
Message-ID: <3F1769F8.6090200@obsoft.com>

Hello Jay,

Jay Zhang wrote:
> 
> Turn off the "download" option in Windows driver will help Winupdate to 
> detect the right firmware version.
> ( Intersil FAQ Answer ID 4122
> http://www.intersil.com/rnwscripts/custfaq.cfg/php.exe/enduser/std_adp.php?p_sid=xKjz22Og&p_lva=3803&p_faqid=4122&p_created=1024513499&p_sp=cF9zcmNoPTEmcF9ncmlkc29ydD0mcF9yb3dfY250PTEzMCZwX3NlYXJjaF90ZXh0PWZpcm13YXJlJnBfc2VhcmNoX3R5cGU9MyZwX3Byb2RfbHZsMT03JnBfcHJvZF9sdmwyPX5hbnl_JnBfc29ydF9ieT1kZmx0JnBfcGFnZT0x&p_li= 
> )
> 

I followed the instructions as outlined in the URL and was able to flash 
the firmware.

Thank you and to everyone who responsed to my request.

regards,

Bobby Sardana.
sardana at obsoft.com



From gvisoc  Fri Jul 18 03:07:07 2003
From: gvisoc (Gabriel Viso Carrera)
Date: Fri, 18 Jul 2003 12:07:07 +0200
Subject: Help request in modifying the source code and getting sometechnical
 doc of the firmware
Message-ID: <3F17C6CB.3000502@yahoo.es>

Hello everybody

I am looking for a source of documentation about the latest firmware of 
the prism, about what it does and do not, in order to attempt sending 
some of the (P)CF frames modifying the HostAP source code. So I'd wish 
to make three questions:

    1.- Has anyone experimented something related? Does the firmware 
discard any attempt of sending those frames? If so, does all versions of 
the firmware perform this filtering?
    2.- Is it possible to get some technical documentation of the 
(latest) firmware? (Or better said, Is it (legally) available?)
    3.- Any advice about a start point in the source code to start 
modifying it (I have no experience in programming Kernel modules or 
drivers)?

Thanks for any help or comment about it.

Best regards.

Gabriel Viso Carrera.



From jzh  Fri Jul 18 13:34:16 2003
From: jzh (Jay Zhang)
Date: Fri, 18 Jul 2003 15:34:16 -0500
Subject: [Fwd: delay in adhoc mode]
Message-ID: <3F1859C8.9050401@yifan.net>



-------- Original Message --------
Subject: delay in adhoc mode
Date: Fri, 18 Jul 2003 15:30:32 -0500
From: Jiang Jay Zhang <jayzhcn at netscape.net>
To: hostap at shmoo.com

Hello,

I currently work on a research project that trying to use 802.11 for
very short communication period in adhoc mode, say finish the whole
communication session in 1 second. I choosed HostAP as the starting
point as it is relatively simple and its code is very clean.

We found that the association is fast (about 10ms), but a lot of time is
wasted on scanning(Probe Request and Response). Even we spicify the
channel and ssid with iwconfig. Is there any method to reduce the delay
of probe in adhoc mode? And we also noticed that there is a passive mode
of scanning in the 802.11 standard, but we don't know how to set it with
HostAP.

I will be grateful if anyone can provide some advise.

Thanks

Jay.





From jayzhcn  Fri Jul 18 13:30:32 2003
From: jayzhcn (Jiang Jay Zhang)
Date: Fri, 18 Jul 2003 15:30:32 -0500
Subject: delay in adhoc mode
Message-ID: <3F1858E8.9000501@netscape.net>

Hello,

I currently work on a research project that trying to use 802.11 for 
very short communication period in adhoc mode, say finish the whole 
communication session in 1 second. I choosed HostAP as the starting 
point as it is relatively simple and its code is very clean.

We found that the association is fast (about 10ms), but a lot of time is 
wasted on scanning(Probe Request and Response). Even we spicify the 
channel and ssid with iwconfig. Is there any method to reduce the delay 
of probe in adhoc mode? And we also noticed that there is a passive mode 
of scanning in the 802.11 standard, but we don't know how to set it with 
HostAP.

I will be grateful if anyone can provide some advise.

Thanks

Jay.



From proski  Fri Jul 18 13:52:10 2003
From: proski (Pavel Roskin)
Date: Fri, 18 Jul 2003 16:52:10 -0400 (EDT)
Subject: [Fwd: delay in adhoc mode]
In-Reply-To: <3F1859C8.9050401@yifan.net>
References: <3F1859C8.9050401@yifan.net>
Message-ID: <Pine.LNX.4.56.0307181642300.12849@marabou.research.att.com>

On Fri, 18 Jul 2003, Jay Zhang wrote:

> We found that the association is fast (about 10ms), but a lot of time is
> wasted on scanning(Probe Request and Response). Even we spicify the
> channel and ssid with iwconfig. Is there any method to reduce the delay
> of probe in adhoc mode? And we also noticed that there is a passive mode
> of scanning in the 802.11 standard, but we don't know how to set it with
> HostAP.

Maybe you should avoid 802.11 authentication and association completely.
One station could just monitor all packets and the other would send a
special packet with the required information in it.  That packet would be
selected and decrypted.

N-way handshakes are bound to be slow because 802.11 is based on collision
avoidance.  If you read the standard, you'll see that the stations have to
wait a lot to avoid jamming other stations.

Ideally, include extra data for forward error correction to reduce the
risk that the frame will need to be retransmitted.

Passive scanning is not going to help you - it's slow because the scanning
station doesn't request the response, but waits for beacons passively.

-- 
Regards,
Pavel Roskin



From jzh  Fri Jul 18 15:22:08 2003
From: jzh (Jay Zhang)
Date: Fri, 18 Jul 2003 17:22:08 -0500
Subject: [Fwd: delay in adhoc mode]
In-Reply-To: <Pine.LNX.4.56.0307181642300.12849@marabou.research.att.com>
References: <3F1859C8.9050401@yifan.net>
	<Pine.LNX.4.56.0307181642300.12849@marabou.research.att.com>
Message-ID: <3F187310.9080908@yifan.net>

Pavel,

Thanks a lot for the information.
Ideally, we would like to build a ad hoc system that all stations can 
receive and broadcast information. The security is not an issue here. It 
is very attractive if we can avoid authentication and association 
completely.
If I am right here, the firmware processes part of those frames ( We are 
using Prism2/3 based cards ), which is beyond our control.
One way I can think to achieve it is to put the card in Monitor mode 
first for listening and then switch back to ad hoc mode for 
broadcasting. But it looks awkward and I don't know if it will be fast 
enough as the information exchange should finish within several hundreds 
of milliseconds .

It will be great if you can give me some further advise or direct me to 
the right direction.

Thank you very much.

Jay.


Pavel Roskin wrote:

>Maybe you should avoid 802.11 authentication and association completely.
>One station could just monitor all packets and the other would send a
>special packet with the required information in it.  That packet would be
>selected and decrypted.
>
>N-way handshakes are bound to be slow because 802.11 is based on collision
>avoidance.  If you read the standard, you'll see that the stations have to
>wait a lot to avoid jamming other stations.
>
>Ideally, include extra data for forward error correction to reduce the
>risk that the frame will need to be retransmitted.
>
>Passive scanning is not going to help you - it's slow because the scanning
>station doesn't request the response, but waits for beacons passively.
>
>  
>




From proski  Fri Jul 18 15:35:03 2003
From: proski (Pavel Roskin)
Date: Fri, 18 Jul 2003 18:35:03 -0400 (EDT)
Subject: [Fwd: delay in adhoc mode]
In-Reply-To: <3F187310.9080908@yifan.net>
References: <3F1859C8.9050401@yifan.net>
	<Pine.LNX.4.56.0307181642300.12849@marabou.research.att.com>
	<3F187310.9080908@yifan.net>
Message-ID: <Pine.LNX.4.56.0307181825220.14157@marabou.research.att.com>

On Fri, 18 Jul 2003, Jay Zhang wrote:

> One way I can think to achieve it is to put the card in Monitor mode
> first for listening and then switch back to ad hoc mode for
> broadcasting. But it looks awkward and I don't know if it will be fast
> enough as the information exchange should finish within several hundreds
> of milliseconds .

I think you should be able to transmit frames in the monitor mode if you
fully prepare them without reliance on the driver.  The function to
transmit ready frames is called prism2_tx_80211().  You may be able to use
it from the userspace through the wlan0ap interface if you enable hostap
support.

-- 
Regards,
Pavel Roskin



From jkaba  Fri Jul 18 16:55:20 2003
From: jkaba (JAMES KABA)
Date: Fri, 18 Jul 2003 19:55:20 -0400
Subject: wireless stats in ad hoc mode
Message-ID: <3F1888E8.977C49E1@sarnoff.com>

I'm trying to get access to wireless stats while in ad hoc mode
(specifically, in ad hoc demo mode, but I can't get it to work either
way).

I'm trying to access the RSSI values via a call to
dev->get_wireless_stats from a kernel module...which is the same
function that gets called by iwconfig and when you cat
/proc/net/wireless.

When I all get_wireless_stats from my module, printks I added to the
hostap driver show me that the call to get_rid() for the COMMSQUALITY
returns a negative value.
If I look at the stats by catting /proc/net/wireless, the get_rid() call
in get_wireless_stats succeeds, but it always returns the same static
(wrong) values.

Am I doing something wrong?  This works with wvlan_cs and orinoco_cs.
I've only just looked into the hostap_cs drivers---is this functionality
disabled somewhere else in the driver when in ad hoc mode?

I'm currently using prism2.5 based cards with firmware p1.1.1 and s1.7.4

2.4.18 kernel, wireless extension v12, pcmcia_cs 3.2.1
hostap_cs driver v0.0.3

Any help you can give would be appreciated---I'd be happy enabling this
vi standard approaches or via a temporary driver hack.

Thanks,
Jim




From jkmaline  Fri Jul 18 22:33:45 2003
From: jkmaline (Jouni Malinen)
Date: Sat, 19 Jul 2003 08:33:45 +0300
Subject: [Fwd: delay in adhoc mode]
In-Reply-To: <Pine.LNX.4.56.0307181825220.14157@marabou.research.att.com>
References: <3F1859C8.9050401@yifan.net>
	<Pine.LNX.4.56.0307181642300.12849@marabou.research.att.com>
	<3F187310.9080908@yifan.net>
	<Pine.LNX.4.56.0307181825220.14157@marabou.research.att.com>
Message-ID: <20030719053345.GA3378@jm.kir.nu>

On Fri, Jul 18, 2003 at 06:35:03PM -0400, Pavel Roskin wrote:

> I think you should be able to transmit frames in the monitor mode if you
> fully prepare them without reliance on the driver.  The function to
> transmit ready frames is called prism2_tx_80211().  You may be able to use
> it from the userspace through the wlan0ap interface if you enable hostap
> support.

I would not recommend using monitor mode for any "normal operation".
Some cards might not ACK frames in this mode, etc. If the goal is to
avoid auth/assoc latency, using pseudo-IBSS mode could be another
alternative. At least with old Lucent cards, pseudo adhoc mode did not
use auth/assoc at all, it just started using IBSS
(BSSID=00:00:00:00:00:00) immediately. One just needed to set STAs on
the same channel and that's it.. I haven't tested Prism2 pseudo IBSS
mode that much, but I would assume that it has similar behavior.

-- 
Jouni Malinen                                            PGP id EFC895FA



From lukic  Fri Jul 18 23:37:14 2003
From: lukic (Lukic)
Date: Sat, 19 Jul 2003 08:37:14 +0200
Subject: [Fwd: delay in adhoc mode]
References: 	<3F1859C8.9050401@yifan.net><Pine.LNX.4.56.0307181642300.12849@marabou.research.att.com><3F187310.9080908@yifan.net><Pine.LNX.4.56.0307181825220.14157@marabou.research.att.com>
	<20030719053345.GA3378@jm.kir.nu>
Message-ID: <005b01c34dc0$3bef3d60$fe00000a@magnet.sk>

I have tested it fot more than one week and it's the speedest mode even for
transfer data, but only when there is no high noise. Jay, i think it's what
you are looking for. Just type prism2_param wlanx preudo_ibss 1 on all
machines. They will not scan other channels, just run on that you specified
with iwconfig.

Lukic

N49? 02,40' E19? 43,07'
----- Original Message -----
From: Jouni Malinen <jkmaline at cc.hut.fi>
To: <hostap at shmoo.com>
Sent: Saturday, July 19, 2003 7:33 AM
Subject: Re: [Fwd: delay in adhoc mode]


> On Fri, Jul 18, 2003 at 06:35:03PM -0400, Pavel Roskin wrote:
>
> > I think you should be able to transmit frames in the monitor mode if you
> > fully prepare them without reliance on the driver.  The function to
> > transmit ready frames is called prism2_tx_80211().  You may be able to
use
> > it from the userspace through the wlan0ap interface if you enable hostap
> > support.
>
> I would not recommend using monitor mode for any "normal operation".
> Some cards might not ACK frames in this mode, etc. If the goal is to
> avoid auth/assoc latency, using pseudo-IBSS mode could be another
> alternative. At least with old Lucent cards, pseudo adhoc mode did not
> use auth/assoc at all, it just started using IBSS
> (BSSID=00:00:00:00:00:00) immediately. One just needed to set STAs on
> the same channel and that's it.. I haven't tested Prism2 pseudo IBSS
> mode that much, but I would assume that it has similar behavior.
>
> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap



From n.akhtar  Sun Jul 20 06:34:45 2003
From: n.akhtar (Nadeem Akhtar)
Date: Sun, 20 Jul 2003 14:34:45 +0100 (BST)
Subject: Authentication with wvlan_cs client
Message-ID: <Pine.GSO.4.50.0307201429160.3937-100000@pisa.ee.surrey.ac.uk>


Hi,
 I want to authenticate a wireless supplicant using the wvlan_cs driver.
When I try to do the same, I get the following message from HostAP:

Data frame with no RFC1024 header

This happens whenever the supplicant sends an Identity-Response message.
Can anyone please tell me whats happening here and are there any fixes
available for this ?

Regards,
Nadeem


Nadeem Akhtar
Centre for Comm. Systems Research
University of Surrey
Guildford, Surrey GU2 7XH
United Kingdom

Tel (CCSR) : 01483-683605



From vaidehi_30  Sun Jul 20 15:46:13 2003
From: vaidehi_30 (Vaidehi Kasarekar)
Date: Sun, 20 Jul 2003 15:46:13 -0700 (PDT)
Subject: association req - to inject
Message-ID: <20030720224613.22956.qmail@web41413.mail.yahoo.com>

Hello all,

I am using Libradiate and have configured HostAP in a
client mode. I am trying out the "inject" demo. of the
Libradiate package.

As mentioned in the README file, i have compiled
hostap_cs with PRISM2_MONITOR_PACKET_INJECT defined in
prism2.c and prism2_config.h. (I was not sure where to
define it.)

I am trying to inject an association request thr one
of my clients, on my wireless lan and  dump the
packets again on the base-station. Ideally i should be
able to see the injected "association request".

However, i cannot see the injected frame in the dumped
packets.

I understand that some cards cannot monitor and send
the packets at the same time. So my NIC is set to
monitor mode 1, and i am using tethereal on the
basestation.

Here is the kernel.log for that:
>>>> iwpriv wlan0 monitor 1
Jul 20 17:28:30 vaidehi kernel: Disabling monitor mode
Jul 20 17:28:30 vaidehi kernel: wlan0: INFO -
fid=0x024f - len=2 type=0xf200
Jul 20 17:28:30 vaidehi kernel:   LinkStatus=2
(Disconnected)
Jul 20 17:28:30 vaidehi kernel: wlan0: INFO -
fid=0x03f7 - len=2 type=0xf200
Jul 20 17:28:30 vaidehi kernel:   LinkStatus=1
(Connected)

>> ./inject 2

After timeout, my kernel.log shows:
Jul 20 17:33:22 vaidehi kernel: wlan0: TXEXC -
fid=0x0426 - status=0x0001 ([RetryErr])
tx_control=000c
Jul 20 17:33:22 vaidehi kernel:    retry_count=0
tx_rate=0 fc=0x0908 (Data::0)
Jul 20 17:33:22 vaidehi kernel:   
addr1=00:02:2d:0d:fc:5b addr2=00:04:e2:1e:10:1d
addr3=00:90:27:8f:0a:85
Jul 20 17:33:46 vaidehi kernel: no SNAP?
(e0:e0:03:ff:ff:00)
Jul 20 17:33:48 vaidehi last message repeated 3 times
Jul 20 17:34:02 vaidehi kernel: no SNAP?
(f0:f0:03:2c:00:ff)

Here: addr1 is my bssid, and addr2 is my source NIC.
According to the README file, prism2.o will show an
RetryErr (i.e., no ACK received and retry limit
exceeded
My destination (addr2) is an accesspoint, wherein i am
injecting an association request from my mac id to the
access point.
Why wont the AP give ACK back? Any clues???

The changes My inject.c are:

char assoc[] = { 0x00, 0x00, /* capability information
*/
                         0x01, 0x00, /* listen
interval */
                         0x00, 0x0f, 'W', 'a', 'v',
'e', 'L', 'A', 'N', ' ', 'N', 'e', 't', 'w', 'o', 'r',
'k', '1',/* SSID */
                         0x01, 0x04, 0x82, 0x84, 0x0b,
0x16 /* supported rates
                                                      
      */
//As the ssid is not TEST but WaveLAN Network1.

Other changes are:
	/* DA */
	tx.addr1[0] = 0xff;
        tx.addr1[1] = 0xff;
        tx.addr1[2] = 0xff;
        tx.addr1[3] = 0xff;
        tx.addr1[4] = 0xff;
        tx.addr1[5] = 0xff;

	/* addr2 = SA */
        tx.addr2[0] = 0x00;
        tx.addr2[1] = 0x04;
        tx.addr2[2] = 0xe2;
        tx.addr2[3] = 0x1e;
        tx.addr2[4] = 0x10;
        tx.addr2[5] = 0x1d;        

	/* BSSID */
        tx.addr3[0] = 0x00;
        tx.addr3[1] = 0x02;
        tx.addr3[2] = 0x2d;
        tx.addr3[3] = 0x0d;
        tx.addr3[4] = 0xfc;
        tx.addr3[5] = 0x5b;

Y cant i see any injected packet?

Any help will be really appreciated
Thanks
-Vaidehi

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



From imp  Sun Jul 20 19:38:08 2003
From: imp (imp)
Date: Mon, 21 Jul 2003 11:38:08 +0900
Subject: inactivity check in Station mode
Message-ID: <KEECLLIPMFCFLJKFNEKOGEFMCDAA.imp@airlinktek.com>

Dear hostap people...		

Today I found some stranger operation in hostap

When I run two hostap, one is AP mode  the other is Station mode.

As you know, hostap (AP) mode always polling the STA activity check using ap_handle_timer function in sta_info.c
but the station mode hostap does not ack for this request..  So, AP always disassociation the station mode hostap.

Are there anyone have idle to prevent it or ack to hostap AP from Station mode hostap ? 

Thanks in advance	

Regards !!



From jzh  Sun Jul 20 21:46:08 2003
From: jzh (Jay Zhang)
Date: Mon, 21 Jul 2003 00:46:08 -0400
Subject: [Fwd: delay in adhoc mode]
In-Reply-To: <005b01c34dc0$3bef3d60$fe00000a@magnet.sk>
References: 	<3F1859C8.9050401@yifan.net><Pine.LNX.4.56.0307181642300.12849@marabou.research.att.com><3F187310.9080908@yifan.net><Pine.LNX.4.56.0307181825220.14157@marabou.research.att.com>
	<20030719053345.GA3378@jm.kir.nu> <005b01c34dc0$3bef3d60$fe00000a@magnet.sk>
Message-ID: <3F1B7010.7030405@yifan.net>

Thanks for all those helpful responses, I really appreciate it very much.
The pseudo ad-hoc mode (Pseudo-IBSS mode, PIM) looks very promising.

Based on some on-line search I have done, my understandings are listed 
in the following, please feel free to correct me if anything is not right:

1. The BSSID will be all zeros.
2. There is no distributed beaconing mechanism
3. As long as the cards on the same channel and within the radio range,
  all the cards can hear each other. There is no separate cells at the
  link layer.
4. A card in PIM will not send out any management frames (Probe
  request/response, beacon, authentication, deauthentication, ATIM,
  association request/response, reassociation request/response,
  disassociation)

5. A card in PIM will still send ACK for received management frames 
(not sure).
The further question is: what is the impact on the nearby 802.11 IBSS
  communication?

6. Are the Control frames the same as those in 802.11?

7. How do the two cards in PIM set up the communication? Because these 
is no beacon, how does the sender find out the destination MAC address?
  Does it mean that most of the messages are broadcasted to the current
  channel and the IP layer decide whether it should "receive" the data?

8.How does a card know if there is other card around, and what is the 
collision avoid mechanism?  Is it the same as other mode (802.11 way)?

9.As there is no management frame any more, how does a card know some
basic physical layer stuffs such as the rate?

I guess Intersil may have more info about PIM in their "driver 
developer's manual". But it seems that they do not response to manual
requests anymore. :(

Thanks.




From lukic  Sun Jul 20 23:47:18 2003
From: lukic (Lukic)
Date: Mon, 21 Jul 2003 08:47:18 +0200
Subject: [Fwd: delay in adhoc mode]
References: 	<3F1859C8.9050401@yifan.net><Pine.LNX.4.56.0307181642300.12849@marabou.research.att.com><3F187310.9080908@yifan.net><Pine.LNX.4.56.0307181825220.14157@marabou.research.att.com><20030719053345.GA3378@jm.kir.nu>
	<005b01c34dc0$3bef3d60$fe00000a@magnet.sk> <3F1B7010.7030405@yifan.net>
Message-ID: <00a201c34f54$2147b2e0$fe00000a@magnet.sk>

> 1. The BSSID will be all zeros.
> 2. There is no distributed beaconing mechanism
> 3. As long as the cards on the same channel and within ....
> 4. A card in PIM will not send out any management ......

that's true

> 5. A card in PIM will still send ACK for received management frames
> (not sure).
> The further question is: what is the impact on the nearby 802.11 IBSS
>   communication?

I tested it yesterday and 802.11 IBSS won in getting bandwidth, this means,
that i ran flood ping on both connections and thanks to 802.11 IBSS retry on
corrupted packets, this connection after a short time got all of bandwidth
and pseudo IBSS connection had lost it :-( This was the state with 1450byte
packet flood. So you will need clear channel or very strong signal or send
very small packets.

> 6. Are the Control frames the same as those in 802.11?

I think that there are none.

> 7. How do the two cards in PIM set up the communication? Because these
> is no beacon, how does the sender find out the destination MAC address?
>   Does it mean that most of the messages are broadcasted to the current
>   channel and the IP layer decide whether it should "receive" the data?

Yes, it's like classic cable ethernet.

> 8.How does a card know if there is other card around, and what is the
> collision avoid mechanism?  Is it the same as other mode (802.11 way)?

My measurements are saying, that there is no CA mechanism :-( All have on
manage TCP/IP protocol

> 9.As there is no management frame any more, how does a card know some
> basic physical layer stuffs such as the rate?

It sends on rate you set and try to decode every rate, but sometimes this is
in troubles, so i recomend to set the same rate on every card.


Lukic

N49? 02,40' E19? 43,07'





From admin  Mon Jul 21 02:23:18 2003
From: admin (vincent demarquez)
Date: Mon, 21 Jul 2003 11:23:18 +0200 (CEST)
Subject: usb wlan adapter
Message-ID: <32794.192.168.168.4.1058779398.squirrel@www.estei.ath.cx>


hi
i recetly bought a sitecom package which contain a pcmcia wlan card and an
usb wlan adapter.
My question is:
Is it possible to run hostap on the usb adapter and what is th process to
do this.
thanks for answering quickly cause if it is impossible i have 1 day to
return the package to store.
bye

-- 
*********************
 Vincent DEMARQUEZ
Administrateur system
          Ecole ESTEI
Ingenieur Certifi? RedHat
mail: admin at estei.fr
ou admin at estei.ath.cx
**********************



From chetan  Sat Jul 19 01:26:07 2003
From: chetan (Chetan Kumar)
Date: Sat, 19 Jul 2003 13:56:07 +0530 (IST)
Subject: Vendor list 
Message-ID: <Pine.LNX.4.21.0307191352290.30910-100000@protocol.ece.iisc.ernet.in>

Hi All,
	Can someone let me know the latest list of wlan vendors(also may
be card product ID) that are supported by the Host AP drivers.

Thanks for your help

Chetan S
Research Student
ECE, IISc, INDIA.
-- 



From sardana  Mon Jul 21 09:05:04 2003
From: sardana (Bobby Sardana)
Date: Mon, 21 Jul 2003 09:05:04 -0700
Subject: Vendor list
References: <Pine.LNX.4.21.0307191352290.30910-100000@protocol.ece.iisc.ernet.in>
Message-ID: <3F1C0F30.1020703@obsoft.com>

Greetings Chetan,

Chetan Kumar wrote:
> 	Can someone let me know the latest list of wlan vendors(also may
> be card product ID) that are supported by the Host AP drivers.

Try the following:

http://www.seattlewireless.net/index.cgi/HardwareComparison

regards,

Bobby Sardana.
sardana at obsoft.com



From jt  Mon Jul 21 10:10:02 2003
From: jt (Jean Tourrilhes)
Date: Mon, 21 Jul 2003 10:10:02 -0700
Subject: wireless stats in ad hoc mode
Message-ID: <20030721171002.GA4613@bougret.hpl.hp.com>

JAMES KABA wrote :
> 
> I'm trying to get access to wireless stats while in ad hoc mode
> (specifically, in ad hoc demo mode, but I can't get it to work either
> way).

	You will need to use iwspy. Unfortunately for you, with the
HostAP driver iwspy functionality is only available with WE-16 (which
means spending time with the patches on my web page).
	Good luck...

	Jean



From nsvsnandan  Mon Jul 21 14:47:26 2003
From: nsvsnandan (nandan nsvs)
Date: Mon, 21 Jul 2003 14:47:26 -0700 (PDT)
Subject: client signal strength
Message-ID: <20030721214726.93095.qmail@web14208.mail.yahoo.com>

Hi everybody,

I am writing  a program at the socket layer at the
HostAP access point.For my program i need to know the
client signal strength .Based on the signal strentgh 
the program  has to makes decisions.So is it possible
to know client signal strength in the HostAP.If
possible how do u get that client signal strength.

Thanks ,
nandan
  

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



From jkaba  Mon Jul 21 15:18:41 2003
From: jkaba (JAMES KABA)
Date: Mon, 21 Jul 2003 18:18:41 -0400
Subject: wireless stats in ad hoc mode
Message-ID: <3F1C66C1.81550344@sarnoff.com>

Jean Tourrilhes wrote:
>>
>> I'm trying to get access to wireless stats while in ad hoc mode
>> (specifically, in ad hoc demo mode, but I can't get it to work either

>> way).

>        You will need to use iwspy. Unfortunately for you, with the
> HostAP driver iwspy functionality is only available with WE-16 (which
> means spending time with the patches on my web page).
>       Good luck...
...well, iswpy alone doesn't do it since I currently need access to the
stats from a kernel module via a call to dev->get_wireless_stats()
call.  In any case, I temporarily kludged some code to suit my short
term needs (it looks like a car wreck between wireless_spy and
get_wireless_stats)

....but the question reamins:
  why would get_rid(....COMMSQUALITY...) not return valid data...?

Jim





From shripad_n  Tue Jul 22 02:00:32 2003
From: shripad_n (shripad_n)
Date: Tue, 22 Jul 2003 14:30:32 +0530
Subject: Help to understand the driver.
Message-ID: <200307220913.OAA18131@WS0005.indiatimes.com>

Hi,
i am a newbie on this list. 
Can any one point me to some docs. so that i can understand the code fast.

regards
Shripad


Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com

 Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com

Bid for for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to http://airsahara.indiatimes.com and Bid Now !



From shripad_n  Tue Jul 22 02:00:44 2003
From: shripad_n (shripad_n)
Date: Tue, 22 Jul 2003 14:30:44 +0530
Subject: Help to understand the driver.
Message-ID: <200307220913.OAA18232@WS0005.indiatimes.com>

Hi,
i am a newbie on this list. 
Can any one point me to some docs. so that i can understand the code fast.

regards
Shripad


Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com

 Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com

Bid for for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to http://airsahara.indiatimes.com and Bid Now !


Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com

 Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com

Bid for for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to http://airsahara.indiatimes.com and Bid Now !



From merlin  Tue Jul 22 04:11:39 2003
From: merlin (Christian Zoffoli)
Date: Tue, 22 Jul 2003 13:11:39 +0200
Subject: FYI PrismGT driver
Message-ID: <3F1D1BEB.2040806@studiobz.it>

http://ruslug.rutgers.edu/~mcgrof/802.11g/



From doug  Tue Jul 22 08:30:55 2003
From: doug (Doug Yeager)
Date: Tue, 22 Jul 2003 11:30:55 -0400
Subject: driver bug - prism2_transmit()
Message-ID: <001f01c35066$55fdab80$0200a8c0@DOUG1>

Just fired up hostap 0.0.3 on my new net4511 soekris.
Keep getting card resets w/ this message.  Eventually the card fail to
re-initialize.

I have a cvs build from about a month or six weeks ago.

Anybody know what this means and how to fix it?
Thx,
doug



wlan0: 00:80:c8:b6:ee:af auth_cb - STA authenticated
wlan0: 00:80:c8:b6:ee:af assoc_cb - STA associated
arpreply uses obsolete (PF_INET,SOCK_PACKET)
device wlan0 entered promiscuous mode
wlan0: driver bug - prism2_transmit() called when previous TX was
pending
wlan0: prism2_tx - to BAP0 failed
wlan0: scheduled card reset
hostap_cs: wlan0: resetting card
prism2_pccard_cor_sreset: original COR 41
prism2_hw_init()
wlan0: prism2_tx: hw not ready - skipping
prism2_hw_init: initialized in 19678 iterations




From proski  Tue Jul 22 08:32:37 2003
From: proski (Pavel Roskin)
Date: Tue, 22 Jul 2003 11:32:37 -0400 (EDT)
Subject: Merging HostAP into Linux 2.6
Message-ID: <Pine.LNX.4.56.0307221118240.21638@marabou.research.att.com>

Hello!

I remember it was discussed that HostAP could be merged into the Linux
kernel.  Now Linux is in the 2.6.0-test series, it may be last chance to
push HostAP, or we won't see it in 2.6 series.

I'm using HostAP on all wireless systems I maintain (both APs and
stations) except experimental and development systems where I test other
drivers.  I switched all stations from orinoco_cs to HostAP so that I can
load more reliable firmware into Prism 2 cards.  HostAP is really the best
option now for Prism 2 cards.

It could be argued that HostAP has a lot of userspace code that still
needs to be maintained separately.  Bot the same applies to other projects
like ALSA, and this didn't prevent the kernel part of ALSA from getting
into the kernel.

Care should be taken not to allow building orinoco_pci and hostap_pci in
the same time if at least one is linked into the kernel.  The same applies
to the PLX versions.  But again, it's not uncommon to have more than one
driver for the same devices.  Think of two UHCI drivers in 2.4 kernels or
two drivers for Intel's EtherExpressPro/100.

-- 
Regards,
Pavel Roskin



From jkmaline  Tue Jul 22 08:56:30 2003
From: jkmaline (Jouni Malinen)
Date: Tue, 22 Jul 2003 08:56:30 -0700
Subject: Merging HostAP into Linux 2.6
In-Reply-To: <Pine.LNX.4.56.0307221118240.21638@marabou.research.att.com>
References: <Pine.LNX.4.56.0307221118240.21638@marabou.research.att.com>
Message-ID: <20030722155630.GA3300@jm.kir.nu>

On Tue, Jul 22, 2003 at 11:32:37AM -0400, Pavel Roskin wrote:

> I remember it was discussed that HostAP could be merged into the Linux
> kernel.  Now Linux is in the 2.6.0-test series, it may be last chance to
> push HostAP, or we won't see it in 2.6 series.

It looks like this is not going to happen for 2.6 series. As far as I
can see, Host AP driver would be ready for this, but Jeff Garzik seems
to require that own WEP implementation (hostap_crypt_wep) would be
replaced with one that is using CryptoAPI. However, current CryptoAPI
does not support stream ciphers which would be required for this.

I did start looking into this some time ago, but most probably I will
not have enough time to finish this (and this is not exactly my top
priority, since hostap_crypt_wep is already working fine). Unless the
requirement about the use of CryptoAPI changes, I don't think the merge
is going to happen before Linux 2.7.

> It could be argued that HostAP has a lot of userspace code that still
> needs to be maintained separately.  Bot the same applies to other projects
> like ALSA, and this didn't prevent the kernel part of ALSA from getting
> into the kernel.

Anyway, I'm considering of separating user space hostapd from the driver
tarball at some point.. I don't think this is an issue with kernel tree
merge.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jburford  Tue Jul 22 12:00:52 2003
From: jburford (Jon Burford)
Date: Tue, 22 Jul 2003 12:00:52 -0700
Subject: other HostAP mode hardware
Message-ID: <05201EC9A3A1F14DAF2ECA5F79BE49A6518CED@koloa.xsilogy.net>

Greetings!

In light of the recent acquisition of Intersil's WLAN division, there has
been much buzz about the future and availability of the Prism line of
chipsets.  With all of the excellent work that has gone into the HostAP
code, I am hoping there is a more distant and certain future migration path
for this project.  I have seen recent postings about how most of the code
might run on certain orinoco hardware.  However, it does not seem that this
or any other hardware supports HostAP mode at all or to the degree required
for HostAP.  Are there any other cards/chipsets which support HostAP mode?
Yes or no, what are the plans (if any) to have HostAP run on chipsets other
than the Prism family?

Regards,
Jon



From brock  Tue Jul 22 12:51:33 2003
From: brock (Brock Eastman)
Date: Tue, 22 Jul 2003 12:51:33 -0700
Subject: station mode lockup problem
Message-ID: <012601c3508a$a7290c60$37010a0a@Brock>

Hi All,

We are observing problems with hostap acting as a client without doing wds.

The connection works to any other access point in infrastructure mode; and then times out after 2-8  hours.  

We also have issues bringing up the wireless card with managed mode.  We have to do the following to bring it up: 

iwconfig wlan1 ip.xxx.xxx.xxx netmask 255.255.255.0 up 
iwconfig wlan1 essid tester 
iwconfig wlan1 channel 6
iwconfig wlan1 mode Master 
iwconfig wlan1 mode Managed


It works sometimes; and then sometimes not. The channels are fine too.   We cannot bring up the interface initially as 
'managed'; it has to be master first then switched to managed.

We are running wireless-tools 23 from the debian distribution.  However, whenever we run iwconfig it gives us an error
message saying that the wlan1 was compiled with version 14 while we are using version 12?  

We are using firmware 1.7.4 w/ a SMC 2632 200mW card.

I am connecting to a wap11 in infrastructure mode as a test.  The wap11 is running firmware 1.4.j1; the lastest stable version.

I also read a post that had a similar situation with the card in client mode and the connection dropping out.

Please help.

Brock Eastman


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030722/c5913626/attachment.htm 


From jburford  Tue Jul 22 12:56:07 2003
From: jburford (Jon Burford)
Date: Tue, 22 Jul 2003 12:56:07 -0700
Subject: [Soekris] net4511 second serial port & headers
Message-ID: <05201EC9A3A1F14DAF2ECA5F79BE49A6518CF9@koloa.xsilogy.net>

I have looked through the archives and am not able to find where the pins
for the second serial port have been accessed successfully (from the top or
bottom of the board).  As you say, the PCMCIA connector was put on top of
the pads for the second serial port.  Is there a way I can get at the tx and
rx pins with my soldering iron or is this serial port effectively dead (as
long as the PCMCIA connector is left on the board)?

Regards,
Jon

-----Original Message-----
From: Chuck Yerkes [mailto:chuck at snew.com]
Sent: Tuesday, July 22, 2003 11:58 AM
To: Jon Burford
Subject: Re: [Soekris] net4511 second serial port & headers


Quoting Jon Burford (jburford at xsilogy.com):
> Greetings!
> 
> I notice when I boot up the net4511, the kernel claims to recognize 2
serial
> ports.  I have 2 questions:
> 
> 1) Is there indeed a second serial port available?
Yes, see archive

> 2) If so, is it available off of one of the on-board headers?
Unfo, no.  When the PCMCIA stuff came in, the connectors ended up
on top of the pads for the second port.  The 45{1,2}1 is basically
the 4501 with some redesign removing PCI and adding PCMCIA.

> 
> Regards,
> Jon
> _____________________________________________________________________
> Soekris Engineering, technical discussion mailing list
> [un]subscribe: http://lists.soekris.com/mailman/listinfo/soekris-tech



From eaglecz  Tue Jul 22 13:20:20 2003
From: eaglecz (Tomas Charvat)
Date: Tue, 22 Jul 2003 22:20:20 +0200
Subject: wds
Message-ID: <001201c3508e$b1487600$050314ac@rip>

greeint guys

what is maximum of wlanxwdsx devices ?
is it mandatory to set up extra mac access list for wlanxwdsx devices ?


tomas



From brianc  Tue Jul 22 16:10:40 2003
From: brianc (Brian Capouch)
Date: Tue, 22 Jul 2003 18:10:40 -0500
Subject: Upload firmware while AP active?
Message-ID: <3F1DC470.8030107@palaver.net>

I have been playing around with the (to me) must frustrating part of the 
whole Prism2 experience, getting the right firmware onto the right card.

Safety first: I have a HEX file that I would like to load onto a card 
running hostap.  As soon as I insert the card the PCMCIA routines start 
Hostap.

So I'm wondering: is it safe at that point to upload the firmware onto 
the card (using the "stay in RAM" type of firmware) while it's running?

Thanks.

B.



From proski  Tue Jul 22 16:22:17 2003
From: proski (Pavel Roskin)
Date: Tue, 22 Jul 2003 19:22:17 -0400 (EDT)
Subject: Upload firmware while AP active?
In-Reply-To: <3F1DC470.8030107@palaver.net>
References: <3F1DC470.8030107@palaver.net>
Message-ID: <Pine.LNX.4.56.0307221915260.19282@marabou.research.att.com>

On Tue, 22 Jul 2003, Brian Capouch wrote:

> So I'm wondering: is it safe at that point to upload the firmware onto
> the card (using the "stay in RAM" type of firmware) while it's running?

Yes, it is.  As long as you don't flash firmware, the card should be OK.
The worst thing that can happen is that you'll have to reboot your system.

prism2_srec is very careful not to let you kill your card.  The only
unsafe thing it allows is flashing primary firmware, but it will be fixed.

-- 
Regards,
Pavel Roskin



From imp  Wed Jul 23 01:49:14 2003
From: imp (imp)
Date: Wed, 23 Jul 2003 17:49:14 +0900
Subject: managed mode loss link connection
Message-ID: <KEECLLIPMFCFLJKFNEKOOEGOCDAA.imp@airlinktek.com>

Dear hostap people..

from time to time hostap managed mode station loss link connection to hostap master mode AP.

In any case or environment, I want retry to specific SSID's AP as soon as possible. 

eventhough there are many other SSID AP aroud the station.

To do this, how can I set in managed mode hostap ? 

I can not use hostap_roaming parameter as 2, cause, the AP can be changed as a result of station modement.

Thanks for your advice..

Best Regards !!!

My problem is 

------------------ Master (PUSAN) ------------------eth-------------------Master (PUSAN) -------------------- eth ----------------------Master (PUSAN) 
                           |                                                                 |                                                                           |		        Managed(PUSAN) =======Move it========>Re-association, after link loss, then did not association again..



 
 



From arne.schmitz  Wed Jul 23 05:23:53 2003
From: arne.schmitz (Arne Schmitz)
Date: Wed, 23 Jul 2003 14:23:53 +0200
Subject: System hangs with hostap-0.0.3
Message-ID: <20030723142353.7156.qmail@mx.mmweg.rwth-aachen.de>

Hi!

I'm trying to get a Prism 2.5 to work with the hostap driver. But whenever I 
"modprobe hostap_pci" the system freezes hard! The Prism identifies in lspci 
as follows:

00:05.0 Network controller: Harris Semiconductor Prism 2.5 Wavelan chipset 
(rev 01)

Some more information from /proc/interrupts:

           CPU0
  0:      46708          XT-PIC  timer
  1:         51          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  4:        635          XT-PIC  eth0
  8:          2          XT-PIC  rtc
  9:          0          XT-PIC  ohci1394, ehci-hcd, usb-ohci, PCI device 
1524:1410 (ENE Technology Inc)
 10:       4850          XT-PIC  usb-ohci
 11:        764          XT-PIC  acpi, usb-ohci, SiS SI7012
 12:         21          XT-PIC  PS/2 Mouse
 14:       8919          XT-PIC  ide0
 15:          3          XT-PIC  ide1

Could there be a problem with the interrupts maybe? I cannot assign any 
interrupts in the BIOS, though. Under Windows XP, the device works fine.

Cheers,

	Arne


-- 
i consume the wind that makes you cold and drink the blood of the bleeding 
souls
to check you fear and hide the noise of the howling wolves that steal your 
voice

[--- PGP key FD05BED7 --- http://www.root42.de/ ---]




From ian.cass  Wed Jul 23 08:30:47 2003
From: ian.cass (Ian Cass)
Date: Wed, 23 Jul 2003 16:30:47 +0100
Subject: System hangs with hostap-0.0.3
References: <20030723142353.7156.qmail@mx.mmweg.rwth-aachen.de>
Message-ID: <0dd601c3512f$641f1fe0$0d28a8c0@cblan.mblox.com>

Arne Schmitz wrote:

> I'm trying to get a Prism 2.5 to work with the hostap driver. But
> whenever I "modprobe hostap_pci" the system freezes hard! The Prism
> identifies in lspci as follows:

 This initially happened on my mobo (old Intel FX probably). I solved it by
compiling a kernel with PCI direct access mode (CONFIG_PCI_GODIRECT). I
guess the BIOS didn't recognise the PCI2.2 card & didn't configure the
interrupts correctly.

--
Ian Cass



From jt  Wed Jul 23 09:08:37 2003
From: jt (Jean Tourrilhes)
Date: Wed, 23 Jul 2003 09:08:37 -0700
Subject: wireless stats in ad hoc mode
Message-ID: <20030723160837.GA8869@bougret.hpl.hp.com>

JAMES KABA wrote :
> 
> >        You will need to use iwspy. Unfortunately for you, with the
> > HostAP driver iwspy functionality is only available with WE-16 (which
> > means spending time with the patches on my web page).
> >       Good luck...
> ...well, iswpy alone doesn't do it since I currently need access to the
> stats from a kernel module

	The good news is that since WE-13, all the Wireless Extension
can be called from kernel space.
	This is how to do it :
--------------------------------------------
	iw_handler handler;
	struct iw_request_info		info;
	struct iwreq	iwr;
	char buffer[IW_MAX_SPY * (sizeof(struct sockaddr) +
				  sizeof(struct iw_quality))];

	handler = dev->wireless_handlers->standard[SIOCGIWSPY - SIOCIWFIRST];
	info.cmd = SIOCGIWSPY;
	info.flags = 0;
	iwr.data.length = IW_MAX_SPY;
	iwr.data.flags = 0;

	/* Call the handler */
	ret = handler(dev, &info, &(iwr.u), buffer);
--------------------------------------------
	Of course, this is untested, and you better verify that
handler is not null and dev->wireless_handlers->num_standard.

	This is applicable to all WE, so you can do the same for
SIOCSIWSPY to set the relevant MAC addresses (or any other command of
the list).

> In any case, I temporarily kludged some code to suit my short
> term needs (it looks like a car wreck between wireless_spy and
> get_wireless_stats)

	Tell me if the above works for you or not. This should be the
clean way for you to do it.

> ....but the question reamins:
>   why would get_rid(....COMMSQUALITY...) not return valid data...?

	What would be the semantic of this in Ad-Hoc mode ? In managed
mode, it's clear, it's the quality of the link to the AP. But in
Ad-Hoc mode ?
	This is exactly the reason why I invented iwspy, and the
semantic of iwspy is clearly defined.

	Good luck...

	Jean



From jt  Wed Jul 23 09:15:35 2003
From: jt (Jean Tourrilhes)
Date: Wed, 23 Jul 2003 09:15:35 -0700
Subject: Merging HostAP into Linux 2.6
Message-ID: <20030723161535.GA8937@bougret.hpl.hp.com>

Jouni Malinen wrote :
> 
> It looks like this is not going to happen for 2.6 series. As far as I
> can see, Host AP driver would be ready for this, but Jeff Garzik seems
> to require that own WEP implementation (hostap_crypt_wep) would be
> replaced with one that is using CryptoAPI. However, current CryptoAPI
> does not support stream ciphers which would be required for this.

	As far as I remember, Jeff never put that as a diktat, but
more as a suggestion. Ok, other suggestions (firmware stuff) ended up
being requirements, but I would rather verify this assumption of yours
before giving up.
	My position is that, despite our friendly suggestion to its
maintainer, CryptoAPI still doesn't support WEP and stream cipher, so
HostAP can't use CryptoAPI, and so go as-is.
	If you want, I can fire a friendly e-mail to Jeff.
	Regards,

	Jean



From jiri.fojtasek  Wed Jul 23 10:26:52 2003
From: jiri.fojtasek (Jiri Fojtasek)
Date: Wed, 23 Jul 2003 19:26:52 +0200
Subject: wds
In-Reply-To: <001201c3508e$b1487600$050314ac@rip>
References: <001201c3508e$b1487600$050314ac@rip>
Message-ID: <3F1EC55C.4040701@hlohovec.net>

Tomas Charvat wrote:

>greeint guys
>
>what is maximum of wlanxwdsx devices ?
>
prism2_param wlanX max_wds X (default is 16) .
I using with no problems 7 wds and 6 sta associated at once. (pri 1.0.1 
sta 1.5.6 or later firmware is required !). There is one glitche in 
hostap code  that  breaking stable  functionality of the combination of 
wds, wlan and eth device in one ethernet bridge (ill post patch here soon)

>is it mandatory to set up extra mac access list for wlanxwdsx devices ?
>  
>
Yes, when you use mac based access policy, but you need add only mac of 
the wds device in to the mac access list. When you want manage access of 
the MAC behind the wds device you can use netfilter or ebtables ...

Jiri



From c.davies  Wed Jul 23 11:03:06 2003
From: c.davies (Chris Davies)
Date: Wed, 23 Jul 2003 19:03:06 +0100
Subject: Problems setting up hostap on ipaq with DWL-650
Message-ID: <3F1ECDDA.8050603@cdavies.org>

Hi,

I'm trying to set up hostap on my ipaq (36xx running familiar if anyone 
cares :) with a D-Link DWL-650.

The card is intialised fine, and I can use it in managed mode. However 
after I say:

iwconfig wlan0 essid "familiar"
iwconfig wlan0 channel 2
iwconfig wlan0 mode Master
ifconfig wlan0 192.168.255.1

I start hitting problems. No node can connect to the "ap", the netgear 
site monitor reports that the ap exists, but the orinoco one doesn't.

I have never upgraded the firmware on this card.

Could you suggest what the problem might be?

Thanks,
Chris Davies

Here's some output to hopefully help diagnosis:

iwconfig:
-----------------------------------------------------------------------------------
wlan0     IEEE 802.11-b  ESSID:"familiar"  Nickname:"familiar"
          Mode:Master  Frequency:2.417GHz  Access Point: 00:05:5D:D9:B7:8B 
          Bit Rate:11Mb/s   Tx-Power:-2 dBm   Sensitivity=1/3 
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

wlan0ap   IEEE 802.11-b  ESSID:"familiar"  Nickname:"familiar"
          Mode:Master  Frequency:2.417GHz  Access Point: 00:05:5D:D9:B7:8B 
          Bit Rate:11Mb/s   Tx-Power:-2 dBm   Sensitivity=1/3 
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
-------------------------------------------------------------------------------------------------------

ifconfig
-------------------------------------------------------------------------------------------------------
wlan0     Link encap:Ethernet  HWaddr 00:05:5D:D9:B7:8B 
          inet addr:192.168.255.1  Bcast:192.168.255.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:2 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:2480 (2.4 kb)
          Interrupt:42
-------------------------------------------------------------------------------------------------------

Selected bits of dmesg:
-------------------------------------------------------------------------------------------------------
....
hostap_crypt: registered algorithm 'NULL'
hostap_cs: hostap_cs.c 0.0.0 2002-10-12 (SSH Communications Security 
Corp, Jouni Malinen)
hostap_cs: (c) Jouni Malinen <jkmaline at cc.hut.fi>
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
prism2_config()
hostap_cs: ignoring Vcc=50 (from config)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0046, io.base=0x0000, len=64
hostap_cs: index 0x01: Vcc 5.0, irq 42, io 0xcaa70000-0xcaa7003f
hostap_cs: Registered netdevice wlan0
hostap_cs: Registered netdevice wlan0ap for AP management
prism2_hw_init()
prism2_hw_config: initialized in 17269 iterations
wlan0: NIC: id=0x800c v1.0.0
wlan0: PRI: id=0x15 v1.0.5
wlan0: STA: id=0x1f v1.3.4
wlan0: defaulting to host-based encryption as a workaround for firmware 
bug in Host AP mode WEP
wlan0: LinkStatus=2 (Disconnected)
prism2: wlan0: operating mode changed 3 -> 2
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus: BSSID=00:05:5d:d9:b7:8b
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus: BSSID=44:44:44:44:44:44
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus: BSSID=44:44:44:44:44:44
wlan0: prism2_open
wlan0: TXEXC - fid=0x0122 - status=0x0004 ([Discon]) tx_control=000c
   retry_count=0 tx_rate=0 fc=0x0108 (Data::0 ToDS)
   A1=00:00:00:00:00:00 A2=00:05:5d:d9:b7:8b A3=ff:ff:ff:ff:ff:ff 
A4=00:00:00:00:00:00
wlan0: LinkStatus=1 (Connected)
wlan0: LinkStatus: BSSID=00:02:2d:01:a4:8b
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus: BSSID=00:02:2d:01:a4:8b
wlan0: TXEXC - fid=0x0161 - status=0x0004 ([Discon]) tx_control=000c
   retry_count=0 tx_rate=0 fc=0x0108 (Data::0 ToDS)
   A1=00:00:00:00:00:00 A2=00:05:5d:d9:b7:8b A3=ff:ff:ff:ff:ff:ff 
A4=00:00:00:00:00:00
wlan0: LinkStatus=2 (Disconnected)
wlan0: LinkStatus: BSSID=44:44:44:44:44:44
prism2: wlan0: operating mode changed 2 -> 3
wlan0: LinkStatus=2 (Disconnected)
wlan0: prism2_close
-------------------------------------------------------------------------------------------------




From david  Wed Jul 23 14:19:48 2003
From: david (David Levitan)
Date: Wed, 23 Jul 2003 17:19:48 -0400
Subject: Open WEP Mode and SMC 2532
In-Reply-To: <3F171C5D.8000902@dlevitan.com>
References: <3F034CD2.9050507@dlevitan.com>
	<003f01c34148$919b2320$151e0a0a@stmantoniov> <3F171C5D.8000902@dlevitan.com>
Message-ID: <3F1EFBF4.5070707@dlevitan.com>

Does anyone have any ideas what could be causing this? I've tried the 
latest CVS and putting in a hex code key, but haven't had any luck. Does 
anyone have any idea why I can't set the card to open wep mode?
Thank you,
David

David Levitan wrote:
> Hi,
> I didn't get a chance to respond - was busy - but I've done some more 
> testing. First - system specs - hostap v0.0.3, debian 3.0 testing, 
> kernel 2.4.20, dual athlon 1600, and antec datachute PCI->PCMCIA bridge. 
> I've tested with hostap v0.0.3 with both the SMC 2532 and a Proxim 
> RangeLAN-DS. I've also updated the SMC to firmware 1.7.4/1.1.1. In all 
> cases, setting "iwconfig wlan0 key s:test open" does not let clients 
> without the WEP key associate. I have tried both a windows 2000 client 
> with an SMC 2632 (PRISM2 PCMCIA card) and a linux client with an orinoco 
> silver card. Neither worked. Any ideas on what could be happening? I 
> will try grabbing the latest hostap CVS soon and will report my results 
> when I get chance. This happens even when hostapd is not running and the 
> key is set manually.
> Thank you,
> David
> 
> 
> Antonio Vilei wrote:
> 
>> Hello,
>> some important information is missing. What driver version are you 
>> using? If
>> you are using v0.0.2 or later you should also post your "hostapd.conf" 
>> file.
>>
>> Regards,
>> Antonio
>>
>>
>> ----- Original Message -----
>> From: "David Levitan" <david at dlevitan.com>
>> To: <hostap at shmoo.com>
>> Sent: Wednesday, July 02, 2003 11:21 PM
>> Subject: Open WEP Mode and SMC 2532
>>
>>
>>
>>> Hi,
>>> I'm trying to use 802.1x with an SMC 2532 (clone of Zcomax 325H). 802.1x
>>> itself seems to work well until I enable wep (in the hostapd config
>>> file). It seems open mode does not work on this card. If I enable open
>>> mode manually with a key, it doesn't work either. However, if I set my
>>> client (linux + orinoco_cs) to use encryption with the correct key, it
>>> works correctly. I am wondering if there is anything I can do to get
>>> open mode to work on this card. Let me know if more information is 
>>> needed.
>>> Thank you,
>>> David Levitan
>>>
>>> _______________________________________________
>>> HostAP mailing list
>>> HostAP at shmoo.com
>>> http://lists.shmoo.com/mailman/listinfo/hostap
>>>
>>>
>>
>>
>>
> 
> 
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap



From ziggy_wiggy11  Wed Jul 23 19:03:11 2003
From: ziggy_wiggy11 (Hazel Nut)
Date: Wed, 23 Jul 2003 19:03:11 -0700 (PDT)
Subject: will an Orinoco Card work as client w/ hostap-0.0.3
Message-ID: <20030724020311.53140.qmail@web80605.mail.yahoo.com>

Hi guys!!

I have been testing cards like Zcomax & WPC11 to work
as AP and luckily it went well.  Here is my PC setup:

1.RH7.3
2.pcmcia-cs-3.1.31
3.hostap-0.0.3
4.kernel-2.4.20

We are planning to include the kernel configuration or
modules needed to a customize distro of linux so it
will support the feature of AP. I think it would be
wise that the distro will be making will also support
other cards like those of lucent or non-prism2 cards.
Have any of you guys have tried to use Orinoco
cards(or any non-prism2 cards) to work as client using
the hostap-0.0.3 driver?? I would greatly appreciate
any suggestion or help u can give!! 

Thanks in advance for your time and Have a nice day to all!!

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



From proski  Wed Jul 23 20:09:38 2003
From: proski (Pavel Roskin)
Date: Wed, 23 Jul 2003 23:09:38 -0400 (EDT)
Subject: Open WEP Mode and SMC 2532
In-Reply-To: <3F1EFBF4.5070707@dlevitan.com>
References: <3F034CD2.9050507@dlevitan.com>
	<003f01c34148$919b2320$151e0a0a@stmantoniov>
	<3F171C5D.8000902@dlevitan.com> <3F1EFBF4.5070707@dlevitan.com>
Message-ID: <Pine.LNX.4.56.0307232258490.18529@marabou.research.att.com>

On Wed, 23 Jul 2003, David Levitan wrote:

> Does anyone have any ideas what could be causing this? I've tried the
> latest CVS and putting in a hex code key, but haven't had any luck. Does
> anyone have any idea why I can't set the card to open wep mode?

Please don't toppost.  It make it hard to quote your posts.

Also, some output would be more helpful than your interpretation.  Can it
be that the "hostap_crypt_wep" is not loaded?  What does "lsmod" show?

Maybe you have some errors in the kernel log.  Use dmesg to check.

Maybe the key is interpreted as a 104-bit long, and Orinoco Silver doesn't
support it.  It's not likely, but you can check by running "iwlist wlan0
key".

Maybe the Orinoco card also has a key set at startup.  You can check it by
"iwlist eth0 key" on the station side and turn it off by "iwconfig eth0
key off".  That's the most likely reason.

Maybe you have an old version of wireless tools or they were compiled
against an old kernel.  Use "iwconfig --version" to find out.

-- 
Regards,
Pavel Roskin



From proski  Wed Jul 23 20:16:18 2003
From: proski (Pavel Roskin)
Date: Wed, 23 Jul 2003 23:16:18 -0400 (EDT)
Subject: will an Orinoco Card work as client w/ hostap-0.0.3
In-Reply-To: <20030724020311.53140.qmail@web80605.mail.yahoo.com>
References: <20030724020311.53140.qmail@web80605.mail.yahoo.com>
Message-ID: <Pine.LNX.4.56.0307232310410.18529@marabou.research.att.com>

On Wed, 23 Jul 2003, Hazel Nut wrote:

> We are planning to include the kernel configuration or modules needed to
> a customize distro of linux so it will support the feature of AP. I
> think it would be wise that the distro will be making will also support
> other cards like those of lucent or non-prism2 cards. Have any of you
> guys have tried to use Orinoco cards(or any non-prism2 cards) to work as
> client using the hostap-0.0.3 driver?? I would greatly appreciate any
> suggestion or help u can give!!

Yes, it works.  All cards supporting 802.11b protocol can talk to each
other regardless of the vendors and the OS as long as they have functional
firmware and drivers.  Any exception would be a scandal and you would have
heard of it already :-)

-- 
Regards,
Pavel Roskin



From jsanchez  Thu Jul 24 00:49:10 2003
From: jsanchez (Javier Sanchez)
Date: 24 Jul 2003 09:49:10 +0200
Subject: Prism2s card flash
Message-ID: <1059032951.14020.82.camel@mas-jsanchez>




Hi all,

i have just read some messages about a succesfull flashing of a dead
card http://lists.shmoo.com/pipermail/hostap/2003-April/002333.htm

Yesterday i tried to update the sta of my senao 2511cd ext2 to 1.4.9
using winupdate and fimrware of www.senao.com the process finished
susccesfully but know the card does not work, on windows its detected
but 4 or 5 seconds before the ligth turns off and dissapears form the
system, on linux the hostap driver ends showing a timeout performing a
cmd command.

On linux i cand succesfully ask for the status and config using cardctl,
and on msdos i can succesfully get data using the msdos flash utlility.

I have tried to re-flash the card using the dos flash utility but ends
telling me this:


# Logging enabled. Timestamp: 2003-07-24 09:40:37 #
PCIC: 82365SL compatible - A step (possibly 5V only)   
Using Legacy Mode
(COR reset)  Startup...  
Loading file "SF010409.HEX" for flash download
Build sequence: 0
Loaded file successfully. 3488 lines
Plugging:  (6 ok) (103 ok) (107 ok) [filename]  (104 ok) (105 ok) (202
ok) (203 ok) (204 ok) (Warning: PDR 405 NOT in PDA)
(300 ok) (301 ok) (101 ok) (105 ok) (Warning: PDR 406 NOT in PDA)
(105 ok) 
--------------------------------------------------------------------------------RID read error. Offset busy bit never cleared.
RID FD00 READ ERROR!

Download FAILED.
ERROR ENCOUNTERED. Returns ERRORLEVEL=1

The output of the flash -legacy -3v -s is below:


# Logging enabled. Timestamp: 2003-07-24 08:33:33 #
Sorry, no usable PCI devices found. Use legacy mode or add one to the
ini file.
# Logging enabled. Timestamp: 2003-07-24 08:33:57 #
PCIC: 82365SL compatible - A step (possibly 5V only)   
Using Legacy Mode
(COR reset)  Startup...  Read 19 records from card. Current PDA
 7) [  1] 5349 334c 3337 3030 50 0 (ISL37300P)
 2) [  2] 4
 7) [  3] 3330 3031 3531 3030 a30 0 (031015000 )
 6) [  6] 0 1 1 1 1
 6) [  7] 0 2 2 1 1
 5) [  8] 800c 0 1 0
 4) [101] 200 36f d5ab (00-02-6f-03-ab-d5)
 7) [103] 1 30 0 0 0 0
 2) [104] 1fff
 2) [105] 3
 2) [107] 1
33) [202] 200 401 638 880 a03 c04 e04 1000 12a2 14c8 1603 1800 1a00 1c00
1e5c 2082 221e 24c7 2617 286a 2a12 2c00 2e00 302d 3220 3482 3618 3879
3aca 3c24 3ef0 4000 4200 4400 467f 488b 4a0f 4c06 4e0a 500f 5220 5420
5610 5810 5a20 5cee 5e9e 6026 62db 400
41) [203] 2c00 2e0c 2c01 2e10 2c02 2e14 2c03 2e18 2c04 2e1c 2c05 2e20
2c06 2e24 2c07 2e28 2c08 2e2e 2c09 2e34 2c0a 2e38 2c0b 2e3c 2c0c 2e3f
2c0d 2e43 2c0e 2e46 2c0f 2e48 2c10 2e4b 2c11 2e50 2c12 2e55 2c13 2e5a
2c14 2e63 2c15 2e6d 2c16 2e76 2c17 2e7f 2c18 2e7f 2c19 2e7f 2c1a 2e7f
2c1b 2e7f 2c1c 2e7f 2c1d 2e7f 2c1e 2e7f 2c1f 2e7f
29) [204] 3 5000 6 7000 16 0 5c6 6000 7 5000 2c 0 fe5 e000 fea e000 fef
e000 1004 e000 1009 e000 100e e000 1023 e000 1028 e000 102d e000 1042
e000 1047 e000 104c e000 1061 e000 106d e000
 f) [300] f f f 10 10 10 16 16 16 14 14 10 10 10
12) [301] 1a 1a 1a 1a 1a 1a 12 12 12 b b 7 7 7 e2 ca 9a
 2) [400] 3
1f) [900] f f f 10 10 10 16 16 16 14 14 10 10 10 f 10 f f f 10 10 10 16
16 16 14 14 10 10 10
22) [901] 1a 1a 1a 1a 1a 1a 12 12 12 b b 7 7 7 1a 7 1a 1a 1a 1a 1a 1a 12
12 12 b b 7 7 7 e2 ca 9a
End Record. New CRC: 5386
 - okay

Checking CIS.
Vcc = 3.3 volts
CIS String: Version 5.0 INTERSIL HFA384x/IEEE Version
01.02                                           
Error - Command 0 never signaled status!



Any ideas on how can i recover the card ??? Should i modify a pci
adapter to reflash the card as i understood here ????
http://lists.shmoo.com/pipermail/hostap/2003-April/002345.htm

I read on other message about a way to get the fimrware flashed using
wlan-ng drivers but cant find the howto message on the list, can anybody
point to the rigth thread on the list ?????

TIA, hope the message is not too long .-) 

Javier Sanchez Llera
jsanchez at myalert.com





From doug  Thu Jul 24 06:27:13 2003
From: doug (Doug Yeager)
Date: Thu, 24 Jul 2003 09:27:13 -0400
Subject: wlan0: driver bug - prism2_transmit() called when previous TX was
	pending
Message-ID: <002101c351e7$4b78a980$0200a8c0@DOUG1>

More data on this error:
 
I'm using the latest cvs now and I've also upgraded to the latest 1.7.4
firmware.
I'm getting the same error. And an eventual failure to initialize.
 
This ONLY happens w/ one of my client cards though, (the dwl-650+) is
the culprit.  The other client cards all seem to play nicely w/ the AP.
The AP is a soekris 4511 (133 mhz)  w/ a senao 200 mw card.
 
What file should I look in to start playing w/ this particular code.?
 
Here are the error messages again:
 
 
wlan0: 00:80:c8:b6:ee:af auth_cb - STA authenticated
wlan0: 00:80:c8:b6:ee:af assoc_cb - STA associated
wlan0: driver bug - prism2_transmit() called when previous TX was
pending
wlan0: prism2_tx - to BAP0 failed
wlan0: scheduled card reset
hostap_cs: wlan0: resetting card
prism2_pccard_cor_sreset: original COR 41
prism2_hw_init()
prism2_hw_init: initialized in 19183 iterations
wlan0: prism2_tx: hw not ready - skipping
wlan0: prism2_tx: hw not ready - skipping
wlan0: prism2_tx: hw not ready - skipping
wlan0: prism2_tx: hw not ready - skipping
wlan0: 00:80:c8:b6:ee:af auth_cb - STA authenticated
wlan0: 00:80:c8:b6:ee:af assoc_cb - STA associated
wlan0: driver bug - prism2_transmit() called when previous TX was
pending
wlan0: prism2_tx - to BAP0 failed
wlan0: scheduled card reset
hostap_cs: wlan0: resetting card
prism2_pccard_cor_sreset: original COR 41
prism2_hw_init()
wlan0: prism2_tx: hw not ready - skipping
prism2_hw_init: initialized in 19170 iterations
wlan0: prism2_tx: hw not ready - skipping
wlan0: prism2_tx: hw not ready - skipping
wlan0: prism2_tx: hw not ready - skipping
wlan0: prism2_tx: hw not ready - skipping
wlan0: STA 00:80:c8:b6:ee:af TX rate lowered to 55
wlan0: 00:80:c8:b6:ee:af auth_cb - STA authenticated
wlan0: 00:80:c8:b6:ee:af assoc_cb - STA associated
wlan0: STA 00:02:6f:03:fe:a4 did not ACK activity poll frame
wlan0: sending disassociation info to STA 00:02:6f:03:fe:a4(last=26399,
jiffies=56499)
wlan0: STA 00:02:6f:03:fe:a4 TX rate lowered to 55
wlan0: sending deauthentication info to STA
00:02:6f:03:fe:a4(last=26399, jiffies=56599)
wlan0: Could not find STA for this TX error
wlan0: driver bug - prism2_transmit() called when previous TX was
pending
wlan0: prism2_tx - to BAP0 failed
wlan0: scheduled card reset
hostap_cs: wlan0: resetting card
prism2_pccard_cor_sreset: original COR 41
prism2_hw_init()
prism2_hw_init: initialized in 19181 iterations
wlan0: driver bug - prism2_transmit() called when previous TX was
pending
wlan0: prism2_tx - to BAP0 failed
wlan0: scheduled card reset
hostap_cs: wlan0: resetting card
prism2_pccard_cor_sreset: original COR 41
prism2_hw_init()
prism2_hw_init: initialized in 19184 iterations
wlan0: 00:80:c8:b6:ee:af auth_cb - STA authenticated
wlan0: 00:80:c8:b6:ee:af assoc_cb - STA associated
wlan0: driver bug - prism2_transmit() called when previous TX was
pending
wlan0: prism2_tx - to BAP0 failed
wlan0: scheduled card reset
hostap_cs: wlan0: resetting card
prism2_pccard_cor_sreset: original COR 41
prism2_hw_init()
prism2_hw_init: initialized in 19186 iterations
wlan0: driver bug - prism2_transmit() called when previous TX was
pending
wlan0: prism2_tx - to BAP0 failed
wlan0: scheduled card reset
hostap_cs: wlan0: resetting card
prism2_pccard_cor_sreset: original COR 41
prism2_hw_init()
wlan0: prism2_tx: hw not ready - skipping
wlan0: Command completion event, but no pending commands
wlan0: prism2_tx: hw not ready - skipping
hostap_cs: card initialization timed out
hostap_cs: Initialization failed
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030724/5631a28e/attachment.htm 


From david  Thu Jul 24 07:09:37 2003
From: david (David Levitan)
Date: Thu, 24 Jul 2003 10:09:37 -0400
Subject: Open WEP Mode and SMC 2532
In-Reply-To: <Pine.LNX.4.56.0307232258490.18529@marabou.research.att.com>
References: <3F034CD2.9050507@dlevitan.com>
	<003f01c34148$919b2320$151e0a0a@stmantoniov>	<3F171C5D.8000902@dlevitan.com>
	<3F1EFBF4.5070707@dlevitan.com>
	<Pine.LNX.4.56.0307232258490.18529@marabou.research.att.com>
Message-ID: <3F1FE8A1.9080009@dlevitan.com>

Pavel Roskin wrote:
> On Wed, 23 Jul 2003, David Levitan wrote:
> 
> 
>>Does anyone have any ideas what could be causing this? I've tried the
>>latest CVS and putting in a hex code key, but haven't had any luck. Does
>>anyone have any idea why I can't set the card to open wep mode?
> 
> 
> Please don't toppost.  It make it hard to quote your posts.
> 
> Also, some output would be more helpful than your interpretation.  Can it
> be that the "hostap_crypt_wep" is not loaded?  What does "lsmod" show?
> 
> Maybe you have some errors in the kernel log.  Use dmesg to check.
> 
> Maybe the key is interpreted as a 104-bit long, and Orinoco Silver doesn't
> support it.  It's not likely, but you can check by running "iwlist wlan0
> key".
> 
> Maybe the Orinoco card also has a key set at startup.  You can check it by
> "iwlist eth0 key" on the station side and turn it off by "iwconfig eth0
> key off".  That's the most likely reason.
> 
> Maybe you have an old version of wireless tools or they were compiled
> against an old kernel.  Use "iwconfig --version" to find out.
> 

hostap_crypt and hostap_crypt_wep are working. If I put the key in on 
the client, it works without a problem.

Here is full dmesg output from card insertion to station association:
hostap_cs: CVS (Jouni Malinen <jkmaline at cc.hut.fi>)
hostap_cs: setting Vcc=33 (constant)
hostap_cs: CS_EVENT_CARD_INSERTION
prism2_config()
hostap_cs: setting Vcc=50 (from config)
Checking CFTABLE_ENTRY 0x01 (default 0x01)
IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
io->flags = 0x0046, io.base=0x0000, len=64
hostap_cs: index 0x01: Vcc 5.0, irq 17, io 0xbc40-0xbc7f
hostap_cs: Registered netdevice wlan0
prism2_hw_init()
prism2_hw_init: initialized in 15991 iterations
wlan0: NIC: id=0x800c v1.0.0
wlan0: PRI: id=0x15 v1.1.1
wlan0: STA: id=0x1f v1.7.4
wlan0: prism2_open
wlan0: 08:00:46:0a:42:a9 auth_cb - STA authenticated
wlan0: 08:00:46:0a:42:a9 assoc_cb - STA associated
wlan0: 08:00:46:0a:42:a9 auth_cb - STA authenticated
wlan0: 08:00:46:0a:42:a9 assoc_cb - STA associated

I haven't found anything weird with it. This is without hostapd running, 
but with the key set. iwconfig output is:
wlan0     IEEE 802.11b  ESSID:"dlevitan"  Nickname:"orthanc"
           Mode:Master  Frequency:2.412GHz  Access Point: 00:04:E2:63:65:5F
           Bit Rate:11Mb/s   Tx-Power:-43 dBm   Sensitivity=1/3
           Retry min limit:8   RTS thr:off   Fragment thr:off
           Encryption key:7465-7374-00   Security mode:open
           Power Management:off
           Link Quality:0  Signal level:0  Noise level:0
           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
           Tx excessive retries:0  Invalid misc:0   Missed beacon:0


Key seems to be 40 bits long. In either case, shouldn't even a 40-bit 
client support connections to an open AP?

iwlist wlan0 key output on the server is:
wlan0     2 key sizes : 40, 104bits
           4 keys available :
                 [1]: 7465-7374-00 (40 bits)
                 [2]: off
                 [3]: off
                 [4]: off
           Current Transmit Key: [1]
           Security mode:open

iwlist eth1 output on the client is:
wlan0     2 key sizes : 40, 104bits
           4 keys available :
                 [1]: off
                 [2]: off
                 [3]: off
                 [4]: off
           Current Transmit Key: [1]

The server has wireless extenstions v16 for both driver and utilities, 
the client has v15 for both. However, the windows client doesn't work 
either, and is using the latest drivers from SMC and the latest firmware 
  the card supports (1.4.9).
Thank you for the help. Any other ideas as to what could be going wrong?
Thanks,
David



From golem  Thu Jul 24 07:14:22 2003
From: golem (golem at poczta.onet.pl)
Date: Thu, 24 Jul 2003 16:14:22 +0200
Subject: How to calculate WDS Signal  in percentage
Message-ID: <E19fgrO-0000Uz-00@f24.test.onet.pl>

Hello

How to calculate signal in percentage 0-100% 

Only one source which seems to report WDS connection stats:
cat /proc/net/hostap/wlan0/ap

# BSSID CHAN SIGNAL NOISE RATE SSID FLAGS
00:00:fc:ba:1d:9f 7 10 0 100 'MX103' [ESS]
00:00:fc:ba:19:27 7 13 0 10 'MX106' [ESS]


What mean value 10 in SIGNAL field,  , how to convert it on percentage values ?

Thanks



From proski  Thu Jul 24 09:45:37 2003
From: proski (Pavel Roskin)
Date: Thu, 24 Jul 2003 12:45:37 -0400 (EDT)
Subject: Open WEP Mode and SMC 2532
In-Reply-To: <3F1FE8A1.9080009@dlevitan.com>
References: <3F034CD2.9050507@dlevitan.com>
	<003f01c34148$919b2320$151e0a0a@stmantoniov>
	<3F171C5D.8000902@dlevitan.com> <3F1EFBF4.5070707@dlevitan.com>
	<Pine.LNX.4.56.0307232258490.18529@marabou.research.att.com>
	<3F1FE8A1.9080009@dlevitan.com>
Message-ID: <Pine.LNX.4.56.0307241226460.10134@marabou.research.att.com>

On Thu, 24 Jul 2003, David Levitan wrote:

> hostap_crypt and hostap_crypt_wep are working. If I put the key in on
> the client, it works without a problem.

OK, I confirm the problem.  Firmware 1.7.4, CVS HostAP on the AP side.
Firmware 1.4.9, CVS orinoco_cs on the STA side.  The WEP key is set on the
AP side to 7465-7374-00.  The station has no key.  It associates, but no
traffic comes through.  Changing host_decrypt and host_encrypt to 1 on the
AP side makes no difference.  Setting the key in the STA side makes ping
possible.

Exactly the same happens in the station uses HostAP in the managed mode
and firmware 1.7.1.

But from reading part 8.1.1 in the 802.11 specification it appears that
open system authentication doesn't regulate how the data is encrypted for
the station without the WEP key.  It only says that the station can be
authenticated without knowing the WEP key.

-- 
Regards,
Pavel Roskin



From jsun  Thu Jul 24 11:20:12 2003
From: jsun (Jun Sun)
Date: Thu, 24 Jul 2003 11:20:12 -0700
Subject: Open WEP Mode and SMC 2532
In-Reply-To: <Pine.LNX.4.56.0307241226460.10134@marabou.research.att.com>
References: <3F034CD2.9050507@dlevitan.com>
	<003f01c34148$919b2320$151e0a0a@stmantoniov> <3F171C5D.8000902@dlevitan.com>
	<3F1EFBF4.5070707@dlevitan.com>
	<Pine.LNX.4.56.0307232258490.18529@marabou.research.att.com>
	<3F1FE8A1.9080009@dlevitan.com>
	<Pine.LNX.4.56.0307241226460.10134@marabou.research.att.com>
Message-ID: <20030724182012.GA12116@gateway.junsun.net>

On Thu, Jul 24, 2003 at 12:45:37PM -0400, Pavel Roskin wrote:
> On Thu, 24 Jul 2003, David Levitan wrote:
> 
> > hostap_crypt and hostap_crypt_wep are working. If I put the key in on
> > the client, it works without a problem.
> 
> OK, I confirm the problem.  Firmware 1.7.4, CVS HostAP on the AP side.
> Firmware 1.4.9, CVS orinoco_cs on the STA side.  The WEP key is set on the
> AP side to 7465-7374-00.  The station has no key.  It associates, but no
> traffic comes through.  

I have done the same experiement too.  My understanding is:

. "security open" means open authentication.  And therefore auth packets
  go through and client is associated with AP
. Since client does not have key set, it will send plain data packet
  to AP.  You should see AP actually receives the packets from client.
. However, (I am guessing here) since AP has key set, it replies with
  encrypted data packet which client discards.  That is why you don't
  see the reply packets from AP.

I have been thinking it would be great if we modify hostAP so that 
it replies in plain data packet if the incoming packet is plain, even when
it has WEP key set.  This would make AP supporting WEP and non-WEP at
the same time.

BTW, I don't think existing behavior is wrong.  To be picky, hostAP might
want to be consistent regarding receiving and sending data packets when
key is set.  It should either receive and send plain data packets, or
should not receive plain data packet at the first place.


Jun



From proski  Thu Jul 24 12:15:25 2003
From: proski (Pavel Roskin)
Date: Thu, 24 Jul 2003 15:15:25 -0400 (EDT)
Subject: Prism2s card flash
In-Reply-To: <1059032951.14020.82.camel@mas-jsanchez>
References: <1059032951.14020.82.camel@mas-jsanchez>
Message-ID: <Pine.LNX.4.56.0307241503550.10662@marabou.research.att.com>

On Thu, 24 Jul 2003, Javier Sanchez wrote:

> i have just read some messages about a successful flashing of a dead
> card http://lists.shmoo.com/pipermail/hostap/2003-April/002333.htm

You probably mean
http://lists.shmoo.com/pipermail/hostap/2003-April/002333.html

I don't think you need it.  It appears that your card host Prism 2.5
chipset (I have no idea what Prism2s in the subject means), so you should
be able to use the "-3842" option for the DOS utility with the unmodified
slot to put card to the genesis mode.

> On linux i cand successfully ask for the status and config using cardctl,
> and on msdos i can successfully get data using the msdos flash utility.

Then you may be able to user prism2dl and linux-wlan-ng.  I suggest that
you program the latest primary firmware 1.1.1 before secondary firmware.
You can get it here (you need pk010101.hex):
http://www.red-bean.com/~proski/firmware/1.7.4.tar.gz

> Any ideas on how can i recover the card ??? Should i modify a pci
> adapter to reflash the card as i understood here ????
> http://lists.shmoo.com/pipermail/hostap/2003-April/002345.htm

You lost "l" at the end again.  Try "-3842" first.  You probably don't
need initial firmware.  Just flash primary firmware and then secondary
firmware.

> I read on other message about a way to get the firmware flashed using
> wlan-ng drivers but cant find the howto message on the list, can anybody
> point to the right thread on the list ?????

I don't know about the thread, but linux-wlan-ng can be downloaded here:
http://www.linux-wlan.com/linux-wlan/

prism2dl can be downloaded here:
http://www.red-bean.com/~proski/prism2dl/

-- 
Regards,
Pavel Roskin



From ziggy_wiggy11  Thu Jul 24 19:25:25 2003
From: ziggy_wiggy11 (Hazel Nut)
Date: Thu, 24 Jul 2003 19:25:25 -0700 (PDT)
Subject: Having Problems w/ Linksys WDT11 pci-pcmcia adapter!!
Message-ID: <20030725022525.68358.qmail@web80601.mail.yahoo.com>


Hello to all!!

I'm having problems with my linksys WDT11 pci-pcmcia
adapter. I have previously install the
pcmcia-cs-3.1.34 on my PC. Before WDT11, i was using
the Cardbus adapter from Texas wich i used to insert
my orinoco card. My target is to use WDT11 with WPC11
card. Does WDT11 use a different driver from the one i
have previously installed(pcmcia-cs-3.1.34)? Do i have
to rebuild my kernel(2.4.20) to support this adapter?

Here is the error i get after starting the pcmcia
service:

[root at MOLAVE hostap-0.0.3]# service pcmcia restart
Shutting down PCMCIA services: done.
Starting PCMCIA services: modprobe: Can't locate
module pcmcia_core
modprobe: Can't locate module i82365
modprobe: Can't locate module ds
cardmgr[3637]: no pcmcia driver in /proc/devices
done.

hope you can give me any info or help to solve this
problem. Thanks again in advance!!

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



From proski  Thu Jul 24 19:47:48 2003
From: proski (Pavel Roskin)
Date: Thu, 24 Jul 2003 22:47:48 -0400 (EDT)
Subject: Having Problems w/ Linksys WDT11 pci-pcmcia adapter!!
In-Reply-To: <20030725022525.68358.qmail@web80601.mail.yahoo.com>
References: <20030725022525.68358.qmail@web80601.mail.yahoo.com>
Message-ID: <Pine.LNX.4.56.0307242242210.6721@marabou.research.att.com>

On Thu, 24 Jul 2003, Hazel Nut wrote:

> I'm having problems with my linksys WDT11 pci-pcmcia
> adapter. I have previously install the
> pcmcia-cs-3.1.34 on my PC. Before WDT11, i was using
> the Cardbus adapter from Texas wich i used to insert
> my orinoco card. My target is to use WDT11 with WPC11
> card. Does WDT11 use a different driver from the one i
> have previously installed(pcmcia-cs-3.1.34)? Do i have
> to rebuild my kernel(2.4.20) to support this adapter?

WDT11 uses plx9052 chip.  You can use hostap_plx module.  It acts like a
PCI driver.  No PCMCIA support is required.  The card must be inserted
when you load the driver.

If you really want to use PCMCIA subsystem with WDT11 (you probably
don't), use this driver: http://www.red-bean.com/~proski/plx9052/

-- 
Regards,
Pavel Roskin



From jsanchez  Fri Jul 25 00:21:36 2003
From: jsanchez (Javier Sanchez)
Date: 25 Jul 2003 09:21:36 +0200
Subject: Prism2s card flash
In-Reply-To: <Pine.LNX.4.56.0307241503550.10662@marabou.research.att.com>
References: <1059032951.14020.82.camel@mas-jsanchez> 
	<Pine.LNX.4.56.0307241503550.10662@marabou.research.att.com>
Message-ID: <1059117701.17801.66.camel@mas-jsanchez>


HI all,

firstly thanks for the help, yesterday i was able to ressurrect my senao
card, i tried several commands using the dos flash utility.

I succesfully reflashed the primary and secondary firmware with 

flash -legacy -3v -on -i PK010101.HEX
flash -legacy -3v -g -d SF010409.HEX

Then i rebooted and the card was still dead, in my desesperation i tried
only 
flash -legacy -3v -on -i SF010409.HEX

Then i rebooted, and the card started to work again using the new
firmwares :-))))))))))))


Thanks again for your help


Javier Sanchez Llera
jsanchez at myalert.com



On Thu, 2003-07-24 at 21:15, Pavel Roskin wrote:
> On Thu, 24 Jul 2003, Javier Sanchez wrote:
> 
> > i have just read some messages about a successful flashing of a dead
> > card http://lists.shmoo.com/pipermail/hostap/2003-April/002333.htm
> 
> You probably mean
> http://lists.shmoo.com/pipermail/hostap/2003-April/002333.html
> 
> I don't think you need it.  It appears that your card host Prism 2.5
> chipset (I have no idea what Prism2s in the subject means), so you should
> be able to use the "-3842" option for the DOS utility with the unmodified
> slot to put card to the genesis mode.
> 
> > On linux i cand successfully ask for the status and config using cardctl,
> > and on msdos i can successfully get data using the msdos flash utility.
> 
> Then you may be able to user prism2dl and linux-wlan-ng.  I suggest that
> you program the latest primary firmware 1.1.1 before secondary firmware.
> You can get it here (you need pk010101.hex):
> http://www.red-bean.com/~proski/firmware/1.7.4.tar.gz
> 
> > Any ideas on how can i recover the card ??? Should i modify a pci
> > adapter to reflash the card as i understood here ????
> > http://lists.shmoo.com/pipermail/hostap/2003-April/002345.htm
> 
> You lost "l" at the end again.  Try "-3842" first.  You probably don't
> need initial firmware.  Just flash primary firmware and then secondary
> firmware.
> 
> > I read on other message about a way to get the firmware flashed using
> > wlan-ng drivers but cant find the howto message on the list, can anybody
> > point to the right thread on the list ?????
> 
> I don't know about the thread, but linux-wlan-ng can be downloaded here:
> http://www.linux-wlan.com/linux-wlan/
> 
> prism2dl can be downloaded here:
> http://www.red-bean.com/~proski/prism2dl/
> 
> -- 
> Regards,
> Pavel Roskin
> 
-- 
 
Javier Sanchez
System Administrator
MyAlertcom S.A.
a Buongiorno Vitaminic Company
www.buongiorno.com
javier.sanchez at buongiorno.com
jsanchez at myalert.com
Office +34 91 141 51 00



From jiri.fojtasek  Fri Jul 25 00:39:13 2003
From: jiri.fojtasek (Jiri Fojtasek)
Date: Fri, 25 Jul 2003 09:39:13 +0200
Subject: [patch] WDS & bridge, other ...
Message-ID: <3F20DEA1.1000801@hlohovec.net>

Hello all

This patch solving some instability issues :

* When bridge not have same mac address as wlan and wds devices, WDS 
ethernet frame source address is not correct (only wds compilant frames)

* Bridge can send some frames by wlan0 with not existent destination 
address whish cause some txexc, and when try send a frame in to own mac 
address (addr1=addr2) sometimes causes firmware lockup (confirmed on 
1.5.6). Now is all kind of those frames droped ...

* Optimized hfa384x_wait_offset function whish always read two times 
busy offset register, probing time resolution is set back to 1usec. I 
have tested how much time is need for waiting and average time is 3usec 
(pci card). 10 usec was too long. This also fixing some bap timeout 
messages ...

* Addet  enhanced "Could not find sta for this TX error"  loging, what 
help me made those fixes

Jiri
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
Url: http://lists.shmoo.com/pipermail/hostap/attachments/20030725/d4129bfb/attachment.txt 


From chrisc  Fri Jul 25 08:23:14 2003
From: chrisc (Chris Cox)
Date: Fri, 25 Jul 2003 10:23:14 -0500 (CDT)
Subject: Belkin F5D6001 (v1) and flashed firmware
Message-ID: <Pine.LNX.4.44.0307251014460.17531-100000@smudge.chris.org>

Just checking to see if anyone has had success in reflashing the firmware 
on a Belkin F5D6001 prismII card.

I attempted the same a week ago and ended up killing the card.  I have 
tried to resurrect it using the Intersil DOS flash.exe utility, however, 
though the card appears to be recognised by the tool, it does not actually 
rebuild the firmware.

I called Belkin tech support, however, they were unable (or unwilling) to 
proivide any details of exactly which firmware would run on their cards, 
or specific parameters to supply to the flash tool.  Their only solution 
was to have the card replaced under warranty.  This they have actually 
done, although they replaced it with the newer v2 card which no longer 
uses the prismII chipset.  However, they told me to just trash the old 
card rather than returning it, so, if anyone can help with suggestions on 
resurrecting the old card, I would be very greatful.

Also, in case there is not a current (1.5.6 or later) flashable firmware 
retrievable that works with the belkin card, is anyone aware of a RAMmable 
firmware later than 1.4.9?

I would like to disable the ssid broadcast (ssid hide) which evidently 
requires 1.6.3 or later. 

-- 
73  Chris Cox  N0UK, G4JEC, ex-AB0CN, ex-G8PTC  RNARS #1157  EN34jv

chrisc at Chris.Org        Ping Jockey's do it until they HEAR the burn...
  WWW Home Page: http://WWW.Chris.Org/   http://www.pingjockey.net 
Cultural observation:
	Europeans think 100 miles is a long way;
	Americans think 100 years is a long time!



From proski  Fri Jul 25 11:39:57 2003
From: proski (Pavel Roskin)
Date: Fri, 25 Jul 2003 14:39:57 -0400 (EDT)
Subject: Belkin F5D6001 (v1) and flashed firmware
In-Reply-To: <Pine.LNX.4.44.0307251014460.17531-100000@smudge.chris.org>
References: <Pine.LNX.4.44.0307251014460.17531-100000@smudge.chris.org>
Message-ID: <Pine.LNX.4.56.0307251421290.12535@marabou.research.att.com>

On Fri, 25 Jul 2003, Chris Cox wrote:

> Just checking to see if anyone has had success in reflashing the
> firmware on a Belkin F5D6001 prismII card.
>
> I attempted the same a week ago and ended up killing the card.  I have
> tried to resurrect it using the Intersil DOS flash.exe utility, however,
> though the card appears to be recognised by the tool, it does not
> actually rebuild the firmware.

We really need to fix prism2_srec so that it doesn't require working
secondary firmware.  It appears that apart from this limitation, it's the
safest way to update the firmware.  I believe it would not kill your card.

> I called Belkin tech support, however, they were unable (or unwilling)
> to proivide any details of exactly which firmware would run on their
> cards, or specific parameters to supply to the flash tool.

I think it's a bad idea.  Such calls discourage vendors from publishing
firmware updates.  Even if they didn't tell you anything, they still spent
time on you.

> Their only solution was to have the card replaced under warranty.  This
> they have actually done, although they replaced it with the newer v2
> card which no longer uses the prismII chipset.  However, they told me to
> just trash the old card rather than returning it, so, if anyone can help
> with suggestions on resurrecting the old card, I would be very greatful.

It's possible, but you need a modified PCMCIA adapter.  If you happen to
have TI PCI1410, connect pin 134 to +5V as described here:
http://sisyphus.iocaine.com/pipermail/hostap/2003-April/002446.html

> Also, in case there is not a current (1.5.6 or later) flashable firmware
> retrievable that works with the belkin card, is anyone aware of a RAMmable
> firmware later than 1.4.9?
>
> I would like to disable the ssid broadcast (ssid hide) which evidently
> requires 1.6.3 or later.

These are the latest available firmwares:

               Prism 2            Prism 2.5
RAM            1.7.1              1.7.4
Flash          1.4.9              1.7.4

All are available at http://www.red-bean.com/~proski/firmware/ Since you
probably have Prism 2.5 now, you can flash it with 1.7.4. The old card can
be flashed with 1.4.9 and updated to 1.7.1 on startup.  If you need help
with resurrecting the old card, write me in private.

-- 
Regards,
Pavel Roskin



From cas  Fri Jul 25 17:40:53 2003
From: cas (Craig Sanders)
Date: Sat, 26 Jul 2003 10:40:53 +1000
Subject: Richoh RL5c475 and IRQ
Message-ID: <20030726004053.GA21956@taz.net.au>

i can't seem to get pcmcia-cs to recognise which IRQ my Ricoh RL5c475 is on.

any clues would be appreciated...


system is an athlon 2000, Gigabyte 7VA m/b, with 1GB RAM, running debian
unstable.  kernel is 2.4.21.  pcmcia-cs version is 3.2.2.  hostap version is
latest from CVS.

lspci -vv shows:

00:09.0 CardBus bridge: Ricoh Co Ltd RL5c475 (rev 80)
    Subsystem: CARRY Computer ENG. CO Ltd: Unknown device 0101
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
    Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
    Latency: 32
    Interrupt: pin A routed to IRQ 17
    Region 0: Memory at de005000 (32-bit, non-prefetchable) [size=4K]
    Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
    Memory window 0: de000000-de001000 (prefetchable)
    Memory window 1: de002000-de003000 (prefetchable)
    I/O window 1: 0000c800-0000cc03
    BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
    16-bit legacy interface ports at 0001

/etc/default/pcmcia has:

# Defaults for pcmcia (sourced by /etc/init.d/pcmcia)
PCMCIA=yes
PCIC=i82365
PCIC_OPTS="irq_mode=0 pci_irq_list=17,20"
#PCIC_OPTS=
CORE_OPTS=
CARDMGR_OPTS=


'cardctl ident' shows:

Socket 0:
  product info: "INTERSIL", "HFA384x/IEEE", "Version 01.02", ""
  manfid: 0x0156, 0x0002
  function: 6 (network)

the card is a Veritech VAC2511-D (rebadged Senao).


running "/etc/init.d/pcmcia start" shows this:

Jul 26 10:20:48 ganesh kernel: Linux PCMCIA Card Services 3.2.2
Jul 26 10:20:48 ganesh kernel:   kernel build: 2.4.21 unknown
Jul 26 10:20:48 ganesh kernel:   options:  [pci] [cardbus] [apm]
Jul 26 10:20:49 ganesh kernel: Intel ISA/PCI/CardBus PCIC probe:
Jul 26 10:20:49 ganesh kernel:   Ricoh RL5C475 rev 80 PCI-to-CardBus at slot 00:09, mem 0xde005000
Jul 26 10:20:49 ganesh kernel:     host opts [0]: [pci only] [io 3/6/1] [mem 3/6/1] [no pci irq] [lat 32/32] [bus 2/2]
Jul 26 10:20:49 ganesh kernel:     *NO* card interrupts, polling interval = 1000 ms

"no pci irq".  not good.  so, of course, hostap_cs can't talk to the card:  

Jul 26 10:20:49 ganesh kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
Jul 26 10:20:49 ganesh kernel: hostap_crypt: registered algorithm 'NULL'
Jul 26 10:20:50 ganesh kernel: hostap_cs: CVS (Jouni Malinen <jkmaline at cc.hut.fi>)
Jul 26 10:20:50 ganesh kernel: hostap_cs: setting Vcc=33 (constant)
Jul 26 10:20:50 ganesh kernel: hostap_cs: CS_EVENT_CARD_INSERTION
Jul 26 10:20:50 ganesh kernel: prism2_config()
Jul 26 10:20:50 ganesh kernel: hostap_cs: setting Vcc=33 (from config)
Jul 26 10:20:50 ganesh kernel: Checking CFTABLE_ENTRY 0x01 (default 0x01)
Jul 26 10:20:50 ganesh kernel: IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
Jul 26 10:20:50 ganesh kernel: io->flags = 0x0046, io.base=0x0000, len=64
Jul 26 10:20:50 ganesh kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x200-0x207 0x330-0x337 0x4d0-0x4d7
Jul 26 10:20:50 ganesh kernel: cs: IO port probe 0x0208-0x032f: clean.
Jul 26 10:20:50 ganesh kernel: cs: IO port probe 0x0338-0x04cf: clean.
Jul 26 10:20:50 ganesh kernel: cs: IO port probe 0x04d8-0x04ff: clean.
Jul 26 10:20:50 ganesh kernel: cs: IO port probe 0x0800-0x08ff: excluding 0x800-0x807
Jul 26 10:20:50 ganesh kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Jul 26 10:20:50 ganesh kernel: cs: IO port probe 0x0c00-0x0cff: clean.
Jul 26 10:20:50 ganesh kernel: hostap_cs: RequestIRQ: Resource in use
Jul 26 10:20:50 ganesh kernel: prism2_release
Jul 26 10:20:50 ganesh kernel: : card already removed or not configured during shutdown
Jul 26 10:20:50 ganesh kernel: release - done
Jul 26 10:20:51 ganesh kernel: prism2_detach
Jul 26 10:20:51 ganesh kernel: hostap_free_data: ap has not yet been initialized - skip resource freeing


$ cat /proc/interrupts
           CPU0       
  0:    3965019    IO-APIC-edge  timer
  1:      25090    IO-APIC-edge  keyboard
  2:          0          XT-PIC  cascade
  4:     103959    IO-APIC-edge  serial
  8:          4    IO-APIC-edge  rtc
  9:          0    IO-APIC-edge  acpi
 14:    3082196    IO-APIC-edge  ide0
 15:    3107495    IO-APIC-edge  ide1
 16:          2   IO-APIC-level  bttv
 17:     185254   IO-APIC-level  eth0
 18:        210   IO-APIC-level  aic7xxx
 19:     654375   IO-APIC-level  PCnet/PCI II 79C970A
 21:        162   IO-APIC-level  usb-uhci, usb-uhci, usb-uhci
 22:          0   IO-APIC-level  VIA8233
NMI:          0 
LOC:    3964918 
ERR:          0
MIS:          0

$ lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400 AGP] Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge
00:09.0 CardBus bridge: Ricoh Co Ltd RL5c475 (rev 80)
00:0a.0 SCSI storage controller: Adaptec AHA-2940U/UW/D / AIC-7881U
00:0b.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 16)
00:0c.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 02)
00:0c.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 02)
00:0d.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 24)
00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 Audio Controller (rev 50)
01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 82)

craig



From mrcool  Fri Jul 25 19:06:32 2003
From: mrcool (Jerry)
Date: Fri, 25 Jul 2003 21:06:32 -0500
Subject: Richoh RL5c475 and IRQ
References: <20030726004053.GA21956@taz.net.au>
Message-ID: <000701c3531a$88df5a60$bf00a8c0@Home>

> # Defaults for pcmcia (sourced by /etc/init.d/pcmcia)
> PCMCIA=yes
> PCIC=i82365
> PCIC_OPTS="irq_mode=0 pci_irq_list=17,20"
> #PCIC_OPTS=
> CORE_OPTS=
> CARDMGR_OPTS=

Elan recommends: PCIC_OPTS="irq_mode=0 pci_csc=0 poll_interval=100"

on their website... but i have found that you need to have "pci=biosirq"
appended to the boot kernel by lilo, or grub or whatever, also.

Good luck (i hate those bridges)

try diferents incarnations of these options to make it work...

Jerryf



From jkmaline  Fri Jul 25 19:39:44 2003
From: jkmaline (Jouni Malinen)
Date: Fri, 25 Jul 2003 19:39:44 -0700
Subject: [PATCH] Support for 2.6.x kernels
In-Reply-To: <Pine.LNX.4.56.0307141743060.393@marabou.research.att.com>
References: <Pine.LNX.4.56.0307141743060.393@marabou.research.att.com>
Message-ID: <20030726023943.GA3482@jm.kir.nu>

On Mon, Jul 14, 2003 at 05:51:25PM -0400, Pavel Roskin wrote:

> I cannot compile hostap for Linux 2.6.0-test1:
> $ make
> *** Can't build for 2.5 with a non-2.5 source!

> Another approach is to rename 2.5 to 2.6 everywhere in the top-level
> Makefile.  2.5.x kernels are now obsolete and they will become irrelevant
> in a few days.  The patch that replaces 2.5 with 2.6 is attached.

Thanks, applied with a minor changes to allow compilation with both 2.5
and 2.6 versions. I was stuck with 2.5.6x for a long time since I did
not have enough time to fix my user space to handle some kernel
changes and did not want to break Host AP setup.. ;-)

-- 
Jouni Malinen                                            PGP id EFC895FA



From proski  Fri Jul 25 21:17:04 2003
From: proski (Pavel Roskin)
Date: Sat, 26 Jul 2003 00:17:04 -0400 (EDT)
Subject: Richoh RL5c475 and IRQ
In-Reply-To: <000701c3531a$88df5a60$bf00a8c0@Home>
Message-ID: <Pine.LNX.4.44.0307252357050.848-100000@portland.hansa.lan>

On Fri, 25 Jul 2003, Jerry wrote:

> > # Defaults for pcmcia (sourced by /etc/init.d/pcmcia)
> > PCMCIA=yes
> > PCIC=i82365
> > PCIC_OPTS="irq_mode=0 pci_irq_list=17,20"

I wonder what's the reason to set pci_irq_list.  You shouldn't need that.

> > #PCIC_OPTS=
> > CORE_OPTS=
> > CARDMGR_OPTS=
>
> Elan recommends: PCIC_OPTS="irq_mode=0 pci_csc=0 poll_interval=100"

That would be useful for drivers that can live without any interrupts
(like memory cards), but HostAP isn't such driver.

> on their website... but i have found that you need to have "pci=biosirq"
> appended to the boot kernel by lilo, or grub or whatever, also.

Yes, something like this is more likely to help.  Once the interrupts are
routed correctly, no options should be needed for i82365.  Maybe just
"irq_mode=0".  The kernel PCMCIA (yenta_socket) should be fine too.

To fix the interrupt problem, try setting PCI access mode to BIOS or
direct.  Also try enabling ACPI and disabling IO-APIC, and if you have
SMP, try disabling it too.

Since you cannot persuade HostAP not to use an interrupt, further
discussion should probably go to linux-pcmcia at lists.infradead.org or LKML.
The output of "lspci -vvv" and dmesg (complete, including ACPI
initialization) may be useful.  Your .config may be useful as well.

I used to have other IRQ routing problems with Ricoh RL5c476, so I'm not
surprised.  But the problems were on the bus level, so i82365 couldn't do
anything about it - the fix was in the kernel.

-- 
Regards,
Pavel Roskin



From cas  Sat Jul 26 03:37:42 2003
From: cas (Craig Sanders)
Date: Sat, 26 Jul 2003 20:37:42 +1000
Subject: Richoh RL5c475 and IRQ
In-Reply-To: <Pine.LNX.4.44.0307252357050.848-100000@portland.hansa.lan>
References: <000701c3531a$88df5a60$bf00a8c0@Home>
	<Pine.LNX.4.44.0307252357050.848-100000@portland.hansa.lan>
Message-ID: <20030726103742.GD21956@taz.net.au>

On Sat, Jul 26, 2003 at 12:17:04AM -0400, Pavel Roskin wrote:
> On Fri, 25 Jul 2003, Jerry wrote:
> 
> > > # Defaults for pcmcia (sourced by /etc/init.d/pcmcia)
> > > PCMCIA=yes
> > > PCIC=i82365
> > > PCIC_OPTS="irq_mode=0 pci_irq_list=17,20"
> 
> I wonder what's the reason to set pci_irq_list.  You shouldn't need that.

it wasn't auto-detecting, so i tried setting it manually. made no difference.

> Yes, something like this is more likely to help.  Once the interrupts are
> routed correctly, no options should be needed for i82365.  Maybe just
> "irq_mode=0".  

tried that too.  doesn't work.

> The kernel PCMCIA (yenta_socket) should be fine too.

with kernel pcmcia, it detects the Ricoh RL5c475.  but none of the drivers
which *should* work (linux-wlan-ng, hostap, orinoco) will detect the senao
wireless card...which is why i tried pcmcia-cs instead.

> To fix the interrupt problem, try setting PCI access mode to BIOS or direct.  

i'll try this.

> Also try enabling ACPI and disabling IO-APIC, and if you have
> SMP, try disabling it too.

no SMP, but will try disabling IO-APIC next time i recompile the kernel.

> I used to have other IRQ routing problems with Ricoh RL5c476, so I'm not
> surprised.  But the problems were on the bus level, so i82365 couldn't do
> anything about it - the fix was in the kernel.

maybe i should just get another pcmcia adaptor.  what's recommended
for linux?

craig



From heeyeoly  Fri Jul 25 02:43:20 2003
From: heeyeoly (Yu, Heeyeol)
Date: Fri, 25 Jul 2003 04:43:20 -0500
Subject: link quality in iwconfig with HostAP driver
Message-ID: <000a01c35291$31e2ab60$3e88b383@yuatxp>

Hi all
 
I have question of link quality. In my case I can not see statistics in
hostap driver
eth1      IEEE 802.11-DS  ESSID:"QBSS"  Nickname:"Prism  I"
          Mode:Managed  Frequency:2.422GHz  Access Point:
00:06:25:17:FA:33
          Bit Rate:11Mb/s   Tx-Power=15 dBm   Sensitivity:1/3
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:92/92  Signal level:5/153  Noise level:115/153
          Rx invalid nwid:0  Rx invalid crypt:241  Rx invalid frag:0
          Tx excessive retries:118  Invalid misc:41797   Missed beacon:0
 
This is taken from station with iwconfig command near AP running hostAP
driver.
 
But the statistics of AP is
 
 
Warning: Driver for device wlan0 recommend version 13 of Wireless
Extension,
but has been compiled with version 12, therefore some driver features
may not be available...
 
wlan0     IEEE 802.11-b  Mode:Master  Frequency:2.422GHz
          Access Point: 00:06:25:17:FA:33  Bit Rate:1Mb/s   Tx-Power:-1
dBm
          Sensitivity=1/3
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0/92  Signal level:-69 dBm  Noise level:-90 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:44  Invalid misc:9305   Missed beacon:0
 
Also I personally make and call IOCTL with SIOCGIWSPY or
hostap_get_wireless_stats function, but the value is 
: Quality:14  Signal level:178  Noise level:159
 
What's wrong here?
 
Best regards
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030725/c565cf53/attachment.htm 


From adq_dvb  Sat Jul 26 08:13:46 2003
From: adq_dvb (Andrew de Quincey)
Date: Sat, 26 Jul 2003 16:13:46 +0100
Subject: Netgear MA311 with Nforce2 with IO-APIC IRQ problem
Message-ID: <200307261613.46503.adq_dvb@lidskialf.net>

Hi, I've been tracking down and patching problems with IRQs and IO-APICs on 
the acpi-devel list. I think I've now sorted these for my motherboard.

I'm having a problem with the above card (Prism 2.5 chipset, real PCI card not 
a PCMCIA bridge).

If I use my PC in XT-style PIC mode, it works.

if I use my PC with the IO-APIC enabled (the card gets IRQ 18 in this case), 
it does not work. No IRQs are ever received from the device, so I get lots of 
timeout errors when the hostap_pci module is inserted.

I think this is not a motherboard problem:

1) A realtek 8139-based ethernet card works fine in the same PCI slot. 
2) The wavelan card works fine in windows XP (and I know APIC is setup the 
same way as it is by my patches).

I'm about to start digging into the Intersil Prism2.5 documentation, but I 
thought I'd check on the list first in case anyone knows what the problem 
might be. 

(I'm using the cvs version of the hostap driver BTW)



From adq_dvb  Sat Jul 26 08:59:01 2003
From: adq_dvb (Andrew de Quincey)
Date: Sat, 26 Jul 2003 16:59:01 +0100
Subject: Netgear MA311 with Nforce2 with IO-APIC IRQ problem
In-Reply-To: <200307261613.46503.adq_dvb@lidskialf.net>
References: <200307261613.46503.adq_dvb@lidskialf.net>
Message-ID: <200307261659.01427.adq_dvb@lidskialf.net>


> I think this is not a motherboard problem:
>
> 1) A realtek 8139-based ethernet card works fine in the same PCI slot.
> 2) The wavelan card works fine in windows XP (and I know APIC is setup the
> same way as it is by my patches).

Hi, turns out the realtek 8139 card DOESN'T work properly; I'd forgotten that 
such cards don't use IRQs until they actually try to send data.. and that 
doesn't work.

So this is a motherboard issue, and not a hostap driver issue. Has anyone else 
experienced this sort of problem though? 



From jkmaline  Sat Jul 26 20:30:54 2003
From: jkmaline (Jouni Malinen)
Date: Sat, 26 Jul 2003 20:30:54 -0700
Subject: [patch] WDS & bridge, other ...
In-Reply-To: <3F20DEA1.1000801@hlohovec.net>
References: <3F20DEA1.1000801@hlohovec.net>
Message-ID: <20030727033054.GA3678@jm.kir.nu>

On Fri, Jul 25, 2003 at 09:39:13AM +0200, Jiri Fojtasek wrote:

> This patch solving some instability issues :

Thanks!

> * When bridge not have same mac address as wlan and wds devices, WDS 
> ethernet frame source address is not correct (only wds compilant frames)

I used a bit different modification to clean up the code at the same
time, since non-compliant WDS frame was now the only exception for
copying Ethernet addresses from the skb.

> * Bridge can send some frames by wlan0 with not existent destination 
> address whish cause some txexc, and when try send a frame in to own mac 
> address (addr1=addr2) sometimes causes firmware lockup (confirmed on 
> 1.5.6). Now is all kind of those frames droped ...

Applied.

Frames to not associated STAs were originally accepted for pseudo-adhoc
style communication between APs. Anyway, receiving those frames was
apparently already broken and WDS links have made this kind of mode
obsolete.. So, there should be no need to keep this odd mode around any
longer.

> * Optimized hfa384x_wait_offset function whish always read two times 
> busy offset register, probing time resolution is set back to 1usec. I 
> have tested how much time is need for waiting and average time is 3usec 
> (pci card). 10 usec was too long. This also fixing some bap timeout 
> messages ...

Applied, but with a longer BAP timeout since I remember receiving some
reports about BAP timeout errors that cause did not really require card
reset, but just a bit longer wait.

> * Addet  enhanced "Could not find sta for this TX error"  loging, what 
> help me made those fixes

This should not happen anymore since frames causing these TX errors are
now dropped before even trying to send them. Anyway, I added the extra
information to this message. I did not apply the changes that modified
the organization and indentation of the code in that function.

-- 
Jouni Malinen                                            PGP id EFC895FA



From dave  Sat Jul 26 22:25:00 2003
From: dave (Dave)
Date: Sat, 26 Jul 2003 22:25:00 -0700
Subject: [patch] WDS & bridge, other ...
References: <3F20DEA1.1000801@hlohovec.net> <20030727033054.GA3678@jm.kir.nu>
Message-ID: <000601c353ff$72ce6280$0e01a8c0@ws5>


Are these changes in CVS now?

-Dave



> On Fri, Jul 25, 2003 at 09:39:13AM +0200, Jiri Fojtasek wrote:
>
> > This patch solving some instability issues :
>
> Thanks!
>
> > * When bridge not have same mac address as wlan and wds devices, WDS
> > ethernet frame source address is not correct (only wds compilant frames)
>
> I used a bit different modification to clean up the code at the same
> time, since non-compliant WDS frame was now the only exception for
> copying Ethernet addresses from the skb.
>
> > * Bridge can send some frames by wlan0 with not existent destination
> > address whish cause some txexc, and when try send a frame in to own mac
> > address (addr1=addr2) sometimes causes firmware lockup (confirmed on
> > 1.5.6). Now is all kind of those frames droped ...
>
> Applied.
>
> Frames to not associated STAs were originally accepted for pseudo-adhoc
> style communication between APs. Anyway, receiving those frames was
> apparently already broken and WDS links have made this kind of mode
> obsolete.. So, there should be no need to keep this odd mode around any
> longer.
>
> > * Optimized hfa384x_wait_offset function whish always read two times
> > busy offset register, probing time resolution is set back to 1usec. I
> > have tested how much time is need for waiting and average time is 3usec
> > (pci card). 10 usec was too long. This also fixing some bap timeout
> > messages ...
>
> Applied, but with a longer BAP timeout since I remember receiving some
> reports about BAP timeout errors that cause did not really require card
> reset, but just a bit longer wait.
>
> > * Addet  enhanced "Could not find sta for this TX error"  loging, what
> > help me made those fixes
>
> This should not happen anymore since frames causing these TX errors are
> now dropped before even trying to send them. Anyway, I added the extra
> information to this message. I did not apply the changes that modified
> the organization and indentation of the code in that function.
>
> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>



From cas  Sat Jul 26 23:26:51 2003
From: cas (Craig Sanders)
Date: Sun, 27 Jul 2003 16:26:51 +1000
Subject: Richoh RL5c475 and IRQ
In-Reply-To: <20030726103742.GD21956@taz.net.au>
References: <000701c3531a$88df5a60$bf00a8c0@Home>
	<Pine.LNX.4.44.0307252357050.848-100000@portland.hansa.lan>
	<20030726103742.GD21956@taz.net.au>
Message-ID: <20030727062651.GB5251@taz.net.au>

On Sat, Jul 26, 2003 at 08:37:42PM +1000, Craig Sanders wrote:
> > The kernel PCMCIA (yenta_socket) should be fine too.
> 
> with kernel pcmcia, it detects the Ricoh RL5c475.  but none of the drivers
> which *should* work (linux-wlan-ng, hostap, orinoco) will detect the senao
> wireless card...which is why i tried pcmcia-cs instead.
> 
> > To fix the interrupt problem, try setting PCI access mode to BIOS or direct.  
> 
> i'll try this.
> 
> > Also try enabling ACPI and disabling IO-APIC, and if you have
> > SMP, try disabling it too.
> 
> no SMP, but will try disabling IO-APIC next time i recompile the kernel.

i got it working today.

didn't have to do "pci=bios" or disable IO-APIC or anything.

all i did was toss out pcmcia-cs modules and use the kernel pcmcia drivers (and
patch hostap into the kernel of course - which is what i didn't do the first
time around).  kernel pcmcia has no problems with the ricoh cradle, so it just
worked.

craig



From jkmaline  Sat Jul 26 23:32:39 2003
From: jkmaline (Jouni Malinen)
Date: Sat, 26 Jul 2003 23:32:39 -0700
Subject: [patch] WDS & bridge, other ...
In-Reply-To: <000601c353ff$72ce6280$0e01a8c0@ws5>
References: <3F20DEA1.1000801@hlohovec.net> <20030727033054.GA3678@jm.kir.nu>
	<000601c353ff$72ce6280$0e01a8c0@ws5>
Message-ID: <20030727063239.GA9729@jm.kir.nu>

On Sat, Jul 26, 2003 at 10:25:00PM -0700, Dave wrote:

> Are these changes in CVS now?

Yes.

-- 
Jouni Malinen                                            PGP id EFC895FA



From ammirata  Sun Jul 27 05:57:19 2003
From: ammirata (Sergio M. Ammirata)
Date: Sun, 27 Jul 2003 08:57:19 -0400
Subject: WDS and TX rates, signal measurements
In-Reply-To: <20030609011542.GE3113@jm.kir.nu>
Message-ID: <000701c3543e$9e124990$027ba8c0@ammirata.net>

Jouni,

Back on June 08 you wrote:

> Anyway, I think I will change the driver to process beacon frames even
> when hostapd is running

Have you gotten a chance to make this change in CVS?

Thanks,

Sergio

> -----Original Message-----
> From: hostap-bounces at shmoo.com [mailto:hostap-bounces at shmoo.com] On
Behalf
> Of Jouni Malinen
> Sent: Sunday, June 08, 2003 9:16 PM
> To: hostap at shmoo.com
> Subject: Re: WDS and TX rates, signal measurements
> 
> On Sun, Jun 08, 2003 at 09:29:24AM -0400, Sergio M. Ammirata wrote:
> 
> > There are a few issues that are still pending in the latest CVS
code:
> > 1) The default value for basic_rates is 3. Shouldn't it be 15?
> 
> No, the default basic rate set should be 1 Mbps and 2 Mbps. This is
> required for compatibility with IEEE 802.11 (i.e., non-802.11b)
> stations. Basic rates are used for multicast/broadcast, ACKs, RTS/CTS,
> but most unicast frames can use higher rates.
> 
> > 2) WDS link autorate negotiation does not work with hostapd (it
stays
> > stuck at 2Mbit) but it does in kernel mode. When I look at the stats
of
> > the neighbor in /proc/.. I see that that the supported_rates are
blank
> > when you use hostapd and they are filled in correctly in kernel
mode.
> 
> Which method do you use to add WDS links? Kernel driver is not
> processing beacon frames when hostapd is used, so it cannot
> automatically get the supported rates list. However, when the station
> entry for WDS peer is added with iwpriv wds_add or based on incoming
WDS
> frame, supported rates are set to 1, 2, 5.5, and 11 Mbps. I did not
see
> them blank in any of my tests with hostapd running.
> 
> Anyway, I think I will change the driver to process beacon frames even
> when hostapd is running
> 
> > 3) Did the signal measurement conversion change? Before, the noise
level
> > was around -100Dbm, now it is around -30Dbm.
> 
> If I remember correctly, I changed at least one of the signal quality
> conversion to use new function. This should match with the numbers
> reported by latest firmware versions. It will most probably give
> incorrect values for older firmware versions.
> 
> Unfortunately, these numbers seem to vary a lot based on both hardware
> model and firmware version. In addition, they are not documented very
> well. I do not have enough interest and energy in going through all
the
> possible combinations in search of the correct value..
> 
> --
> Jouni Malinen                                            PGP id
EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap




From jiri.fojtasek  Sun Jul 27 08:11:24 2003
From: jiri.fojtasek (Jiri Fojtasek)
Date: Sun, 27 Jul 2003 17:11:24 +0200
Subject: [patch] WDS & bridge, other ...
In-Reply-To: <20030727033054.GA3678@jm.kir.nu>
References: <3F20DEA1.1000801@hlohovec.net> <20030727033054.GA3678@jm.kir.nu>
Message-ID: <3F23EB9C.8000106@hlohovec.net>

Jouni Malinen wrote:

>On Fri, Jul 25, 2003 at 09:39:13AM +0200, Jiri Fojtasek wrote:
>
>  
>
>>* Addet  enhanced "Could not find sta for this TX error"  loging, what 
>>help me made those fixes
>>    
>>
>
>This should not happen anymore since frames causing these TX errors are
>now dropped before even trying to send them. Anyway, I added the extra
>information to this message. I did not apply the changes that modified
>the organization and indentation of the code in that function.
>
>  
>
I think it will still happen due to organization of the 
ap_handle_timer() (i not using hostapd mode). There is a issue regarding 
sta inactivity pooling. In the same timer event is the deauth frame send 
and sta get removed without waiting to result of deauth frame send . 
This always fire up TXEXC event because when TXEXC happen is sta entry 
removet ...

Its very minor problem, but should be fixed by scheduling next timer 
event that  will raise ap_free_sta() ...

Jiri



From jkmaline  Sun Jul 27 11:31:12 2003
From: jkmaline (Jouni Malinen)
Date: Sun, 27 Jul 2003 11:31:12 -0700
Subject: WDS and TX rates, signal measurements
In-Reply-To: <000701c3543e$9e124990$027ba8c0@ammirata.net>
References: <20030609011542.GE3113@jm.kir.nu>
	<000701c3543e$9e124990$027ba8c0@ammirata.net>
Message-ID: <20030727183112.GA7085@jm.kir.nu>

On Sun, Jul 27, 2003 at 08:57:19AM -0400, Sergio M. Ammirata wrote:

> Back on June 08 you wrote:
> 
> > Anyway, I think I will change the driver to process beacon frames even
> > when hostapd is running
> 
> Have you gotten a chance to make this change in CVS?

Thanks for reminding me about this. I had forgotten this completely, but
changed it now. Current CVS snapshot processes beacon frames in the
kernel driver even if hostapd is running.

-- 
Jouni Malinen                                            PGP id EFC895FA



From erik.brakkee  Sun Jul 27 11:33:04 2003
From: erik.brakkee (Erik Brakkee)
Date: Sun, 27 Jul 2003 20:33:04 +0200
Subject: Dynamic WEP rekeying and windows XP...
Message-ID: <3F241AE0.9030505@planet.nl>

Hi,

My wireless LAN is working flawlessly with WEP encryption enabled but 
without
dynamic WEB rekeying. Nevertheless, as soon as I switch on dynamic WEP 
rekeying
in the hostapd.conf file, I can still connect with windows XP to my 
wireless network,
but an IP address is not assigned ('ipconfig' shows 0.0.0.0) .

I made the following changes to the hostapd.conf file:

    wep_key_len_broadcast =5
    wep_key_len_unicast=5
    wep_rekey_period=300

I have also attempted to restart both the (Linux) server and the windows 
client to make sure
that all initializations are done in the correct order but to no avail.

What other configuration steps should I use in order to get the dynamic 
WEP rekeying function to
work? Should this work with a Linux/Windows XP combination?

Cheers
  Erik

PS.   Server (access point):     SuSE linux 8.0, hostap version 0.0.3.
                                               3COM Airconnect PCI card,
                                               DHCP is used to assign IP 
address dynamically
         Client:   Windows XP home edition, ACER notebook Aspire 1312LC,
                      Linksys WMP54G card


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hostapd.conf
Url: http://lists.shmoo.com/pipermail/hostap/attachments/20030727/78e8010f/attachment.txt 


From jkmaline  Sun Jul 27 11:47:18 2003
From: jkmaline (Jouni Malinen)
Date: Sun, 27 Jul 2003 11:47:18 -0700
Subject: Dynamic WEP rekeying and windows XP...
In-Reply-To: <3F241AE0.9030505@planet.nl>
References: <3F241AE0.9030505@planet.nl>
Message-ID: <20030727184718.GA7460@jm.kir.nu>

On Sun, Jul 27, 2003 at 08:33:04PM +0200, Erik Brakkee wrote:

> My wireless LAN is working flawlessly with WEP encryption enabled but 
> without
> dynamic WEB rekeying. Nevertheless, as soon as I switch on dynamic WEP 
> rekeying
> in the hostapd.conf file, I can still connect with windows XP to my 
> wireless network,
> but an IP address is not assigned ('ipconfig' shows 0.0.0.0) .

Do you mean it was working with IEEE 802.1X, but without dynamic WEP
keying?

> I made the following changes to the hostapd.conf file:
> 
>    wep_key_len_broadcast =5
>    wep_key_len_unicast=5
>    wep_rekey_period=300

Are these the only changes you did to the attached hostapd.conf?

> What other configuration steps should I use in order to get the dynamic 
> WEP rekeying function to
> work? Should this work with a Linux/Windows XP combination?

Dynamic WEP keying requires IEEE 802.1X. The attached hostapd.conf does
not have it enabled. You will need to set ieee8021x=1 and configure 
RADIUS server for IEEE 802.1X use (auth_server_* in hostapd.conf).

-- 
Jouni Malinen                                            PGP id EFC895FA



From dave  Sun Jul 27 12:17:11 2003
From: dave (Dave)
Date: Sun, 27 Jul 2003 12:17:11 -0700
Subject: [patch] WDS & bridge, other ...
References: <3F20DEA1.1000801@hlohovec.net> <20030727033054.GA3678@jm.kir.nu>
	<3F23EB9C.8000106@hlohovec.net>
Message-ID: <001201c35473$ae210e40$0507ee3f@ws1>


> >
> >>* Addet  enhanced "Could not find sta for this TX error"  loging, what
> >>help me made those fixes
> >>
> >>
> >
> >This should not happen anymore since frames causing these TX errors are
> >now dropped before even trying to send them. Anyway, I added the extra
> >information to this message. I did not apply the changes that modified
> >the organization and indentation of the code in that function.
> >
> >
> >
> I think it will still happen due to organization of the
> ap_handle_timer() (i not using hostapd mode). There is a issue regarding
> sta inactivity pooling. In the same timer event is the deauth frame send
> and sta get removed without waiting to result of deauth frame send .
> This always fire up TXEXC event because when TXEXC happen is sta entry
> removet ...

Just confirming that TX errors ("cannot find STA...") are still occuring
although now including the STA address.

This is on a wlan0 which is running in repeater mode (no associations) and
using Linux bridging.


-Dave

> Its very minor problem, but should be fixed by scheduling next timer
> event that  will raise ap_free_sta() ...
>
> Jiri
>
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>



From jkmaline  Sun Jul 27 12:39:15 2003
From: jkmaline (Jouni Malinen)
Date: Sun, 27 Jul 2003 12:39:15 -0700
Subject: [patch] WDS & bridge, other ...
In-Reply-To: <001201c35473$ae210e40$0507ee3f@ws1>
References: <3F20DEA1.1000801@hlohovec.net> <20030727033054.GA3678@jm.kir.nu>
	<3F23EB9C.8000106@hlohovec.net> <001201c35473$ae210e40$0507ee3f@ws1>
Message-ID: <20030727193915.GA7590@jm.kir.nu>

On Sun, Jul 27, 2003 at 12:17:11PM -0700, Dave wrote:

> Just confirming that TX errors ("cannot find STA...") are still occuring
> although now including the STA address.
> 
> This is on a wlan0 which is running in repeater mode (no associations) and
> using Linux bridging.

Is the reported address one of the WDS peers? Do you have a station
entry for the said address (i.e., does /proc/net/hostap/wlan#/<addr>
exist)? How was the WDS link added (manually with iwpriv wds_add?)? In
theory, all WDS peers should now have STA entry, but it is certainly
possible that I have missed some way of creating WDS links.

-- 
Jouni Malinen                                            PGP id EFC895FA



From erik.brakkee  Sun Jul 27 13:07:28 2003
From: erik.brakkee (Erik Brakkee)
Date: Sun, 27 Jul 2003 22:07:28 +0200
Subject: Dynamic WEP rekeying and windows XP...
In-Reply-To: <20030727184718.GA7460@jm.kir.nu>
References: <3F241AE0.9030505@planet.nl> <20030727184718.GA7460@jm.kir.nu>
Message-ID: <3F243100.9040807@planet.nl>

Hi,

Jouni Malinen wrote:

>On Sun, Jul 27, 2003 at 08:33:04PM +0200, Erik Brakkee wrote:
>
>  
>
>>My wireless LAN is working flawlessly with WEP encryption enabled but 
>>without
>>dynamic WEB rekeying. Nevertheless, as soon as I switch on dynamic WEP 
>>rekeying
>>in the hostapd.conf file, I can still connect with windows XP to my 
>>wireless network,
>>but an IP address is not assigned ('ipconfig' shows 0.0.0.0) .
>>    
>>
>
>Do you mean it was working with IEEE 802.1X, but without dynamic WEP
>keying?
>  
>
It was working with 802.11b without dynamic WEP keying

>  
>
>>I made the following changes to the hostapd.conf file:
>>
>>   wep_key_len_broadcast =5
>>   wep_key_len_unicast=5
>>   wep_rekey_period=300
>>    
>>
>
>Are these the only changes you did to the attached hostapd.conf?
>  
>
Yes these are the only changes I made.

>  
>
>>What other configuration steps should I use in order to get the dynamic 
>>WEP rekeying function to
>>work? Should this work with a Linux/Windows XP combination?
>>    
>>
>
>Dynamic WEP keying requires IEEE 802.1X. The attached hostapd.conf does
>not have it enabled. You will need to set ieee8021x=1 and configure 
>RADIUS server for IEEE 802.1X use (auth_server_* in hostapd.conf).
>  
>
Ok, I read something about 802.1X, and this involves the EAP protocol 
and a Radius server.
I understand the basic principle of a radius server because I have 
encountered this earlier
(at work). However, I don't know exactly how to set this up.

Right now I am using iwconfig to specify the key.

Where can I find information on setting up a radius server for 802.1X?

Cheers
  Erik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030727/29d340d6/attachment.htm 


From dave  Sun Jul 27 13:34:47 2003
From: dave (Dave)
Date: Sun, 27 Jul 2003 13:34:47 -0700
Subject: [patch] WDS & bridge, other ...
References: <3F20DEA1.1000801@hlohovec.net>
	<20030727033054.GA3678@jm.kir.nu><3F23EB9C.8000106@hlohovec.net>
	<001201c35473$ae210e40$0507ee3f@ws1> <20030727193915.GA7590@jm.kir.nu>
Message-ID: <000901c3547e$85b044c0$0507ee3f@ws1>

> On Sun, Jul 27, 2003 at 12:17:11PM -0700, Dave wrote:
>
> > Just confirming that TX errors ("cannot find STA...") are still occuring
> > although now including the STA address.
> >
> > This is on a wlan0 which is running in repeater mode (no associations)
and
> > using Linux bridging.
>
> Is the reported address one of the WDS peers? Do you have a station
> entry for the said address (i.e., does /proc/net/hostap/wlan#/<addr>
> exist)? How was the WDS link added (manually with iwpriv wds_add?)? In
> theory, all WDS peers should now have STA entry, but it is certainly
> possible that I have missed some way of creating WDS links.

Only one WDS peer on wlan0 and yes, the peer is the reported address. There
is no STA entry in /proc/net/hostap/wlan0/wds.

All my WDS links are created manually...I don't use autom_ap_wds anymore but
rather iwpriv wlan0 wds_add <addr>

Thanks!

-Dave


> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>



From wwpaloalto  Sun Jul 27 19:44:05 2003
From: wwpaloalto (Wei Wang)
Date: Sun, 27 Jul 2003 19:44:05 -0700 (PDT)
Subject: INSMOD command
Message-ID: <8310630.1059360253582.JavaMail.nobody@kermit.psp.pas.earthlink.net>

Hi, 

   Can anyone help me with this problem? 

   I have an access point box comes with Linux kernel and pcmcia modules: ds.o hostap.o hostap_crypt.o hostap_crypt_wep.o hostap_cs.o i82365.o pcmcia_core.o installed.    

   In order to replace hostap_cs.o, I brought down eth0, eth1, eth2 and wlan0; removed the existing hostap_cs, INSMOD hostap_cs.o then brought up eth0, eth1, eth2 and wlan0 then issued two route commands.  The network would not come back but without rmmod and insmod, the network would come back fine.  

   Any help from any of you will be very much appreciated. 

Wei Wang 



From jkmaline  Sun Jul 27 20:58:35 2003
From: jkmaline (Jouni Malinen)
Date: Sun, 27 Jul 2003 20:58:35 -0700
Subject: Prism2/2.5/3 Host AP - new release v0.0.4 - 2003-07-27
Message-ID: <20030728035835.GA6980@jm.kir.nu>

A new version of Prism2 Host AP driver was just released and it is now
available from http://hostap.epitest.fi/

This is mostly a bug fix release, but there are also couple of new
features and some design/code cleanup. I was going to release this
earlier, but other projects and vacation etc. limited the amount of
time I had available for Host AP driver.. I have not yet gone through
all the emails I have pending (well, OK, I have about 500 left ;-) so
some of the submitted patches have not been merged in. I will try to
continue processing these messages and otherwise work mostly in bug
fixing mode in the near future.


2003-07-27 - v0.0.4

* moved non-hardware specific RX code from hostap_hw.c into a new file,
  hostap_80211_rx.c and removed Prism2 RX descriptor dependency from
  hostap_ap.c
* fixed number of compilation issues (RH9 kernel, *.mod files to local
  directory, 2.4.x compilation with CONFIG_MODVERSIONS, external
  pcmcia-cs)
* removed extra tasklet that was used with TX callback handler
* update basic rate set automatically when changing supported rate set
* fixed compilation without Linux Wireless Extensions
  (CONFIG_NET_RADIO)
  (this is not recommended, but should work now; it will limit driver
  functionality)
* use less aggressive transmit rate decreasing algorithm
* fixed inactivity expiration of stations using power saving mode
* fixed sending of IEEE 802.1X frames to buffer them if STA is in power
  saving mode
* removed backward compatibility code for Linux Wireless Extensions
  versions older than ver 9
* added module parameter 'dev_template' for setting the device name
  template (default: 'wlan%d'); this is for hostap_{cs,pci,plx}.o
* changed monitor mode to use pseudo-IBSS mode instead of Host AP mode
  to avoid sending out Beacon and ProbeResp frames
* fixed enh_sec setting (hide SSID) to reset Port0 so that the changes
  to the beacon are taken into use immediately
* added support for selection which authentication algorithm to use
  in station mode (prism2_param 'ap_auth_algs', 1 = open system,
  2 = shared key (requires WEP), 3 = both, default)
  (ap_auth_algs was previously used only in AP/Master mode, but it is
  now also used for STA mode configuration)
* added support for manual scan and roaming mode (managed/ad-hoc);
  prism2_param host_roaming 2; this disabled automatic IEEE 802.11
  scans and gives more control to user space programs using Linux
  wireless extensions (see 'Roaming in station mode' section in
  README file for more information)
* process beacon frames in kernel driver even when hostapd is used
  (this updates AP tables and allows automatic WDS link generation)
* removed TX power controlling (iwconfig txpower) since the
  experimental algorithm in the driver did not include any feedback
  from the measured TX power and could allow TX power values that cause
  interference or signal quality issues; now only txpower 'off' and
  'auto' are allowed. TX power controlling will be returned after
  proper algorithm using feedback loop has been implemented.


-- 
Jouni Malinen                                            PGP id EFC895FA



From linux  Mon Jul 28 05:40:40 2003
From: linux (Matt Caddy)
Date: 28 Jul 2003 13:40:40 +0100
Subject: Compilation Errors
Message-ID: <1059396039.3968.3.camel@techno>

Hi,

Im trying to run the make pci command and get the following error
below.  Im running redhat 9, kernel version 2.4.20-19.9.  Any one have
any ideas ?? Excuse me if this has been dealt with before, im new !

gcc -I/usr/src/linux-2.4.20-8/include -include
driver/modules/hostap_crypt.ver -include driver/modules/hostap.ver -O2
-D__KERNEL__ -DMODULE -Wall -g -c  -DMODVERSIONS -include
/usr/src/linux-2.4.20-8/include/linux/modversions.h -D__SMP__ -DSMP
-fomit-frame-pointer -o driver/modules/hostap_pci.o
driver/modules/hostap_pci.c
<command line>:3:1: /usr/src/linux-2.4.20-8/include/linux/modversions.h:
No such file or directory
In file included from /usr/include/linux/fs.h:23,
                 from /usr/include/linux/capability.h:17,
                 from /usr/include/linux/binfmts.h:5,
                 from /usr/include/linux/sched.h:9,
                 from /usr/include/linux/skbuff.h:19,
                 from driver/modules/hostap_pci.c:12:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header
in userland!
In file included from /usr/include/linux/sched.h:14,
                 from /usr/include/linux/skbuff.h:19,
                 from driver/modules/hostap_pci.c:12:
/usr/include/linux/timex.h:173: field `time' has incomplete type
/usr/include/linux/timex.h:188: confused by earlier errors, bailing out
make: *** [driver/modules/hostap_pci.o] Error 1




________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________



From yoshida  Mon Jul 28 03:53:10 2003
From: yoshida (Tooru Yoshida)
Date: Mon, 28 Jul 2003 19:53:10 +0900
Subject: Compilation Errors
In-Reply-To: <1059396039.3968.3.camel@techno>
References: <1059396039.3968.3.camel@techno>
Message-ID: <20030728195310.71c31ee4.yoshida@libertysystem-factory.co.jp>

Hi,

> Im trying to run the make pci command and get the following error
> below.  Im running redhat 9, kernel version 2.4.20-19.9.  Any one have
> any ideas ?? Excuse me if this has been dealt with before, im new !

Are Kernel-source and glibc-kernelheaders installed?
You Kernel source is kernel-source-2.4.20-19.9

It is necessary to move to /usr/src/linux-2.4 subordinate after installation, 
and to execute the following.
 1) cd /usr/src/linux-2.4
 2) A required config file is copied from a Configs directory.
 3) make oldconfig dep

However, it may not work in Red Hat software9.0 by this method.
In this case, it will create using src.rpm of kernel.

> gcc -I/usr/src/linux-2.4.20-8/include -include
> driver/modules/hostap_crypt.ver -include driver/modules/hostap.ver -O2
> -D__KERNEL__ -DMODULE -Wall -g -c  -DMODVERSIONS -include
> /usr/src/linux-2.4.20-8/include/linux/modversions.h -D__SMP__ -DSMP
> -fomit-frame-pointer -o driver/modules/hostap_pci.o
> driver/modules/hostap_pci.c
> <command line>:3:1: /usr/src/linux-2.4.20-8/include/linux/modversions.h:
> No such file or directory
> In file included from /usr/include/linux/fs.h:23,
>                  from /usr/include/linux/capability.h:17,
>                  from /usr/include/linux/binfmts.h:5,
>                  from /usr/include/linux/sched.h:9,
>                  from /usr/include/linux/skbuff.h:19,
>                  from driver/modules/hostap_pci.c:12:
> /usr/include/linux/string.h:8:2: warning: #warning Using kernel header
> in userland!
> In file included from /usr/include/linux/sched.h:14,
>                  from /usr/include/linux/skbuff.h:19,
>                  from driver/modules/hostap_pci.c:12:
> /usr/include/linux/timex.h:173: field `time' has incomplete type
> /usr/include/linux/timex.h:188: confused by earlier errors, bailing out
> make: *** [driver/modules/hostap_pci.o] Error 1


-- 
-----------------------------------------------------------------
Limited Pertnership Liberty System Factory
Tooru Yoshida <yoshida at libertysystem-factory.co.jp>
              <yoshida at embeddedlinux.jp>
              <tooruy at ieee.org>
Post 314-0033 Condminium Kashima 302,Hachigatadai 2-2-1
              Kashima , Ibaraki , Japan
Tel/Fax : +81 299 82 5076  Handy : +81 90 8349 0651
Linux Business Initiative(LBI) President http://www.lbi.gr.jp/
-----------------------------------------------------------------
Embedded Linux Developer's Community http://www.embeddedlinux.jp/



From BGrummel  Mon Jul 28 05:56:39 2003
From: BGrummel (BGrummel at zuendel.de)
Date: Mon, 28 Jul 2003 14:56:39 +0200
Subject: WLAN with 3 APs
Message-ID: <OFF21BE365.FCC72012-ONC1256D71.002807C6@zuendel.de>


hello
I looked arround in serveral newnsgroups and googled a lot

my problem is:

(linux-host-AP mastermode) ------- ( linux-host-AP repeatermode)
--------------------(linux-host-AP-mastermode)
     downstairs                    upstairs        street              next
house
     rooming                                            rooming

I use netgear 3x ma311 pci NIC,s host-ap 0.0.3, with wireless-tools 2.6
based on debian woody
do you have an example config for this?

I tried several configs and got only one station as mastermode and one
station as managed mode to ping each other

thanks

please answer me directly because I?m not at the list



Benno Grummel
Dipl.-Ing.
ZUENDEL & PARTNER
Systems Consultants
D?lkener Str. 5
D-41334 Nettetal
Tel.: +49 (0)2153 7376-0
Fax: +49 (0)2153 7376-16
Internet: www.zuendel.de

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Aus Rechts- und Sicherheitsgr?nden ist die in dieser E-Mail gegebene
Information nicht rechtsverbindlich. Eine rechtsverbindliche Best?tigung
reichen wir Ihnen gerne auf Anforderung in schriftlicher Form nach.
Beachten Sie bitte, dass jede Form der unautorisierten Nutzung,
Ver?ffentlichung, Vervielf?ltigung oder Weitergabe des Inhalts dieser
E-Mail nicht gestattet ist. Diese Nachricht ist ausschlie?lich f?r den
bezeichneten Adressaten oder dessen Vertreter bestimmt. Sollten Sie nicht
der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein, so
bitten wir Sie, sich mit unserem Service Helpdesk unter +49-2153-7376-0  in
Verbindung zu setzen.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

For legal and security reasons the information provided in this e-mail is
not legally binding. Upon request we would be pleased to provide you with a
legally  binding confirmation in written form. Any form of unauthorised
use, publication, reproduction, copying or disclosure of the content of
this e-mail is not permitted. This message is exclusively for the person
addressed or their representative. If you are not the intended recipient of
this message and its contents, please notify our service helpdesk by
telephoning +49-2153-7376-0.





From OIzhvanov  Sun Jul 27 20:24:15 2003
From: OIzhvanov (Oleg Izhvanov)
Date: Mon, 28 Jul 2003 07:24:15 +0400
Subject: Dynamic WEP rekeying and windows XP...
In-Reply-To: <3F243100.9040807@planet.nl>
References: <3F241AE0.9030505@planet.nl> <20030727184718.GA7460@jm.kir.nu>
	<3F243100.9040807@planet.nl>
Message-ID: <3F24975F.1080205@rfmd.com>

Hi,

Here is the link that might be useful for you:

http://www.open1x.org/links.html


Erik Brakkee wrote:
> Hi,
> 
> Jouni Malinen wrote:
> 
> 
> On Sun, Jul 27, 2003 at 08:33:04PM +0200, Erik Brakkee wrote:
> 
> 
> 
>   
> 
> My wireless LAN is working flawlessly with WEP encryption enabled but 
> 
> without
> 
> dynamic WEB rekeying. Nevertheless, as soon as I switch on dynamic WEP 
> 
> rekeying
> 
> in the hostapd.conf file, I can still connect with windows XP to my 
> 
> wireless network,
> 
> but an IP address is not assigned ('ipconfig' shows 0.0.0.0) .
> 
>     
> 
> 
> 
> Do you mean it was working with IEEE 802.1X, but without dynamic WEP
> 
> keying?
> 
>   
> 
> It was working with 802.11b without dynamic WEP keying
> 
> 
> 
> 
>   
> 
> I made the following changes to the hostapd.conf file:
> 
> 
> 
>    wep_key_len_broadcast =5
> 
>    wep_key_len_unicast=5
> 
>    wep_rekey_period=300
> 
>     
> 
> 
> 
> Are these the only changes you did to the attached hostapd.conf?
> 
>   
> 
> Yes these are the only changes I made.
> 
> 
> 
> 
>   
> 
> What other configuration steps should I use in order to get the dynamic 
> 
> WEP rekeying function to
> 
> work? Should this work with a Linux/Windows XP combination?
> 
>     
> 
> 
> 
> Dynamic WEP keying requires IEEE 802.1X. The attached hostapd.conf does
> 
> not have it enabled. You will need to set ieee8021x=1 and configure 
> 
> RADIUS server for IEEE 802.1X use (auth_server_* in hostapd.conf).
> 
>   
> 
> Ok, I read something about 802.1X, and this involves the EAP protocol and a Radius server.
> I understand the basic principle of a radius server because I have encountered this earlier 
> (at work). However, I don't know exactly how to set this up.
> 
> Right now I am using iwconfig to specify the key. 
> 
> Where can I find information on setting up a radius server for 802.1X? 
> 
> Cheers
>   Erik
> 

-- 
Best Regards, Oleg Izhvanov <oizhvanov at rfmd.com>



From lgelo  Mon Jul 28 07:04:20 2003
From: lgelo (Lubomir Gelo)
Date: Mon, 28 Jul 2003 16:04:20 +0200
Subject: Prism GT/Indigo/Duette linux drivers available
Message-ID: <20030728140420.GA12137@devil.cnc.sk>

I've got SMC 2835W card (cardbus 802.11a/g) card today. Trying to figure
out what chipset they've used (didn't notice NITRO logo - blind me) 
before even opening the box I did cursory Usenet search. 
To my big surprise I found out that linux drivers (GPLed source?) for 
Intersil PrismGT/Duette/Indigo are available at:

http://ruslug.rutgers.edu/~mcgrof/802.11g/

Quick look at sources revealed that IMHO host-based AP functionality 
is possible. 

LG



From lcaeiro  Mon Jul 28 10:51:03 2003
From: lcaeiro (caeiro)
Date: Mon, 28 Jul 2003 18:51:03 +0100
Subject: Infdrop event message
Message-ID: <004c01c35530$d18177e0$6401a8c0@home>

Hi all,

I'm doing some tests using iperf and I detect that when I use small packet lenghts (about 160 bytes) for transmission rates about 400K I receive on dmesg some INFDROP event messages. Some one can help me to understand what does it mean.

Thanks

LC

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030728/d864452f/attachment.htm 


From merlin  Mon Jul 28 12:30:34 2003
From: merlin (Christian Zoffoli)
Date: Mon, 28 Jul 2003 21:30:34 +0200
Subject: Prism GT/Indigo/Duette linux drivers available
In-Reply-To: <20030728140420.GA12137@devil.cnc.sk>
References: <20030728140420.GA12137@devil.cnc.sk>
Message-ID: <3F2579DA.6010302@studiobz.it>

Lubomir Gelo wrote:
> I've got SMC 2835W card (cardbus 802.11a/g) card today. Trying to figure
> out what chipset they've used (didn't notice NITRO logo - blind me) 
> before even opening the box I did cursory Usenet search. 
> To my big surprise I found out that linux drivers (GPLed source?) for 
> Intersil PrismGT/Duette/Indigo are available at:
> 
> http://ruslug.rutgers.edu/~mcgrof/802.11g/
> 
> Quick look at sources revealed that IMHO host-based AP functionality 
> is possible. 


IMHO the best wireless chips of the market are Atheros ...It would be 
beautiful to port the interesting features of the Hostap driver in the 
madwifi project and/or create a single big project.


Christian





From reyk  Mon Jul 28 13:05:18 2003
From: reyk (Reyk Floeter)
Date: Mon, 28 Jul 2003 22:05:18 +0200
Subject: Prism GT/Indigo/Duette linux drivers available
In-Reply-To: <3F2579DA.6010302@studiobz.it>
References: <20030728140420.GA12137@devil.cnc.sk>
	<3F2579DA.6010302@studiobz.it>
Message-ID: <20030728200518.GA20702@mail1.vantronix.net>

On Mon, Jul 28, 2003 at 09:30:34PM +0200, Christian Zoffoli wrote:
> IMHO the best wireless chips of the market are Atheros ...It would be 
> beautiful to port the interesting features of the Hostap driver in the 
> madwifi project and/or create a single big project.
> 

i think it would be the _best_ idea to introduce some kind of an
extended common wireless api and a more common and chipset-
independent interface to the userspace hostapd. 

userspace hostapd seems to be the best solution for the future - why
not use it for other projects? jouni, would it be possible to seperate
it a bit from the prism2 hostap driver and to provide an own tarball?
i plan to use it in the (free) ar5k drivers instead of re-inventing
the wheel and others could port hostapd to *BSD if we had a well-
defined and documented interface.

reyk

-- 
/* .vantronix|secure systems - (research & development)
 * reyk floeter - friendly known free software engineer
 * reyk at vantronix.net - http://team.vantronix.net/reyk/
 */



From sam  Mon Jul 28 14:32:11 2003
From: sam (Sam Leffler)
Date: Mon, 28 Jul 2003 14:32:11 -0700
Subject: Prism GT/Indigo/Duette linux drivers available
In-Reply-To: <20030728200518.GA20702@mail1.vantronix.net>
References: <20030728140420.GA12137@devil.cnc.sk>
	<20030728200518.GA20702@mail1.vantronix.net>
Message-ID: <865854993.1059402730@melange.errno.com>

> On Mon, Jul 28, 2003 at 09:30:34PM +0200, Christian Zoffoli wrote:
>> IMHO the best wireless chips of the market are Atheros ...It would be
>> beautiful to port the interesting features of the Hostap driver in the
>> madwifi project and/or create a single big project.
>>
>
> i think it would be the _best_ idea to introduce some kind of an
> extended common wireless api and a more common and chipset-
> independent interface to the userspace hostapd.
>
> userspace hostapd seems to be the best solution for the future - why
> not use it for other projects? jouni, would it be possible to separate
> it a bit from the prism2 hostap driver and to provide an own tarball?
> i plan to use it in the (free) ar5k drivers instead of re-inventing
> the wheel and others could port hostapd to *BSD if we had a well-
> defined and documented interface.
>

There are tradeoffs to using a user-space only process for handling 
management frames.  Regardless I too would like to see hostapd work with my 
Atheros driver.

FWIW Brian Fundakowski Feldmanhas ported hostapd to OpenBSD.

	Sam



From jkmaline  Mon Jul 28 20:05:21 2003
From: jkmaline (Jouni Malinen)
Date: Mon, 28 Jul 2003 20:05:21 -0700
Subject: Infdrop event message
In-Reply-To: <004c01c35530$d18177e0$6401a8c0@home>
References: <004c01c35530$d18177e0$6401a8c0@home>
Message-ID: <20030729030521.GA3241@jm.kir.nu>

On Mon, Jul 28, 2003 at 06:51:03PM +0100, caeiro wrote:

> I'm doing some tests using iperf and I detect that when I use small packet lenghts (about 160 bytes) for transmission rates about 400K I receive on dmesg some INFDROP event messages. Some one can help me to understand what does it mean.

INFDROP is informing the driver about dropped information frame. In this
case, I would assume this would be a dropped CommTallies (TX/RX
statistics) information. These errors are usually generated when the
host system is not processing incoming information frames quickly enough
and Prism2 card runs out of buffer space. However, I have also seen
cases in which the firmware seems to have confused something and is
generating one InfDrop per packet..

Which station firmware version are you using? InfDrop behavior seems to
vary a bit based on the used firmware version. Some issues could
possibly be solved by moving to use 32-bit tallies instead of the
default 16-bit ones, but this does not work on all old STA firmware
versions. I'm not that worried about couple of InfDrop events, but flood
of those (like one per TX packet) should be worked around somehow.
Inquiring the firmware for a CommTally seems to fix some cases and if I
remember correctly, I added some kind of workaround for some of the
issues (but not all).

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Mon Jul 28 20:16:58 2003
From: jkmaline (Jouni Malinen)
Date: Mon, 28 Jul 2003 20:16:58 -0700
Subject: Prism GT/Indigo/Duette linux drivers available
In-Reply-To: <20030728200518.GA20702@mail1.vantronix.net>
References: <20030728140420.GA12137@devil.cnc.sk>
	<3F2579DA.6010302@studiobz.it> <20030728200518.GA20702@mail1.vantronix.net>
Message-ID: <20030729031657.GB3241@jm.kir.nu>

On Mon, Jul 28, 2003 at 10:05:18PM +0200, Reyk Floeter wrote:

> i think it would be the _best_ idea to introduce some kind of an
> extended common wireless api and a more common and chipset-
> independent interface to the userspace hostapd. 

hostapd is already pretty much hardware independent. Although,
admittedly it requires some additions to better support some chipsets,
like Atheros. It is the kernel side that needs more work to make code
reusable for different drivers. I have actually been working on this for
quite some time in a different code base.

> userspace hostapd seems to be the best solution for the future - why
> not use it for other projects? jouni, would it be possible to seperate
> it a bit from the prism2 hostap driver and to provide an own tarball?
> i plan to use it in the (free) ar5k drivers instead of re-inventing
> the wheel and others could port hostapd to *BSD if we had a well-
> defined and documented interface.

I'm going to separate the tarball into two or three components quite
soon. One will be the device driver without any user space programs.
Another one will be hostapd and possible a third one for Prism2-specific
tools (prism2_srec, hostap_diag). This kind of separation is needed
anyway if Host AP driver ends up being merged into Linux kernel tree at
some point.

There already is a BSD port of hostapd and I'm looking into merging at
least parts of it to my CVS tree.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Mon Jul 28 20:23:28 2003
From: jkmaline (Jouni Malinen)
Date: Mon, 28 Jul 2003 20:23:28 -0700
Subject: Prism GT/Indigo/Duette linux drivers available
In-Reply-To: <865854993.1059402730@melange.errno.com>
References: <20030728140420.GA12137@devil.cnc.sk>
	<20030728200518.GA20702@mail1.vantronix.net>
	<865854993.1059402730@melange.errno.com>
Message-ID: <20030729032328.GC3241@jm.kir.nu>

On Mon, Jul 28, 2003 at 02:32:11PM -0700, Sam Leffler wrote:

> There are tradeoffs to using a user-space only process for handling 
> management frames.

Yes, there are both benefits and drawbacks. I find it nicer way of
developing the management side and in most cases IEEE 802.11 timing or
CPU load requirements for management frames are not too big of an issue.
Anyway, it might be useful to define mechanism that would allow moving
some parts (like 802.11 auth/assoc) to kernel driver or hardware (in
case of something like Prism2 with AP firmware) and use only IEEE 802.1X
Authenticator (etc. higher level management) in user space.

-- 
Jouni Malinen                                            PGP id EFC895FA



From lcaeiro  Tue Jul 29 00:37:52 2003
From: lcaeiro (Luisa Caeiro)
Date: Tue, 29 Jul 2003 08:37:52 +0100
Subject: Infdrop event message
References: <004c01c35530$d18177e0$6401a8c0@home>
	<20030729030521.GA3241@jm.kir.nu>
Message-ID: <001201c355a4$539cfa60$6401a8c0@netcabo>

So, what I understand is that the driver sends periodically information
frames to the host system and because the host system can't process quickly
all the information it drops some. Is that true?
The firmware STA I'm using is version 1.4.9. Do you think than I could
moving to use 32-bit tallies instead of the default 16-bit ones?

Thanks a lot

LC


----- Original Message -----
From: "Jouni Malinen" <jkmaline at cc.hut.fi>
To: <hostap at shmoo.com>
Sent: Tuesday, July 29, 2003 4:05 AM
Subject: Re: Infdrop event message


> On Mon, Jul 28, 2003 at 06:51:03PM +0100, caeiro wrote:
>
> > I'm doing some tests using iperf and I detect that when I use small
packet lenghts (about 160 bytes) for transmission rates about 400K I receive
on dmesg some INFDROP event messages. Some one can help me to understand
what does it mean.
>
> INFDROP is informing the driver about dropped information frame. In this
> case, I would assume this would be a dropped CommTallies (TX/RX
> statistics) information. These errors are usually generated when the
> host system is not processing incoming information frames quickly enough
> and Prism2 card runs out of buffer space. However, I have also seen
> cases in which the firmware seems to have confused something and is
> generating one InfDrop per packet..
>
> Which station firmware version are you using? InfDrop behavior seems to
> vary a bit based on the used firmware version. Some issues could
> possibly be solved by moving to use 32-bit tallies instead of the
> default 16-bit ones, but this does not work on all old STA firmware
> versions. I'm not that worried about couple of InfDrop events, but flood
> of those (like one per TX packet) should be worked around somehow.
> Inquiring the firmware for a CommTally seems to fix some cases and if I
> remember correctly, I added some kind of workaround for some of the
> issues (but not all).
>
> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap



From mike  Tue Jul 29 09:01:20 2003
From: mike (Michael Guntsche)
Date: Tue, 29 Jul 2003 18:01:20 +0200
Subject: Infdrop event message
In-Reply-To: <001201c355a4$539cfa60$6401a8c0@netcabo>
References: <004c01c35530$d18177e0$6401a8c0@home>
	<20030729030521.GA3241@jm.kir.nu>
	<001201c355a4$539cfa60$6401a8c0@netcabo>
Message-ID: <20030729180120.29cbf6f7.mike@it-loops.com>

On Tue, 29 Jul 2003 08:37:52 +0100
"Luisa Caeiro" <lcaeiro at est.ips.pt> wrote:

> So, what I understand is that the driver sends periodically information
> frames to the host system and because the host system can't process quickly
> all the information it drops some. Is that true?
> The firmware STA I'm using is version 1.4.9. Do you think than I could
> moving to use 32-bit tallies instead of the default 16-bit ones?
> 

I am experiencing the same problem with two netgear cards (MA401RA - PCCARD
MA311 - PCI) both running with STA 1.3.6 (tried 1.4.9 and 1.5.6 too). 
Copying a large file via scp from one computer to the other yields a lot of
INFDROPS.
For testing purposes I tried 2.6.0-test2 on the laptop but I got the same
result plus another kernel message I haven't seen with 2.4

	kernel: wlan0: SW TICK stuck? bits=0x0 EvStat=8000 IntEn=e09f

I see this immediatly after inserting the card.

Cheers,
michael



From dhiraj.2.bhuyan  Wed Jul 30 01:11:16 2003
From: dhiraj.2.bhuyan (dhiraj.2.bhuyan at bt.com)
Date: Wed, 30 Jul 2003 09:11:16 +0100
Subject: Firmware 1.7.4
Message-ID: <7497DCA1C240C042B28F6657ADFD8E09268824@i2km11-ukbr.domain1.systemhost.net>

Hello everyone.

I am trying to upgrade the firmware on my Sparklan WL-360F PCI card to 1.7.4
but I get an "incompatible interfaces" error (details below). Can anyone
tell me what that means? I want to try SSID broadcast hiding - and hence was
trying for this upgrade. Does anyone know any PCI card that comes with the
1.7.4 firmware or can be upgraded to it? Also has anyone tried Power
Management?

----------------------------
srec summary for SF010704.HEX
Component: 0x001f 1.7.4 (station firmware)
Supported platforms:
  0x800a 1.0.0,  0x800b 1.0.0,  0x800c 1.0.0,  0x800d 1.0.0,  0x8012 1.0.0
  0x8013 1.0.0,  0x8014 1.0.0,  0x8016 1.0.0,  0x8017 1.0.0,  0x8018 1.0.0
  0x801a 1.0.0,  0x801b 1.0.0,  0x801c 1.0.0,  0x8021 1.0.0,  0x8022 1.0.0
  0x8023 1.0.0
Separate S3 data areas:
  addr 0x007E1800..0x007EE2DB (len 51932)
  addr 0x007F0800..0x007F1785 (len 3974)
  addr 0x007FE000..0x007FECC5 (len 3270)
Total data length: 59176 bytes
Start address 0x00000000

Wireless LAN card information:
Components:
  NICID: 0x8013 v1.0.0
  PRIID: 0x0015 v1.0.5
  STAID: 0x001f v1.3.4

Verifying update compatibility and combining data:
Incompatible interfaces:
  SREC: role=Actor    variant=1 range=4-4 iface=Primary Firmware-Driver (3)
  card: role=Supplier variant=1 range=1-3 iface=Primary Firmware-Driver (3)
Incompatible updata data.
---------------------------


Thanks,

Dhiraj Bhuyan
Security Research Engineer
BTexact

Tel:   +44 1473 643932
Mob:   +44 7753231984
Email: dhiraj.2.bhuyan at bt.com 



From thomas  Wed Jul 30 04:26:04 2003
From: thomas (Thomas Rulmont)
Date: Wed, 30 Jul 2003 12:26:04 +0100
Subject: D-Link Chipset
Message-ID: <000801c3568d$5dc16a00$5e00a8c0@p4>

Hi,

Does anyone know if the D-LINK DWL-520 series are longer using Prism2 chipset ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030730/03ac9f1e/attachment.htm 


From mrgoblin  Wed Jul 30 04:09:59 2003
From: mrgoblin (mRgOBLIN)
Date: Wed, 30 Jul 2003 23:09:59 +1200
Subject: D-Link Chipset
References: <000801c3568d$5dc16a00$5e00a8c0@p4>
Message-ID: <3F27A787.80D17150@slackware.co.nz>

> Thomas Rulmont wrote:
> 
> Hi,
> 
> Does anyone know if the D-LINK DWL-520 series are longer using Prism2
> chipset ?

DWL-520 11Mb use Prism 2.5 works fine with Host_ap

DWL-520+ 22Mb use ACX 100 from Texas Instruments

More info can be found on them here.
http://www.seattlewireless.net/index.cgi/DlinkDwl520plus

and an opensource driver here
http://sourceforge.net/projects/acx100/

-- 
mRgOBLIN

Steinbach's Guideline for Systems Programming:
  Never test for an error condition you don't know how to handle.



From christophe.chaloin  Wed Jul 30 05:00:13 2003
From: christophe.chaloin (Christophe Chaloin)
Date: Wed, 30 Jul 2003 14:00:13 +0200
Subject: D-Link Chipset
References: <000801c3568d$5dc16a00$5e00a8c0@p4>
Message-ID: <036001c35692$226ae2b0$780014ac@rv.fr>

The D-Link DWL-520 11Mbits will be discontinued.
D-Link told me that a new low cost 11Mbits will replace it (DWL-510 not announced yet).
The chipset will probably be from Broadcom.


  ----- Original Message ----- 
  From: Thomas Rulmont 
  To: hostap at shmoo.com 
  Sent: Wednesday, July 30, 2003 1:26 PM
  Subject: D-Link Chipset


  Hi,

  Does anyone know if the D-LINK DWL-520 series are longer using Prism2 chipset ?


------------------------------------------------------------------------------


  _______________________________________________
  HostAP mailing list
  HostAP at shmoo.com
  http://lists.shmoo.com/mailman/listinfo/hostap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030730/f4a40329/attachment.htm 


From hick.hostap  Wed Jul 30 05:55:10 2003
From: hick.hostap (gARetH baBB)
Date: Wed, 30 Jul 2003 13:55:10 +0100 (BST)
Subject: D-Link Chipset
In-Reply-To: <3F27A787.80D17150@slackware.co.nz>
References: <000801c3568d$5dc16a00$5e00a8c0@p4>
	<3F27A787.80D17150@slackware.co.nz>
Message-ID: <Pine.LNX.4.53.0307301354350.21787@stum.gink.org>

On Wed, 30 Jul 2003, mRgOBLIN wrote:

> DWL-520 11Mb use Prism 2.5 works fine with Host_ap

There is also a 520 variant which uses the Atmel chipset.



From Andreas.Greulich  Wed Jul 30 05:58:23 2003
From: Andreas.Greulich (Andreas.Greulich at ISB.admin.ch)
Date: Wed, 30 Jul 2003 14:58:23 +0200
Subject: "HowTo" for injecting frames?
Message-ID: <2BBB4AF888808041B6225B625CDBE3D61B63E7@AD04002EXCCN2.AD.ADMIN.CH>

Hi all,

I'm trying to inject frames from a Linux system (SuSE 8.2, kernel 2.4.20)
and a D-Link DWL-650 PCMCIA card (Prism2) so I'm able to send out frames
with given MAC addresses. Originally, I tried out libradiate, but could ever
make it work - also it is no longer supported.

I read there's a packet injection mechanism provided in hostap (I'm using
version 0.0.3), using a wlan0ap method? Unfortunately I didn't find any
documentation about it. So I was trying to do the following, from what I
could take from a few messages:

In the hostapd directory, I created a test program which is quite a hack, it
just includes the full hostapd.c file without main() function. In the copy
below error handling stuff is left away to make it shorter. Sorry for the
many #includes, I'm not sure which are really needed. Note that "radiate.h"
is just /usr/local/radiate.h from libradiate without the 2 include lines
"#include ./radiate/ieee80211.h" and "#include ./radiate/wireless.h",
because these redefine hfa384... stuff - I only need libradiate and libnet
to create a data frame, in this case a ping:
----------
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include "eloop.h"
#include "hostapd.h"
#include "ieee802_11.h"
#include "sta_info.h"
#include "ieee802_1x.h"
#include "driver.h"
#include <libnet.h>
#include "radiate.h"

<... whole hostapd.c file, without main program - skipped here ...>

char errLib[LIBNET_ERRBUF_SIZE];
char errRad[RADIATE_ERRBUF_SIZE];
u_char llc_snap[8] = {0xaa, 0xaa, 0x03, 0x00, 0x00, 0x00, 0x08, 0x00};

#define SNAPLEN LIBNET_802_2SNAP_H

hostapd *hapd;

main()
{
    int cnt,i;
    u_char src_mac[6]={0x00,0x05,0x5D,0xF1,0x33,0x4F}; /* this laptop
(wireless) */
    u_char dst_mac[6]={0x00,0x01,0x02,0xB7,0x12,0x04}; /* target system on
(wired) behind AP ethernet */
    u_char bssid[6]  ={0x00,0x05,0x5d,0xf1,0xe2,0xcf}; /* access point
bridging the nets (DWL1000) */
    u_long src_ip;
    u_long dst_ip;
    struct hfa384x_rx_frame *tx;
    radiate_t *r = radiate_init((char)0,errRad);
    libnet_t *l = libnet_init(LIBNET_RAW4_ADV,NULL,errLib);
    libnet_ptag_t ptag;
    u_long payload_s,ip_packet_s;
    u_char *payload,*ip_packet,*frame;

    hapd = hostapd_init("hostapd.conf");
    hostapd_setup_interface(hapd);
    dst_ip = libnet_name2addr4(l, "192.168.14.228", LIBNET_DONT_RESOLVE);
    src_ip = libnet_name2addr4(l, "192.168.14.230", LIBNET_DONT_RESOLVE);
    /* build ping packet */
    ptag = libnet_build_icmpv4_echo(ICMP_ECHO,0,0,0x0600,0x0e00,NULL0,l,0);
    ptag = libnet_build_ipv4(LIBNET_IPV4_H +
LIBNET_ICMPV4_ECHO_H,0,0xfe,0,128,IPPROTO_ICMP,

        0,src_ip,dst_ip,NULL,0,l,0);
    libnet_toggle_checksum(l, ptag, LIBNET_ON);
    ip_packet   = NULL;
    ip_packet_s = 0;
    libnet_adv_cull_packet(l, &ip_packet, &ip_packet_s);
    /* build IEEE802_11 frame */
    payload_s = LIBNET_IPV4_H + LIBNET_ICMPV4_ECHO_H + SNAPLEN;
    payload   = malloc(payload_s);
    memcpy(payload, llc_snap, SNAPLEN);
    memcpy(payload+SNAPLEN, ip_packet, ip_packet_s);
    frame = radiate_build_data_frame(bssid,dst_mac,src_mac,
            RADIATE_DATA_STYPE_DATA,RADIATE_CTRL_TODS,payload,payload_s,,r);
    tx = (struct hfa384x_rx_frame *)frame;
    /* test output */
    for (i=0; i<sizeof(*tx)+SNAPLEN+ip_packet_s;i++)
    {
      printf("%02x ",(u_char)frame[i]);
      if (i%16 == 0) printf("\n");
    }
    printf("\n");
    /* Send packet, without 14 bytes Prism2-header (it seems these must be
skipped) */
    cnt=send(hapd->sock, frame+14, sizeof(*tx)-14+SNAPLEN+ip_packet_s, 0);
    printf("Packet written, %d bytes\n",cnt);
}
------
Compiled within hostapd directory (after a "make" and with "hostapd.o"
removed): 
  gcc -I ../driver/modules -o test test.c *.o -lradiate -lnet

As I said, it is a hack and I just want to try out if injection works. But
unfortunately it doesn't.... a second laptop with Ethereal running can't see
the packets. The program produces the output:
------
Opening raw packet socket for ifindex 18
Using interface wlan0ap with hwaddr 00:05:5d:f1:33:4f and ssid 'isbsec014'
Flushing old station entries
Deauthenticate all stations
00 
00 00 00 00 00 00 00 38 f7 00 00 0e 00 08 01 74 
35 00 05 5d f1 e2 cf 00 01 02 b7 12 04 00 05 5d 
f1 33 4f 00 00 00 00 00 80 00 00 24 00 06 08 06 
00 00 00 28 00 00 00 20 36 15 40 aa aa 03 00 00 
00 08 00 45 00 00 1c 00 fe 00 00 80 01 9a c8 c0 
a8 0e e6 c0 a8 0e e4 08 00 f7 eb 00 06 00 0e 
Packet written, 82 bytes

If I set the wlan0 into monitor mode (iwconfig wlan0 mode monitor), I don't
get any error messages within dmesg, but packets are not sent (ifconfig
wlan0 shows that #err-packets increased). 

In master mode, I get an error message (per packet)
---
  Jul 30 16:44:56 isb1055 kernel: wlan0: Could not find STA for this TX
error
---

If I additionally start "hostapd hostapd.conf" (is this needed for packet
injection..?) in verbose&dump mode, hostapd tells me (when I try to inject
my packet in parallel):
---
Received 26 bytes management frame
  dump: c0 00 00 00 ff ff ff ff ff ff 00 05 5d f1 33 4f 00 05 5d f1 33 4f 00
00 02 00
MGMT
MGMT: DA=ff:ff:ff:ff:ff:ff not our address
Received 82 bytes management frame
  dump: 08 01 74 35 00 05 5d f1 e2 cf 00 01 02 b7 12 04 00 05 5d f1 33 4f 00
00 00 00 00 80 00 00 24 00 06 08 06 00 00 00 28 00 00 00 20 36 15 40 aa aa
03 00 00 00 08 00 45 00 00 1c 00 fe 00 00 80 01 9a c8 c0 a8 0e e6 c0 a8 0e
e4 08 00 f7 eb 00 06 00 0e
DATA
Data frame from not associated STA 00:01:02:b7:12:04
---

(Note that the dump packet indeed is teh same we constructed using
libradiate above)

And finally, in managed mode, dmesg tells me:
---
Jul 30 16:48:50 isb1055 kernel: wlan0: LinkStatus=2 (Disconnected)
Jul 30 16:48:50 isb1055 kernel: wlan0: TXEXC - status=0x0004 ([Discon])
tx_control=000c
Jul 30 16:48:50 isb1055 kernel:    retry_count=0 tx_rate=0 fc=0x00c0
(Mgmt::12)
Jul 30 16:48:50 isb1055 kernel:    A1=ff:ff:ff:ff:ff:ff A2=00:05:5d:f1:33:4f
A3=00:05:5d:f1:33:4f A4=00:00:00:00:00:00
Jul 30 16:48:50 isb1055 kernel: wlan0: LinkStatus: BSSID=44:44:44:44:44:44
Jul 30 16:48:50 isb1055 kernel: wlan0: TXEXC - status=0x0004 ([Discon])
tx_control=000cJul 30 16:48:50 isb1055 kernel:    retry_count=0 tx_rate=0
fc=0x0108 (Data::0 ToDS)
Jul 30 16:48:50 isb1055 kernel:    A1=00:05:5d:f1:e2:cf A2=00:01:02:b7:12:04
A3=00:05:5d:f1:33:4f A4=00:00:00:00:00:00
Jul 30 16:48:50 isb1055 kernel: wlan0: LinkStatus=1 (Connected)
Jul 30 16:48:50 isb1055 kernel: wlan0: LinkStatus: BSSID=00:05:5d:f1:e2:cf
---
(it seems it automatically disconnects from the AP while inkecting the
packet, if I interpret the messages right, and re-connects).


Anyway... none of these approaches work. Maybe somebody can tell me what I'm
doing wrong? Any help (really, any :-) would be highly welcome!! Thanks in
adcance,


Andy



From Joshua.Wright  Wed Jul 30 06:19:09 2003
From: Joshua.Wright (Joshua Wright)
Date: Wed, 30 Jul 2003 09:19:09 -0400
Subject: "HowTo" for injecting frames?
Message-ID: <946FD6186E8D4E46AB4F6FDD23AAE864ABDDF1@pvdexc02.jwu.edu>

Andy,
 
> I'm trying to inject frames from a Linux system (SuSE 8.2, 
> kernel 2.4.20)

Instead of HostAP, try using the newest version of AirJack to send frames (http://802.11ninja.net).  Take a look at the tools/essid_jack.c program for a sample application.

-Joshua Wright
Senior Network and Security Architect
Johnson & Wales University
Joshua.Wright at jwu.edu 
http://home.jwu.edu/jwright/

pgpkey: http://home.jwu.edu/jwright/pgpkey.htm
fingerprint: FDA5 12FC F391 3740 E0AE BDB6 8FE2 FC0A D44B 4A73



From proski  Wed Jul 30 06:20:51 2003
From: proski (Pavel Roskin)
Date: Wed, 30 Jul 2003 09:20:51 -0400 (EDT)
Subject: Firmware 1.7.4
In-Reply-To:  <7497DCA1C240C042B28F6657ADFD8E09268824@i2km11-ukbr.domain1.systemhost.net>
Message-ID: <Pine.LNX.4.44.0307300915560.947-100000@portland.hansa.lan>

On Wed, 30 Jul 2003 dhiraj.2.bhuyan at bt.com wrote:

> I am trying to upgrade the firmware on my Sparklan WL-360F PCI card to 1.7.4
> but I get an "incompatible interfaces" error (details below). Can anyone
> tell me what that means? I want to try SSID broadcast hiding - and hence was
> trying for this upgrade. Does anyone know any PCI card that comes with the
> 1.7.4 firmware or can be upgraded to it? Also has anyone tried Power
> Management?
[snip]
> Verifying update compatibility and combining data:
> Incompatible interfaces:
>   SREC: role=Actor    variant=1 range=4-4 iface=Primary Firmware-Driver (3)
>   card: role=Supplier variant=1 range=1-3 iface=Primary Firmware-Driver (3)
> Incompatible updata data.

You need to upgrade primary firmware to 1.1.1 first (pk010101.hex).
prism2_srec and HostAP cannot do it yet, but you can use winupdate or the
DOS flash program or linux-wlan-ng with prism2dl.

-- 
Regards,
Pavel Roskin



From proski  Wed Jul 30 06:28:02 2003
From: proski (Pavel Roskin)
Date: Wed, 30 Jul 2003 09:28:02 -0400 (EDT)
Subject: [PATCH] Typo in prism2_srec
Message-ID: <Pine.LNX.4.44.0307300926270.1004-100000@portland.hansa.lan>

Hello!

I think "updata" is supposed to be "update" :-)

==============================
--- utils/prism2_srec.c
+++ utils/prism2_srec.c
@@ -1409,7 +1409,7 @@ int main(int argc, char *argv[])
 	printf("\nVerifying update compatibility and combining data:\n");
 	if (combine_info(&wlan, srec, non_volatile_download,
 			 volatile_download)) {
-		printf("Incompatible updata data.\n");
+		printf("Incompatible update data.\n");
 		exit(1);
 	}
 	printf("OK.\n");
==============================

-- 
Regards,
Pavel Roskin



From jkmaline  Wed Jul 30 06:26:51 2003
From: jkmaline (Jouni Malinen)
Date: Wed, 30 Jul 2003 06:26:51 -0700
Subject: Firmware 1.7.4
In-Reply-To: <7497DCA1C240C042B28F6657ADFD8E09268824@i2km11-ukbr.domain1.systemhost.net>
References: <7497DCA1C240C042B28F6657ADFD8E09268824@i2km11-ukbr.domain1.systemhost.net>
Message-ID: <20030730132651.GB3557@jm.kir.nu>

On Wed, Jul 30, 2003 at 09:11:16AM +0100, dhiraj.2.bhuyan at bt.com wrote:

> I am trying to upgrade the firmware on my Sparklan WL-360F PCI card to 1.7.4
> but I get an "incompatible interfaces" error (details below). Can anyone
> tell me what that means?

>   NICID: 0x8013 v1.0.0
>   PRIID: 0x0015 v1.0.5
>   STAID: 0x001f v1.3.4

You primary firmware is too old for STA f/w 1.7.4. If I remember
correctly, you need at least PRI v1.0.7 to be able to use new station
firmware versions with PCI Prism2.5 cards. Please note, that you cannot
update primary firmware with the current version of Host AP driver.

-- 
Jouni Malinen                                            PGP id EFC895FA



From andreaf  Wed Jul 30 08:10:29 2003
From: andreaf (Andrea G. Forte)
Date: Wed, 30 Jul 2003 11:10:29 -0400 (EDT)
Subject: modprobe hostap_pci error with DWL-520 PCI
Message-ID: <200307301510.h6UFAT01008448@cisalpino.cs.columbia.edu>

Hi,
I am trying to set up an AP using a DWL-520 PCI card on a RH Linux 2.4.20 
kernel.
Now, the PCI is version 2.1 and not 2.2 but I red on this mailing list of 
another guy that was able to use the same PCI card with PCI 2.1 with no 
problems.
When I type "modprobe hostap_pci", the error I get is:

init_module: no such a device

insmod /lib/modules/....bla bla..../hostap_pci.o failed

insmod hostap_pci failed

I already recompiled the kernel.
Anybody can help please???
Andrea



From mkue  Wed Jul 30 08:19:41 2003
From: mkue (Mario Kuechler)
Date: Wed, 30 Jul 2003 17:19:41 +0200
Subject: Compile error in hostap_hw.c? (0.0.4)
Message-ID: <bg8nl6$sj8$1@main.gmane.org>

Hi,

0.0.3 compiled (and works) without problems, on 0.0.4 I get (I'm on Debian
Woody Kernel 2.4.18 with a DWL-520 Prism2.5):

moehre:/usr/src/hostap-0.0.4# make pci
Makefile:38: WARNING: No kernel PCMCIA support found and PCMCIA_PATH
is not defined
gcc -I/usr/src/linux/include  -O2 -D__KERNEL__ -DMODULE -Wall -g -c
-fomit-frame-pointer -o driver/modules/hostap_pci.o
driver/modules/hostap_pci.c
In file included from driver/modules/hostap_pci.c:166:
driver/modules/hostap_hw.c: In function `hfa384x_allocate_fid':
driver/modules/hostap_hw.c:801: warning: implicit declaration of
function `yield'
(...)

When trying to use the module I get:

depmod: *** Unresolved symbols in /lib/modules/2.4.18/net/hostap_pci.o
depmod:         yield

If I understand hostap_hw.c right, this function has "something to do" with
2.2.x kernels?

Any hints?

Regards,
    Mario




From david.goodenough  Wed Jul 30 08:37:26 2003
From: david.goodenough (David Goodenough)
Date: Wed, 30 Jul 2003 16:37:26 +0100
Subject: modprobe hostap_pci error with DWL-520 PCI
In-Reply-To: <200307301510.h6UFAT01008448@cisalpino.cs.columbia.edu>
References: <200307301510.h6UFAT01008448@cisalpino.cs.columbia.edu>
Message-ID: <200307301637.26376.david.goodenough@btconnect.com>

On Wednesday 30 July 2003 16:10, Andrea G. Forte wrote:
> Hi,
> I am trying to set up an AP using a DWL-520 PCI card on a RH Linux 2.4.20
> kernel.
> Now, the PCI is version 2.1 and not 2.2 but I red on this mailing list of
> another guy that was able to use the same PCI card with PCI 2.1 with no
> problems.
> When I type "modprobe hostap_pci", the error I get is:
>
> init_module: no such a device
>
> insmod /lib/modules/....bla bla..../hostap_pci.o failed
>
> insmod hostap_pci failed
>
> I already recompiled the kernel.
> Anybody can help please???
> Andrea
>
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
As I recall there are multiple different chips on DWL-520 cards, depending
on various mod levels of the card and on what DLink felt like putting on this
particular card.  Have a look on the card and see if you can identify the
major chips.

David



From proski  Wed Jul 30 08:43:40 2003
From: proski (Pavel Roskin)
Date: Wed, 30 Jul 2003 11:43:40 -0400 (EDT)
Subject: modprobe hostap_pci error with DWL-520 PCI
In-Reply-To: <200307301510.h6UFAT01008448@cisalpino.cs.columbia.edu>
References: <200307301510.h6UFAT01008448@cisalpino.cs.columbia.edu>
Message-ID: <Pine.LNX.4.56.0307301140590.1412@marabou.research.att.com>

On Wed, 30 Jul 2003, Andrea G. Forte wrote:

> When I type "modprobe hostap_pci", the error I get is:
>
> init_module: no such a device

Check the output of dmesg (kernel log) and lspci (list of PCI devices).
If you have DWL-520 revision C, it's not supported by HostAP.

-- 
Regards,
Pavel Roskin



From bapper  Wed Jul 30 08:46:19 2003
From: bapper (Brian Pomerantz)
Date: Wed, 30 Jul 2003 08:46:19 -0700
Subject: Compile error in hostap_hw.c? (0.0.4)
In-Reply-To: <bg8nl6$sj8$1@main.gmane.org>
References: <bg8nl6$sj8$1@main.gmane.org>
Message-ID: <20030730154619.GA12198@skull.piratehaven.org>

On Wed, Jul 30, 2003 at 05:19:41PM +0200, Mario Kuechler wrote:
> 
> When trying to use the module I get:
> 
> depmod: *** Unresolved symbols in /lib/modules/2.4.18/net/hostap_pci.o
> depmod:         yield
> 
> If I understand hostap_hw.c right, this function has "something to do" with
> 2.2.x kernels?
> 

I fixed this by putting this just after the else statement for "is
this kernel less than 2.4.0" in hostap_compat.h (around line 80):

#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,19)
#ifndef yield
#define yield() do { set_current_state(TASK_RUNNING); schedule(); } while(0)
#endif
#endif

Seems to work just fine after that.


BAPper



From andreaf  Wed Jul 30 09:06:16 2003
From: andreaf (Andrea G. Forte)
Date: Wed, 30 Jul 2003 12:06:16 -0400 (EDT)
Subject: modprobe hostap_pci error with DWL-520 PCI
Message-ID: <200307301606.h6UG6G01008619@cisalpino.cs.columbia.edu>

The DWL-520 card does not appear in the list of PCI devices when doing lspci.
When doing the dmesg commamd, I get: 

hostap_crypt: registered algorith 'NULL'
hostap_pci: 0.0.4 2003-07-27 ..bla bla...
hostap_pci: no device found, driver not installed

hostap_crypt: unregistered algorithm 'NULL' (deinit)
hostap_crypt: registered algorith 'NULL'
hostap_pci: 0.0.4 2003-07-27 ..bla bla...
hostap_pci: no device found, driver not installed

many times following.

The PCI card was installed properely and it seems to be the revision B of the 
chip, which should work (revision C is not compatible with hostap).
Hope you can help out!
Andrea

------------- Begin Forwarded Message -------------

Date: Wed, 30 Jul 2003 11:43:40 -0400 (EDT)
From: Pavel Roskin <proski at gnu.org>
X-X-Sender: proski at marabou.research.att.com
To: "Andrea G. Forte" <andreaf at cs.columbia.edu>
cc: hostap at shmoo.com
Subject: Re: modprobe hostap_pci error with DWL-520 PCI
MIME-Version: 1.0

On Wed, 30 Jul 2003, Andrea G. Forte wrote:

> When I type "modprobe hostap_pci", the error I get is:
>
> init_module: no such a device

Check the output of dmesg (kernel log) and lspci (list of PCI devices).
If you have DWL-520 revision C, it's not supported by HostAP.

-- 
Regards,
Pavel Roskin

------------- End Forwarded Message -------------




From proski  Wed Jul 30 09:22:30 2003
From: proski (Pavel Roskin)
Date: Wed, 30 Jul 2003 12:22:30 -0400 (EDT)
Subject: Compile error in hostap_hw.c? (0.0.4)
In-Reply-To: <bg8nl6$sj8$1@main.gmane.org>
References: <bg8nl6$sj8$1@main.gmane.org>
Message-ID: <Pine.LNX.4.56.0307301146280.1412@marabou.research.att.com>

On Wed, 30 Jul 2003, Mario Kuechler wrote:

> depmod: *** Unresolved symbols in /lib/modules/2.4.18/net/hostap_pci.o
> depmod:         yield
>
> If I understand hostap_hw.c right, this function has "something to do" with
> 2.2.x kernels?

Yes, sort of.  It's missing in those kernels.  It first appeared in Linux
2.4.19 as a preprocessor symbol and became a function since Linux 2.4.20.

Unfortunately, "ifdef" doesn't always do the right thing.  Sometimes the
knowledge about past versions needs to be used.

Please test this patch:

======================================
--- driver/modules/hostap_compat.h
+++ driver/modules/hostap_compat.h
@@ -69,10 +69,6 @@
 	INIT_LIST_HEAD(entry);
 }

-#ifndef yield
-#define yield() schedule()
-#endif
-
 /* end 2.2 compatibility */

 #else /* kernel < 2.4.0 */
@@ -135,6 +131,11 @@
 #endif /* kernel < 2.4.0 */


+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,4,19))
+#define yield() schedule()
+#endif
+
+
 /* Interrupt handler backwards compatibility for Linux < 2.5.69 */
 #ifndef IRQ_NONE
 #define IRQ_NONE
======================================

If it works for you, it should be safe to apply.

-- 
Regards,
Pavel Roskin



From david.goodenough  Wed Jul 30 09:23:33 2003
From: david.goodenough (David Goodenough)
Date: Wed, 30 Jul 2003 17:23:33 +0100
Subject: modprobe hostap_pci error with DWL-520 PCI
In-Reply-To: <200307301606.h6UG6G01008619@cisalpino.cs.columbia.edu>
References: <200307301606.h6UG6G01008619@cisalpino.cs.columbia.edu>
Message-ID: <200307301723.33534.david.goodenough@btconnect.com>

On Wednesday 30 July 2003 17:06, Andrea G. Forte wrote:
> The DWL-520 card does not appear in the list of PCI devices when doing
> lspci. When doing the dmesg commamd, I get:

If lspci can not see it, then nothing else can.  Solve that problem and you
should be able to proceed.

David

>
> hostap_crypt: registered algorith 'NULL'
> hostap_pci: 0.0.4 2003-07-27 ..bla bla...
> hostap_pci: no device found, driver not installed
>
> hostap_crypt: unregistered algorithm 'NULL' (deinit)
> hostap_crypt: registered algorith 'NULL'
> hostap_pci: 0.0.4 2003-07-27 ..bla bla...
> hostap_pci: no device found, driver not installed
>
> many times following.
>
> The PCI card was installed properely and it seems to be the revision B of
> the chip, which should work (revision C is not compatible with hostap).
> Hope you can help out!
> Andrea
>
> ------------- Begin Forwarded Message -------------
>
> Date: Wed, 30 Jul 2003 11:43:40 -0400 (EDT)
> From: Pavel Roskin <proski at gnu.org>
> X-X-Sender: proski at marabou.research.att.com
> To: "Andrea G. Forte" <andreaf at cs.columbia.edu>
> cc: hostap at shmoo.com
> Subject: Re: modprobe hostap_pci error with DWL-520 PCI
> MIME-Version: 1.0
>
> On Wed, 30 Jul 2003, Andrea G. Forte wrote:
> > When I type "modprobe hostap_pci", the error I get is:
> >
> > init_module: no such a device
>
> Check the output of dmesg (kernel log) and lspci (list of PCI devices).
> If you have DWL-520 revision C, it's not supported by HostAP.



From Metaphysik  Wed Jul 30 09:36:22 2003
From: Metaphysik (Ralf Hempel)
Date: 30 Jul 2003 18:36:22 +0200
Subject: Busy bit .. howto clear by software
Message-ID: <1059582982.2530.6.camel@Medusa.HomeNet>

Hello,

I've got a dead wl100 compaq card. When I try to get it in genesis mode
with the (dos) intersil flash.exe program I get a "busy bit never
cleared" error. Whatever I try end with that busy bit not cleared error.
Is there a way to clear that f... bit by software? Pls. help ;-)

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030730/8d64060d/attachment.htm 


From andreaf  Wed Jul 30 09:35:53 2003
From: andreaf (Andrea G. Forte)
Date: Wed, 30 Jul 2003 12:35:53 -0400 (EDT)
Subject: modprobe hostap_pci error with DWL-520 PCI
Message-ID: <200307301635.h6UGZr01008701@cisalpino.cs.columbia.edu>

I know that is the problem...if I knew how to solve it then I would have not 
written to  you guys.
Does anybody know what could cause Linux not to see the PCI card?
It is installed in the first PCI slot, right  under the AGP slot.
Thanks a lot everyone.
Andrea 



From hrosse  Wed Jul 30 09:39:37 2003
From: hrosse (Rossetto, Hernan)
Date: Wed, 30 Jul 2003 13:39:37 -0300
Subject: FW: modprobe hostap_pci error with DWL-520 PCI
Message-ID: <63A528461788D411A8C900508B693DB00264A7EF@as_connect_mail.main.connect.com.ar>


That card requeries a PCI 2.2 compliant motherboard.
If your motherboard can?t support it (like a PCI 2.1), linux won't see the
card.


> -----Original Message-----
> From: Andrea G. Forte [mailto:andreaf at cs.columbia.edu]
> Sent: Wednesday, July 30, 2003 1:36 PM
> To: hostap at shmoo.com
> Subject: Re: modprobe hostap_pci error with DWL-520 PCI
> 
> 
> I know that is the problem...if I knew how to solve it then I 
> would have not 
> written to  you guys.
> Does anybody know what could cause Linux not to see the PCI card?
> It is installed in the first PCI slot, right  under the AGP slot.
> Thanks a lot everyone.
> Andrea 
> 
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030730/3826dfcd/attachment.htm 


From jsun  Wed Jul 30 09:46:20 2003
From: jsun (Jun Sun)
Date: Wed, 30 Jul 2003 09:46:20 -0700
Subject: D-Link Chipset
In-Reply-To: <000801c3568d$5dc16a00$5e00a8c0@p4>
References: <000801c3568d$5dc16a00$5e00a8c0@p4>
Message-ID: <20030730164620.GA19465@gateway.junsun.net>


See my earlier post in this mailing list below.  Really we should have
a FAQ....

BTW, you can find detailed info on d-link support site.

Jun

On Mon, Jun 30, 2003 at 10:01:54PM +0530, bsmanoj at cs.iitm.ernet.in wrote:
>
> hi:
>
> Linksys WMP11 Version 2.5 and Version 3.0 (Don't Get trapped by Ver. 2.7)
> Linksys WPC 11 Version 2.5 and Version 3.0
> Linksys WUSB Version 2.5 (Version 2.6 is Atmel chipset)
>
> Dlink DWL 520 and 650 (Again don't get trapped by 520+ and 650+)
>

DWL 520 (the PCI version) Rev. C is _not_ prism 2.5 based.  Those smart
guys think customers are so dumb that they could switch the chipset without
changing the product name.

Look at the cover of the box.  Rev A and B has a metal boxy cover with
color prints, while Rev C does not.  Rev C only shows bare chips.

One of the nice thing about DWL520 (A&B) is that it is rare dual
voltage kind (3V and 5V).  And it is cheap.

Jun



From andreaf  Wed Jul 30 09:54:11 2003
From: andreaf (Andrea G. Forte)
Date: Wed, 30 Jul 2003 12:54:11 -0400 (EDT)
Subject: modprobe hostap_pci error with DWL-520 PCI
Message-ID: <200307301654.h6UGsB01008724@cisalpino.cs.columbia.edu>

I red a post on the mailing list, of a guy who said he had no problems with 
installing the card on a PCI 2.1 slot.
I do not remember the post but it was posted in July.
Andrea



From jsun  Wed Jul 30 09:55:29 2003
From: jsun (Jun Sun)
Date: Wed, 30 Jul 2003 09:55:29 -0700
Subject: modprobe hostap_pci error with DWL-520 PCI
In-Reply-To: <200307301635.h6UGZr01008701@cisalpino.cs.columbia.edu>
References: <200307301635.h6UGZr01008701@cisalpino.cs.columbia.edu>
Message-ID: <20030730165529.GB19465@gateway.junsun.net>

On Wed, Jul 30, 2003 at 12:35:53PM -0400, Andrea G. Forte wrote:
> I know that is the problem...if I knew how to solve it then I would have not 
> written to  you guys.
> Does anybody know what could cause Linux not to see the PCI card?
> It is installed in the first PCI slot, right  under the AGP slot.

If you have the right revision (A or B) of DWL520, then the problem
might be incompatibility between your motherboard and the card.
The card is PCI 2.2 compatible and has a dual voltage support.  I have seen
PCI 2.1 motherboard allowing 3V card plugged in but failing to talk to them.

To be sure I would do some or all of the following experiements:

1. plug the card into another PC (newer one, or explicitly supports 
dual voltage and PCI 2.2)
2. plug in another 3V PCI card into your machine and see if that one comes up
3. plug in a regular 5V PCI card into your machine and see if it comes up

Jun



From proski  Wed Jul 30 09:58:09 2003
From: proski (Pavel Roskin)
Date: Wed, 30 Jul 2003 12:58:09 -0400 (EDT)
Subject: [PATCH] Another ID for hostap_pci - ISL3872
Message-ID: <Pine.LNX.4.56.0307301243550.3180@marabou.research.att.com>

Hello!

Both orinoco_pci and linux-wlan-ng support PCI devices with the ID
0x1260:0x3872.  linux-wlan-ng calls it "Intersil Prism2.5 ISL3872 11Mb/s
WLAN Controller".  The message to the orinoco mailing list says that it's
a mini-PCI card and it works just fine.  In the same thread David Gibson
writes that it's the ID of the Prism3 chip:

http://sourceforge.net/mailarchive/forum.php?thread_id=2571764&forum_id=11677

Intersil also says that ISL3872 is Prism 3, not Prism 2.5:
http://www.intersil.com/design/parametric/deviceinfo.asp?pn=ISL3872

Patch for CVS HostAP:

=========================
--- driver/modules/hostap_pci.c
+++ driver/modules/hostap_pci.c
@@ -48,6 +48,8 @@ MODULE_LICENSE("GPL");


 static struct pci_device_id prism2_pci_id_table[] __devinitdata = {
+	/* Intersil Prism3 ISL3872 11Mb/s WLAN Controller */
+	{ 0x1260, 0x3872, PCI_ANY_ID, PCI_ANY_ID },
 	/* Intersil Prism2.5 ISL3874 11Mb/s WLAN Controller */
 	{ 0x1260, 0x3873, PCI_ANY_ID, PCI_ANY_ID },
 	/* Samsung MagicLAN SWL-2210P */
=========================

-- 
Regards,
Pavel Roskin



From andreaf  Wed Jul 30 10:06:22 2003
From: andreaf (Andrea G. Forte)
Date: Wed, 30 Jul 2003 13:06:22 -0400 (EDT)
Subject: modprobe hostap_pci error with DWL-520 PCI
Message-ID: <200307301706.h6UH6M01008778@cisalpino.cs.columbia.edu>

Check the post:

Title: DWL-520 and hostap
Date: July 4
By: Bruno Randolf

He says that he installed the card on a pentium 1 motherboard with PCI 2.1 slots 
without having any problem.
It is not that easy for me to mount the card on a newer pc.
Anybody knows a different way?
Tahnk you to all the people that answered to my post and that will answer...I do 
really appreciate all of your help.
Andrea




From hostap  Wed Jul 30 18:08:54 2003
From: hostap (LQ)
Date: Wed, 30 Jul 2003 22:08:54 -0300
Subject: ap_bridge_packets between two interfaces
Message-ID: <001801c35700$501de9a0$de00010a@lq.com.ar>

Hi, i have two wireless adapters (hostap 0.0.3 - kernel 2.4.21 - iptables)
in the same pc (wlan0, wlan1).

The problem is that i don?t want to allow traffic between the clients.
for that reason i ?m using:
prism2_param wlan0 ap_bridge_packets 0
and
prism2_param wlan1 ap_bridge_packets 0

If Client A and Client B are connected to Wlan0... it works fine..
but when the Client A is connected to Wlan0 and Client B is connected to
Wlan1 they can see each other !!

I used iptables to block icmp traffic (with ap_bridge_packets 0) with no
results !

Thanks in advance.
Pablo.




From jkmaline  Wed Jul 30 18:48:23 2003
From: jkmaline (Jouni Malinen)
Date: Wed, 30 Jul 2003 18:48:23 -0700
Subject: [PATCH] Typo in prism2_srec
In-Reply-To: <Pine.LNX.4.44.0307300926270.1004-100000@portland.hansa.lan>
References: <Pine.LNX.4.44.0307300926270.1004-100000@portland.hansa.lan>
Message-ID: <20030731014822.GA7462@jm.kir.nu>

On Wed, Jul 30, 2003 at 09:28:02AM -0400, Pavel Roskin wrote:

> I think "updata" is supposed to be "update" :-)

Thanks, applied.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Wed Jul 30 18:48:45 2003
From: jkmaline (Jouni Malinen)
Date: Wed, 30 Jul 2003 18:48:45 -0700
Subject: Infdrop event message
In-Reply-To: <001201c355a4$539cfa60$6401a8c0@netcabo>
References: <004c01c35530$d18177e0$6401a8c0@home>
	<20030729030521.GA3241@jm.kir.nu> <001201c355a4$539cfa60$6401a8c0@netcabo>
Message-ID: <20030731014845.GB7462@jm.kir.nu>

On Tue, Jul 29, 2003 at 08:37:52AM +0100, Luisa Caeiro wrote:

> So, what I understand is that the driver sends periodically information
> frames to the host system and because the host system can't process quickly
> all the information it drops some. Is that true?

It is the wlan card that is sending the information frames, but
otherwise that is true.

> The firmware STA I'm using is version 1.4.9. Do you think than I could
> moving to use 32-bit tallies instead of the default 16-bit ones?

I have never tested 32-bit tallies, but yes, they should work with STA
f/w 1.4.9. I have a to-do item of changing the driver to use 32-bit
tallies automatically if the STA f/w supports them.

-- 
Jouni Malinen                                            PGP id EFC895FA



From doug  Wed Jul 30 19:05:35 2003
From: doug (Doug Yeager)
Date: Wed, 30 Jul 2003 22:05:35 -0400
Subject: ap_bridge_packets between two interfaces
In-Reply-To: <001801c35700$501de9a0$de00010a@lq.com.ar>
Message-ID: <5.2.0.9.0.20030730220403.028b5010@yeagerautomation.com>

use the netfilter bridge patch to block traffic between the bridge ports.


At 10:08 PM 07/30/2003 -0300, LQ wrote:
>Hi, i have two wireless adapters (hostap 0.0.3 - kernel 2.4.21 - iptables)
>in the same pc (wlan0, wlan1).
>
>The problem is that i don?t want to allow traffic between the clients.
>for that reason i ?m using:
>prism2_param wlan0 ap_bridge_packets 0
>and
>prism2_param wlan1 ap_bridge_packets 0
>
>If Client A and Client B are connected to Wlan0... it works fine..
>but when the Client A is connected to Wlan0 and Client B is connected to
>Wlan1 they can see each other !!
>
>I used iptables to block icmp traffic (with ap_bridge_packets 0) with no
>results !
>
>Thanks in advance.
>Pablo.
>
>
>_______________________________________________
>HostAP mailing list
>HostAP at shmoo.com
>http://lists.shmoo.com/mailman/listinfo/hostap



From jsun  Wed Jul 30 19:22:54 2003
From: jsun (Jun Sun)
Date: Wed, 30 Jul 2003 19:22:54 -0700
Subject: ap_bridge_packets between two interfaces
In-Reply-To: <5.2.0.9.0.20030730220403.028b5010@yeagerautomation.com>
References: <001801c35700$501de9a0$de00010a@lq.com.ar>
	<5.2.0.9.0.20030730220403.028b5010@yeagerautomation.com>
Message-ID: <20030731022254.GB21503@gateway.junsun.net>

On Wed, Jul 30, 2003 at 10:05:35PM -0400, Doug Yeager wrote:
> use the netfilter bridge patch to block traffic between the bridge ports.
>
<snip>

I am not even sure in his case whether packets are "bridged" or routed.

Pablo, are wlan0 and wlan1 on the same subnets or on different subnets?

If they are on different subnets, iptables should be sufficient to block
the traffic between them.

If they are on the same subnet (as in "bridging" mode), then hostap driver 
might be the suspect.  Or the above patch might work.

Jun



From jkmaline  Wed Jul 30 21:36:39 2003
From: jkmaline (Jouni Malinen)
Date: Wed, 30 Jul 2003 21:36:39 -0700
Subject: ap_bridge_packets between two interfaces
In-Reply-To: <20030731022254.GB21503@gateway.junsun.net>
References: <001801c35700$501de9a0$de00010a@lq.com.ar>
	<5.2.0.9.0.20030730220403.028b5010@yeagerautomation.com>
	<20030731022254.GB21503@gateway.junsun.net>
Message-ID: <20030731043639.GA8922@jm.kir.nu>

On Wed, Jul 30, 2003 at 07:22:54PM -0700, Jun Sun wrote:

> If they are on the same subnet (as in "bridging" mode), then hostap driver 
> might be the suspect.  Or the above patch might work.

Host AP driver does not bridge packet between different interfaces.
Either the interfaces are bridged together with Linux bridge code or IP
routing is enabled in the AP.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Wed Jul 30 21:43:14 2003
From: jkmaline (Jouni Malinen)
Date: Wed, 30 Jul 2003 21:43:14 -0700
Subject: [PATCH] Another ID for hostap_pci - ISL3872
In-Reply-To: <Pine.LNX.4.56.0307301243550.3180@marabou.research.att.com>
References: <Pine.LNX.4.56.0307301243550.3180@marabou.research.att.com>
Message-ID: <20030731044313.GB8922@jm.kir.nu>

On Wed, Jul 30, 2003 at 12:58:09PM -0400, Pavel Roskin wrote:

> Both orinoco_pci and linux-wlan-ng support PCI devices with the ID
> 0x1260:0x3872.

> Patch for CVS HostAP:

Thanks, applied.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Wed Jul 30 21:44:51 2003
From: jkmaline (Jouni Malinen)
Date: Wed, 30 Jul 2003 21:44:51 -0700
Subject: Compile error in hostap_hw.c? (0.0.4)
In-Reply-To: <Pine.LNX.4.56.0307301146280.1412@marabou.research.att.com>
References: <bg8nl6$sj8$1@main.gmane.org>
	<Pine.LNX.4.56.0307301146280.1412@marabou.research.att.com>
Message-ID: <20030731044451.GC8922@jm.kir.nu>

On Wed, Jul 30, 2003 at 12:22:30PM -0400, Pavel Roskin wrote:

> Yes, sort of.  It's missing in those kernels.  It first appeared in Linux
> 2.4.19 as a preprocessor symbol and became a function since Linux 2.4.20.

Thanks, I applied the patch. I have not really tested this with 2.2.x or
2.4.x, so let's see what happens ;-). I just tested with latest 2.2 and
2.4 kernels and noticed that it was missing in 2.2..

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Wed Jul 30 21:51:28 2003
From: jkmaline (Jouni Malinen)
Date: Wed, 30 Jul 2003 21:51:28 -0700
Subject: Busy bit .. howto clear by software
In-Reply-To: <1059582982.2530.6.camel@Medusa.HomeNet>
References: <1059582982.2530.6.camel@Medusa.HomeNet>
Message-ID: <20030731045128.GD8922@jm.kir.nu>

On Wed, Jul 30, 2003 at 06:36:22PM +0200, Ralf Hempel wrote:

> I've got a dead wl100 compaq card. When I try to get it in genesis mode
> with the (dos) intersil flash.exe program I get a "busy bit never
> cleared" error. Whatever I try end with that busy bit not cleared error.
> Is there a way to clear that f... bit by software? Pls. help ;-)

It does not help much trying to clear a hardware busy bit with
software.. Compaq WL-100 is using hfa3841 which does not support
software only mechanism for going into Genesis mode and you would need
to modify the PC Card slot to do this. See mailing list for more
details.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Wed Jul 30 22:04:51 2003
From: jkmaline (Jouni Malinen)
Date: Wed, 30 Jul 2003 22:04:51 -0700
Subject: "HowTo" for injecting frames?
In-Reply-To: <2BBB4AF888808041B6225B625CDBE3D61B63E7@AD04002EXCCN2.AD.ADMIN.CH>
References: <2BBB4AF888808041B6225B625CDBE3D61B63E7@AD04002EXCCN2.AD.ADMIN.CH>
Message-ID: <20030731050451.GE8922@jm.kir.nu>

On Wed, Jul 30, 2003 at 02:58:23PM +0200, Andreas.Greulich at ISB.admin.ch wrote:

> I read there's a packet injection mechanism provided in hostap (I'm using
> version 0.0.3), using a wlan0ap method? Unfortunately I didn't find any
> documentation about it.

In this case, source code is the documentation ;-).

> In the hostapd directory, I created a test program which is quite a hack, it
> just includes the full hostapd.c file without main() function.

>     struct hfa384x_rx_frame *tx;

You should not use struct hfa384x_rx_frame in user space. The driver
expects to receive IEEE 802.11 frames, not hardware specific TX
structures.

>     /* Send packet, without 14 bytes Prism2-header (it seems these must be
> skipped) */

And not only those.. TX descriptor (and RX, which you actually used) has
couple of extra fields after 802.11 header. Those must not be sent in
the TX packet.

> As I said, it is a hack and I just want to try out if injection works. But
> unfortunately it doesn't.... a second laptop with Ethereal running can't see
> the packets.

You can also enable TX and TXE frame dumping in the Host AP driver with
'iwpriv wlan0 dump 6'. Then run your program and verify whether TX
headers are correct in 'dmesg' output.

> If I set the wlan0 into monitor mode (iwconfig wlan0 mode monitor), I don't
> get any error messages within dmesg, but packets are not sent (ifconfig
> wlan0 shows that #err-packets increased). 

Firmware probably did not like the packet. Try enabling the debug code I
mentioned and you should get more details.

-- 
Jouni Malinen                                            PGP id EFC895FA



From jkmaline  Wed Jul 30 22:10:57 2003
From: jkmaline (Jouni Malinen)
Date: Wed, 30 Jul 2003 22:10:57 -0700
Subject: [patch] WDS & bridge, other ...
In-Reply-To: <000901c3547e$85b044c0$0507ee3f@ws1>
References: <3F20DEA1.1000801@hlohovec.net>
	<001201c35473$ae210e40$0507ee3f@ws1> <20030727193915.GA7590@jm.kir.nu>
	<000901c3547e$85b044c0$0507ee3f@ws1>
Message-ID: <20030731051057.GF8922@jm.kir.nu>

On Sun, Jul 27, 2003 at 01:34:47PM -0700, Dave wrote:

> Only one WDS peer on wlan0 and yes, the peer is the reported address. There
> is no STA entry in /proc/net/hostap/wlan0/wds.

That is just a text file.. STA entry should be .../wlan0/<MAC addr>. For
example:

# iwpriv wlan0 wds_add 00:11:22:33:44:55
# cat /proc/net/hostap/wlan0/wds
wlan0wds0       00:11:22:33:44:55
# head -1 /proc/net/hostap/wlan0/00\:11\:22\:33\:44\:55
AP=00:11:22:33:44:55

If you do not get similar results, please give more details (versions of
the kernel and Host AP driver) and list of all the commands you used to
configure Host AP driver.

-- 
Jouni Malinen                                            PGP id EFC895FA



From dave  Wed Jul 30 23:21:26 2003
From: dave (Dave)
Date: Wed, 30 Jul 2003 23:21:26 -0700
Subject: [patch] WDS & bridge, other ...
References: 	<3F20DEA1.1000801@hlohovec.net><001201c35473$ae210e40$0507ee3f@ws1>
	<20030727193915.GA7590@jm.kir.nu><000901c3547e$85b044c0$0507ee3f@ws1>
	<20030731051057.GF8922@jm.kir.nu>
Message-ID: <001301c3572b$fae22240$1001a8c0@ws5>


Sorry Jouni...

What I meant to say was that the WDS peer IS in /proc/net/hostap/wlan0/wds
but there is no STA entry in /proc/net/hostap/wlan0/

No STA file I mean.

Kernel is 2.4.21
Hostap version is CVS two days before 0.0.4 came out.
Device is Prism 2.5 Mini-PCI

#iwpriv wlan0 wds_add <mac addr>
# cat /proc/net/hostap/wlan0/wds
 wlan0wds0       <mac addr>
# head -1 /proc/net/hostap/wlan0/<mac addr>
 no such file or directory...


-Dave



> On Sun, Jul 27, 2003 at 01:34:47PM -0700, Dave wrote:
>
> > Only one WDS peer on wlan0 and yes, the peer is the reported address.
There
> > is no STA entry in /proc/net/hostap/wlan0/wds.
>
> That is just a text file.. STA entry should be .../wlan0/<MAC addr>. For
> example:
>
> # iwpriv wlan0 wds_add 00:11:22:33:44:55
> # cat /proc/net/hostap/wlan0/wds
> wlan0wds0       00:11:22:33:44:55
> # head -1 /proc/net/hostap/wlan0/00\:11\:22\:33\:44\:55
> AP=00:11:22:33:44:55
>
> If you do not get similar results, please give more details (versions of
> the kernel and Host AP driver) and list of all the commands you used to
> configure Host AP driver.
>
> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>



From mkue  Wed Jul 30 23:22:24 2003
From: mkue (Mario Kuechler)
Date: Thu, 31 Jul 2003 08:22:24 +0200
Subject: Compile error in hostap_hw.c? (0.0.4)
References: <bg8nl6$sj8$1@main.gmane.org>
	<Pine.LNX.4.56.0307301146280.1412@marabou.research.att.com>
Message-ID: <bgacht$rnu$1@main.gmane.org>

Pavel Roskin wrote:
> Unfortunately, "ifdef" doesn't always do the right thing.  Sometimes
> the knowledge about past versions needs to be used.
> 
> Please test this patch:
(...)

Works, thanks.

Regards,
    Mario



From jkmaline  Wed Jul 30 23:36:25 2003
From: jkmaline (Jouni Malinen)
Date: Wed, 30 Jul 2003 23:36:25 -0700
Subject: Infdrop event message
In-Reply-To: <20030731014845.GB7462@jm.kir.nu>
References: <004c01c35530$d18177e0$6401a8c0@home>
	<20030729030521.GA3241@jm.kir.nu> <001201c355a4$539cfa60$6401a8c0@netcabo>
	<20030731014845.GB7462@jm.kir.nu>
Message-ID: <20030731063625.GA12609@jm.kir.nu>

On Wed, Jul 30, 2003 at 06:48:45PM -0700, Jouni Malinen wrote:

> I have never tested 32-bit tallies, but yes, they should work with STA
> f/w 1.4.9. I have a to-do item of changing the driver to use 32-bit
> tallies automatically if the STA f/w supports them.

This is now implemented in CVS snapshot. Host AP driver tries to use
32-bit tallies with STA f/w 0.8.2 and newer. In addition, the driver
will now periodically (every 10 seconds) update the statistics if there
are no unsolicited CommTallies info frames. I tested this with number of
different firmware versions and both 16-bit and 32-bit tallies seems to
be working. However, I did not verify whether InfDrop behavior changed
in high load situations. So, if you have seen InfDrops, please let me
know whether you see any difference when using the latest CVS snapshot.
Please also mention the station firmware version.

-- 
Jouni Malinen                                            PGP id EFC895FA



From cedric.mourizard  Thu Jul 31 01:28:10 2003
From: cedric.mourizard (=?iso-8859-1?Q?C=E9dric_Mourizard?=)
Date: Thu, 31 Jul 2003 10:28:10 +0200
Subject: Bridging between wireless and wired networks ??
Message-ID: <003601c3573d$ad8f0a00$5ed839c2@pcmourizard>

Hi, 

    I want to make a bridge between my wireless and wired networks, I used hostap_pci 0.0.4 with brctl (http://bridge.sourceforge.net). My brige runs correctly when my wlan0 is on Master Mode, but the bridge doesn't work  when i turn my wireless interface in Ad-hoc mode. Have you an idea ?

Best regards

--C?dric Mourizard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030731/7af4c6bf/attachment.htm 


From jsanchez  Thu Jul 31 01:53:14 2003
From: jsanchez (Javier Sanchez)
Date: 31 Jul 2003 10:53:14 +0200
Subject: Firmware 1.7.4
In-Reply-To: <20030730132651.GB3557@jm.kir.nu>
References: 	<7497DCA1C240C042B28F6657ADFD8E09268824@i2km11-ukbr.domain1.systemhost.net>
	<20030730132651.GB3557@jm.kir.nu>
Message-ID: <1059641595.8920.27.camel@mas-jsanchez>


Hi all,

I have downloaded to ram this firmware (rf010704.hex) using prism2_srec,
and the message below appeared in my syslog few hours after the
download, does anyone know whats about ???? I hace seen it only two
times, on the log.

protocol 1600 is buggy, dev wlan0

Should the card work better if i flash the firmware instead of loading
to ram ??? is better the performance ???


Javier Sanchez Llera
sjllera at ya.com
jsanchez at myalert.com


On Wed, 2003-07-30 at 15:26, Jouni Malinen wrote:
> On Wed, Jul 30, 2003 at 09:11:16AM +0100, dhiraj.2.bhuyan at bt.com wrote:
> 
> > I am trying to upgrade the firmware on my Sparklan WL-360F PCI card to 1.7.4
> > but I get an "incompatible interfaces" error (details below). Can anyone
> > tell me what that means?
> 
> >   NICID: 0x8013 v1.0.0
> >   PRIID: 0x0015 v1.0.5
> >   STAID: 0x001f v1.3.4
> 
> You primary firmware is too old for STA f/w 1.7.4. If I remember
> correctly, you need at least PRI v1.0.7 to be able to use new station
> firmware versions with PCI Prism2.5 cards. Please note, that you cannot
> update primary firmware with the current version of Host AP driver.
> 
> -- 
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
> 
-- 
 
Javier Sanchez
System Administrator
MyAlertcom S.A.
a Buongiorno Vitaminic Company
www.buongiorno.com
javier.sanchez at buongiorno.com
jsanchez at myalert.com
Office +34 91 141 51 00



From dhiraj.2.bhuyan  Thu Jul 31 05:33:15 2003
From: dhiraj.2.bhuyan (dhiraj.2.bhuyan at bt.com)
Date: Thu, 31 Jul 2003 13:33:15 +0100
Subject: SSID hiding works
Message-ID: <7497DCA1C240C042B28F6657ADFD8E09268825@i2km11-ukbr.domain1.systemhost.net>

Hello everyone,

I ungraded the firmware on my Sparklan WL-360F to 1.1.1 (primary) and 1.7.4
(secondary) using winupdate (thanks to Jouni and Pavel for the tip). I would
like to confirm that on enabling enhanced security (iwpriv wlan0 enh_sec 1),
the SSID was no longer visible in the management frames (used AiroPeek to
check that). And my wireless client on a windows XP box can associate to the
AP when I provide the SSID.

Next I would like to see if I can do anything with the "power management".
Anyone had any success with this?

Best regards,

Dhiraj Bhuyan
Security Research Engineer
BTexact

Tel:   +44 1473 643932
Mob:   +44 7753231984
Email: dhiraj.2.bhuyan at bt.com 



From dhiraj.2.bhuyan  Thu Jul 31 05:44:52 2003
From: dhiraj.2.bhuyan (dhiraj.2.bhuyan at bt.com)
Date: Thu, 31 Jul 2003 13:44:52 +0100
Subject: SSID hiding works
Message-ID: <7497DCA1C240C042B28F6657ADFD8E0903031B54@i2km11-ukbr.domain1.systemhost.net>


Apologies - I mean broadcast frames (and not management frames!!) :)

Dhiraj

-----Original Message-----
From: dhiraj.2.bhuyan at bt.com [mailto:dhiraj.2.bhuyan at bt.com]
Sent: 31 July 2003 13:33
To: hostap at shmoo.com
Subject: SSID hiding works


Hello everyone,

I ungraded the firmware on my Sparklan WL-360F to 1.1.1 (primary) and 1.7.4
(secondary) using winupdate (thanks to Jouni and Pavel for the tip). I would
like to confirm that on enabling enhanced security (iwpriv wlan0 enh_sec 1),
the SSID was no longer visible in the management frames (used AiroPeek to
check that). And my wireless client on a windows XP box can associate to the
AP when I provide the SSID.

Next I would like to see if I can do anything with the "power management".
Anyone had any success with this?

Best regards,

Dhiraj Bhuyan
Security Research Engineer
BTexact

Tel:   +44 1473 643932
Mob:   +44 7753231984
Email: dhiraj.2.bhuyan at bt.com 
_______________________________________________
HostAP mailing list
HostAP at shmoo.com
http://lists.shmoo.com/mailman/listinfo/hostap



From dhiraj.2.bhuyan  Thu Jul 31 10:47:49 2003
From: dhiraj.2.bhuyan (dhiraj.2.bhuyan at bt.com)
Date: Thu, 31 Jul 2003 18:47:49 +0100
Subject: Firmware 1.7.4 | link quality
Message-ID: <7497DCA1C240C042B28F6657ADFD8E09268828@i2km11-ukbr.domain1.systemhost.net>

Hello again,

After the firmware upgrade from 1.3.4 to 1.7.4 on my Sparklan card, I have
noticed that the link quality has detoriated (with both HostAP 0.0.4 and the
current CVS version). Clients keep losing the connection and the client
utility displays low link quality (the strength it says is strong). This was
not the case before the firmware upgrade. Has anyone experienced anything
similar? Is this a firmware related problem?

Thanks in advance,

Dhiraj



From proski  Thu Jul 31 12:27:51 2003
From: proski (Pavel Roskin)
Date: Thu, 31 Jul 2003 15:27:51 -0400 (EDT)
Subject: Flashable 1.5.6 for Prism 2 available
Message-ID: <Pine.LNX.4.56.0307311513360.8269@marabou.research.att.com>

Hello!

A good guy has sent me flashable Intersil firmware 1.5.6 for Prism 2
chipset.  It has been added to
http://www.red-bean.com/~proski/firmware/1.5.6.tar.gz

The file is called s1010506.hex, quite expectedly.

Supported platforms:
  0x8002 1.0.0,  0x8002 1.0.1,  0x8003 1.0.0,  0x8003 1.0.1,  0x8004 1.0.0
  0x8008 1.0.0

Primary firmware doesn't need to be upgraded, version 0.3.0 is OK (and I
don't think there is a newer version).  I have tested the new firmware
with ZoomAir 4100, and it works just fine with the latest HostAP.

The latest firmware is currently:

                   Flash          RAM

Prism 2            1.5.6 (new!)   1.7.1
Prism 2.5          1.7.4          1.7.4

-- 
Regards,
Pavel Roskin



From pfoy  Thu Jul 31 12:41:23 2003
From: pfoy (Foy, Patrick)
Date: Thu, 31 Jul 2003 15:41:23 -0400
Subject: Primary Firmware Download
Message-ID: <EF5625F9F795C94BA28B150706A21548A053CE@MAIL>

Pavel or Jouni,

We've been avoiding the primary firmware download issue for our project, but
have finally decided to re-visit the issue.  Since this last email, have you
been able to download the primary firmware into RAM successfully (and
reliably) using the hostap driver and the prism2_srec utility?

Thanks.

Patrick

-----Original Message-----
From: Pavel Roskin [mailto:proski at gnu.org]
Sent: Friday, April 11, 2003 8:18 PM
To: Jouni Malinen
Cc: hostap at shmoo.com
Subject: Re: Primary Firmware Download


Hello again,

after some debugging it seems that everything I wrote is completely
irrelevant to the problem with Intersil firmware.

The real problem is the start address.  If you take the S7 record from the
corresponding secondary firmware and put it to the primary firmware image,
the download works.

The driver still shows the old version of primary firmware.  I don't know
if this means that the firmware wasn't reprogrammed, or maybe the version
is cached somewhere.  Anyway, it's a separate problem.

This was tested with a Linksys WCF12 card:

wlan0: NIC: id=0x801b v1.0.0
wlan0: PRI: id=0x15 v1.1.0
wlan0: STA: id=0x1f v1.5.6

I was trying to update the primary firmware to 1.1.1.

-- 
Regards,
Pavel Roskin
_______________________________________________
HostAP mailing list
HostAP at shmoo.com
http://lists.shmoo.com/mailman/listinfo/hostap



From proski  Thu Jul 31 13:03:11 2003
From: proski (Pavel Roskin)
Date: Thu, 31 Jul 2003 16:03:11 -0400 (EDT)
Subject: Primary Firmware Download
In-Reply-To: <EF5625F9F795C94BA28B150706A21548A053CE@MAIL>
References: <EF5625F9F795C94BA28B150706A21548A053CE@MAIL>
Message-ID: <Pine.LNX.4.56.0307311555550.8567@marabou.research.att.com>

On Thu, 31 Jul 2003, Foy, Patrick wrote:

> We've been avoiding the primary firmware download issue for our project, but
> have finally decided to re-visit the issue.  Since this last email, have you
> been able to download the primary firmware into RAM successfully (and
> reliably) using the hostap driver and the prism2_srec utility?

No.  It doesn't work.  But I don't think you need it.  If you think you
need it, please give more details.  What kind of hardware are you talking
about?  What primary and secondary firmware do you have?  Why do you want
to upgrade primary firmware in the RAM?  What's wrong with flashing the
latest primary and secondary firmware?  Cannot you just load secondary
firmware into the RAM?

-- 
Regards,
Pavel Roskin



From pfoy  Thu Jul 31 13:29:30 2003
From: pfoy (Foy, Patrick)
Date: Thu, 31 Jul 2003 16:29:30 -0400
Subject: Primary Firmware Download
Message-ID: <EF5625F9F795C94BA28B150706A21548A053D0@MAIL>

Pavel,

We are shipping APs with Senao cards (2511CD-Plus), some with primary
firmware 1.0.5 and others with 1.1.0.  We need secondary 1.7.4 for WDS,
Enhanced security, scanning, etc which requires primary of 1.1.0 or newer.  

The reason that I need to upgrade the primary with hostap (either into RAM
or flash) is because we have shipped 100s of units and they need upgraded
"in the field" (and we don't want to open the cases to re-flash the cards
using winupdate).  I've read that updating the primary into flash isn't
reliable, so I wanted to take the least risky route, which is uploading to
RAM.

Upgrading the secondary into RAM seems very reliably, but loading only the
secondary firmware is only a solution for cards with primary 1.1.0.  I need
to find a solution that allows me to upgrade the older cards (primary 1.0.5)
with a primary version that supports a secondary version of 1.7.4

Thanks for your help.

Patrick

-----Original Message-----
From: Pavel Roskin [mailto:proski at gnu.org]
Sent: Thursday, July 31, 2003 4:03 PM
To: Foy, Patrick
Cc: hostap at shmoo.com
Subject: RE: Primary Firmware Download


On Thu, 31 Jul 2003, Foy, Patrick wrote:

> We've been avoiding the primary firmware download issue for our project,
but
> have finally decided to re-visit the issue.  Since this last email, have
you
> been able to download the primary firmware into RAM successfully (and
> reliably) using the hostap driver and the prism2_srec utility?

No.  It doesn't work.  But I don't think you need it.  If you think you
need it, please give more details.  What kind of hardware are you talking
about?  What primary and secondary firmware do you have?  Why do you want
to upgrade primary firmware in the RAM?  What's wrong with flashing the
latest primary and secondary firmware?  Cannot you just load secondary
firmware into the RAM?

-- 
Regards,
Pavel Roskin



From proski  Thu Jul 31 13:57:10 2003
From: proski (Pavel Roskin)
Date: Thu, 31 Jul 2003 16:57:10 -0400 (EDT)
Subject: Primary Firmware Download
In-Reply-To: <EF5625F9F795C94BA28B150706A21548A053D0@MAIL>
References: <EF5625F9F795C94BA28B150706A21548A053D0@MAIL>
Message-ID: <Pine.LNX.4.56.0307311641270.8658@marabou.research.att.com>

On Thu, 31 Jul 2003, Foy, Patrick wrote:

> We are shipping APs with Senao cards (2511CD-Plus), some with primary
> firmware 1.0.5 and others with 1.1.0.  We need secondary 1.7.4 for WDS,
> Enhanced security, scanning, etc which requires primary of 1.1.0 or
> newer.

I see.  That's indeed a good reason.

> The reason that I need to upgrade the primary with hostap (either into
> RAM or flash) is because we have shipped 100s of units and they need
> upgraded "in the field" (and we don't want to open the cases to re-flash
> the cards using winupdate).  I've read that updating the primary into
> flash isn't reliable, so I wanted to take the least risky route, which
> is uploading to RAM.

I don't know why you think that flashing primary firmware is not reliable.
It has always worked for me.  The problem is that HostAP cannot flash the
secondary firmware after that, so it was disabled in prism2_srec.

prism2dl with linux-wlan-ng flashes primary and secondary firmware just
fine.  On the other hand, loading primary firmware into the RAM has newer
worked for me with any driver, including linux-wlan-ng.

Here are your options:

1) Figure out how to load primary firmware into the RAM.  I have no idea
how.  Try setting genesis mode.  You may need to ask Intersil, but it may
be very expensive and not very helpful.

2) Fix HostAP to support flashing when only primary firmware is in the
card (note that flashing primary firmware disables secondary firmware).
That's the most realistic option and really needs to be done.  It's being
asked all the time, but nobody seems to be working on it.

3) Combine primary and secondary firmware into one image and flash it in
one operation.  This gives you the easiest procedure, but requires a lot
of work to be done to create the image.

4) Install linux-wlan-ng temporarily and flash primary and secondary
firmware, then replace it with the new HostAP driver.  This gives you the
hardest procedure in the field, but it's something that is working now and
requires no coding or firmware hacking.

-- 
Regards,
Pavel Roskin



From erik.brakkee  Wed Jul 30 06:41:04 2003
From: erik.brakkee (Erik Brakkee)
Date: Wed, 30 Jul 2003 15:41:04 +0200
Subject: D-Link Chipset
In-Reply-To: <036001c35692$226ae2b0$780014ac@rv.fr>
References: <000801c3568d$5dc16a00$5e00a8c0@p4>
 <036001c35692$226ae2b0$780014ac@rv.fr>
Message-ID: <3F27CAF0.4030404@planet.nl>

Hi,

Christophe Chaloin wrote:

> The D-Link DWL-520 11Mbits will be discontinued.
> D-Link told me that a new low cost 11Mbits will replace it (DWL-510 
> not announced yet).
> The chipset will probably be from Broadcom.

And from my own experience I know that Broadcom is not supported (yet).
The manufacturer has not released specs. There is even a petition on the 
internet to persuade
broadcom to release specs.

We definitely need support for the newer chipsets as well. The old 
11Mbps cards are rapidy disappearing from stores. The new 54Mbps cards 
(802.11g) are not that much more expensive than the 11Mbps cards. 
Linksys also used the Prism chipset on their 11Mpbs
cards but is now also using broadcom on their newer cards.

I had to spent quite some time on the internet to find a supported card for
linux and someone who could sell it to me. I finally settled on a 3Com 
Airconnect card. It appears that Sweex could also be used, they also 
have linux drivers on their site. Linux support for current WiFI cards 
is getting thin..

>  
>  
>
>     ----- Original Message -----
>     From: Thomas Rulmont <mailto:thomas at nexus-informatique.com>
>     To: hostap at shmoo.com <mailto:hostap at shmoo.com>
>     Sent: Wednesday, July 30, 2003 1:26 PM
>     Subject: D-Link Chipset
>
>     Hi,
>      
>     Does anyone know if the D-LINK DWL-520 series are longer using
>     Prism2 chipset ?
>
>     ------------------------------------------------------------------------
>     _______________________________________________
>     HostAP mailing list
>     HostAP at shmoo.com <mailto:HostAP at shmoo.com>
>     http://lists.shmoo.com/mailman/listinfo/hostap
>
>------------------------------------------------------------------------
>
>_______________________________________________
>HostAP mailing list
>HostAP at shmoo.com
>http://lists.shmoo.com/mailman/listinfo/hostap
>  
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20030730/7e9f5a01/attachment.htm 


