Example implementation of SIOCSIWPMKSA?

Jouni Malinen jkmaline at cc.hut.fi
Fri Oct 28 02:04:25 EDT 2005


On Wed, Oct 26, 2005 at 03:54:26PM +0100, Pedro Ramalhais wrote:

> Could you explain a bit more what the driver/card would do when
> receiving the SIOCSIWPMKSA ioctl commands "add", "remove" and "flush"?

First of all, this is only used if the driver/card takes care of WPA/RSN
IE generation for (Re)Association Request frames and roaming selection.

These commands are used to add/remove entries to the PMKSA cache in the
driver, or well, to be more exact, to add BSSID,PMKID pairs, i.e., just
part of the PMKSA entry. The driver will need to maintain this table and
whenever it generates an RSN IE to a (Re)Association Request frame, it
should add PMKID into it if the destination BSSID is found in the PMKSA
table. This is only used with WPA2.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the HostAP mailing list