]> git.baikalelectronics.ru Git - kernel.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)
commit648ba6b39bb932d7aa9921b326398aaa7f2a7ac1
tree6316d4354f73687799b3f53f29fe513bd627161b
parent51023c271e5e3d118eb569ec5862ea21eaa185ba
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