cfg80211/nl80211: add IBSS API
authorJohannes Berg <johannes@sipsolutions.net>
Sun, 19 Apr 2009 19:24:32 +0000 (21:24 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:57:17 +0000 (16:57 -0400)
commit04a773ade0680d862b479d7219973df60f7a3834
treefc759eb79099fefd7f1329bcb2b703008cb0adfe
parent691597cb26f236ac7471f1adf925a134c86799d6
cfg80211/nl80211: add IBSS API

This adds IBSS API along with (preliminary) wext handlers.
The wext handlers can only do IBSS so you need to call them
from your own wext handlers if the mode is IBSS.

The nl80211 API requires
 * an SSID
 * a channel (frequency) for the case that a new IBSS
   has to be created

It optionally supports
 * a flag to fix the channel
 * a fixed BSSID

The cfg80211 code also takes care to leave the IBSS before
the netdev is set down. If wireless extensions are used, it
also caches values when the interface is down and instructs
the driver to join when the interface is set up.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/nl80211.h
include/net/cfg80211.h
include/net/wireless.h
net/wireless/Makefile
net/wireless/core.c
net/wireless/core.h
net/wireless/ibss.c [new file with mode: 0644]
net/wireless/nl80211.c
net/wireless/nl80211.h
net/wireless/wext-compat.c