]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/ctrl_iface.c
wpa_supplicant: Add get_capability freq
authorBruno Randolf <br1@einfach.org>
Tue, 23 Apr 2013 13:55:54 +0000 (16:55 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 23 Apr 2013 13:55:54 +0000 (16:55 +0300)
commit060605226fb7fe0b2e3eec234b842c7ee8c4fcb0
treea264b0633548430be41bf8fb06b629c3af2c6548
parentc7a39ba4e17e2ce6e4710acf2e1aa029bb4cf2ca
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>
wpa_supplicant/ctrl_iface.c
wpa_supplicant/wpa_cli.c