1IEEE80211_RTS_DURATI(9) The basic mac80211 driver inte IEEE80211_RTS_DURATI(9)
2
3
4
6 ieee80211_rts_duration - Get the duration field for an RTS frame
7
9 __le16 ieee80211_rts_duration(struct ieee80211_hw * hw,
10 struct ieee80211_vif * vif,
11 size_t frame_len,
12 const struct ieee80211_tx_info * frame_txctl);
13
15 hw
16 pointer obtained from ieee80211_alloc_hw.
17
18 vif
19 struct ieee80211_vif pointer from the add_interface callback.
20
21 frame_len
22 the length of the frame that is going to be protected by the RTS.
23
24 frame_txctl
25 struct ieee80211_tx_info of the frame.
26
28 If the RTS is generated in firmware, but the host system must provide
29 the duration field, the low-level driver uses this function to receive
30 the duration field value in little-endian byteorder.
31
33 The duration.
34
36 Johannes Berg <johannes@sipsolutions.net>
37 Author.
38
40Kernel Hackers Manual 3.10 June 2019 IEEE80211_RTS_DURATI(9)