mac80211: track reserved vifs in chanctx
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 9 Apr 2014 13:29:27 +0000 (15:29 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 25 Apr 2014 15:08:29 +0000 (17:08 +0200)
commite3afb920227d37fe72914350c41621c028539077
tree8a33d0983dd8db843e98ad52d590075f9c0fbc4e
parent484298ad1afaf249a4708a5091487132dae80bf9
mac80211: track reserved vifs in chanctx

This can be useful. Provides a more straghtforward
way to iterate over interfaces taking part in
chanctx reservation and allows tracking chanctx
usage explicitly.

The structure is protected by local->chanctx_mtx.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/chan.c
net/mac80211/ieee80211_i.h
net/mac80211/iface.c