<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2462.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#f0e8d8>
<DIV><FONT face=Arial size=2><I><FONT size=2>
<P>Thanks for replying</I>.<BR></P>
<P>&gt; We are in an advanced stage of implementing IAPP on HostAP for 
which<BR>&gt; we are using HostAP 2002-10-12 release for our 
implementation.<BR><BR>Are you using hostapd for this or the IAPP functionality 
in a separate<BR>program? Please do note that hostapd in the CVS version of Host 
AP<BR>driver includes initial IAPP implementation that I'm going to use as 
the<BR>basis for full IAPP implementation..<BR></P><B><I>
<P>MOHIT : The CVS version of hostapd with IAPP was not available when we 
started implementation of IAPP, therefore we used the version of hostapd 
(2002-10-12) available then to implement IAPP. </P></B></I>
<P>802.11f Draft 3.1 has been taken as a reference for the development 
of<BR>&gt; IAPP stack.<BR>Please note that a newer version (draft 5) is already 
available.<BR></P><B><I>
<P>MOHIT: Could you tell me the link from where I can download it. I could not 
find this draft on the Internet.</P></B></I>
<P>We have used a modular approach while implementing the same &amp; 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.<BR><BR>By "HostAP", do you refer to hostapd 
daemon or the kernel driver? Could<BR>you please describe what are the main 
design differences between your<BR>and my implementation of IAPP?<BR></P><B><I>
<P>MOHIT: We are referring to the hostapd daemon. The main difference between 
our design &amp; yours is that we have not really changed the hostapd the main 
implementation of hostapd except for adding a few function calls. The main IAPP 
is implemented as a separate lib of functions, which is linked with hostapd. 
</P></B></I>
<P>Could you please suggest a way to retrieve the STA related information from 
hostAP with respect to the following<BR>&gt; <BR>&gt; 1.. Is the STA already 
associated with HostAP. If yes, what is its association Id ?<BR>&gt; 2.. Where 
and how can I remove association of STA in the old AP after it moves to a New AP 
area.<BR><BR>I'm assuming you are linking your code with hostapd. In this case 
you<BR>can use ap_get_sta() function to fetch station info based on MAC 
address<BR>and sta-&gt;aid contains the association id allocated for that 
station (or<BR>0 if AID has not yet been allocated). See CVS version 
of<BR>hostap/hostapd/iapp.c and function iapp_process_add_notify() for 
an<BR>example how to remove association on the old AP.<BR></P><B><I>
<P>MOHIT: Regarding your suggestion to access STA related data I would further 
like to ask that when STA moves to the new AP area. AP2 (new AP) sends move 
notify message to AP1 (old AP) then the function which is handling received 
Notify messages on AP1 does not have access to valid hostapd structure pointer 
which is a parameter in ap_get_sta () function to retrieve STA info. Could you 
please suggest a way to get this value.</P>
<P>Any help will be highly appreciated.</P></B>
<P>Thanks &amp; Regards</P>
<P>Mohit Bajpai<BR></P></I></FONT></FONT></DIV></BODY></HTML>