1STRUCT IEEE80211_TX_(9) Rate control interface STRUCT IEEE80211_TX_(9)
2
3
4
6 struct_ieee80211_tx_rate_control - rate control information for/from RC
7 algo
8
10 struct ieee80211_tx_rate_control {
11 struct ieee80211_hw * hw;
12 struct ieee80211_supported_band * sband;
13 struct ieee80211_bss_conf * bss_conf;
14 struct sk_buff * skb;
15 struct ieee80211_tx_rate reported_rate;
16 bool rts;
17 bool short_preamble;
18 u32 rate_idx_mask;
19 u8 * rate_idx_mcs_mask;
20 bool bss;
21 };
22
24 hw
25 The hardware the algorithm is invoked for.
26
27 sband
28 The band this frame is being transmitted on.
29
30 bss_conf
31 the current BSS configuration
32
33 skb
34 the skb that will be transmitted, the control information in it
35 needs to be filled in
36
37 reported_rate
38 The rate control algorithm can fill this in to indicate which rate
39 should be reported to userspace as the current rate and used for
40 rate calculations in the mesh network.
41
42 rts
43 whether RTS will be used for this frame because it is longer than
44 the RTS threshold
45
46 short_preamble
47 whether mac80211 will request short-preamble transmission if the
48 selected rate supports it
49
50 rate_idx_mask
51 user-requested (legacy) rate mask
52
53 rate_idx_mcs_mask
54 user-requested MCS rate mask (NULL if not in use)
55
56 bss
57 whether this frame is sent out in AP or IBSS mode
58
60 Johannes Berg <johannes@sipsolutions.net>
61 Author.
62
64Kernel Hackers Manual 3.10 June 2019 STRUCT IEEE80211_TX_(9)