]> Pileus Git - ~andy/linux/blobdiff - include/net/cfg80211.h
cfg80211/nl80211: separate unicast/multicast default TX keys
[~andy/linux] / include / net / cfg80211.h
index 4d5acb0136360a4f2b2b238c55858dee0a51e4f3..22be7c625b708185549f4ec19c0926c3af2d43c9 100644 (file)
@@ -1211,7 +1211,7 @@ struct cfg80211_ops {
                           u8 key_index, bool pairwise, const u8 *mac_addr);
        int     (*set_default_key)(struct wiphy *wiphy,
                                   struct net_device *netdev,
-                                  u8 key_index);
+                                  u8 key_index, bool unicast, bool multicast);
        int     (*set_default_mgmt_key)(struct wiphy *wiphy,
                                        struct net_device *netdev,
                                        u8 key_index);
@@ -1393,6 +1393,8 @@ struct cfg80211_ops {
  *     control port protocol ethertype. The device also honours the
  *     control_port_no_encrypt flag.
  * @WIPHY_FLAG_IBSS_RSN: The device supports IBSS RSN.
+ * @WIPHY_FLAG_SUPPORTS_SEPARATE_DEFAULT_KEYS: The device supports separate
+ *     unicast and multicast TX keys.
  */
 enum wiphy_flags {
        WIPHY_FLAG_CUSTOM_REGULATORY            = BIT(0),
@@ -1404,6 +1406,7 @@ enum wiphy_flags {
        WIPHY_FLAG_4ADDR_STATION                = BIT(6),
        WIPHY_FLAG_CONTROL_PORT_PROTOCOL        = BIT(7),
        WIPHY_FLAG_IBSS_RSN                     = BIT(8),
+       WIPHY_FLAG_SUPPORTS_SEPARATE_DEFAULT_KEYS= BIT(9),
 };
 
 struct mac_address {