mac80211: Generalize off-channel operation helpers from scan code
authorJouni Malinen <jouni.malinen@atheros.com>
Wed, 23 Dec 2009 12:15:40 +0000 (13:15 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Dec 2009 21:55:01 +0000 (16:55 -0500)
commitb203ffc3a447eb8d9e6120b783ddee081b143061
tree520473f30067c9ebf003c95d8053fe4cbe39e11e
parent0c1ad2cac1cb54db38fd4cc1822965071ee83f6e
mac80211: Generalize off-channel operation helpers from scan code

The off-channel operations for going into power save mode (station
mode) or stop beaconing (AP/IBSS) are not limited to scanning. Move
these into a separate file and allow them to be used for other
purposes, too.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/Makefile
net/mac80211/ieee80211_i.h
net/mac80211/offchannel.c [new file with mode: 0644]
net/mac80211/scan.c