aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
authorAshok Nagarajan <ashok@cozybit.com>2013-05-10 20:50:51 -0400
committerJohannes Berg <johannes.berg@intel.com>2013-05-24 17:54:43 -0400
commitb422c6cd7e93bb613030f14d7d8a0cc73f115629 (patch)
treed27418a219e0c4809bee0e73c5117da8095ad01a /include/net/cfg80211.h
parentd4a5a48976d12ab340ed34605b5f5049b123d868 (diff)
{cfg,mac}80211: move mandatory rates calculation to cfg80211
Move mandatory rates calculation to cfg80211, shared with non mac80211 drivers. Signed-off-by: Ashok Nagarajan <ashok@cozybit.com> [extend documentation] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 32a2f1b20861..58f6302da145 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -3005,6 +3005,15 @@ struct ieee80211_rate *
3005ieee80211_get_response_rate(struct ieee80211_supported_band *sband, 3005ieee80211_get_response_rate(struct ieee80211_supported_band *sband,
3006 u32 basic_rates, int bitrate); 3006 u32 basic_rates, int bitrate);
3007 3007
3008/**
3009 * ieee80211_mandatory_rates - get mandatory rates for a given band
3010 * @sband: the band to look for rates in
3011 *
3012 * This function returns a bitmap of the mandatory rates for the given
3013 * band, bits are set according to the rate position in the bitrates array.
3014 */
3015u32 ieee80211_mandatory_rates(struct ieee80211_supported_band *sband);
3016
3008/* 3017/*
3009 * Radiotap parsing functions -- for controlled injection support 3018 * Radiotap parsing functions -- for controlled injection support
3010 * 3019 *