aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_cli.c
diff options
context:
space:
mode:
authorBruno Randolf <br1@einfach.org>2013-04-23 13:55:54 (GMT)
committerJouni Malinen <j@w1.fi>2013-04-23 13:55:54 (GMT)
commit060605226fb7fe0b2e3eec234b842c7ee8c4fcb0 (patch)
treea264b0633548430be41bf8fb06b629c3af2c6548 /wpa_supplicant/wpa_cli.c
parentc7a39ba4e17e2ce6e4710acf2e1aa029bb4cf2ca (diff)
downloadhostap-060605226fb7fe0b2e3eec234b842c7ee8c4fcb0.zip
hostap-060605226fb7fe0b2e3eec234b842c7ee8c4fcb0.tar.gz
hostap-060605226fb7fe0b2e3eec234b842c7ee8c4fcb0.tar.bz2
wpa_supplicant: Add get_capability freq
Add "get_capability freq" command to print a more verbose list of channels and frequencies in MHz. The tag "NO_IBSS" is added, if IBSS mode is not allowed on a channel. This allows userspace programs to get the frequencies and limitations associated with each channel. This extends the information already provided in "get_capability channels" but a new interface is chosen because of backwards compatibility considerations. Signed-hostap: Bruno Randolf <br1@einfach.org>
Diffstat (limited to 'wpa_supplicant/wpa_cli.c')
-rw-r--r--wpa_supplicant/wpa_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/wpa_cli.c b/wpa_supplicant/wpa_cli.c
index 3765c4e..87d7928 100644
--- a/wpa_supplicant/wpa_cli.c
+++ b/wpa_supplicant/wpa_cli.c
@@ -2445,7 +2445,7 @@ static struct wpa_cli_cmd wpa_cli_commands[] = {
"<<idx> | <bssid>> = get detailed scan result info" },
{ "get_capability", wpa_cli_cmd_get_capability, NULL,
cli_cmd_flag_none,
- "<eap/pairwise/group/key_mgmt/proto/auth_alg/channels/modes> "
+ "<eap/pairwise/group/key_mgmt/proto/auth_alg/channels/freq/modes> "
"= get capabilies" },
{ "reconfigure", wpa_cli_cmd_reconfigure, NULL,
cli_cmd_flag_none,