[PATCH v6 06/17] wpa_supplicant: Set the correct key_type for key installs

Johannes Berg johannes at sipsolutions.net
Sat Sep 28 11:42:56 PDT 2019


On Sat, 2019-09-28 at 18:44 +0200, Alexander Wetzel wrote:
> 
> > I'll try to look into that, probably at the weekend. (First have to find 
> > that mode of operation in the standard...)
> 
> WPA-None was something never standardized. But based on the logic we 
> must use KEY_TYPE_DEFAULT here.
> 
> But mac80211 is actively limiting the default key to WEP: The ibss 
> checks for that therefore just skip over the errors.
> So while the code here should now be correct when using KEY_TYPE_DEFAULT 
> and still work with non-mac80211 drivers I assume the complete WPA-None 
> method is deprecated.

Yeah, I'm pretty sure WPA-NONE never worked on mac80211.

Even on other cfg80211 drivers I'd think it cannot work.

johannes




More information about the Hostap mailing list