aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 4d5acb013636..22be7c625b70 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1211,7 +1211,7 @@ struct cfg80211_ops {
1211 u8 key_index, bool pairwise, const u8 *mac_addr); 1211 u8 key_index, bool pairwise, const u8 *mac_addr);
1212 int (*set_default_key)(struct wiphy *wiphy, 1212 int (*set_default_key)(struct wiphy *wiphy,
1213 struct net_device *netdev, 1213 struct net_device *netdev,
1214 u8 key_index); 1214 u8 key_index, bool unicast, bool multicast);
1215 int (*set_default_mgmt_key)(struct wiphy *wiphy, 1215 int (*set_default_mgmt_key)(struct wiphy *wiphy,
1216 struct net_device *netdev, 1216 struct net_device *netdev,
1217 u8 key_index); 1217 u8 key_index);
@@ -1393,6 +1393,8 @@ struct cfg80211_ops {
1393 * control port protocol ethertype. The device also honours the 1393 * control port protocol ethertype. The device also honours the
1394 * control_port_no_encrypt flag. 1394 * control_port_no_encrypt flag.
1395 * @WIPHY_FLAG_IBSS_RSN: The device supports IBSS RSN. 1395 * @WIPHY_FLAG_IBSS_RSN: The device supports IBSS RSN.
1396 * @WIPHY_FLAG_SUPPORTS_SEPARATE_DEFAULT_KEYS: The device supports separate
1397 * unicast and multicast TX keys.
1396 */ 1398 */
1397enum wiphy_flags { 1399enum wiphy_flags {
1398 WIPHY_FLAG_CUSTOM_REGULATORY = BIT(0), 1400 WIPHY_FLAG_CUSTOM_REGULATORY = BIT(0),
@@ -1404,6 +1406,7 @@ enum wiphy_flags {
1404 WIPHY_FLAG_4ADDR_STATION = BIT(6), 1406 WIPHY_FLAG_4ADDR_STATION = BIT(6),
1405 WIPHY_FLAG_CONTROL_PORT_PROTOCOL = BIT(7), 1407 WIPHY_FLAG_CONTROL_PORT_PROTOCOL = BIT(7),
1406 WIPHY_FLAG_IBSS_RSN = BIT(8), 1408 WIPHY_FLAG_IBSS_RSN = BIT(8),
1409 WIPHY_FLAG_SUPPORTS_SEPARATE_DEFAULT_KEYS= BIT(9),
1407}; 1410};
1408 1411
1409struct mac_address { 1412struct mac_address {