[PATCH] Placing information elements in beacon, probe-resp, (re)assoc-resp in order

Jouni Malinen j
Sun May 2 00:59:55 PDT 2010


On Fri, Apr 23, 2010 at 04:09:02PM +0530, Yogesh Ashok Powar wrote:
> Information Elements are placed in mixed order of Element IDs in beacons, Probe
> Response and (Re)Association Response freames. This patch arranges the IEs in
> incresing order.  Following is the Correct sequence is

Thanks for pointing this out. However, the proposed order is not
correct; the IEs are _not_ in numerical order by the id. The order for
them is defined separately for each management frame subtype in IEEE
802.11, 7.2.3 tables.

I moved WMM IE (vendor-specific) to the end of the frames and HT IEs bit
further down the (re)association response frame, but did not move
extended supported rates IE or separate HT IEs as proposed in your patch
since I do not believe that they would match the order described in the
standard.

It is still possible to get WPA IE in incorrect place (fixing that
requires some more effort than just moving function calls), but other
IEs should now be in more or less correct order.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list