struct ieee80211_tx_rate_control — rate control information for/from RC algo
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; };
The hardware the algorithm is invoked for.
The band this frame is being transmitted on.
the current BSS configuration
the skb that will be transmitted, the control information in it needs to be filled in
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.
whether RTS will be used for this frame because it is longer than the RTS threshold
whether mac80211 will request short-preamble transmission if the selected rate supports it
user-requested maximum (legacy) rate (deprecated; this will be removed once drivers get updated to use rate_idx_mask)
user-requested (legacy) rate mask
user-requested MCS rate mask (NULL if not in use)
whether this frame is sent out in AP or IBSS mode