Luciano Coelho 11335a550b mac80211: implement chanctx reservation
In order to support channel switch with multiple vifs and multiple
contexts, we implement a concept of channel context reservation.  This
allows us to reserve a channel context to be used later.

The reservation functionality is not tied directly to channel switch
and may be used in other situations (eg. reserving a channel context
during IBSS join).

We first check if an existing compatible context exists and if it
does, we reserve it.  If there is no compatible context we create a
new one and reserve it.

Additionally, split ieee80211_vif_copy_chanctx_to_vlans() so we can
call it while already holding the chanctx mutex.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2014-04-09 10:55:54 +02:00
..
2013-12-18 10:33:06 +01:00
2013-12-18 10:33:06 +01:00
2014-04-09 10:55:54 +02:00
2014-04-09 10:55:30 +02:00
2014-04-09 10:55:29 +02:00
2013-12-16 11:29:48 +01:00
2013-12-16 11:29:48 +01:00
2014-02-12 21:37:27 +01:00
2013-02-04 18:57:47 +01:00
2014-02-04 21:48:21 +01:00
2014-04-09 10:55:30 +02:00
2013-12-18 10:33:06 +01:00
2012-06-24 11:33:18 +02:00
2012-03-13 14:54:16 -04:00
2012-06-20 17:35:22 +02:00