Adding generic Information Elements

Manoj Verma, Noida manojv at hcltech.com
Wed Nov 24 06:08:07 EST 2004


See the reply below..

> -----Original Message-----
> From: hostap-bounces+manojv=noida.hcltech.com at shmoo.com [mailto:hostap-
> bounces+manojv=noida.hcltech.com at shmoo.com] On Behalf Of Peter De Cleyn
> Sent: Wednesday, November 24, 2004 3:51 PM
> To: hostAP at shmoo.com
> Subject: Adding generic Information Elements
> 
> Hi list,
> 
> I would like to add some own Information Elements (IE) to the
> association request and response messages.
> 
> A search here and some browsing through the code showed me that
> something similar is done when using WPA, (using
> prism2_ioctl_set_generic_elment etc) but I still have some questions.
> 
> * How do you define where you want to add the new IE (e.g. beacon
> frame, asso req, asso res)

If we are acting as supplicant then this should be added to the association
request frame.

> * When should this be set: if the IE does not change once or every
> time a certain frame is sent

It should be set before sending the join request to the Access point.

> * Is there a performance penalty setting the IE e.g. does one need to
> reset the card or something to commit the changes to the firmware.

I don't think so...

> 
> I understand that in the end a call to hfa384x_set_rid with
> HFA384X_RID_GENERICELEMENT is issued. Is there any documentation about
> the use of RIDs. If its in the  prism2 driver programmers manual, cold
> you please give me some references inside this document as I don't
> seem to find what I'm looking for.
> 

The WPA info element is set using the "cnfWPAData" RID. 


> These questions might be trivial to you, but I'm quite new to the
> field so I could really appreciate some answers.
> 
> thanks a lot for reading and hopefully answering these questions!
> 
> Peter
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap



More information about the HostAP mailing list