aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/wireless.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/wireless.h')
-rw-r--r--include/net/wireless.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/net/wireless.h b/include/net/wireless.h
index 41294c5f6f8f..17d4b582cf34 100644
--- a/include/net/wireless.h
+++ b/include/net/wireless.h
@@ -341,6 +341,22 @@ ieee80211_get_channel(struct wiphy *wiphy, int freq)
341} 341}
342 342
343/** 343/**
344 * ieee80211_get_response_rate - get basic rate for a given rate
345 *
346 * @sband: the band to look for rates in
347 * @basic_rates: bitmap of basic rates
348 * @bitrate: the bitrate for which to find the basic rate
349 *
350 * This function returns the basic rate corresponding to a given
351 * bitrate, that is the next lower bitrate contained in the basic
352 * rate map, which is, for this function, given as a bitmap of
353 * indices of rates in the band's bitrate table.
354 */
355struct ieee80211_rate *
356ieee80211_get_response_rate(struct ieee80211_supported_band *sband,
357 u64 basic_rates, int bitrate);
358
359/**
344 * regulatory_hint - driver hint to the wireless core a regulatory domain 360 * regulatory_hint - driver hint to the wireless core a regulatory domain
345 * @wiphy: the wireless device giving the hint (used only for reporting 361 * @wiphy: the wireless device giving the hint (used only for reporting
346 * conflicts) 362 * conflicts)