[Prism54-devel] Client mode with extended MLME level

zchen@SonicWALL.com zchen@SonicWALL.com
Tue, 13 Jan 2004 18:47:09 -0800


Jouni and others,

I have a question regarding the client mode. I use mlme extented mode =
and set IBSS to INFRA mode, after I switched to client mode, I do see =
lots of beacons from other AP.=20

Then I set the channel and SSID of the AP, but I did not see any new =
message beside beacon, and my card's state is always 0. Does the client =
need to send out mlme message to initiate the =
authentication/association, and what mlme?

My second question is how can you turn on/off the radio? Is there a OID =
configure exist for this?

TIA.

Zhong Chen


-----Original Message-----
From: prism54-devel-admin@prism54.org
[mailto:prism54-devel-admin@prism54.org]On Behalf Of Jouni Malinen
Sent: Sunday, January 11, 2004 12:06 PM
To: prism54-devel@prism54.org
Subject: [Prism54-devel] Re: Client mode with extended MLME level


On Sat, Jan 10, 2004 at 10:26:32PM -0800, hello world wrote:

>       You might well try to send Authentication
> response in the case statement for
> DOT11_OID_AUTHENTICATEEX (in the function
> prism54_process_trap_helper) as is being done in
> DOT11_OID_AUTHENTICATE. This should help move the
> state of the STA to Authenticated and move on the
> Association phase.

This is done only in AP mode. The STA was already authenticated
(DOT11_STATE_AUTH) at this point and DOT11_OID_AUTHENTICATEEX is not
needed anymore (and in fact, it will just crash/confuse the firmware).

> Also, code need to be added to the
> DOT11_OID_ASSOCIATEEX case to respond to the
> association indication just as it has been done in
> DOT11_OID_ASSOCIATE case.

Again, AP mode is quite different here.. Sure, extended mode will need
code for this even in client mode, but the problem was in not getting
DOT11_OID_ASSOCIATEEX in the first place.

>       The other thing you can try is to retrieve the
> DOT11_OID_STATE from the firmware which might give you
> the current state of the STA in case it does not work.

Which was DOT11_STATE_AUTH..


Actually, I managed to get the card associated in the extended
mode yesterday. I just needed to ignore what the documentation says and
request association with DOT11_OID_ASSOCIATEEX when the firmware reports
that it has completed authentication. I would assume the next step of
adding WPA IE to AssocReq would be relatively easy. Although, this time
I might ignore documentation from the beginning and just try couple of
most logical ways of doing this ;-).

--=20
Jouni Malinen                                            PGP id EFC895FA
_______________________________________________
Prism54-devel mailing list
Prism54-devel@prism54.org
http://prism54.org/mailman/listinfo/prism54-devel