IAPP using HostAP-2002-10-12

Jouni Malinen jkmaline at cc.hut.fi
Tue Jan 21 21:47:22 EST 2003


On Tue, Jan 21, 2003 at 04:52:09PM +0530, Mohit Bajpai wrote:

> We are in an advanced stage of implementing IAPP on HostAP for which
> we are using HostAP 2002-10-12 release for our implementation.

Are you using hostapd for this or the IAPP functionality in a separate
program? Please do note that hostapd in the CVS version of Host AP
driver includes initial IAPP implementation that I'm going to use as the
basis for full IAPP implementation..

> 802.11f Draft 3.1 has been taken as a reference for the development of
> IAPP stack.

Please note that a newer version (draft 5) is already available.

> We have used a modular approach while implementing the same & done minimal changes to the main HostAP code. . IAPP specific code has been mostly implemented as an additional library of functions to be linked to the main HostAP .We are facing some problems while implementing this related to retrieval of STA information from HostAP.

By "HostAP", do you refer to hostapd daemon or the kernel driver? Could
you please describe what are the main design differences between your
and my implementation of IAPP?

> Could you please suggest a way to retrieve the STA related information from hostAP with respect to the following
> 
>   1.. Is the STA already associated with HostAP. If yes, what is its association Id ?
>   2.. Where and how can I remove association of STA in the old AP after it moves to a New AP area.

I'm assuming you are linking your code with hostapd. In this case you
can use ap_get_sta() function to fetch station info based on MAC address
and sta->aid contains the association id allocated for that station (or
0 if AID has not yet been allocated). See CVS version of
hostap/hostapd/iapp.c and function iapp_process_add_notify() for an
example how to remove association on the old AP.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the HostAP mailing list