]> git.ipfire.org Git - thirdparty/iw.git/commitdiff
add help for ibss commands
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 5 May 2009 12:56:40 +0000 (14:56 +0200)
committerJohannes Berg <johannes@sipsolutions.net>
Tue, 5 May 2009 12:56:40 +0000 (14:56 +0200)
ibss.c

diff --git a/ibss.c b/ibss.c
index 65016d12a15947b706e50a7c8fe8dc07f27dd3e0..63226275d8b4f58f1567e3c8a71966bd25e15067 100644 (file)
--- a/ibss.c
+++ b/ibss.c
@@ -63,6 +63,12 @@ static int leave_ibss(struct nl80211_state *state,
        return 0;
 }
 COMMAND(ibss, leave, NULL,
-       NL80211_CMD_LEAVE_IBSS, 0, CIB_NETDEV, leave_ibss, NULL);
+       NL80211_CMD_LEAVE_IBSS, 0, CIB_NETDEV, leave_ibss,
+       "Leave the current IBSS cell.");
 COMMAND(ibss, join, "<SSID> <freq in MHz> [fixed-freq] [<fixed bssid>]",
-       NL80211_CMD_JOIN_IBSS, 0, CIB_NETDEV, join_ibss, NULL);
+       NL80211_CMD_JOIN_IBSS, 0, CIB_NETDEV, join_ibss,
+       "Join the IBSS cell with the given SSID, if it doesn't exist create\n"
+       "it on the given frequency. When fixed frequency is requested, don't\n"
+       "join/create a cell on a different frequency. When a fixed BSSID is\n"
+       "requested use that BSSID and do not adopt another cell's BSSID even\n"
+       "if it has higher TSF and the same SSID.");