'\" t .\" Title: ieee80211_get_response_rate .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Utility functions .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "IEEE80211_GET_RESPON" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Utility functions" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" ieee80211_get_response_rate \- get basic rate for a given rate .SH "SYNOPSIS" .HP \w'struct\ ieee80211_rate\ *\ ieee80211_get_response_rate('u .BI "struct ieee80211_rate * ieee80211_get_response_rate(struct\ ieee80211_supported_band\ *\ " "sband" ", u32\ " "basic_rates" ", int\ " "bitrate" ");" .SH "ARGUMENTS" .PP \fIsband\fR .RS 4 the band to look for rates in .RE .PP \fIbasic_rates\fR .RS 4 bitmap of basic rates .RE .PP \fIbitrate\fR .RS 4 the bitrate for which to find the basic rate .RE .SH "RETURN" .PP The basic rate corresponding to a given bitrate, that is the next lower bitrate contained in the basic rate map, which is, for this function, given as a bitmap of indices of rates in the band\*(Aqs bitrate table\&. .SH "AUTHOR" .PP \fBJohannes Berg\fR <\&johannes@sipsolutions.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br