mac80211: add offload channel switch support
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 11 May 2010 14:20:57 +0000 (16:20 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 12 May 2010 20:39:05 +0000 (16:39 -0400)
commit5ce6e438d5d9ed8ed775cd1e94f92002c8da2bad
tree9b6ce4bc8e7600e30124c8b0f1cbc2ae06499722
parentb29e7eb4b8b3e5f4ff8066af648e9fe2fc707b16
mac80211: add offload channel switch support

This adds support for offloading the channel switch
operation to devices that support such, typically
by having specific firmware API for it. The reasons
for this could be that the firmware provides better
timing or that regulatory enforcement done by the
device requires special handling of CSAs.

In order to allow drivers to specify the timing to
the device, the new channel_switch callback will
pass through the received frame's mactime, where
available.

Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/driver-ops.h
net/mac80211/driver-trace.h
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c