]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
add new commands
authorJohannes Berg <johannes.berg@intel.com>
Tue, 18 Oct 2016 05:41:22 +0000 (07:41 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 18 Oct 2016 05:41:22 +0000 (07:41 +0200)
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
util.c

diff --git a/util.c b/util.c
index 96a8b270d60877115fed2374464f2bcb8144ee44..9083e452f27ceaa9235495e5d5d8ee08a3159d03 100644 (file)
--- a/util.c
+++ b/util.c
@@ -264,6 +264,12 @@ static const char *commands[NL80211_CMD_MAX + 1] = {
        [NL80211_CMD_TDLS_CANCEL_CHANNEL_SWITCH] = "tdls_cancel_channel_switch",
        [NL80211_CMD_WIPHY_REG_CHANGE] = "wiphy_reg_change",
        [NL80211_CMD_ABORT_SCAN] = "abort_scan",
+       [NL80211_CMD_START_NAN] = "start_nan",
+       [NL80211_CMD_STOP_NAN] = "stop_nan",
+       [NL80211_CMD_ADD_NAN_FUNCTION] = "add_nan_function",
+       [NL80211_CMD_DEL_NAN_FUNCTION] = "del_nan_function",
+       [NL80211_CMD_CHANGE_NAN_CONFIG] = "change_nan_config",
+       [NL80211_CMD_NAN_MATCH] = "nan_match",
 };
 
 static char cmdbuf[100];