aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/ieee80211_i.h
diff options
context:
space:
mode:
authorMichal Kazior <michal.kazior@tieto.com>2014-04-09 09:29:23 -0400
committerJohannes Berg <johannes.berg@intel.com>2014-04-25 11:08:15 -0400
commit6fa001bc7e1ccd7482f0f089fb970d65a5aca59a (patch)
tree2dad9dc3fdbaa55969573136636a3588061d930e /net/mac80211/ieee80211_i.h
parent65a124dd719d6e90591e4756bb04e1719489705e (diff)
mac80211: add max channel calculation utility function
The utility function has no uses yet. It is aimed at future chanctx reservation management and channel switching. Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/ieee80211_i.h')
-rw-r--r--net/mac80211/ieee80211_i.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index 3dd21116332f..bfc3ca506fbd 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -1822,6 +1822,7 @@ int ieee80211_check_combinations(struct ieee80211_sub_if_data *sdata,
1822 const struct cfg80211_chan_def *chandef, 1822 const struct cfg80211_chan_def *chandef,
1823 enum ieee80211_chanctx_mode chanmode, 1823 enum ieee80211_chanctx_mode chanmode,
1824 u8 radar_detect); 1824 u8 radar_detect);
1825int ieee80211_max_num_channels(struct ieee80211_local *local);
1825 1826
1826#ifdef CONFIG_MAC80211_NOINLINE 1827#ifdef CONFIG_MAC80211_NOINLINE
1827#define debug_noinline noinline 1828#define debug_noinline noinline