- NL80211_CMD_LEAVE_IBSS, 0, CIB_NETDEV, leave_ibss);
-COMMAND(ibss, join, "<SSID> [bssid <bssid>] [freq <freq in MHz>]",
- NL80211_CMD_JOIN_IBSS, 0, CIB_NETDEV, join_ibss);
+ NL80211_CMD_LEAVE_IBSS, 0, CIB_NETDEV, leave_ibss,
+ "Leave the current IBSS cell.");
+COMMAND(ibss, join,
+ "<SSID> <freq in MHz> [NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz] [fixed-freq] [<fixed bssid>] [beacon-interval <TU>]"
+ " [basic-rates <rate in Mbps,rate2,...>] [mcast-rate <rate in Mbps>] "
+ "[key d:0:abcde]",
+ 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. If an IBSS is created, create\n"
+ "it with the specified basic-rates, multicast-rate and beacon-interval.");