Search Linux Wireless

Re: [PATCH] cfg80211: allow software encryption of aes cmac in mesh

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

 



Hi Chun-Yeow,

On Mon, Aug 27, 2012 at 3:38 AM, Chun-Yeow Yeoh <yeohchunyeow@xxxxxxxxx> wrote:
> Secured mesh requires the key installation using cipher
> suite AES CMAC for multicast management frame. This patch
> will allow the key installation to proceed. Otherwise, it
> will be rejected due to hw encryption is not supported.

So what does this patch fix, exactly? mac80211 already advertises
support for AES CMAC if the hardware is MFP capable.

> -       if (!cfg80211_supported_cipher_suite(&rdev->wiphy, params->cipher))
> +       if (!cfg80211_supported_cipher_suite(&rdev->wiphy, params->cipher) &&
> +           !(params->cipher == WLAN_CIPHER_SUITE_AES_CMAC &&
> +             (rdev->wiphy.flags & WIPHY_FLAG_MESH_AUTH)))
>                 return -EINVAL;
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux