[PATCH] hostapd: respect rsn_pairwise in MadWifi

Jouni Malinen j
Tue Jun 3 07:22:15 PDT 2008

On Wed, May 21, 2008 at 09:43:59PM -0400, Pavel Roskin wrote:
> MadWifi uses the same set of pairwise ciphers in WPA and RSN information
> elements.  Tell the driver to announce all ciphers enabled either for
> WPA1 or RSN.
> In particular, if only RSN is enabled, use the rsn_pairwise and not
> wpa_pairwise.

Does this really work correctly in all cases, i.e., is the WPA/RSN IE in
EAPOL-Key message 3/4 correct? I'm especially concerned of cases where
wpa_pairwise != rsn_pairwise. If the driver does not support different
sets of pairwise cipher suites for WPA and RSN/WPA2, only valid
configuration would be to set wpa_pairwise=rsn_pairwise (e.g., leave out

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list