nl80211: add NL80211_CMD_UPDATE_FT_IES to supported commands
authorMatthew Wang <matthewmwang@chromium.org>
Thu, 22 Aug 2019 17:48:06 +0000 (10:48 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 22 Aug 2019 19:59:02 +0000 (21:59 +0200)
Add NL80211_CMD_UPDATE_FT_IES to supported commands. In mac80211 drivers,
this can be implemented via existing NL80211_CMD_AUTHENTICATE and
NL80211_ATTR_IE, but non-mac80211 drivers have a separate command for
this. A driver supports FT if it either is mac80211 or supports this
command.

Signed-off-by: Matthew Wang <matthewmwang@chromium.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Link: https://lore.kernel.org/r/20190822174806.2954-1-matthewmwang@chromium.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c

index 4565d7385884fdcdc10c8e29c43e7917cb684603..8a6cef949210c31921217e5cfe3f4feb19246da6 100644 (file)
@@ -2100,6 +2100,7 @@ static int nl80211_send_wiphy(struct cfg80211_registered_device *rdev,
                                CMD(add_tx_ts, ADD_TX_TS);
                        CMD(set_multicast_to_unicast, SET_MULTICAST_TO_UNICAST);
                        CMD(update_connect_params, UPDATE_CONNECT_PARAMS);
+                       CMD(update_ft_ies, UPDATE_FT_IES);
                }
 #undef CMD