Search Linux Wireless

Re: [RFC PATCH 7/7] 802.11w: Configuration of MFP disabled/optional/required

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +#define IEEE80211_MFP_DISABLED 0
> +#define IEEE80211_MFP_OPTIONAL 1
> +#define IEEE80211_MFP_REQUIRED 2
> +	int mfp; /* management frame protection */

Maybe an enum would be good?

> --- wireless-testing.orig/net/mac80211/wext.c
> +++ wireless-testing/net/mac80211/wext.c
> @@ -1003,6 +1003,13 @@ static int ieee80211_ioctl_siwauth(struc
>  		else
>  			ret = -EOPNOTSUPP;
>  		break;
> +	case IW_AUTH_MFP:
> +		if (sdata->vif.type == IEEE80211_IF_TYPE_STA ||
> +		    sdata->vif.type == IEEE80211_IF_TYPE_IBSS)
> +			sdata->u.sta.mfp = data->value;

and shouldn't that be used somewhere?

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux