'\" t .\" Title: struct ieee80211_tx_rate_control .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Rate control interface .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "STRUCT IEEE80211_TX_" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Rate control interface" .\" ----------------------------------------------------------------- .\" * 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" struct_ieee80211_tx_rate_control \- rate control information for/from RC algo .SH "SYNOPSIS" .sp .nf struct ieee80211_tx_rate_control { struct ieee80211_hw * hw; struct ieee80211_supported_band * sband; struct ieee80211_bss_conf * bss_conf; struct sk_buff * skb; struct ieee80211_tx_rate reported_rate; bool rts; bool short_preamble; u8 max_rate_idx; u32 rate_idx_mask; u8 * rate_idx_mcs_mask; bool bss; }; .fi .SH "MEMBERS" .PP hw .RS 4 The hardware the algorithm is invoked for\&. .RE .PP sband .RS 4 The band this frame is being transmitted on\&. .RE .PP bss_conf .RS 4 the current BSS configuration .RE .PP skb .RS 4 the skb that will be transmitted, the control information in it needs to be filled in .RE .PP reported_rate .RS 4 The rate control algorithm can fill this in to indicate which rate should be reported to userspace as the current rate and used for rate calculations in the mesh network\&. .RE .PP rts .RS 4 whether RTS will be used for this frame because it is longer than the RTS threshold .RE .PP short_preamble .RS 4 whether mac80211 will request short\-preamble transmission if the selected rate supports it .RE .PP max_rate_idx .RS 4 user\-requested maximum (legacy) rate (deprecated; this will be removed once drivers get updated to use rate_idx_mask) .RE .PP rate_idx_mask .RS 4 user\-requested (legacy) rate mask .RE .PP rate_idx_mcs_mask .RS 4 user\-requested MCS rate mask (NULL if not in use) .RE .PP bss .RS 4 whether this frame is sent out in AP or IBSS mode .RE .SH "AUTHOR" .PP \fBJohannes Berg\fR <\&johannes@sipsolutions.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br