@@ -4384,10 +4384,6 @@ struct mgmt_frame_regs {
*
* @color_change: Initiate a color change.
*
- * @set_fils_aad: Set FILS AAD data to the AP driver so that the driver can use
- * those to decrypt (Re)Association Request and encrypt (Re)Association
- * Response frame.
- *
* @set_radar_background: Configure dedicated offchannel chain available for
* radar/CAC detection on some hw. This chain can't be used to transmit
* or receive frames and it is bounded to a running wdev.
@@ -4748,8 +4744,6 @@ struct cfg80211_ops {
int (*color_change)(struct wiphy *wiphy,
struct net_device *dev,
struct cfg80211_color_change_settings *params);
- int (*set_fils_aad)(struct wiphy *wiphy, struct net_device *dev,
- struct cfg80211_fils_aad *fils_aad);
int (*set_radar_background)(struct wiphy *wiphy,
struct cfg80211_chan_def *chandef);
int (*add_link_station)(struct wiphy *wiphy, struct net_device *dev,
@@ -16079,29 +16079,6 @@ static int nl80211_color_change(struct sk_buff *skb, struct genl_info *info)
return err;
}
-static int nl80211_set_fils_aad(struct sk_buff *skb,
- struct genl_info *info)
-{
- struct cfg80211_registered_device *rdev = info->user_ptr[0];
- struct net_device *dev = info->user_ptr[1];
- struct cfg80211_fils_aad fils_aad = {};
- u8 *nonces;
-
- if (!info->attrs[NL80211_ATTR_MAC] ||
- !info->attrs[NL80211_ATTR_FILS_KEK] ||
- !info->attrs[NL80211_ATTR_FILS_NONCES])
- return -EINVAL;
-
- fils_aad.macaddr = nla_data(info->attrs[NL80211_ATTR_MAC]);
- fils_aad.kek_len = nla_len(info->attrs[NL80211_ATTR_FILS_KEK]);
- fils_aad.kek = nla_data(info->attrs[NL80211_ATTR_FILS_KEK]);
- nonces = nla_data(info->attrs[NL80211_ATTR_FILS_NONCES]);
- fils_aad.snonce = nonces;
- fils_aad.anonce = nonces + FILS_NONCE_LEN;
-
- return rdev_set_fils_aad(rdev, dev, &fils_aad);
-}
-
static int nl80211_add_link(struct sk_buff *skb, struct genl_info *info)
{
struct cfg80211_registered_device *rdev = info->user_ptr[0];
@@ -17452,13 +17429,6 @@ static const struct genl_small_ops nl80211_small_ops[] = {
.flags = GENL_UNS_ADMIN_PERM,
.internal_flags = IFLAGS(NL80211_FLAG_NEED_NETDEV_UP),
},
- {
- .cmd = NL80211_CMD_SET_FILS_AAD,
- .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
- .doit = nl80211_set_fils_aad,
- .flags = GENL_UNS_ADMIN_PERM,
- .internal_flags = IFLAGS(NL80211_FLAG_NEED_NETDEV_UP),
- },
{
.cmd = NL80211_CMD_ADD_LINK,
.doit = nl80211_add_link,
@@ -1402,20 +1402,6 @@ static inline int rdev_color_change(struct cfg80211_registered_device *rdev,
return ret;
}
-static inline int
-rdev_set_fils_aad(struct cfg80211_registered_device *rdev,
- struct net_device *dev, struct cfg80211_fils_aad *fils_aad)
-{
- int ret = -EOPNOTSUPP;
-
- trace_rdev_set_fils_aad(&rdev->wiphy, dev, fils_aad);
- if (rdev->ops->set_fils_aad)
- ret = rdev->ops->set_fils_aad(&rdev->wiphy, dev, fils_aad);
- trace_rdev_return_int(&rdev->wiphy, ret);
-
- return ret;
-}
-
static inline int
rdev_set_radar_background(struct cfg80211_registered_device *rdev,
struct cfg80211_chan_def *chandef)
@@ -2706,24 +2706,6 @@ DEFINE_EVENT(wiphy_wdev_cookie_evt, rdev_abort_pmsr,
TP_ARGS(wiphy, wdev, cookie)
);
-TRACE_EVENT(rdev_set_fils_aad,
- TP_PROTO(struct wiphy *wiphy, struct net_device *netdev,
- struct cfg80211_fils_aad *fils_aad),
- TP_ARGS(wiphy, netdev, fils_aad),
- TP_STRUCT__entry(WIPHY_ENTRY
- NETDEV_ENTRY
- __array(u8, macaddr, ETH_ALEN)
- __field(u8, kek_len)
- ),
- TP_fast_assign(WIPHY_ASSIGN;
- NETDEV_ASSIGN;
- FILS_AAD_ASSIGN(fils_aad);
- ),
- TP_printk(WIPHY_PR_FMT ", " NETDEV_PR_FMT ", " FILS_AAD_PR_FMT,
- WIPHY_PR_ARG, NETDEV_PR_ARG, __entry->macaddr,
- __entry->kek_len)
-);
-
TRACE_EVENT(rdev_update_owe_info,
TP_PROTO(struct wiphy *wiphy, struct net_device *netdev,
struct cfg80211_update_owe_info *owe_info),