cfg80211: restructure AP/GO mode API
authorJohannes Berg <johannes.berg@intel.com>
Mon, 13 Feb 2012 14:17:18 +0000 (15:17 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Feb 2012 19:51:18 +0000 (14:51 -0500)
commit8860020e0be1f03d83dc9e9e93e18a4ddbe01038
tree09fa9089770e8a42e913f6c11abbba04bec20fad
parent4e3bc141d480661634d0fadad7dbb1ddde70b4d4
cfg80211: restructure AP/GO mode API

The AP/GO mode API isn't very clearly defined, it
has "set beacon" and "new beacon" etc.

Modify the API to the following:
 * start AP -- all settings
 * change beacon -- new beacon data
 * stop AP -- stop AP mode operation

This also reflects in the nl80211 API, rename
the commands there correspondingly (but keep
the old names for compatibility.)

Overall, this makes it much clearer what's going
on in the API.

Kalle developed the ath6kl changes, I created
the rest of the patch.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c
include/linux/nl80211.h
include/net/cfg80211.h
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/tx.c
net/wireless/nl80211.c