aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/ieee80211.h1
-rw-r--r--include/linux/nl80211.h6
-rw-r--r--include/net/cfg80211.h5
-rw-r--r--include/net/mac80211.h2
4 files changed, 12 insertions, 2 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index cceb9e86c744..df98a8a549a2 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -1139,6 +1139,7 @@ enum ieee80211_back_parties {
1139/* reserved: 0x000FAC03 */ 1139/* reserved: 0x000FAC03 */
1140#define WLAN_CIPHER_SUITE_CCMP 0x000FAC04 1140#define WLAN_CIPHER_SUITE_CCMP 0x000FAC04
1141#define WLAN_CIPHER_SUITE_WEP104 0x000FAC05 1141#define WLAN_CIPHER_SUITE_WEP104 0x000FAC05
1142#define WLAN_CIPHER_SUITE_AES_CMAC 0x000FAC06
1142 1143
1143#define WLAN_MAX_KEY_LEN 32 1144#define WLAN_MAX_KEY_LEN 32
1144 1145
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h
index 218f0e73a7ae..ee742bc9761e 100644
--- a/include/linux/nl80211.h
+++ b/include/linux/nl80211.h
@@ -72,8 +72,8 @@
72 * 72 *
73 * @NL80211_CMD_GET_KEY: Get sequence counter information for a key specified 73 * @NL80211_CMD_GET_KEY: Get sequence counter information for a key specified
74 * by %NL80211_ATTR_KEY_IDX and/or %NL80211_ATTR_MAC. 74 * by %NL80211_ATTR_KEY_IDX and/or %NL80211_ATTR_MAC.
75 * @NL80211_CMD_SET_KEY: Set key attributes %NL80211_ATTR_KEY_DEFAULT or 75 * @NL80211_CMD_SET_KEY: Set key attributes %NL80211_ATTR_KEY_DEFAULT,
76 * %NL80211_ATTR_KEY_THRESHOLD. 76 * %NL80211_ATTR_KEY_DEFAULT_MGMT, or %NL80211_ATTR_KEY_THRESHOLD.
77 * @NL80211_CMD_NEW_KEY: add a key with given %NL80211_ATTR_KEY_DATA, 77 * @NL80211_CMD_NEW_KEY: add a key with given %NL80211_ATTR_KEY_DATA,
78 * %NL80211_ATTR_KEY_IDX, %NL80211_ATTR_MAC and %NL80211_ATTR_KEY_CIPHER 78 * %NL80211_ATTR_KEY_IDX, %NL80211_ATTR_MAC and %NL80211_ATTR_KEY_CIPHER
79 * attributes. 79 * attributes.
@@ -346,6 +346,8 @@ enum nl80211_attrs {
346 NL80211_ATTR_WIPHY_FREQ, 346 NL80211_ATTR_WIPHY_FREQ,
347 NL80211_ATTR_WIPHY_CHANNEL_TYPE, 347 NL80211_ATTR_WIPHY_CHANNEL_TYPE,
348 348
349 NL80211_ATTR_KEY_DEFAULT_MGMT,
350
349 /* add attributes here, update the policy in nl80211.c */ 351 /* add attributes here, update the policy in nl80211.c */
350 352
351 __NL80211_ATTR_AFTER_LAST, 353 __NL80211_ATTR_AFTER_LAST,
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 6619ed106134..df78abc496f1 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -473,6 +473,8 @@ struct ieee80211_channel;
473 * 473 *
474 * @set_default_key: set the default key on an interface 474 * @set_default_key: set the default key on an interface
475 * 475 *
476 * @set_default_mgmt_key: set the default management frame key on an interface
477 *
476 * @add_beacon: Add a beacon with given parameters, @head, @interval 478 * @add_beacon: Add a beacon with given parameters, @head, @interval
477 * and @dtim_period will be valid, @tail is optional. 479 * and @dtim_period will be valid, @tail is optional.
478 * @set_beacon: Change the beacon parameters for an access point mode 480 * @set_beacon: Change the beacon parameters for an access point mode
@@ -520,6 +522,9 @@ struct cfg80211_ops {
520 int (*set_default_key)(struct wiphy *wiphy, 522 int (*set_default_key)(struct wiphy *wiphy,
521 struct net_device *netdev, 523 struct net_device *netdev,
522 u8 key_index); 524 u8 key_index);
525 int (*set_default_mgmt_key)(struct wiphy *wiphy,
526 struct net_device *netdev,
527 u8 key_index);
523 528
524 int (*add_beacon)(struct wiphy *wiphy, struct net_device *dev, 529 int (*add_beacon)(struct wiphy *wiphy, struct net_device *dev,
525 struct beacon_parameters *info); 530 struct beacon_parameters *info);
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 8a305bfdb87b..61f1f37a9e27 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -651,11 +651,13 @@ struct ieee80211_if_conf {
651 * @ALG_WEP: WEP40 or WEP104 651 * @ALG_WEP: WEP40 or WEP104
652 * @ALG_TKIP: TKIP 652 * @ALG_TKIP: TKIP
653 * @ALG_CCMP: CCMP (AES) 653 * @ALG_CCMP: CCMP (AES)
654 * @ALG_AES_CMAC: AES-128-CMAC
654 */ 655 */
655enum ieee80211_key_alg { 656enum ieee80211_key_alg {
656 ALG_WEP, 657 ALG_WEP,
657 ALG_TKIP, 658 ALG_TKIP,
658 ALG_CCMP, 659 ALG_CCMP,
660 ALG_AES_CMAC,
659}; 661};
660 662
661/** 663/**