2014-01-09 23:23:16

by Bing Zhao

[permalink] [raw]
Subject: [PATCH] ieee80211: add definition for WAPI key len

Add WAPI key length definition to ieee80211_key_len enum.

Signed-off-by: Avinash Patil <[email protected]>
Signed-off-by: Bing Zhao <[email protected]>
---
include/linux/ieee80211.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index 776cbb8..5c0b4b0 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -1857,6 +1857,7 @@ enum ieee80211_key_len {
WLAN_KEY_LEN_CCMP = 16,
WLAN_KEY_LEN_TKIP = 32,
WLAN_KEY_LEN_AES_CMAC = 16,
+ WLAN_KEY_LEN_WAPI = 32,
};

#define IEEE80211_WEP_IV_LEN 4
--
1.8.2.3



2014-01-10 08:42:23

by Johannes Berg

[permalink] [raw]
Subject: Re: [PATCH] ieee80211: add definition for TDLS wide band extended capability

On Thu, 2014-01-09 at 15:22 -0800, Bing Zhao wrote:
> From: Avinash Patil <[email protected]>
>
> Seventh bit of 8th byte of extended capabilities specifies wide
> bandwidth support for TDLS links. Add this definition to ieee80211.

Applied.

johannes


2014-01-09 23:23:16

by Bing Zhao

[permalink] [raw]
Subject: [PATCH] ieee80211: add definition for TDLS wide band extended capability

From: Avinash Patil <[email protected]>

Seventh bit of 8th byte of extended capabilities specifies wide
bandwidth support for TDLS links. Add this definition to ieee80211.

Signed-off-by: Avinash Patil <[email protected]>
Signed-off-by: Bing Zhao <[email protected]>
---
include/linux/ieee80211.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index 5c0b4b0..6a2cbf5 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -1903,6 +1903,7 @@ enum ieee80211_tdls_actioncode {
#define WLAN_EXT_CAPA5_TDLS_PROHIBITED BIT(6)

#define WLAN_EXT_CAPA8_OPMODE_NOTIF BIT(6)
+#define WLAN_EXT_CAPA8_TDLS_WIDE_BW_ENABLED BIT(7)

/* TDLS specific payload type in the LLC/SNAP header */
#define WLAN_TDLS_SNAP_RFTYPE 0x2
--
1.8.2.3