]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8b1a2a24ba25b47a20f737cdb209e30fae125e33
tree8a33d0983dd8db843e98ad52d590075f9c0fbc4e
parent4f89d1bb69ddbbd9fd10e1ab15c5a1ffa9752ce1
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