mac80211: track assigned vifs in chanctx
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 9 Apr 2014 13:29:26 +0000 (15:29 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 25 Apr 2014 15:08:29 +0000 (17:08 +0200)
commit484298ad1afaf249a4708a5091487132dae80bf9
treedfed80a1d4dd5b6877877203a6da37f24af21462
parent093324816b91c9f4a3dd8c78930e43d0a2ef2508
mac80211: track assigned vifs in chanctx

This can be useful. Provides a more straghtforward
way to iterate over interfaces bound to a given
chanctx 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