[Bug 459716] Re: encrypted modes don't work on ndiswrapper wireless adapters

Rene van Paassen rene.vanpaassen at gmail.com
Tue Dec 1 22:48:44 UTC 2009


The following happens in the wpa_supplicant, driver_wext.c lines 2115
and further

#ifdef CONFIG_IEEE80211W
	switch (params->mgmt_frame_protection) {
	case NO_MGMT_FRAME_PROTECTION:
		value = IW_AUTH_MFP_DISABLED;
		break;
	case MGMT_FRAME_PROTECTION_OPTIONAL:
		value = IW_AUTH_MFP_OPTIONAL;
		break;
	case MGMT_FRAME_PROTECTION_REQUIRED:
		value = IW_AUTH_MFP_REQUIRED;
		break;
	};
	if (wpa_driver_wext_set_auth_param(drv, IW_AUTH_MFP, value) < 0)
		ret = -1;
#endif /* CONFIG_IEEE80211W */

the ndiswrapper wireless driver (and maybe others?) does not implement
IW_AUTH_MFP, and returns  -EOPNOTSUPP;

A fix is needed for ndiswrapper, which can be, for now, to accept the
first two frame protection values, and fail on  IW_AUTH_MFP_REQUIRED
only.

-- 
encrypted modes don't work on ndiswrapper wireless adapters
https://bugs.launchpad.net/bugs/459716
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to ndiswrapper in ubuntu.




More information about the kernel-bugs mailing list