]> git.karo-electronics.de Git - linux-beck.git/commit
cfg80211: allow drivers to iterate over matching combinations
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 9 Apr 2014 13:29:22 +0000 (15:29 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 25 Apr 2014 15:08:14 +0000 (17:08 +0200)
commit65a124dd719d6e90591e4756bb04e1719489705e
tree6316d4354f73687799b3f53f29fe513bd627161b
parent46d537245d8db96a4c282b449f8b582a71e5ec13
cfg80211: allow drivers to iterate over matching combinations

The patch splits cfg80211_check_combinations()
into an iterator function and a simple iteration
user.

This makes it possible for drivers to asses how
many channels can use given iftype setup. This in
turn can be used for future
multi-interface/multi-channel channel switching.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/wireless/util.c