]> git.ipfire.org Git - thirdparty/hostap.git/commit
Add capability flag for IBSS and add get_capability modes
authorBruno Randolf <br1@einfach.org>
Sat, 16 Mar 2013 10:42:15 +0000 (12:42 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 16 Mar 2013 10:42:15 +0000 (12:42 +0200)
commit65d52fc1034a682e5a344ca410e914c64e7ccb07
tree7ad7eb52f4d82a835921e4f06db3a9c52e4f87e6
parentba873c12845b620be6405ece2512fe8d9691b8f6
Add capability flag for IBSS and add get_capability modes

Add a driver capability flag for drivers which support IBSS mode and set
it for nl80211 drivers which have set the NL80211_IFTYPE_ADHOC.

Add a new option "modes" to "get_capability" which will return "AP" and
"IBSS" if the corresponding capability flags are set.

The idea is that this can be used for UIs to find out if the driver
supports IBSS mode.

Signed-hostap: Bruno Randolf <br1@einfach.org>
src/drivers/driver.h
src/drivers/driver_nl80211.c
wpa_supplicant/ctrl_iface.c
wpa_supplicant/wpa_cli.c