Search Linux Wireless

Re: [RFC 01/07] wireless-next: WAPI support for hardware-accelerated drivers

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

 



Hi Dmitry,

Some minor comments on your patch:

Note that I'm not a maintainer and that these are comments on the
patch itself, not the code it adds.

On Wed, Oct 12, 2011 at 12:02, Dmitry Tarnyagin <abi.dmitryt@xxxxxxxxx> wrote:
> From: Janusz Dziedzic <janusz.dziedzic@xxxxxxxxx>
> Date: Wed, 1 Jun 2011 14:40:13 +0200
>
> This commit implements WAPI support for hardware-accelerated devices.
>
> Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@xxxxxxxxxxxxxx>
> ---
> diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
> index 48363c3..bf86b0d 100644
> --- a/include/linux/ieee80211.h
> +++ b/include/linux/ieee80211.h
> @@ -1551,12 +1552,14 @@ enum ieee80211_sa_query_action {
>  #define WLAN_CIPHER_SUITE_CCMP         0x000FAC04
>  #define WLAN_CIPHER_SUITE_WEP104       0x000FAC05
>  #define WLAN_CIPHER_SUITE_AES_CMAC     0x000FAC06
> +#define WLAN_CIPHER_SUITE_SMS4         0x000FAC07
>
>  /* AKM suite selectors */
>  #define WLAN_AKM_SUITE_8021X           0x000FAC01
>  #define WLAN_AKM_SUITE_PSK             0x000FAC02
>  #define WLAN_AKM_SUITE_SAE                     0x000FAC08
>  #define WLAN_AKM_SUITE_FT_OVER_SAE     0x000FAC09
> +#define WLAN_AKM_SUITE_WAPI_PSK                0x000FAC03

Should these go in numerical order?

> diff --git a/net/mac80211/wapi.h b/net/mac80211/wapi.h
> new file mode 100644
> index 0000000..f06eee0
> --- /dev/null
> +++ b/net/mac80211/wapi.h
> @@ -0,0 +1,27 @@

[snip]

> +#ifndef ETH_P_WAPI
> +#define ETH_P_WAPI     0x88B4
> +#endif

Should this go somewhere else? Maybe where the other ETH_P_* #defines
are defined?

Thanks,

-- 
Julian Calaby

Email: julian.calaby@xxxxxxxxx
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/
--
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 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